ds 51 arch/x86/boot/edd.c buf_base = (ds() << 4) + (u32)&_end; ds 49 arch/x86/boot/main.c cmdline_seg = ds(); ds 128 arch/x86/boot/pm.c gdt.ptr = (u32)&boot_gdt + (ds() << 4); ds 169 arch/x86/boot/pm.c (u32)&boot_params + (ds() << 4)); ds 86 arch/x86/ia32/ia32_aout.c dump->regs.ds = current->thread.ds; ds 436 arch/x86/ia32/ia32_aout.c loadsegment(ds, __USER32_DS); ds 244 arch/x86/ia32/ia32_signal.c RELOAD_SEG(ds, 3); ds 349 arch/x86/ia32/ia32_signal.c savesegment(ds, tmp); ds 350 arch/x86/ia32/ia32_signal.c err |= __put_user(tmp, (unsigned int __user *)&sc->ds); ds 487 arch/x86/ia32/ia32_signal.c loadsegment(ds, __USER32_DS); ds 580 arch/x86/ia32/ia32_signal.c loadsegment(ds, __USER32_DS); ds 75 arch/x86/kernel/asm-offsets_32.c OFFSET(PT_DS, pt_regs, ds); ds 66 arch/x86/kernel/doublefault_32.c .ds = __USER_DS, ds 244 arch/x86/kernel/ds.c context->ds = kzalloc(ds_cfg.sizeof_ds, GFP_KERNEL); ds 245 arch/x86/kernel/ds.c if (!context->ds) { ds 259 arch/x86/kernel/ds.c wrmsr(MSR_IA32_DS_AREA, (unsigned long)context->ds, 0); ds 297 arch/x86/kernel/ds.c kfree(context->ds); ds 435 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds_buffer_base, buffer); ds 436 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds_index, buffer); ds 437 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds_absolute_maximum, buffer + size); ds 442 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds 522 arch/x86/kernel/ds.c base = ds_get(context->ds, qual, ds_buffer_base); ds 523 arch/x86/kernel/ds.c index = ds_get(context->ds, qual, ds_index); ds 555 arch/x86/kernel/ds.c base = ds_get(context->ds, qual, ds_buffer_base); ds 556 arch/x86/kernel/ds.c end = ds_get(context->ds, qual, ds_absolute_maximum); ds 591 arch/x86/kernel/ds.c base = ds_get(context->ds, qual, ds_buffer_base); ds 595 arch/x86/kernel/ds.c if (idx > ds_get(context->ds, qual, ds_absolute_maximum)) ds 650 arch/x86/kernel/ds.c base = ds_get(context->ds, qual, ds_buffer_base); ds 651 arch/x86/kernel/ds.c index = ds_get(context->ds, qual, ds_index); ds 652 arch/x86/kernel/ds.c end = ds_get(context->ds, qual, ds_absolute_maximum); ds 653 arch/x86/kernel/ds.c int_th = ds_get(context->ds, qual, ds_interrupt_threshold); ds 682 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds_index, index); ds 727 arch/x86/kernel/ds.c base = ds_get(context->ds, qual, ds_buffer_base); ds 728 arch/x86/kernel/ds.c end = ds_get(context->ds, qual, ds_absolute_maximum); ds 733 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds_index, base); ds 774 arch/x86/kernel/ds.c *value = *(u64 *)(context->ds + (ds_cfg.sizeof_field * 8)); ds 792 arch/x86/kernel/ds.c *(u64 *)(context->ds + (ds_cfg.sizeof_field * 8)) = value; ds 324 arch/x86/kernel/i387.c env->fos = 0xffff0000 | tsk->thread.ds; ds 85 arch/x86/kernel/kgdb.c gdb_regs[GDB_DS] = regs->ds; ds 180 arch/x86/kernel/kgdb.c regs->ds = gdb_regs[GDB_DS]; ds 165 arch/x86/kernel/process_32.c (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, ss); ds 215 arch/x86/kernel/process_32.c regs.ds = __USER_DS; ds 351 arch/x86/kernel/process_32.c regs->ds = __USER_DS; ds 430 arch/x86/kernel/process_32.c ds_prev = (unsigned long)prev->ds_ctx->ds; ds 432 arch/x86/kernel/process_32.c ds_next = (unsigned long)next->ds_ctx->ds; ds 144 arch/x86/kernel/process_64.c unsigned int ds, cs, es; ds 168 arch/x86/kernel/process_64.c asm("movl %%ds,%0" : "=r" (ds)); ds 188 arch/x86/kernel/process_64.c printk(KERN_INFO "CS: %04x DS: %04x ES: %04x CR0: %016lx\n", cs, ds, ds 341 arch/x86/kernel/process_64.c savesegment(ds, p->thread.ds); ds 382 arch/x86/kernel/process_64.c loadsegment(ds, 0); ds 478 arch/x86/kernel/process_64.c ds_prev = (unsigned long)prev->ds_ctx->ds; ds 480 arch/x86/kernel/process_64.c ds_next = (unsigned long)next->ds_ctx->ds; ds 574 arch/x86/kernel/process_64.c savesegment(ds, prev->ds); ds 575 arch/x86/kernel/process_64.c if (unlikely(next->ds | prev->ds)) ds 576 arch/x86/kernel/process_64.c loadsegment(ds, next->ds); ds 177 arch/x86/kernel/ptrace.c case offsetof(struct user_regs_struct, ds): ds 182 arch/x86/kernel/ptrace.c return task->thread.ds; ds 235 arch/x86/kernel/ptrace.c case offsetof(struct user_regs_struct,ds): ds 236 arch/x86/kernel/ptrace.c task->thread.ds = value; ds 238 arch/x86/kernel/ptrace.c loadsegment(ds, task->thread.ds); ds 318 arch/x86/kernel/ptrace.c case offsetof(struct user_regs_struct, ds): ds 370 arch/x86/kernel/ptrace.c case offsetof(struct user_regs_struct, ds): ds 1166 arch/x86/kernel/ptrace.c SEG32(ds); ds 1230 arch/x86/kernel/ptrace.c SEG32(ds); ds 155 arch/x86/kernel/signal_32.c COPY_SEG(ds); ds 267 arch/x86/kernel/signal_32.c err |= __put_user(regs->ds, (unsigned int __user *)&sc->ds); ds 400 arch/x86/kernel/signal_32.c regs->ds = __USER_DS; ds 471 arch/x86/kernel/signal_32.c regs->ds = __USER_DS; ds 287 arch/x86/kernel/vm86_32.c info->regs.pt.ds = 0; ds 555 arch/x86/kernel/vmi_32.c ap.ds = __USER_DS; ds 556 arch/x86/kvm/svm.c init_seg(&save->ds); ds 757 arch/x86/kvm/svm.c case VCPU_SREG_DS: return &save->ds; ds 128 arch/x86/kvm/svm.h struct vmcb_seg ds; ds 26 arch/x86/kvm/tss.h u32 ds; ds 55 arch/x86/kvm/tss.h u16 ds; ds 1309 arch/x86/kvm/vmx.c fix_pmode_dataseg(VCPU_SREG_DS, &vcpu->arch.rmode.ds); ds 1381 arch/x86/kvm/vmx.c fix_rmode_seg(VCPU_SREG_DS, &vcpu->arch.rmode.ds); ds 3117 arch/x86/kvm/x86.c kvm_get_segment(vcpu, &sregs->ds, VCPU_SREG_DS); ds 3333 arch/x86/kvm/x86.c tss->ds = get_segment_selector(vcpu, VCPU_SREG_DS); ds 3369 arch/x86/kvm/x86.c if (kvm_load_segment_descriptor(vcpu, tss->ds, 1, VCPU_SREG_DS)) ds 3397 arch/x86/kvm/x86.c tss->ds = get_segment_selector(vcpu, VCPU_SREG_DS); ds 3428 arch/x86/kvm/x86.c if (kvm_load_segment_descriptor(vcpu, tss->ds, 1, VCPU_SREG_DS)) ds 3628 arch/x86/kvm/x86.c kvm_set_segment(vcpu, &sregs->ds, VCPU_SREG_DS); ds 53 arch/x86/power/cpu_64.c asm volatile ("movw %%ds, %0" : "=m" (ctxt->ds)); ds 116 arch/x86/power/cpu_64.c asm volatile ("movw %0, %%ds" :: "r" (ctxt->ds)); ds 234 arch/x86/xen/smp.c ctxt->user_regs.ds = __USER_DS; ds 49 crypto/hmac.c int ds = crypto_hash_digestsize(parent); ds 53 crypto/hmac.c struct hmac_ctx *ctx = align_ptr(digest + ds, sizeof(void *)); ds 71 crypto/hmac.c tmplen = bs * 2 + ds; ds 93 crypto/hmac.c keylen = ds; ds 112 crypto/hmac.c int ds = crypto_hash_digestsize(parent); ds 114 crypto/hmac.c struct hmac_ctx *ctx = align_ptr(ipad + bs * 2 + ds, sizeof(void *)); ds 146 crypto/hmac.c int ds = crypto_hash_digestsize(parent); ds 149 crypto/hmac.c struct hmac_ctx *ctx = align_ptr(digest + ds, sizeof(void *)); ds 156 crypto/hmac.c sg_init_one(&tmp, opad, bs + ds); ds 162 crypto/hmac.c return crypto_hash_digest(&desc, &tmp, bs + ds, out); ds 170 crypto/hmac.c int ds = crypto_hash_digestsize(parent); ds 174 crypto/hmac.c struct hmac_ctx *ctx = align_ptr(digest + ds, sizeof(void *)); ds 188 crypto/hmac.c sg_set_buf(sg2, opad, bs + ds); ds 194 crypto/hmac.c return crypto_hash_digest(&desc, sg2, bs + ds, out); ds 229 crypto/hmac.c int ds; ds 241 crypto/hmac.c ds = (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) == ds 244 crypto/hmac.c if (ds > alg->cra_blocksize) ds 257 crypto/hmac.c inst->alg.cra_hash.digestsize = ds; ds 260 crypto/hmac.c ALIGN(inst->alg.cra_blocksize * 2 + ds, ds 114 fs/9p/fid.c struct dentry *d, *ds; ds 142 fs/9p/fid.c ds = dentry->d_parent; ds 143 fs/9p/fid.c fid = v9fs_fid_find(ds, uid, any); ds 146 fs/9p/fid.c for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) ds 149 fs/9p/fid.c fid = v9fs_fid_find(ds, uid, any); ds 165 fs/9p/fid.c v9fs_fid_add(ds, fid); ds 170 fs/9p/fid.c if (ds == dentry) ds 384 fs/affs/amigaffs.c ds->days = cpu_to_be32(days); ds 385 fs/affs/amigaffs.c ds->mins = cpu_to_be32(minute); ds 386 fs/affs/amigaffs.c ds->ticks = cpu_to_be32(secs * 50); ds 69 fs/befs/befs.h befs_data_stream ds; ds 142 fs/befs/btree.c bh = befs_read_datastream(sb, ds, 0, NULL); ds 203 fs/befs/btree.c node->bh = befs_read_datastream(sb, ds, node_off, &off); ds 257 fs/befs/btree.c if (befs_bt_read_super(sb, ds, &bt_super) != BEFS_OK) { ds 275 fs/befs/btree.c if (befs_bt_read_node(sb, ds, this_node, node_off) != BEFS_OK) { ds 286 fs/befs/btree.c if (befs_bt_read_node(sb, ds, this_node, node_off) != BEFS_OK) { ds 433 fs/befs/btree.c if (befs_bt_read_super(sb, ds, &bt_super) != BEFS_OK) { ds 450 fs/befs/btree.c res = befs_btree_seekleaf(sb, ds, &bt_super, this_node, &node_off); ds 481 fs/befs/btree.c if (befs_bt_read_node(sb, ds, this_node, node_off) != BEFS_OK) { ds 553 fs/befs/btree.c if (befs_bt_read_node(sb, ds, this_node, *node_off) != BEFS_OK) { ds 577 fs/befs/btree.c if (befs_bt_read_node(sb, ds, this_node, *node_off) != BEFS_OK) { ds 61 fs/befs/datastream.c if (befs_fblock2brun(sb, ds, block, &run) != BEFS_OK) { ds 135 fs/befs/datastream.c bh = befs_read_datastream(sb, ds, bytes_read, NULL); ds 175 fs/befs/datastream.c datablocks = ds->size >> befs_sb->block_shift; ds 176 fs/befs/datastream.c if (ds->size & (befs_sb->block_size - 1)) ds 182 fs/befs/datastream.c if (ds->size > ds->max_direct_range) ds 183 fs/befs/datastream.c metablocks += ds->indirect.len; ds 194 fs/befs/datastream.c if (ds->size > ds->max_indirect_range && ds->max_indirect_range != 0) { ds 200 fs/befs/datastream.c ds->max_double_indirect_range - ds->max_indirect_range; ds 205 fs/befs/datastream.c metablocks += ds->double_indirect.len; ds 123 fs/befs/linuxvfs.c befs_data_stream *ds = &BEFS_I(inode)->i_data.ds; ds 144 fs/befs/linuxvfs.c res = befs_fblock2brun(sb, ds, block, &run); ds 167 fs/befs/linuxvfs.c befs_data_stream *ds = &BEFS_I(dir)->i_data.ds; ds 185 fs/befs/linuxvfs.c ret = befs_btree_find(sb, ds, utfname, &offset); ds 189 fs/befs/linuxvfs.c ret = befs_btree_find(sb, ds, dentry->d_name.name, &offset); ds 218 fs/befs/linuxvfs.c befs_data_stream *ds = &BEFS_I(inode)->i_data.ds; ds 232 fs/befs/linuxvfs.c result = befs_btree_read(sb, ds, filp->f_pos, BEFS_NAME_LEN + 1, ds 385 fs/befs/linuxvfs.c befs_ino->i_data.ds = ds 388 fs/befs/linuxvfs.c num_blks = befs_count_blocks(sb, &befs_ino->i_data.ds); ds 391 fs/befs/linuxvfs.c inode->i_size = befs_ino->i_data.ds.size; ds 468 fs/befs/linuxvfs.c befs_data_stream *data = &befs_ino->i_data.ds; ds 269 fs/fat/dir.c struct msdos_dir_slot *ds; ds 281 fs/fat/dir.c ds = (struct msdos_dir_slot *)*de; ds 282 fs/fat/dir.c id = ds->id; ds 289 fs/fat/dir.c alias_checksum = ds->alias_checksum; ds 297 fs/fat/dir.c fat16_towchar(*unicode + offset, ds->name0_4, 5); ds 298 fs/fat/dir.c fat16_towchar(*unicode + offset + 5, ds->name5_10, 6); ds 299 fs/fat/dir.c fat16_towchar(*unicode + offset + 11, ds->name11_12, 2); ds 301 fs/fat/dir.c if (ds->id & 0x40) ds 307 fs/fat/dir.c ds = (struct msdos_dir_slot *)*de; ds 308 fs/fat/dir.c if (ds->attr != ATTR_EXT) ds 310 fs/fat/dir.c if ((ds->id & ~0x40) != slot) ds 312 fs/fat/dir.c if (ds->alias_checksum != alias_checksum) ds 625 fs/ntfs/runlist.c int ds = dend + 1; /* Number of elements in drl & srl */ ds 643 fs/ntfs/runlist.c ntfs_debug("ds = %i, ss = %i, dins = %i", ds, ss, dins); ds 647 fs/ntfs/runlist.c drl = ntfs_rl_replace(drl, ds, srl + sstart, ss, dins); ds 649 fs/ntfs/runlist.c drl = ntfs_rl_insert(drl, ds, srl + sstart, ss, dins); ds 652 fs/ntfs/runlist.c drl = ntfs_rl_append(drl, ds, srl + sstart, ss, dins); ds 654 fs/ntfs/runlist.c drl = ntfs_rl_split(drl, ds, srl + sstart, ss, dins); ds 663 fs/ntfs/runlist.c for (ds = dend; drl[ds].length; ds++) ds 666 fs/ntfs/runlist.c if (drl[ds].vcn <= marker_vcn) { ds 669 fs/ntfs/runlist.c if (drl[ds].vcn == marker_vcn) { ds 673 fs/ntfs/runlist.c drl[ds].lcn); ds 674 fs/ntfs/runlist.c drl[ds].lcn = LCN_ENOENT; ds 682 fs/ntfs/runlist.c if (drl[ds].lcn == LCN_ENOENT) { ds 683 fs/ntfs/runlist.c ds--; ds 686 fs/ntfs/runlist.c if (drl[ds].lcn != LCN_RL_NOT_MAPPED) { ds 689 fs/ntfs/runlist.c drl = ntfs_rl_realloc_nofail(drl, ds, ds 690 fs/ntfs/runlist.c ds + 2); ds 693 fs/ntfs/runlist.c ds++; ds 696 fs/ntfs/runlist.c drl[ds].vcn = drl[ds - 1].vcn + ds 697 fs/ntfs/runlist.c drl[ds - 1].length; ds 698 fs/ntfs/runlist.c drl[ds].lcn = LCN_RL_NOT_MAPPED; ds 702 fs/ntfs/runlist.c drl[ds].length = marker_vcn - drl[ds].vcn; ds 704 fs/ntfs/runlist.c ds++; ds 706 fs/ntfs/runlist.c drl = ntfs_rl_realloc_nofail(drl, ds, ds + 1); ds 707 fs/ntfs/runlist.c drl[ds].vcn = marker_vcn; ds 708 fs/ntfs/runlist.c drl[ds].lcn = LCN_ENOENT; ds 709 fs/ntfs/runlist.c drl[ds].length = (s64)0; ds 57 include/asm-x86/a.out-core.h dump->regs.ds = (u16)regs->ds; ds 211 include/asm-x86/ds.h unsigned char *ds; ds 124 include/asm-x86/elf.h pr_reg[7] = regs->ds & 0xffff; \ ds 152 include/asm-x86/elf.h loadsegment(ds, __USER32_DS); ds 171 include/asm-x86/elf.h t->ds = t->es = ds; ds 131 include/asm-x86/kexec.h asm volatile("movl %%ds, %%eax;" :"=a"(newregs->ds)); ds 108 include/asm-x86/kvm.h struct kvm_segment cs, ds, es, fs, gs, ss; ds 280 include/asm-x86/kvm_host.h } tr, es, ds, fs, gs; ds 42 include/asm-x86/lguest.h unsigned long fs, ds, es; ds 214 include/asm-x86/processor.h unsigned short ds, __dsh; ds 397 include/asm-x86/processor.h unsigned short ds; ds 51 include/asm-x86/ptrace.h unsigned long ds; ds 106 include/asm-x86/sigcontext.h unsigned short ds, __dsh; ds 142 include/asm-x86/sigcontext.h unsigned short ds, __dsh; ds 54 include/asm-x86/sigcontext32.h unsigned short ds, __dsh; ds 27 include/asm-x86/suspend_64.h u16 ds, es, fs, gs, ss; ds 37 include/asm-x86/user32.h unsigned short ds, __ds, es, __es; ds 85 include/asm-x86/user_32.h unsigned long ds; ds 92 include/asm-x86/user_64.h unsigned long ds; ds 87 include/asm-x86/vm86.h unsigned short ds, __dsh; ds 150 include/asm-x86/vm86.h unsigned short ds, __dsh; ds 251 include/asm-x86/vmi.h u16 ds; ds 61 include/asm-x86/xen/interface_32.h uint16_t ds, _pad3; ds 135 include/asm-x86/xen/interface_64.h uint16_t ds, _pad4[3]; ds 18 include/video/uvesafb.h __u16 ds; ds 567 lib/zlib_deflate/deflate.c deflate_state *ds; ds 583 lib/zlib_deflate/deflate.c ds = &(mem->deflate_memory); ds 585 lib/zlib_deflate/deflate.c dest->state = (struct internal_state *) ds; ds 586 lib/zlib_deflate/deflate.c *ds = *ss; ds 587 lib/zlib_deflate/deflate.c ds->strm = dest; ds 589 lib/zlib_deflate/deflate.c ds->window = (Byte *) mem->window_memory; ds 590 lib/zlib_deflate/deflate.c ds->prev = (Pos *) mem->prev_memory; ds 591 lib/zlib_deflate/deflate.c ds->head = (Pos *) mem->head_memory; ds 593 lib/zlib_deflate/deflate.c ds->pending_buf = (uch *) overlay; ds 595 lib/zlib_deflate/deflate.c memcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte)); ds 596 lib/zlib_deflate/deflate.c memcpy(ds->prev, ss->prev, ds->w_size * sizeof(Pos)); ds 597 lib/zlib_deflate/deflate.c memcpy(ds->head, ss->head, ds->hash_size * sizeof(Pos)); ds 598 lib/zlib_deflate/deflate.c memcpy(ds->pending_buf, ss->pending_buf, (uInt)ds->pending_buf_size); ds 600 lib/zlib_deflate/deflate.c ds->pending_out = ds->pending_buf + (ss->pending_out - ss->pending_buf); ds 601 lib/zlib_deflate/deflate.c ds->d_buf = overlay + ds->lit_bufsize/sizeof(ush); ds 602 lib/zlib_deflate/deflate.c ds->l_buf = ds->pending_buf + (1+sizeof(ush))*ds->lit_bufsize; ds 604 lib/zlib_deflate/deflate.c ds->l_desc.dyn_tree = ds->dyn_ltree; ds 605 lib/zlib_deflate/deflate.c ds->d_desc.dyn_tree = ds->dyn_dtree; ds 606 lib/zlib_deflate/deflate.c ds->bl_desc.dyn_tree = ds->bl_tree; ds 73 net/dsa/dsa.c struct dsa_switch *ds; ds 94 net/dsa/dsa.c ds = kzalloc(sizeof(*ds) + drv->priv_size, GFP_KERNEL); ds 95 net/dsa/dsa.c if (ds == NULL) ds 98 net/dsa/dsa.c ds->pd = pd; ds 99 net/dsa/dsa.c ds->master_netdev = dev; ds 100 net/dsa/dsa.c ds->master_mii_bus = bus; ds 102 net/dsa/dsa.c ds->drv = drv; ds 103 net/dsa/dsa.c ds->tag_protocol = drv->tag_protocol; ds 109 net/dsa/dsa.c ds->cpu_port = -1; ds 118 net/dsa/dsa.c if (ds->cpu_port != -1) { ds 123 net/dsa/dsa.c ds->cpu_port = i; ds 125 net/dsa/dsa.c ds->valid_port_mask |= 1 << i; ds 129 net/dsa/dsa.c if (ds->cpu_port == -1) { ds 143 net/dsa/dsa.c dev->dsa_ptr = (void *)ds; ds 149 net/dsa/dsa.c ret = drv->setup(ds); ds 153 net/dsa/dsa.c ret = drv->set_addr(ds, dev->dev_addr); ds 157 net/dsa/dsa.c ds->slave_mii_bus = mdiobus_alloc(); ds 158 net/dsa/dsa.c if (ds->slave_mii_bus == NULL) { ds 162 net/dsa/dsa.c dsa_slave_mii_bus_init(ds); ds 164 net/dsa/dsa.c ret = mdiobus_register(ds->slave_mii_bus); ds 176 net/dsa/dsa.c if (!(ds->valid_port_mask & (1 << i))) ds 179 net/dsa/dsa.c slave_dev = dsa_slave_create(ds, parent, i, pd->port_names[i]); ds 187 net/dsa/dsa.c ds->ports[i] = slave_dev; ds 190 net/dsa/dsa.c return ds; ds 193 net/dsa/dsa.c mdiobus_free(ds->slave_mii_bus); ds 196 net/dsa/dsa.c kfree(ds); ds 215 net/dsa/dsa.c struct dsa_switch *ds = dsa_ptr; ds 217 net/dsa/dsa.c return !!(ds->tag_protocol == htons(ETH_P_DSA)); ds 222 net/dsa/dsa.c struct dsa_switch *ds = dsa_ptr; ds 224 net/dsa/dsa.c return !!(ds->tag_protocol == htons(ETH_P_TRAILER)); ds 231 net/dsa/dsa.c struct dsa_switch *ds; ds 233 net/dsa/dsa.c ds = container_of(ugly, struct dsa_switch, link_poll_work); ds 235 net/dsa/dsa.c ds->drv->poll_link(ds); ds 236 net/dsa/dsa.c mod_timer(&ds->link_poll_timer, round_jiffies(jiffies + HZ)); ds 241 net/dsa/dsa.c struct dsa_switch *ds = (void *)_ds; ds 243 net/dsa/dsa.c schedule_work(&ds->link_poll_work); ds 307 net/dsa/dsa.c struct dsa_switch *ds; ds 329 net/dsa/dsa.c ds = dsa_switch_setup(&pdev->dev, pd, bus, dev); ds 330 net/dsa/dsa.c if (IS_ERR(ds)) { ds 332 net/dsa/dsa.c return PTR_ERR(ds); ds 335 net/dsa/dsa.c if (ds->drv->poll_link != NULL) { ds 336 net/dsa/dsa.c INIT_WORK(&ds->link_poll_work, dsa_link_poll_work); ds 337 net/dsa/dsa.c init_timer(&ds->link_poll_timer); ds 338 net/dsa/dsa.c ds->link_poll_timer.data = (unsigned long)ds; ds 339 net/dsa/dsa.c ds->link_poll_timer.function = dsa_link_poll_timer; ds 340 net/dsa/dsa.c ds->link_poll_timer.expires = round_jiffies(jiffies + HZ); ds 341 net/dsa/dsa.c add_timer(&ds->link_poll_timer); ds 344 net/dsa/dsa.c platform_set_drvdata(pdev, ds); ds 351 net/dsa/dsa.c struct dsa_switch *ds = platform_get_drvdata(pdev); ds 353 net/dsa/dsa.c if (ds->drv->poll_link != NULL) ds 354 net/dsa/dsa.c del_timer_sync(&ds->link_poll_timer); ds 358 net/dsa/dsa.c dsa_switch_destroy(ds); ds 71 net/dsa/dsa_priv.h int (*setup)(struct dsa_switch *ds); ds 72 net/dsa/dsa_priv.h int (*set_addr)(struct dsa_switch *ds, u8 *addr); ds 77 net/dsa/dsa_priv.h int (*phy_read)(struct dsa_switch *ds, int port, int regnum); ds 78 net/dsa/dsa_priv.h int (*phy_write)(struct dsa_switch *ds, int port, ds 84 net/dsa/dsa_priv.h void (*poll_link)(struct dsa_switch *ds); ds 89 net/dsa/dsa_priv.h void (*get_strings)(struct dsa_switch *ds, int port, uint8_t *data); ds 90 net/dsa/dsa_priv.h void (*get_ethtool_stats)(struct dsa_switch *ds, ds 92 net/dsa/dsa_priv.h int (*get_sset_count)(struct dsa_switch *ds); ds 21 net/dsa/mv88e6060.c return mdiobus_read(ds->master_mii_bus, addr, reg); ds 28 net/dsa/mv88e6060.c __ret = reg_read(ds, addr, reg); \ ds 37 net/dsa/mv88e6060.c return mdiobus_write(ds->master_mii_bus, addr, reg, val); ds 44 net/dsa/mv88e6060.c __ret = reg_write(ds, addr, reg, val); \ ds 131 net/dsa/mv88e6060.c REG_WRITE(addr, 0x04, (p == ds->cpu_port) ? 0x4103 : 0x0003); ds 141 net/dsa/mv88e6060.c ((p == ds->cpu_port) ? ds 142 net/dsa/mv88e6060.c ds->valid_port_mask : ds 143 net/dsa/mv88e6060.c (1 << ds->cpu_port))); ds 161 net/dsa/mv88e6060.c ret = mv88e6060_switch_reset(ds); ds 167 net/dsa/mv88e6060.c ret = mv88e6060_setup_global(ds); ds 172 net/dsa/mv88e6060.c ret = mv88e6060_setup_port(ds, i); ds 204 net/dsa/mv88e6060.c return reg_read(ds, addr, regnum); ds 216 net/dsa/mv88e6060.c return reg_write(ds, addr, regnum, val); ds 231 net/dsa/mv88e6060.c dev = ds->ports[i]; ds 237 net/dsa/mv88e6060.c port_status = reg_read(ds, REG_PORT(i), 0x00); ds 96 net/dsa/mv88e6123_61_65.c ret = mv88e6xxx_config_prio(ds); ds 105 net/dsa/mv88e6123_61_65.c REG_WRITE(REG_GLOBAL, 0x1a, (ds->cpu_port * 0x1110)); ds 139 net/dsa/mv88e6123_61_65.c REG_WRITE(REG_GLOBAL2, 0x06, 0x8000 | (i << 8) | ds->cpu_port); ds 204 net/dsa/mv88e6123_61_65.c (p == ds->cpu_port) ? ds 205 net/dsa/mv88e6123_61_65.c (ds->tag_protocol == htons(ETH_P_DSA)) ? ds 213 net/dsa/mv88e6123_61_65.c REG_WRITE(addr, 0x05, (p == ds->cpu_port) ? 0x8000 : 0x0000); ds 223 net/dsa/mv88e6123_61_65.c ((p == ds->cpu_port) ? ds 224 net/dsa/mv88e6123_61_65.c ds->valid_port_mask : ds 225 net/dsa/mv88e6123_61_65.c (1 << ds->cpu_port))); ds 295 net/dsa/mv88e6123_61_65.c struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); ds 302 net/dsa/mv88e6123_61_65.c ret = mv88e6123_61_65_switch_reset(ds); ds 308 net/dsa/mv88e6123_61_65.c ret = mv88e6123_61_65_setup_global(ds); ds 313 net/dsa/mv88e6123_61_65.c ret = mv88e6123_61_65_setup_port(ds, i); ds 332 net/dsa/mv88e6123_61_65.c return mv88e6xxx_phy_read(ds, addr, regnum); ds 340 net/dsa/mv88e6123_61_65.c return mv88e6xxx_phy_write(ds, addr, regnum, val); ds 379 net/dsa/mv88e6123_61_65.c mv88e6xxx_get_strings(ds, ARRAY_SIZE(mv88e6123_61_65_hw_stats), ds 387 net/dsa/mv88e6123_61_65.c mv88e6xxx_get_ethtool_stats(ds, ARRAY_SIZE(mv88e6123_61_65_hw_stats), ds 93 net/dsa/mv88e6131.c ret = mv88e6xxx_config_prio(ds); ds 107 net/dsa/mv88e6131.c REG_WRITE(REG_GLOBAL, 0x1a, (ds->cpu_port * 0x1100) | 0x00f0); ds 133 net/dsa/mv88e6131.c REG_WRITE(REG_GLOBAL2, 0x06, 0x8000 | (i << 8) | ds->cpu_port); ds 176 net/dsa/mv88e6131.c REG_WRITE(addr, 0x04, (p == ds->cpu_port) ? 0x0537 : 0x0433); ds 182 net/dsa/mv88e6131.c REG_WRITE(addr, 0x05, (p == ds->cpu_port) ? 0x8000 : 0x0000); ds 192 net/dsa/mv88e6131.c ((p == ds->cpu_port) ? ds 193 net/dsa/mv88e6131.c ds->valid_port_mask : ds 194 net/dsa/mv88e6131.c (1 << ds->cpu_port))); ds 215 net/dsa/mv88e6131.c ((p == ds->cpu_port) ? 0x00c0 : 0x0080) | ds 216 net/dsa/mv88e6131.c ds->cpu_port); ds 253 net/dsa/mv88e6131.c struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); ds 258 net/dsa/mv88e6131.c mv88e6xxx_ppu_state_init(ds); ds 261 net/dsa/mv88e6131.c ret = mv88e6131_switch_reset(ds); ds 267 net/dsa/mv88e6131.c ret = mv88e6131_setup_global(ds); ds 272 net/dsa/mv88e6131.c ret = mv88e6131_setup_port(ds, i); ds 291 net/dsa/mv88e6131.c return mv88e6xxx_phy_read_ppu(ds, addr, regnum); ds 299 net/dsa/mv88e6131.c return mv88e6xxx_phy_write_ppu(ds, addr, regnum, val); ds 338 net/dsa/mv88e6131.c mv88e6xxx_get_strings(ds, ARRAY_SIZE(mv88e6131_hw_stats), ds 346 net/dsa/mv88e6131.c mv88e6xxx_get_ethtool_stats(ds, ARRAY_SIZE(mv88e6131_hw_stats), ds 83 net/dsa/mv88e6xxx.c struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); ds 87 net/dsa/mv88e6xxx.c ret = __mv88e6xxx_reg_read(ds->master_mii_bus, ds 88 net/dsa/mv88e6xxx.c ds->pd->sw_addr, addr, reg); ds 135 net/dsa/mv88e6xxx.c struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); ds 139 net/dsa/mv88e6xxx.c ret = __mv88e6xxx_reg_write(ds->master_mii_bus, ds 140 net/dsa/mv88e6xxx.c ds->pd->sw_addr, addr, reg, val); ds 208 net/dsa/mv88e6xxx.c return mv88e6xxx_reg_read(ds, addr, regnum); ds 215 net/dsa/mv88e6xxx.c return mv88e6xxx_reg_write(ds, addr, regnum, val); ds 262 net/dsa/mv88e6xxx.c struct dsa_switch *ds = ((struct dsa_switch *)ps) - 1; ds 264 net/dsa/mv88e6xxx.c if (mv88e6xxx_ppu_enable(ds) == 0) ds 279 net/dsa/mv88e6xxx.c struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); ds 291 net/dsa/mv88e6xxx.c ret = mv88e6xxx_ppu_disable(ds); ds 307 net/dsa/mv88e6xxx.c struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); ds 318 net/dsa/mv88e6xxx.c struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); ds 331 net/dsa/mv88e6xxx.c ret = mv88e6xxx_ppu_access_get(ds); ds 333 net/dsa/mv88e6xxx.c ret = mv88e6xxx_reg_read(ds, addr, regnum); ds 334 net/dsa/mv88e6xxx.c mv88e6xxx_ppu_access_put(ds); ds 345 net/dsa/mv88e6xxx.c ret = mv88e6xxx_ppu_access_get(ds); ds 347 net/dsa/mv88e6xxx.c ret = mv88e6xxx_reg_write(ds, addr, regnum, val); ds 348 net/dsa/mv88e6xxx.c mv88e6xxx_ppu_access_put(ds); ds 367 net/dsa/mv88e6xxx.c dev = ds->ports[i]; ds 373 net/dsa/mv88e6xxx.c port_status = mv88e6xxx_reg_read(ds, REG_PORT(i), 0x00); ds 441 net/dsa/mv88e6xxx.c ret = mv88e6xxx_stats_wait(ds); ds 455 net/dsa/mv88e6xxx.c ret = mv88e6xxx_reg_write(ds, REG_GLOBAL, 0x1d, 0xcc00 | stat); ds 459 net/dsa/mv88e6xxx.c ret = mv88e6xxx_stats_wait(ds); ds 463 net/dsa/mv88e6xxx.c ret = mv88e6xxx_reg_read(ds, REG_GLOBAL, 0x1e); ds 469 net/dsa/mv88e6xxx.c ret = mv88e6xxx_reg_read(ds, REG_GLOBAL, 0x1f); ds 492 net/dsa/mv88e6xxx.c struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); ds 498 net/dsa/mv88e6xxx.c ret = mv88e6xxx_stats_snapshot(ds, port); ds 512 net/dsa/mv88e6xxx.c mv88e6xxx_stats_read(ds, s->reg, &low); ds 514 net/dsa/mv88e6xxx.c mv88e6xxx_stats_read(ds, s->reg + 1, &high); ds 76 net/dsa/mv88e6xxx.h __ret = mv88e6xxx_reg_read(ds, addr, reg); \ ds 86 net/dsa/mv88e6xxx.h __ret = mv88e6xxx_reg_write(ds, addr, reg, val); \ ds 19 net/dsa/slave.c struct dsa_switch *ds = bus->priv; ds 21 net/dsa/slave.c if (ds->valid_port_mask & (1 << addr)) ds 22 net/dsa/slave.c return ds->drv->phy_read(ds, addr, reg); ds 29 net/dsa/slave.c struct dsa_switch *ds = bus->priv; ds 31 net/dsa/slave.c if (ds->valid_port_mask & (1 << addr)) ds 32 net/dsa/slave.c return ds->drv->phy_write(ds, addr, reg, val); ds 39 net/dsa/slave.c ds->slave_mii_bus->priv = (void *)ds; ds 40 net/dsa/slave.c ds->slave_mii_bus->name = "dsa slave smi"; ds 41 net/dsa/slave.c ds->slave_mii_bus->read = dsa_slave_phy_read; ds 42 net/dsa/slave.c ds->slave_mii_bus->write = dsa_slave_phy_write; ds 43 net/dsa/slave.c snprintf(ds->slave_mii_bus->id, MII_BUS_ID_SIZE, "%s:%.2x", ds 44 net/dsa/slave.c ds->master_mii_bus->id, ds->pd->sw_addr); ds 45 net/dsa/slave.c ds->slave_mii_bus->parent = &(ds->master_mii_bus->dev); ds 162 net/dsa/slave.c struct dsa_switch *ds = p->parent; ds 171 net/dsa/slave.c if (ds->drv->get_strings != NULL) ds 172 net/dsa/slave.c ds->drv->get_strings(ds, p->port, data + 4 * len); ds 181 net/dsa/slave.c struct dsa_switch *ds = p->parent; ds 187 net/dsa/slave.c if (ds->drv->get_ethtool_stats != NULL) ds 188 net/dsa/slave.c ds->drv->get_ethtool_stats(ds, p->port, data + 4); ds 194 net/dsa/slave.c struct dsa_switch *ds = p->parent; ds 200 net/dsa/slave.c if (ds->drv->get_sset_count != NULL) ds 201 net/dsa/slave.c count += ds->drv->get_sset_count(ds); ds 227 net/dsa/slave.c struct net_device *master = ds->master_netdev; ds 241 net/dsa/slave.c switch (ds->tag_protocol) { ds 272 net/dsa/slave.c p->parent = ds; ds 274 net/dsa/slave.c p->phy = ds->slave_mii_bus->phy_map[port]; ds 81 net/dsa/tag_dsa.c struct dsa_switch *ds = dev->dsa_ptr; ds 85 net/dsa/tag_dsa.c if (unlikely(ds == NULL)) ds 111 net/dsa/tag_dsa.c if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) ds 160 net/dsa/tag_dsa.c skb->dev = ds->ports[source_port]; ds 94 net/dsa/tag_edsa.c struct dsa_switch *ds = dev->dsa_ptr; ds 98 net/dsa/tag_edsa.c if (unlikely(ds == NULL)) ds 124 net/dsa/tag_edsa.c if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) ds 179 net/dsa/tag_edsa.c skb->dev = ds->ports[source_port]; ds 71 net/dsa/tag_trailer.c struct dsa_switch *ds = dev->dsa_ptr; ds 75 net/dsa/tag_trailer.c if (unlikely(ds == NULL)) ds 91 net/dsa/tag_trailer.c if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) ds 96 net/dsa/tag_trailer.c skb->dev = ds->ports[source_port]; ds 341 scripts/kconfig/symbol.c struct symbol *ds = prop_get_symbol(prop); ds 342 scripts/kconfig/symbol.c if (ds) { ds 344 scripts/kconfig/symbol.c sym_calc_value(ds); ds 345 scripts/kconfig/symbol.c newval.val = ds->curr.val; ds 496 sound/pci/rme32.c int ds; ds 498 sound/pci/rme32.c ds = rme32->wcreg & RME32_WCR_DS_BM; ds 539 sound/pci/rme32.c if ((!ds && rme32->wcreg & RME32_WCR_DS_BM) || ds 540 sound/pci/rme32.c (ds && !(rme32->wcreg & RME32_WCR_DS_BM))) ds 670 sound/pci/rme96.c int ds; ds 672 sound/pci/rme96.c ds = rme96->wcreg & RME96_WCR_DS; ds 707 sound/pci/rme96.c if ((!ds && rme96->wcreg & RME96_WCR_DS) || ds 708 sound/pci/rme96.c (ds && !(rme96->wcreg & RME96_WCR_DS))) ds 2334 sound/pci/rme9652/hdspm.c if (ds)