ld 175 arch/arc/include/asm/entry-arcv2.h ld r12, [sp, PT_sp + 4] ld 176 arch/arc/include/asm/entry-arcv2.h ld r30, [sp, PT_sp + 8] ld 184 arch/arc/include/asm/entry-arcv2.h ld r10, [sp, PT_sp] ; SP (pt_regs->sp) ld 189 arch/arc/include/asm/entry-arcv2.h ld r25, [sp, PT_user_r25] ld 200 arch/arc/include/asm/entry-arcv2.h ld blink, [sp, PT_blink] ld 206 arch/arc/include/asm/entry-arcv2.h ld r10, [sp, PT_lpc] ; lp_count can't be target of LD ld 244 arch/arc/include/asm/entry-arcv2.h ld r10, [sp, PT_event + 4] ld 144 arch/arc/include/asm/entry-compact.h ld \reg, [\mem] ld 235 arch/arc/include/asm/entry-compact.h ld r25, [sp, 12] ld 237 arch/arc/include/asm/entry-compact.h ld sp, [sp] /* restore original sp */ ld 319 arch/arc/include/asm/entry-compact.h ld r25, [sp, 12] ld 321 arch/arc/include/asm/entry-compact.h ld sp, [sp] /* restore original sp */ ld 43 arch/arc/include/asm/entry.h ld.ab \reg, [sp, 4] ld 139 arch/arc/include/asm/entry.h ld r12, [r12, PT_user_r25] ld 215 arch/arc/include/asm/entry.h ld \out, [\tsk, TASK_THREAD_INFO] ld 227 arch/arc/include/asm/entry.h ld \reg, [\reg, THREAD_INFO_FLAGS] ld 239 arch/arc/include/asm/entry.h ld.as \reg, [@_current_task, \reg] ld 266 arch/arc/include/asm/entry.h ld \reg, [@_current_task] ld 26 arch/arc/include/asm/linkage.h ld \e, [sp, \off] ld 27 arch/arc/include/asm/linkage.h ld \o, [sp, \off+4] ld 33 arch/arc/include/asm/tlb-mmu1.h ld r0,[jh_ex_way_sel] ; victim pointer ld 643 arch/arm64/include/asm/assembler.h __frame ld ld 680 arch/arm64/include/asm/assembler.h .ifc \op, ld ld 33 arch/arm64/include/asm/barrier.h #define rmb() dsb(ld) ld 673 arch/ia64/kernel/unaligned.c emulate_load_updates (update_t type, load_store_t ld, struct pt_regs *regs, unsigned long ifa) ld 681 arch/ia64/kernel/unaligned.c if (ld.x6_op == 1 || ld.x6_op == 3) { ld 702 arch/ia64/kernel/unaligned.c imm = ld.x << 7 | ld.imm; ld 707 arch/ia64/kernel/unaligned.c if (ld.m) imm |= SIGN_EXT9; ld 715 arch/ia64/kernel/unaligned.c setreg(ld.r3, ifa, 0, regs); ld 717 arch/ia64/kernel/unaligned.c DPRINT("ld.x=%d ld.m=%d imm=%ld r3=0x%lx\n", ld.x, ld.m, imm, ifa); ld 719 arch/ia64/kernel/unaligned.c } else if (ld.m) { ld 739 arch/ia64/kernel/unaligned.c getreg(ld.imm, &r2, &nat_r2, regs); ld 746 arch/ia64/kernel/unaligned.c setreg(ld.r3, ifa, nat_r2, regs); ld 748 arch/ia64/kernel/unaligned.c DPRINT("imm=%d r2=%ld r3=0x%lx nat_r2=%d\n",ld.imm, r2, ifa, nat_r2); ld 754 arch/ia64/kernel/unaligned.c emulate_load_int (unsigned long ifa, load_store_t ld, struct pt_regs *regs) ld 756 arch/ia64/kernel/unaligned.c unsigned int len = 1 << ld.x6_sz; ld 773 arch/ia64/kernel/unaligned.c DPRINT("unknown size: x6=%d\n", ld.x6_sz); ld 779 arch/ia64/kernel/unaligned.c setreg(ld.r1, val, 0, regs); ld 784 arch/ia64/kernel/unaligned.c if (ld.op == 0x5 || ld.m) ld 785 arch/ia64/kernel/unaligned.c emulate_load_updates(ld.op == 0x5 ? UPD_IMMEDIATE: UPD_REG, ld, regs, ifa); ld 862 arch/ia64/kernel/unaligned.c if (ld.x6_op == 0x5 || ld.x6_op == 0xa) ld 868 arch/ia64/kernel/unaligned.c if (ld.x6_op == 0x2) ld 869 arch/ia64/kernel/unaligned.c invala_gr(ld.r1); ld 875 arch/ia64/kernel/unaligned.c emulate_store_int (unsigned long ifa, load_store_t ld, struct pt_regs *regs) ld 878 arch/ia64/kernel/unaligned.c unsigned int len = 1 << ld.x6_sz; ld 886 arch/ia64/kernel/unaligned.c getreg(ld.imm, &r2, NULL, regs); ld 899 arch/ia64/kernel/unaligned.c DPRINT("unknown size: x6=%d\n", ld.x6_sz); ld 914 arch/ia64/kernel/unaligned.c if (ld.op == 0x5) { ld 920 arch/ia64/kernel/unaligned.c imm = ld.x << 7 | ld.r1; ld 924 arch/ia64/kernel/unaligned.c if (ld.m) imm |= SIGN_EXT9; ld 932 arch/ia64/kernel/unaligned.c setreg(ld.r3, ifa, 0, regs); ld 943 arch/ia64/kernel/unaligned.c if (ld.x6_op == 0xd) ld 1024 arch/ia64/kernel/unaligned.c emulate_load_floatpair (unsigned long ifa, load_store_t ld, struct pt_regs *regs) ld 1028 arch/ia64/kernel/unaligned.c unsigned long len = float_fsz[ld.x6_sz]; ld 1048 arch/ia64/kernel/unaligned.c if (ld.x6_op != 0x2) { ld 1057 arch/ia64/kernel/unaligned.c DPRINT("ld.r1=%d ld.imm=%d x6_sz=%d\n", ld.r1, ld.imm, ld.x6_sz); ld 1063 arch/ia64/kernel/unaligned.c switch( ld.x6_sz ) { ld 1089 arch/ia64/kernel/unaligned.c setfpreg(ld.r1, &fpr_final[0], regs); ld 1090 arch/ia64/kernel/unaligned.c setfpreg(ld.imm, &fpr_final[1], regs); ld 1097 arch/ia64/kernel/unaligned.c if (ld.m) { ld 1110 arch/ia64/kernel/unaligned.c if (ld.x6_op == 1 || ld.x6_op == 3) ld 1114 arch/ia64/kernel/unaligned.c setreg(ld.r3, ifa, 0, regs); ld 1120 arch/ia64/kernel/unaligned.c if (ld.x6_op == 0x2) { ld 1121 arch/ia64/kernel/unaligned.c invala_fr(ld.r1); ld 1122 arch/ia64/kernel/unaligned.c invala_fr(ld.imm); ld 1129 arch/ia64/kernel/unaligned.c emulate_load_float (unsigned long ifa, load_store_t ld, struct pt_regs *regs) ld 1133 arch/ia64/kernel/unaligned.c unsigned long len = float_fsz[ld.x6_sz]; ld 1154 arch/ia64/kernel/unaligned.c if (ld.x6_op != 0x2) { ld 1158 arch/ia64/kernel/unaligned.c DPRINT("ld.r1=%d x6_sz=%d\n", ld.r1, ld.x6_sz); ld 1163 arch/ia64/kernel/unaligned.c switch( ld.x6_sz ) { ld 1185 arch/ia64/kernel/unaligned.c setfpreg(ld.r1, &fpr_final, regs); ld 1191 arch/ia64/kernel/unaligned.c if (ld.op == 0x7 || ld.m) ld 1192 arch/ia64/kernel/unaligned.c emulate_load_updates(ld.op == 0x7 ? UPD_IMMEDIATE: UPD_REG, ld, regs, ifa); ld 1197 arch/ia64/kernel/unaligned.c if (ld.x6_op == 0x2) ld 1198 arch/ia64/kernel/unaligned.c invala_fr(ld.r1); ld 1205 arch/ia64/kernel/unaligned.c emulate_store_float (unsigned long ifa, load_store_t ld, struct pt_regs *regs) ld 1209 arch/ia64/kernel/unaligned.c unsigned long len = float_fsz[ld.x6_sz]; ld 1223 arch/ia64/kernel/unaligned.c getfpreg(ld.imm, &fpr_init, regs); ld 1229 arch/ia64/kernel/unaligned.c switch( ld.x6_sz ) { ld 1243 arch/ia64/kernel/unaligned.c DPRINT("ld.r1=%d x6_sz=%d\n", ld.r1, ld.x6_sz); ld 1257 arch/ia64/kernel/unaligned.c if (ld.op == 0x7) { ld 1263 arch/ia64/kernel/unaligned.c imm = ld.x << 7 | ld.r1; ld 1267 arch/ia64/kernel/unaligned.c if (ld.m) ld 1276 arch/ia64/kernel/unaligned.c setreg(ld.r3, ifa, 0, regs); ld 129 arch/mips/include/asm/asm-eva.h #define kernel_ld(reg, addr) ld reg, addr ld 143 arch/mips/include/asm/asm.h #define REG_L ld ld 175 arch/mips/include/asm/asm.h #define INT_L ld ld 218 arch/mips/include/asm/asm.h #define LONG_L ld ld 269 arch/mips/include/asm/asm.h #define PTR_L ld ld 265 arch/mips/include/asm/asmmacro.h ld.b $w\wd, \off(\base) ld 274 arch/mips/include/asm/asmmacro.h ld.h $w\wd, \off(\base) ld 283 arch/mips/include/asm/asmmacro.h ld.w $w\wd, \off(\base) ld 292 arch/mips/include/asm/asmmacro.h ld.d $w\wd, \off(\base) ld 44 arch/mips/include/asm/cmpxchg.h #define __xchg_asm(ld, st, m, val) \ ld 55 arch/mips/include/asm/cmpxchg.h "1: " ld " %0, %2 # __xchg_asm \n" \ ld 116 arch/mips/include/asm/cmpxchg.h #define __cmpxchg_asm(ld, st, m, old, new) \ ld 127 arch/mips/include/asm/cmpxchg.h "1: " ld " %0, %2 # __cmpxchg_asm \n" \ ld 21 arch/mips/include/asm/mach-ip27/kernel-entry-init.h ld \res, (\res) ld 92 arch/mips/include/asm/mach-ip27/kernel-entry-init.h ld t0, 0(t0) # t0 points to kern_vars struct ld 198 arch/mips/include/asm/octeon/cvmx-pciercx-defs.h __BITFIELD_FIELD(uint32_t ld:1, ld 44 arch/mips/include/asm/sn/sn0/ip27.h ld proc, PI_CPU_NUM(proc) ld 368 arch/mips/net/ebpf_jit.c emit_instr_long(ctx, ld, lw, ld 373 arch/mips/net/ebpf_jit.c emit_instr_long(ctx, ld, lw, ld 378 arch/mips/net/ebpf_jit.c emit_instr_long(ctx, ld, lw, ld 383 arch/mips/net/ebpf_jit.c emit_instr_long(ctx, ld, lw, ld 388 arch/mips/net/ebpf_jit.c emit_instr_long(ctx, ld, lw, ld 393 arch/mips/net/ebpf_jit.c emit_instr_long(ctx, ld, lw, ld 637 arch/mips/net/ebpf_jit.c emit_instr(ctx, ld, MIPS_R_AT, off, MIPS_R_T8); ld 645 arch/mips/net/ebpf_jit.c emit_instr(ctx, ld, MIPS_R_T9, off, MIPS_R_AT); ld 1417 arch/mips/net/ebpf_jit.c emit_instr(ctx, ld, dst, mem_off, src); ld 11 arch/powerpc/include/asm/asm-compat.h #define PPC_LL stringify_in_c(ld) ld 17 arch/powerpc/include/asm/book3s/64/kup-radix.h ld \gpr, STACK_REGS_KUAP(r1) ld 134 arch/powerpc/include/asm/exception-64e.h ld r14,EX_TLB_CR(r12); \ ld 135 arch/powerpc/include/asm/exception-64e.h ld r10,EX_TLB_R10(r12); \ ld 136 arch/powerpc/include/asm/exception-64e.h ld r15,EX_TLB_SRR0(r12); \ ld 137 arch/powerpc/include/asm/exception-64e.h ld r16,EX_TLB_SRR1(r12); \ ld 139 arch/powerpc/include/asm/exception-64e.h ld r11,EX_TLB_R11(r12); \ ld 141 arch/powerpc/include/asm/exception-64e.h ld r13,EX_TLB_R13(r12); \ ld 142 arch/powerpc/include/asm/exception-64e.h ld r14,EX_TLB_R14(r12); \ ld 144 arch/powerpc/include/asm/exception-64e.h ld r15,EX_TLB_R15(r12); \ ld 147 arch/powerpc/include/asm/exception-64e.h ld r16,EX_TLB_R16(r12); \ ld 148 arch/powerpc/include/asm/exception-64e.h ld r12,EX_TLB_R12(r12); \ ld 168 arch/powerpc/include/asm/exception-64e.h ld r16,EX_TLB_LR(r12); \ ld 169 arch/powerpc/include/asm/exception-64e.h ld r9,EX_TLB_R9(r12); \ ld 170 arch/powerpc/include/asm/exception-64e.h ld r8,EX_TLB_R8(r12); \ ld 179 arch/powerpc/include/asm/exception-64e.h ld r8,PACA_EXTLB+EX_TLB_ESR(r13); \ ld 168 arch/powerpc/include/asm/io.h DEF_MMIO_IN_D(in_be64, 64, ld); ld 182 arch/powerpc/include/asm/io.h DEF_MMIO_IN_D(in_le64, 64, ld); ld 28 arch/powerpc/include/asm/irqflags.h ld r1, 0(r1); \ ld 29 arch/powerpc/include/asm/irqflags.h ld r1, 0(r1); ld 15 arch/powerpc/include/asm/kvm_asm.h #define PPC_LD(treg, offset, areg) ld treg, (offset)(areg) ld 121 arch/powerpc/include/asm/kvm_host.h u64 ld; ld 53 arch/powerpc/include/asm/ppc_asm.h ld r10,PACALPPACAPTR(r13); /* get ptr to VPA */ \ ld 54 arch/powerpc/include/asm/ppc_asm.h ld r11,PACA_DTL_RIDX(r13); /* get log read index */ \ ld 60 arch/powerpc/include/asm/ppc_asm.h ld r12,_MSR(r1); \ ld 78 arch/powerpc/include/asm/ppc_asm.h #define REST_GPR(n, base) ld n,GPR0+8*(n)(base) ld 358 arch/powerpc/include/asm/ppc_asm.h ld reg,name@got(r2) ld 65 arch/powerpc/kvm/book3s.c { "ld", VCPU_STAT(ld) }, ld 373 arch/powerpc/kvm/powerpc.c vcpu->stat.ld++; ld 23 arch/riscv/include/asm/asm.h #define REG_L __REG_SEL(ld, lw) ld 129 arch/sparc/include/asm/pgtsrmmu.h 98: ld [%g6 + TI_UWINMASK], tmp2; \ ld 45 arch/sparc/include/asm/winmacro.h ld [%base_reg + STACKFRAME_SZ + PT_G1], %g1; \ ld 51 arch/sparc/include/asm/winmacro.h ld [%base_reg + STACKFRAME_SZ + PT_Y], %scratch; \ ld 55 arch/sparc/include/asm/winmacro.h ld [%base_reg + STACKFRAME_SZ + PT_PSR], %pt_psr; \ ld 56 arch/sparc/include/asm/winmacro.h ld [%base_reg + STACKFRAME_SZ + PT_PC], %pt_pc; \ ld 57 arch/sparc/include/asm/winmacro.h ld [%base_reg + STACKFRAME_SZ + PT_NPC], %pt_npc; ld 93 arch/sparc/include/asm/winmacro.h ld [%cur_reg + TI_W_SAVED], %scratch; \ ld 125 arch/sparc/include/asm/winmacro.h ld [%idreg + %dest_reg], %dest_reg; ld 129 arch/sparc/include/asm/winmacro.h ld [%idreg + %lo(current_set)], %dest_reg; ld 121 arch/unicore32/include/asm/assembler.h usracc ld, \reg, \ptr, \inc, \cond, \rept, \abort ld 723 drivers/ata/pata_legacy.c struct legacy_probe *lp, struct legacy_data *ld) ld 727 drivers/ata/pata_legacy.c ld->timing = lp->private; ld 808 drivers/ata/pata_legacy.c struct legacy_probe *lp, struct legacy_data *ld) ld 812 drivers/ata/pata_legacy.c ld->timing = lp->private; ld 939 drivers/ata/pata_legacy.c struct legacy_data *ld = &legacy_data[probe->slot]; ld 965 drivers/ata/pata_legacy.c ld->type = probe->type; ld 967 drivers/ata/pata_legacy.c if (controller->setup(pdev, probe, ld) < 0) ld 982 drivers/ata/pata_legacy.c ap->host->private_data = ld; ld 991 drivers/ata/pata_legacy.c ld->platform_dev = pdev; ld 999 drivers/ata/pata_legacy.c ld->platform_dev = pdev; ld 1240 drivers/ata/pata_legacy.c struct legacy_data *ld = &legacy_data[i]; ld 1242 drivers/ata/pata_legacy.c platform_device_unregister(ld->platform_dev); ld 1269 drivers/atm/zatm.c int error, i, ld; ld 1287 drivers/atm/zatm.c ld = -1; ld 1288 drivers/atm/zatm.c for (rx = 1; rx < vccs; rx <<= 1) ld++; ld 1290 drivers/atm/zatm.c dev->ci_range.vci_bits = ld; ld 498 drivers/char/pcmcia/synclink_cs.c struct tty_ldisc *ld; ld 501 drivers/char/pcmcia/synclink_cs.c ld = tty_ldisc_ref(tty); ld 502 drivers/char/pcmcia/synclink_cs.c if (ld) { ld 503 drivers/char/pcmcia/synclink_cs.c if (ld->ops->receive_buf) ld 504 drivers/char/pcmcia/synclink_cs.c ld->ops->receive_buf(tty, data, flags, count); ld 505 drivers/char/pcmcia/synclink_cs.c tty_ldisc_deref(ld); ld 113 drivers/gpio/gpio-f7188x.c static inline void superio_select(int base, int ld) ld 116 drivers/gpio/gpio-f7188x.c outb(ld, base + 1); ld 144 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c struct vmw_legacy_display *ld = vmw_priv->ldu_priv; ld 150 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c if (--(ld->num_active) == 0) { ld 151 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c BUG_ON(!ld->fb); ld 152 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c if (ld->fb->unpin) ld 153 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c ld->fb->unpin(ld->fb); ld 154 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c ld->fb = NULL; ld 164 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c struct vmw_legacy_display *ld = vmw_priv->ldu_priv; ld 168 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c BUG_ON(!ld->num_active && ld->fb); ld 169 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c if (vfb != ld->fb) { ld 170 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c if (ld->fb && ld->fb->unpin) ld 171 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c ld->fb->unpin(ld->fb); ld 175 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c ld->fb = vfb; ld 181 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c at = &ld->active; ld 182 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c list_for_each_entry(entry, &ld->active, active) { ld 191 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c ld->num_active++; ld 80 drivers/hwmon/f71805f.c superio_select(int base, int ld) ld 83 drivers/hwmon/f71805f.c outb(ld, base + 1); ld 242 drivers/hwmon/f71882fg.c static inline void superio_select(int base, int ld); ld 1133 drivers/hwmon/f71882fg.c static inline void superio_select(int base, int ld) ld 1136 drivers/hwmon/f71882fg.c outb(ld, base + 1); ld 83 drivers/hwmon/nct6683.c superio_select(int ioreg, int ld) ld 86 drivers/hwmon/nct6683.c outb(ld, ioreg + 1); ld 151 drivers/hwmon/nct6775.c superio_select(int ioreg, int ld) ld 154 drivers/hwmon/nct6775.c outb(ld, ioreg + 1); ld 84 drivers/hwmon/sch56xx-common.c static inline void superio_select(int base, int ld) ld 87 drivers/hwmon/sch56xx-common.c outb(ld, base + 1); ld 57 drivers/hwmon/smsc47b397.c static inline void superio_select(int ld) ld 59 drivers/hwmon/smsc47b397.c superio_outb(0x07, ld); ld 119 drivers/hwmon/w83627ehf.c superio_select(int ioreg, int ld) ld 122 drivers/hwmon/w83627ehf.c outb(ld, ioreg + 1); ld 114 drivers/hwmon/w83627hf.c superio_select(struct w83627hf_sio_data *sio, int ld) ld 117 drivers/hwmon/w83627hf.c outb(ld, sio->sioaddr + 1); ld 408 drivers/isdn/capi/capi.c struct tty_ldisc *ld; ld 417 drivers/isdn/capi/capi.c ld = tty_ldisc_ref(tty); ld 418 drivers/isdn/capi/capi.c if (!ld) { ld 425 drivers/isdn/capi/capi.c if (ld->ops->receive_buf == NULL) { ld 454 drivers/isdn/capi/capi.c ld->ops->receive_buf(tty, skb->data, NULL, skb->len); ld 469 drivers/isdn/capi/capi.c tty_ldisc_deref(ld); ld 105 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c void __iomem *ld; ld 175 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c inst->reg_base.ld = mtk_vcodec_get_reg_addr(inst->ctx, VDEC_LD); ld 227 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c void __iomem *ld = inst->reg_base.ld; ld 232 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c writel(0x101, ld + VP8_WO_VLD_SRST); ld 242 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c writel(0x0, ld + VP8_WO_VLD_SRST); ld 733 drivers/media/rc/lirc_dev.c static void lirc_release_device(struct device *ld) ld 735 drivers/media/rc/lirc_dev.c struct rc_dev *rcdev = container_of(ld, struct rc_dev, lirc_dev); ld 22 drivers/net/ethernet/ibm/ehea/ehea_phyp.c u8 ld = 1; /* logarithmus dualis */ ld 23 drivers/net/ethernet/ibm/ehea/ehea_phyp.c while (((1U << ld) - 1) < queue_entries) ld 24 drivers/net/ethernet/ibm/ehea/ehea_phyp.c ld++; ld 25 drivers/net/ethernet/ibm/ehea/ehea_phyp.c return ld - 1; ld 646 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c #define SET_KEX_LD(intf, lid, ltype, ld, cfg) \ ld 648 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, ltype, ld), cfg) ld 650 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c #define SET_KEX_LDFLAGS(intf, ld, flags, cfg) \ ld 652 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_INTFX_LDATAX_FLAGSX_CFG(intf, ld, flags), cfg) ld 738 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int lid, lt, ld, fl; ld 745 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c for (ld = 0; ld < NPC_MAX_LD; ld++) ld 746 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rvu_write64(rvu, blkaddr, NPC_AF_KEX_LDATAX_FLAGS_CFG(ld), ld 747 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c mkex->kex_ld_flags[ld]); ld 751 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c for (ld = 0; ld < NPC_MAX_LD; ld++) { ld 752 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c SET_KEX_LD(NIX_INTF_RX, lid, lt, ld, ld 754 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c [lid][lt][ld]); ld 756 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c SET_KEX_LD(NIX_INTF_TX, lid, lt, ld, ld 758 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c [lid][lt][ld]); ld 763 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c for (ld = 0; ld < NPC_MAX_LD; ld++) { ld 765 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c SET_KEX_LDFLAGS(NIX_INTF_RX, ld, fl, ld 767 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c [ld][fl]); ld 769 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c SET_KEX_LDFLAGS(NIX_INTF_TX, ld, fl, ld 771 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c [ld][fl]); ld 2147 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c #define GET_KEX_FLAGS(ld) \ ld 2148 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rvu_read64(rvu, BLKADDR_NPC, NPC_AF_KEX_LDATAX_FLAGS_CFG(ld)) ld 2150 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c #define GET_KEX_LD(intf, lid, lt, ld) \ ld 2152 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, lt, ld)) ld 2154 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c #define GET_KEX_LDFLAGS(intf, ld, fl) \ ld 2156 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_INTFX_LDATAX_FLAGSX_CFG(intf, ld, fl)) ld 2161 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int lid, lt, ld, fl; ld 2167 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c for (ld = 0; ld < NPC_MAX_LD; ld++) { ld 2168 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->intf_lid_lt_ld[NIX_INTF_RX][lid][lt][ld] = ld 2169 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c GET_KEX_LD(NIX_INTF_RX, lid, lt, ld); ld 2170 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->intf_lid_lt_ld[NIX_INTF_TX][lid][lt][ld] = ld 2171 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c GET_KEX_LD(NIX_INTF_TX, lid, lt, ld); ld 2175 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c for (ld = 0; ld < NPC_MAX_LD; ld++) ld 2176 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->kex_ld_flags[ld] = GET_KEX_FLAGS(ld); ld 2178 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c for (ld = 0; ld < NPC_MAX_LD; ld++) { ld 2180 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->intf_ld_flags[NIX_INTF_RX][ld][fl] = ld 2181 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c GET_KEX_LDFLAGS(NIX_INTF_RX, ld, fl); ld 2182 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->intf_ld_flags[NIX_INTF_TX][ld][fl] = ld 2183 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c GET_KEX_LDFLAGS(NIX_INTF_TX, ld, fl); ld 4046 drivers/net/ethernet/netronome/nfp/bpf/jit.c struct bpf_insn *ld = &ld_meta->insn; ld 4059 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (BPF_SIZE(ld->code) != BPF_SIZE(st->code)) ld 4062 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (ld->dst_reg != st->src_reg) ld 4086 drivers/net/ethernet/netronome/nfp/bpf/jit.c struct bpf_insn *ld = &ld_meta->insn; ld 4095 drivers/net/ethernet/netronome/nfp/bpf/jit.c curr_size = BPF_LDST_BYTES(ld); ld 4102 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (ld->dst_reg != prev_ld_dst) ld 4105 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (ld->src_reg != prev_ld_base || st->dst_reg != prev_st_base) ld 4116 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (prev_ld_off + prev_size == ld->off && ld 4121 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (ld->off + curr_size == prev_ld_off && ld 4134 drivers/net/ethernet/netronome/nfp/bpf/jit.c cross_mem_access(struct bpf_insn *ld, struct nfp_insn_meta *head_ld_meta, ld 4152 drivers/net/ethernet/netronome/nfp/bpf/jit.c ld_off = ld->off + head_ld_meta->ptr.off; ld 4190 drivers/net/ethernet/netronome/nfp/bpf/jit.c struct bpf_insn *ld = &meta1->insn; ld 4204 drivers/net/ethernet/netronome/nfp/bpf/jit.c (head_ld_meta && (cross_mem_access(ld, head_ld_meta, ld 4236 drivers/net/ethernet/netronome/nfp/bpf/jit.c BPF_LDST_BYTES(ld); ld 4239 drivers/net/ethernet/netronome/nfp/bpf/jit.c prev_ld = ld; ld 4261 drivers/net/ethernet/netronome/nfp/bpf/jit.c head_ld_meta->ldst_gather_len += BPF_LDST_BYTES(ld); ld 4264 drivers/net/ethernet/netronome/nfp/bpf/jit.c prev_ld = ld; ld 437 drivers/scsi/hpsa.c int ld; ld 442 drivers/scsi/hpsa.c ld = lockup_detected(h); ld 444 drivers/scsi/hpsa.c return sprintf(buf, "ld=%d\n", ld); ld 2099 drivers/scsi/megaraid/megaraid_sas.h struct megasas_evtarg_ld ld; ld 2102 drivers/scsi/megaraid/megaraid_sas.h struct megasas_evtarg_ld ld; ld 2108 drivers/scsi/megaraid/megaraid_sas.h struct megasas_evtarg_ld ld; ld 2112 drivers/scsi/megaraid/megaraid_sas.h struct megasas_evtarg_ld ld; ld 2120 drivers/scsi/megaraid/megaraid_sas.h struct megasas_evtarg_ld ld; ld 2125 drivers/scsi/megaraid/megaraid_sas.h struct megasas_evtarg_ld ld; ld 2130 drivers/scsi/megaraid/megaraid_sas.h struct megasas_evtarg_ld ld; ld 2137 drivers/scsi/megaraid/megaraid_sas.h struct megasas_evtarg_ld ld; ld 2155 drivers/scsi/megaraid/megaraid_sas.h struct megasas_evtarg_ld ld; ld 2652 drivers/scsi/megaraid/megaraid_sas.h struct MR_LD_RAID *MR_LdRaidGet(u32 ld, struct MR_DRV_RAID_MAP_ALL *map); ld 2654 drivers/scsi/megaraid/megaraid_sas.h u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_DRV_RAID_MAP_ALL *map); ld 2656 drivers/scsi/megaraid/megaraid_sas.h u16 MR_GetLDTgtId(u32 ld, struct MR_DRV_RAID_MAP_ALL *map); ld 1860 drivers/scsi/megaraid/megaraid_sas_base.c u16 pd_index = 0, ld; ld 1880 drivers/scsi/megaraid/megaraid_sas_base.c ld = MR_TargetIdToLdGet(device_id, local_map_ptr); ld 1881 drivers/scsi/megaraid/megaraid_sas_base.c if (ld >= instance->fw_supported_vd_count) ld 1883 drivers/scsi/megaraid/megaraid_sas_base.c raid = MR_LdRaidGet(ld, local_map_ptr); ld 2297 drivers/scsi/megaraid/megaraid_sas_base.c int ld, retval = 0; ld 2370 drivers/scsi/megaraid/megaraid_sas_base.c for (ld = 0 ; ld < new_affiliation_111->vdCount; ld++) ld 2371 drivers/scsi/megaraid/megaraid_sas_base.c if (instance->vf_affiliation_111->map[ld].policy[thisVf] != ld 2372 drivers/scsi/megaraid/megaraid_sas_base.c new_affiliation_111->map[ld].policy[thisVf]) { ld 57 drivers/scsi/megaraid/megaraid_sas_fp.c #define SPAN_ROW_SIZE(map, ld, index_) (MR_LdSpanPtrGet(ld, index_, map)->spanRowSize) ld 58 drivers/scsi/megaraid/megaraid_sas_fp.c #define SPAN_ROW_DATA_SIZE(map_, ld, index_) (MR_LdSpanPtrGet(ld, index_, map)->spanRowDataSize) ld 64 drivers/scsi/megaraid/megaraid_sas_fp.c static u8 mr_spanset_get_phy_params(struct megasas_instance *instance, u32 ld, ld 67 drivers/scsi/megaraid/megaraid_sas_fp.c static u64 get_row_from_strip(struct megasas_instance *instance, u32 ld, ld 102 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_LD_RAID *MR_LdRaidGet(u32 ld, struct MR_DRV_RAID_MAP_ALL *map) ld 104 drivers/scsi/megaraid/megaraid_sas_fp.c return &map->raidMap.ldSpanMap[ld].ldRaid; ld 107 drivers/scsi/megaraid/megaraid_sas_fp.c static struct MR_SPAN_BLOCK_INFO *MR_LdSpanInfoGet(u32 ld, ld 111 drivers/scsi/megaraid/megaraid_sas_fp.c return &map->raidMap.ldSpanMap[ld].spanBlock[0]; ld 114 drivers/scsi/megaraid/megaraid_sas_fp.c static u8 MR_LdDataArmGet(u32 ld, u32 armIdx, struct MR_DRV_RAID_MAP_ALL *map) ld 116 drivers/scsi/megaraid/megaraid_sas_fp.c return map->raidMap.ldSpanMap[ld].dataArmMap[armIdx]; ld 124 drivers/scsi/megaraid/megaraid_sas_fp.c u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_DRV_RAID_MAP_ALL *map) ld 126 drivers/scsi/megaraid/megaraid_sas_fp.c return le16_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span].span.arrayRef); ld 139 drivers/scsi/megaraid/megaraid_sas_fp.c u16 MR_GetLDTgtId(u32 ld, struct MR_DRV_RAID_MAP_ALL *map) ld 141 drivers/scsi/megaraid/megaraid_sas_fp.c return le16_to_cpu(map->raidMap.ldSpanMap[ld].ldRaid.targetId); ld 149 drivers/scsi/megaraid/megaraid_sas_fp.c static struct MR_LD_SPAN *MR_LdSpanPtrGet(u32 ld, u32 span, ld 152 drivers/scsi/megaraid/megaraid_sas_fp.c return &map->raidMap.ldSpanMap[ld].spanBlock[span].span; ld 312 drivers/scsi/megaraid/megaraid_sas_fp.c u16 ld; ld 355 drivers/scsi/megaraid/megaraid_sas_fp.c ld = MR_TargetIdToLdGet(i, drv_map); ld 358 drivers/scsi/megaraid/megaraid_sas_fp.c if (ld >= (MAX_LOGICAL_DRIVES_EXT - 1)) ld 361 drivers/scsi/megaraid/megaraid_sas_fp.c raid = MR_LdRaidGet(ld, drv_map); ld 370 drivers/scsi/megaraid/megaraid_sas_fp.c u32 MR_GetSpanBlock(u32 ld, u64 row, u64 *span_blk, ld 373 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_SPAN_BLOCK_INFO *pSpanBlock = MR_LdSpanInfoGet(ld, map); ld 375 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); ld 422 drivers/scsi/megaraid/megaraid_sas_fp.c u32 ld, u64 row, u64 *span_blk, struct MR_DRV_RAID_MAP_ALL *map) ld 425 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); ld 432 drivers/scsi/megaraid/megaraid_sas_fp.c span_set = &(ldSpanInfo[ld].span_set[info]); ld 441 drivers/scsi/megaraid/megaraid_sas_fp.c if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. ld 443 drivers/scsi/megaraid/megaraid_sas_fp.c quad = &map->raidMap.ldSpanMap[ld]. ld 485 drivers/scsi/megaraid/megaraid_sas_fp.c u32 ld, u64 strip, struct MR_DRV_RAID_MAP_ALL *map) ld 488 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); ld 495 drivers/scsi/megaraid/megaraid_sas_fp.c span_set = &(ldSpanInfo[ld].span_set[info]); ld 508 drivers/scsi/megaraid/megaraid_sas_fp.c if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. ld 542 drivers/scsi/megaraid/megaraid_sas_fp.c u32 ld, u64 row, struct MR_DRV_RAID_MAP_ALL *map) ld 545 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); ld 553 drivers/scsi/megaraid/megaraid_sas_fp.c span_set = &(ldSpanInfo[ld].span_set[info]); ld 561 drivers/scsi/megaraid/megaraid_sas_fp.c if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. ld 563 drivers/scsi/megaraid/megaraid_sas_fp.c quad = &map->raidMap.ldSpanMap[ld]. ld 582 drivers/scsi/megaraid/megaraid_sas_fp.c ld, (long unsigned int)row); ld 603 drivers/scsi/megaraid/megaraid_sas_fp.c u32 ld, u64 strip, struct MR_DRV_RAID_MAP_ALL *map) ld 606 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); ld 612 drivers/scsi/megaraid/megaraid_sas_fp.c span_set = &(ldSpanInfo[ld].span_set[info]); ld 624 drivers/scsi/megaraid/megaraid_sas_fp.c if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. ld 640 drivers/scsi/megaraid/megaraid_sas_fp.c ld, (long unsigned int)strip); ld 646 drivers/scsi/megaraid/megaraid_sas_fp.c u8 get_arm(struct megasas_instance *instance, u32 ld, u8 span, u64 stripe, ld 649 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); ld 657 drivers/scsi/megaraid/megaraid_sas_fp.c arm = mega_mod64(stripe, SPAN_ROW_SIZE(map, ld, span)); ld 661 drivers/scsi/megaraid/megaraid_sas_fp.c arm = get_arm_from_strip(instance, ld, stripe, map); ld 688 drivers/scsi/megaraid/megaraid_sas_fp.c static u8 mr_spanset_get_phy_params(struct megasas_instance *instance, u32 ld, ld 693 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); ld 713 drivers/scsi/megaraid/megaraid_sas_fp.c logArm = get_arm_from_strip(instance, ld, stripRow, map); ld 716 drivers/scsi/megaraid/megaraid_sas_fp.c rowMod = mega_mod64(row, SPAN_ROW_SIZE(map, ld, span)); ld 717 drivers/scsi/megaraid/megaraid_sas_fp.c armQ = SPAN_ROW_SIZE(map, ld, span) - 1 - rowMod; ld 719 drivers/scsi/megaraid/megaraid_sas_fp.c if (arm >= SPAN_ROW_SIZE(map, ld, span)) ld 720 drivers/scsi/megaraid/megaraid_sas_fp.c arm -= SPAN_ROW_SIZE(map, ld, span); ld 724 drivers/scsi/megaraid/megaraid_sas_fp.c physArm = get_arm(instance, ld, span, stripRow, map); ld 728 drivers/scsi/megaraid/megaraid_sas_fp.c arRef = MR_LdSpanArrayGet(ld, span, map); ld 759 drivers/scsi/megaraid/megaraid_sas_fp.c *pdBlock += stripRef + le64_to_cpu(MR_LdSpanPtrGet(ld, span, map)->startBlk); ld 791 drivers/scsi/megaraid/megaraid_sas_fp.c u8 MR_GetPhyParams(struct megasas_instance *instance, u32 ld, u64 stripRow, ld 796 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); ld 828 drivers/scsi/megaraid/megaraid_sas_fp.c physArm = MR_LdDataArmGet(ld, mega_mod64(stripRow, ld 837 drivers/scsi/megaraid/megaraid_sas_fp.c span = (u8)MR_GetSpanBlock(ld, row, pdBlock, map); ld 843 drivers/scsi/megaraid/megaraid_sas_fp.c arRef = MR_LdSpanArrayGet(ld, span, map); ld 877 drivers/scsi/megaraid/megaraid_sas_fp.c *pdBlock += stripRef + le64_to_cpu(MR_LdSpanPtrGet(ld, span, map)->startBlk); ld 905 drivers/scsi/megaraid/megaraid_sas_fp.c u32 ld, u64 stripNo, ld 910 drivers/scsi/megaraid/megaraid_sas_fp.c struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); ld 931 drivers/scsi/megaraid/megaraid_sas_fp.c span = (u8)MR_GetSpanBlock(ld, rowNum, pdBlock, map); ld 992 drivers/scsi/megaraid/megaraid_sas_fp.c u16 ld; ld 1002 drivers/scsi/megaraid/megaraid_sas_fp.c ld = MR_TargetIdToLdGet(ldTgtId, map); ld 1003 drivers/scsi/megaraid/megaraid_sas_fp.c raid = MR_LdRaidGet(ld, map); ld 1012 drivers/scsi/megaraid/megaraid_sas_fp.c if (MR_LdSpanPtrGet(ld, 0, map)->spanRowDataSize == 0) ld 1021 drivers/scsi/megaraid/megaraid_sas_fp.c MR_LdSpanPtrGet(ld, 0, map)->spanRowDataSize); ld 1042 drivers/scsi/megaraid/megaraid_sas_fp.c start_row = get_row_from_strip(instance, ld, start_strip, map); ld 1043 drivers/scsi/megaraid/megaraid_sas_fp.c endRow = get_row_from_strip(instance, ld, endStrip, map); ld 1056 drivers/scsi/megaraid/megaraid_sas_fp.c ld, start_row, pdBlock, map); ld 1133 drivers/scsi/megaraid/megaraid_sas_fp.c if (start_strip == (get_strip_from_row(instance, ld, start_row, map) + ld 1134 drivers/scsi/megaraid/megaraid_sas_fp.c SPAN_ROW_DATA_SIZE(map, ld, startlba_span) - 1)) { ld 1148 drivers/scsi/megaraid/megaraid_sas_fp.c if (endStrip == get_strip_from_row(instance, ld, endRow, map)) ld 1173 drivers/scsi/megaraid/megaraid_sas_fp.c mr_get_phy_params_r56_rmw(instance, ld, start_strip, io_info, ld 1183 drivers/scsi/megaraid/megaraid_sas_fp.c mr_spanset_get_phy_params(instance, ld, ld 1186 drivers/scsi/megaraid/megaraid_sas_fp.c MR_GetPhyParams(instance, ld, start_strip, ld 1197 drivers/scsi/megaraid/megaraid_sas_fp.c mr_spanset_get_phy_params(instance, ld, ld 1201 drivers/scsi/megaraid/megaraid_sas_fp.c MR_GetPhyParams(instance, ld, ld 1232 drivers/scsi/megaraid/megaraid_sas_fp.c u16 ld; ld 1236 drivers/scsi/megaraid/megaraid_sas_fp.c ld = MR_TargetIdToLdGet(ldCount, map); ld 1237 drivers/scsi/megaraid/megaraid_sas_fp.c if (ld >= (MAX_LOGICAL_DRIVES_EXT - 1)) ld 1239 drivers/scsi/megaraid/megaraid_sas_fp.c raid = MR_LdRaidGet(ld, map); ld 1242 drivers/scsi/megaraid/megaraid_sas_fp.c if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. ld 1246 drivers/scsi/megaraid/megaraid_sas_fp.c span_set = &(ldSpanInfo[ld].span_set[element]); ld 1247 drivers/scsi/megaraid/megaraid_sas_fp.c quad = &map->raidMap.ldSpanMap[ld]. ld 1255 drivers/scsi/megaraid/megaraid_sas_fp.c if (le32_to_cpu(map->raidMap.ldSpanMap[ld]. ld 1263 drivers/scsi/megaraid/megaraid_sas_fp.c (ld, count, map)->spanRowDataSize; ld 1289 drivers/scsi/megaraid/megaraid_sas_fp.c span_set_prev = &(ldSpanInfo[ld]. ld 1327 drivers/scsi/megaraid/megaraid_sas_fp.c u16 ld; ld 1334 drivers/scsi/megaraid/megaraid_sas_fp.c ld = MR_TargetIdToLdGet(ldCount, drv_map); ld 1335 drivers/scsi/megaraid/megaraid_sas_fp.c if (ld >= MAX_LOGICAL_DRIVES_EXT - 1) { ld 1340 drivers/scsi/megaraid/megaraid_sas_fp.c raid = MR_LdRaidGet(ld, drv_map); ld 1357 drivers/scsi/megaraid/megaraid_sas_fp.c u16 pend0, pend1, ld; ld 1369 drivers/scsi/megaraid/megaraid_sas_fp.c ld = MR_TargetIdToLdGet(io_info->ldTgtId, drv_map); ld 1370 drivers/scsi/megaraid/megaraid_sas_fp.c raid = MR_LdRaidGet(ld, drv_map); ld 1372 drivers/scsi/megaraid/megaraid_sas_fp.c SPAN_ROW_SIZE(drv_map, ld, span) : raid->rowSize; ld 1374 drivers/scsi/megaraid/megaraid_sas_fp.c arRef = MR_LdSpanArrayGet(ld, span, drv_map); ld 2383 drivers/scsi/megaraid/megaraid_sas_fusion.c u16 ld; ld 2390 drivers/scsi/megaraid/megaraid_sas_fusion.c ld = MR_TargetIdToLdGet(io_info->ldTgtId, local_map_ptr); ld 2391 drivers/scsi/megaraid/megaraid_sas_fusion.c raid = MR_LdRaidGet(ld, local_map_ptr); ld 2722 drivers/scsi/megaraid/megaraid_sas_fusion.c u16 ld; ld 2815 drivers/scsi/megaraid/megaraid_sas_fusion.c ld = MR_TargetIdToLdGet(device_id, local_map_ptr); ld 2817 drivers/scsi/megaraid/megaraid_sas_fusion.c if (ld < instance->fw_supported_vd_count) ld 2818 drivers/scsi/megaraid/megaraid_sas_fusion.c raid = MR_LdRaidGet(ld, local_map_ptr); ld 2990 drivers/scsi/megaraid/megaraid_sas_fusion.c u16 ld; ld 3014 drivers/scsi/megaraid/megaraid_sas_fusion.c ld = MR_TargetIdToLdGet(device_id, local_map_ptr); ld 3015 drivers/scsi/megaraid/megaraid_sas_fusion.c if (ld >= instance->fw_supported_vd_count - 1) ld 3018 drivers/scsi/megaraid/megaraid_sas_fusion.c raid = MR_LdRaidGet(ld, local_map_ptr); ld 3046 drivers/scsi/megaraid/megaraid_sas_fusion.c arRef = MR_LdSpanArrayGet(ld, span, local_map_ptr); ld 1593 drivers/scsi/myrb.c mbox->type5.ld.xfer_len = block_cnt; ld 1594 drivers/scsi/myrb.c mbox->type5.ld.ldev_num = sdev->id; ld 1614 drivers/scsi/myrb.c mbox->type5.ld.xfer_len = block_cnt; ld 1615 drivers/scsi/myrb.c mbox->type5.ld.ldev_num = sdev->id; ld 3324 drivers/scsi/myrb.c int ldev_num = mbox->type5.ld.ldev_num; ld 649 drivers/scsi/myrb.h } __packed ld; ld 3942 drivers/tty/cyclades.c struct tty_ldisc *ld; ld 3946 drivers/tty/cyclades.c ld = tty_ldisc_ref(tty); ld 3947 drivers/tty/cyclades.c if (ld) { ld 3948 drivers/tty/cyclades.c num = ld->ops->num; ld 3949 drivers/tty/cyclades.c tty_ldisc_deref(ld); ld 2998 drivers/tty/serial/serial_core.c struct tty_ldisc *ld; ld 3003 drivers/tty/serial/serial_core.c ld = tty_ldisc_ref(tty); ld 3004 drivers/tty/serial/serial_core.c if (ld) { ld 3005 drivers/tty/serial/serial_core.c if (ld->ops->dcd_change) ld 3006 drivers/tty/serial/serial_core.c ld->ops->dcd_change(tty, status); ld 3007 drivers/tty/serial/serial_core.c tty_ldisc_deref(ld); ld 958 drivers/tty/synclink.c struct tty_ldisc *ld; ld 961 drivers/tty/synclink.c ld = tty_ldisc_ref(tty); ld 962 drivers/tty/synclink.c if (ld) { ld 963 drivers/tty/synclink.c if (ld->ops->receive_buf) ld 964 drivers/tty/synclink.c ld->ops->receive_buf(tty, data, flags, count); ld 965 drivers/tty/synclink.c tty_ldisc_deref(ld); ld 634 drivers/tty/synclink_gt.c struct tty_ldisc *ld; ld 637 drivers/tty/synclink_gt.c ld = tty_ldisc_ref(tty); ld 638 drivers/tty/synclink_gt.c if (ld) { ld 639 drivers/tty/synclink_gt.c if (ld->ops->receive_buf) ld 640 drivers/tty/synclink_gt.c ld->ops->receive_buf(tty, data, flags, count); ld 641 drivers/tty/synclink_gt.c tty_ldisc_deref(ld); ld 700 drivers/tty/synclinkmp.c struct tty_ldisc *ld; ld 703 drivers/tty/synclinkmp.c ld = tty_ldisc_ref(tty); ld 704 drivers/tty/synclinkmp.c if (ld) { ld 705 drivers/tty/synclinkmp.c if (ld->ops->receive_buf) ld 706 drivers/tty/synclinkmp.c ld->ops->receive_buf(tty, data, flags, count); ld 707 drivers/tty/synclinkmp.c tty_ldisc_deref(ld); ld 219 drivers/tty/tty_buffer.c void tty_buffer_flush(struct tty_struct *tty, struct tty_ldisc *ld) ld 237 drivers/tty/tty_buffer.c if (ld && ld->ops->flush_buffer) ld 238 drivers/tty/tty_buffer.c ld->ops->flush_buffer(tty); ld 457 drivers/tty/tty_buffer.c int tty_ldisc_receive_buf(struct tty_ldisc *ld, const unsigned char *p, ld 460 drivers/tty/tty_buffer.c if (ld->ops->receive_buf2) ld 461 drivers/tty/tty_buffer.c count = ld->ops->receive_buf2(ld->tty, p, f, count); ld 463 drivers/tty/tty_buffer.c count = min_t(int, count, ld->tty->receive_room); ld 464 drivers/tty/tty_buffer.c if (count && ld->ops->receive_buf) ld 465 drivers/tty/tty_buffer.c ld->ops->receive_buf(ld->tty, p, f, count); ld 529 drivers/tty/tty_io.c struct tty_ldisc *ld; ld 532 drivers/tty/tty_io.c ld = tty_ldisc_ref(tty); ld 533 drivers/tty/tty_io.c if (ld) { ld 534 drivers/tty/tty_io.c if (ld->ops->write_wakeup) ld 535 drivers/tty/tty_io.c ld->ops->write_wakeup(tty); ld 536 drivers/tty/tty_io.c tty_ldisc_deref(ld); ld 855 drivers/tty/tty_io.c struct tty_ldisc *ld; ld 864 drivers/tty/tty_io.c ld = tty_ldisc_ref_wait(tty); ld 865 drivers/tty/tty_io.c if (!ld) ld 867 drivers/tty/tty_io.c if (ld->ops->read) ld 868 drivers/tty/tty_io.c i = ld->ops->read(tty, file, buf, count); ld 871 drivers/tty/tty_io.c tty_ldisc_deref(ld); ld 1029 drivers/tty/tty_io.c struct tty_ldisc *ld; ld 1039 drivers/tty/tty_io.c ld = tty_ldisc_ref_wait(tty); ld 1040 drivers/tty/tty_io.c if (!ld) ld 1042 drivers/tty/tty_io.c if (!ld->ops->write) ld 1045 drivers/tty/tty_io.c ret = do_tty_write(ld->ops->write, tty, file, buf, count); ld 1046 drivers/tty/tty_io.c tty_ldisc_deref(ld); ld 1261 drivers/tty/tty_io.c struct tty_ldisc *ld; ld 1274 drivers/tty/tty_io.c ld = tty_ldisc_ref_wait(tty); ld 1275 drivers/tty/tty_io.c if (ld) { ld 1276 drivers/tty/tty_io.c tty_ldisc_deref(ld); ld 2103 drivers/tty/tty_io.c struct tty_ldisc *ld; ld 2109 drivers/tty/tty_io.c ld = tty_ldisc_ref_wait(tty); ld 2110 drivers/tty/tty_io.c if (!ld) ld 2112 drivers/tty/tty_io.c if (ld->ops->poll) ld 2113 drivers/tty/tty_io.c ret = ld->ops->poll(tty, filp, wait); ld 2114 drivers/tty/tty_io.c tty_ldisc_deref(ld); ld 2186 drivers/tty/tty_io.c struct tty_ldisc *ld; ld 2193 drivers/tty/tty_io.c ld = tty_ldisc_ref_wait(tty); ld 2194 drivers/tty/tty_io.c if (!ld) ld 2196 drivers/tty/tty_io.c if (ld->ops->receive_buf) ld 2197 drivers/tty/tty_io.c ld->ops->receive_buf(tty, &ch, &mbz, 1); ld 2198 drivers/tty/tty_io.c tty_ldisc_deref(ld); ld 2352 drivers/tty/tty_io.c struct tty_ldisc *ld; ld 2355 drivers/tty/tty_io.c ld = tty_ldisc_ref_wait(tty); ld 2356 drivers/tty/tty_io.c if (!ld) ld 2358 drivers/tty/tty_io.c ret = put_user(ld->ops->num, p); ld 2359 drivers/tty/tty_io.c tty_ldisc_deref(ld); ld 2541 drivers/tty/tty_io.c struct tty_ldisc *ld; ld 2661 drivers/tty/tty_io.c ld = tty_ldisc_ref_wait(tty); ld 2662 drivers/tty/tty_io.c if (!ld) ld 2665 drivers/tty/tty_io.c if (ld->ops->ioctl) { ld 2666 drivers/tty/tty_io.c retval = ld->ops->ioctl(tty, file, cmd, arg); ld 2670 drivers/tty/tty_io.c tty_ldisc_deref(ld); ld 2756 drivers/tty/tty_io.c struct tty_ldisc *ld; ld 2849 drivers/tty/tty_io.c ld = tty_ldisc_ref_wait(tty); ld 2850 drivers/tty/tty_io.c if (!ld) ld 2852 drivers/tty/tty_io.c if (ld->ops->compat_ioctl) ld 2853 drivers/tty/tty_io.c retval = ld->ops->compat_ioctl(tty, file, cmd, arg); ld 2854 drivers/tty/tty_io.c if (retval == -ENOIOCTLCMD && ld->ops->ioctl) ld 2855 drivers/tty/tty_io.c retval = ld->ops->ioctl(tty, file, ld 2857 drivers/tty/tty_io.c tty_ldisc_deref(ld); ld 317 drivers/tty/tty_ioctl.c struct tty_ldisc *ld; ld 338 drivers/tty/tty_ioctl.c ld = tty_ldisc_ref(tty); ld 339 drivers/tty/tty_ioctl.c if (ld != NULL) { ld 340 drivers/tty/tty_ioctl.c if (ld->ops->set_termios) ld 341 drivers/tty/tty_ioctl.c ld->ops->set_termios(tty, &old_termios); ld 342 drivers/tty/tty_ioctl.c tty_ldisc_deref(ld); ld 365 drivers/tty/tty_ioctl.c struct tty_ldisc *ld; ld 400 drivers/tty/tty_ioctl.c ld = tty_ldisc_ref(tty); ld 402 drivers/tty/tty_ioctl.c if (ld != NULL) { ld 403 drivers/tty/tty_ioctl.c if ((opt & TERMIOS_FLUSH) && ld->ops->flush_buffer) ld 404 drivers/tty/tty_ioctl.c ld->ops->flush_buffer(tty); ld 405 drivers/tty/tty_ioctl.c tty_ldisc_deref(ld); ld 462 drivers/tty/tty_ioctl.c struct tty_ldisc *ld; ld 469 drivers/tty/tty_ioctl.c ld = tty_ldisc_ref(tty); ld 470 drivers/tty/tty_ioctl.c if (ld != NULL) { ld 471 drivers/tty/tty_ioctl.c if ((opt & TERMIOS_FLUSH) && ld->ops->flush_buffer) ld 472 drivers/tty/tty_ioctl.c ld->ops->flush_buffer(tty); ld 473 drivers/tty/tty_ioctl.c tty_ldisc_deref(ld); ld 855 drivers/tty/tty_ioctl.c struct tty_ldisc *ld = tty->ldisc; ld 859 drivers/tty/tty_ioctl.c if (ld && ld->ops->flush_buffer) { ld 860 drivers/tty/tty_ioctl.c ld->ops->flush_buffer(tty); ld 865 drivers/tty/tty_ioctl.c if (ld && ld->ops->flush_buffer) { ld 866 drivers/tty/tty_ioctl.c ld->ops->flush_buffer(tty); ld 881 drivers/tty/tty_ioctl.c struct tty_ldisc *ld; ld 886 drivers/tty/tty_ioctl.c ld = tty_ldisc_ref_wait(tty); ld 888 drivers/tty/tty_ioctl.c if (ld) ld 889 drivers/tty/tty_ioctl.c tty_ldisc_deref(ld); ld 168 drivers/tty/tty_ldisc.c struct tty_ldisc *ld; ld 192 drivers/tty/tty_ldisc.c ld = kmalloc(sizeof(struct tty_ldisc), GFP_KERNEL | __GFP_NOFAIL); ld 193 drivers/tty/tty_ldisc.c ld->ops = ldops; ld 194 drivers/tty/tty_ldisc.c ld->tty = tty; ld 196 drivers/tty/tty_ldisc.c return ld; ld 204 drivers/tty/tty_ldisc.c static void tty_ldisc_put(struct tty_ldisc *ld) ld 206 drivers/tty/tty_ldisc.c if (WARN_ON_ONCE(!ld)) ld 209 drivers/tty/tty_ldisc.c put_ldops(ld->ops); ld 210 drivers/tty/tty_ldisc.c kfree(ld); ld 270 drivers/tty/tty_ldisc.c struct tty_ldisc *ld; ld 273 drivers/tty/tty_ldisc.c ld = tty->ldisc; ld 274 drivers/tty/tty_ldisc.c if (!ld) ld 276 drivers/tty/tty_ldisc.c return ld; ld 291 drivers/tty/tty_ldisc.c struct tty_ldisc *ld = NULL; ld 294 drivers/tty/tty_ldisc.c ld = tty->ldisc; ld 295 drivers/tty/tty_ldisc.c if (!ld) ld 298 drivers/tty/tty_ldisc.c return ld; ld 310 drivers/tty/tty_ldisc.c void tty_ldisc_deref(struct tty_ldisc *ld) ld 312 drivers/tty/tty_ldisc.c ldsem_up_read(&ld->tty->ldisc_sem); ld 418 drivers/tty/tty_ldisc.c struct tty_ldisc *ld = tty_ldisc_ref(tty); ld 420 drivers/tty/tty_ldisc.c tty_buffer_flush(tty, ld); ld 421 drivers/tty/tty_ldisc.c if (ld) ld 422 drivers/tty/tty_ldisc.c tty_ldisc_deref(ld); ld 463 drivers/tty/tty_ldisc.c static int tty_ldisc_open(struct tty_struct *tty, struct tty_ldisc *ld) ld 466 drivers/tty/tty_ldisc.c if (ld->ops->open) { ld 469 drivers/tty/tty_ldisc.c ret = ld->ops->open(tty); ld 473 drivers/tty/tty_ldisc.c tty_ldisc_debug(tty, "%p: opened\n", ld); ld 488 drivers/tty/tty_ldisc.c static void tty_ldisc_close(struct tty_struct *tty, struct tty_ldisc *ld) ld 493 drivers/tty/tty_ldisc.c if (ld->ops->close) ld 494 drivers/tty/tty_ldisc.c ld->ops->close(tty); ld 495 drivers/tty/tty_ldisc.c tty_ldisc_debug(tty, "%p: closed\n", ld); ld 507 drivers/tty/tty_ldisc.c static int tty_ldisc_failto(struct tty_struct *tty, int ld) ld 509 drivers/tty/tty_ldisc.c struct tty_ldisc *disc = tty_ldisc_get(tty, ld); ld 516 drivers/tty/tty_ldisc.c tty_set_termios_ldisc(tty, ld); ld 681 drivers/tty/tty_ldisc.c struct tty_ldisc *ld; ld 685 drivers/tty/tty_ldisc.c ld = tty_ldisc_get(tty, disc); ld 686 drivers/tty/tty_ldisc.c if (IS_ERR(ld)) { ld 688 drivers/tty/tty_ldisc.c return PTR_ERR(ld); ld 697 drivers/tty/tty_ldisc.c tty->ldisc = ld; ld 724 drivers/tty/tty_ldisc.c struct tty_ldisc *ld; ld 728 drivers/tty/tty_ldisc.c ld = tty_ldisc_ref(tty); ld 729 drivers/tty/tty_ldisc.c if (ld != NULL) { ld 730 drivers/tty/tty_ldisc.c if (ld->ops->flush_buffer) ld 731 drivers/tty/tty_ldisc.c ld->ops->flush_buffer(tty); ld 734 drivers/tty/tty_ldisc.c ld->ops->write_wakeup) ld 735 drivers/tty/tty_ldisc.c ld->ops->write_wakeup(tty); ld 736 drivers/tty/tty_ldisc.c if (ld->ops->hangup) ld 737 drivers/tty/tty_ldisc.c ld->ops->hangup(tty); ld 738 drivers/tty/tty_ldisc.c tty_ldisc_deref(ld); ld 836 drivers/tty/tty_ldisc.c struct tty_ldisc *ld = tty_ldisc_get(tty, N_TTY); ld 837 drivers/tty/tty_ldisc.c if (IS_ERR(ld)) ld 838 drivers/tty/tty_ldisc.c return PTR_ERR(ld); ld 839 drivers/tty/tty_ldisc.c tty->ldisc = ld; ld 374 drivers/tty/vt/selection.c struct tty_ldisc *ld; ld 382 drivers/tty/vt/selection.c ld = tty_ldisc_ref_wait(tty); ld 383 drivers/tty/vt/selection.c if (!ld) ld 403 drivers/tty/vt/selection.c count = tty_ldisc_receive_buf(ld, sel_buffer + pasted, NULL, ld 412 drivers/tty/vt/selection.c tty_ldisc_deref(ld); ld 620 drivers/usb/serial/generic.c struct tty_ldisc *ld = tty_ldisc_ref(tty); ld 622 drivers/usb/serial/generic.c if (ld) { ld 623 drivers/usb/serial/generic.c if (ld->ops->dcd_change) ld 624 drivers/usb/serial/generic.c ld->ops->dcd_change(tty, status); ld 625 drivers/usb/serial/generic.c tty_ldisc_deref(ld); ld 37 drivers/video/backlight/ams369fg06.c struct lcd_device *ld; ld 317 drivers/video/backlight/ams369fg06.c pd->power_on(lcd->ld, 1); ld 326 drivers/video/backlight/ams369fg06.c pd->reset(lcd->ld); ld 367 drivers/video/backlight/ams369fg06.c pd->power_on(lcd->ld, 0); ld 389 drivers/video/backlight/ams369fg06.c static int ams369fg06_get_power(struct lcd_device *ld) ld 391 drivers/video/backlight/ams369fg06.c struct ams369fg06 *lcd = lcd_get_data(ld); ld 396 drivers/video/backlight/ams369fg06.c static int ams369fg06_set_power(struct lcd_device *ld, int power) ld 398 drivers/video/backlight/ams369fg06.c struct ams369fg06 *lcd = lcd_get_data(ld); ld 444 drivers/video/backlight/ams369fg06.c struct lcd_device *ld = NULL; ld 470 drivers/video/backlight/ams369fg06.c ld = devm_lcd_device_register(&spi->dev, "ams369fg06", &spi->dev, lcd, ld 472 drivers/video/backlight/ams369fg06.c if (IS_ERR(ld)) ld 473 drivers/video/backlight/ams369fg06.c return PTR_ERR(ld); ld 475 drivers/video/backlight/ams369fg06.c lcd->ld = ld; ld 335 drivers/video/backlight/corgi_lcd.c static int corgi_lcd_set_mode(struct lcd_device *ld, struct fb_videomode *m) ld 337 drivers/video/backlight/corgi_lcd.c struct corgi_lcd *lcd = lcd_get_data(ld); ld 362 drivers/video/backlight/corgi_lcd.c static int corgi_lcd_set_power(struct lcd_device *ld, int power) ld 364 drivers/video/backlight/corgi_lcd.c struct corgi_lcd *lcd = lcd_get_data(ld); ld 376 drivers/video/backlight/corgi_lcd.c static int corgi_lcd_get_power(struct lcd_device *ld) ld 378 drivers/video/backlight/corgi_lcd.c struct corgi_lcd *lcd = lcd_get_data(ld); ld 146 drivers/video/backlight/cr_bllcd.c static int cr_lcd_set_power(struct lcd_device *ld, int power) ld 138 drivers/video/backlight/ili922x.c struct lcd_device *ld; ld 453 drivers/video/backlight/ili922x.c static int ili922x_set_power(struct lcd_device *ld, int power) ld 455 drivers/video/backlight/ili922x.c struct ili922x *ili = lcd_get_data(ld); ld 460 drivers/video/backlight/ili922x.c static int ili922x_get_power(struct lcd_device *ld) ld 462 drivers/video/backlight/ili922x.c struct ili922x *ili = lcd_get_data(ld); ld 517 drivers/video/backlight/ili922x.c ili->ld = lcd; ld 150 drivers/video/backlight/ili9320.c static int ili9320_set_power(struct lcd_device *ld, int power) ld 152 drivers/video/backlight/ili9320.c struct ili9320 *lcd = to_our_lcd(ld); ld 157 drivers/video/backlight/ili9320.c static int ili9320_get_power(struct lcd_device *ld) ld 159 drivers/video/backlight/ili9320.c struct ili9320 *lcd = to_our_lcd(ld); ld 24 drivers/video/backlight/jornada720_lcd.c static int jornada_lcd_get_power(struct lcd_device *ld) ld 29 drivers/video/backlight/jornada720_lcd.c static int jornada_lcd_get_contrast(struct lcd_device *ld) ld 33 drivers/video/backlight/jornada720_lcd.c if (jornada_lcd_get_power(ld) != FB_BLANK_UNBLANK) ld 43 drivers/video/backlight/jornada720_lcd.c dev_err(&ld->dev, "failed to set contrast\n"); ld 51 drivers/video/backlight/jornada720_lcd.c static int jornada_lcd_set_contrast(struct lcd_device *ld, int value) ld 64 drivers/video/backlight/jornada720_lcd.c dev_err(&ld->dev, "failed to set contrast\n"); ld 72 drivers/video/backlight/jornada720_lcd.c static int jornada_lcd_set_power(struct lcd_device *ld, int power) ld 27 drivers/video/backlight/l4f00242t03.c struct lcd_device *ld; ld 99 drivers/video/backlight/l4f00242t03.c static int l4f00242t03_lcd_power_get(struct lcd_device *ld) ld 101 drivers/video/backlight/l4f00242t03.c struct l4f00242t03_priv *priv = lcd_get_data(ld); ld 106 drivers/video/backlight/l4f00242t03.c static int l4f00242t03_lcd_power_set(struct lcd_device *ld, int power) ld 108 drivers/video/backlight/l4f00242t03.c struct l4f00242t03_priv *priv = lcd_get_data(ld); ld 130 drivers/video/backlight/l4f00242t03.c l4f00242t03_lcd_power_set(priv->ld, power); ld 146 drivers/video/backlight/l4f00242t03.c l4f00242t03_lcd_power_set(ld, power); ld 220 drivers/video/backlight/l4f00242t03.c priv->ld = devm_lcd_device_register(&spi->dev, "l4f00242t03", &spi->dev, ld 222 drivers/video/backlight/l4f00242t03.c if (IS_ERR(priv->ld)) ld 223 drivers/video/backlight/l4f00242t03.c return PTR_ERR(priv->ld); ld 228 drivers/video/backlight/l4f00242t03.c l4f00242t03_lcd_power_set(priv->ld, FB_BLANK_UNBLANK); ld 239 drivers/video/backlight/l4f00242t03.c l4f00242t03_lcd_power_set(priv->ld, FB_BLANK_POWERDOWN); ld 248 drivers/video/backlight/l4f00242t03.c l4f00242t03_lcd_power_set(priv->ld, FB_BLANK_POWERDOWN); ld 30 drivers/video/backlight/lcd.c struct lcd_device *ld; ld 33 drivers/video/backlight/lcd.c ld = container_of(self, struct lcd_device, fb_notif); ld 34 drivers/video/backlight/lcd.c if (!ld->ops) ld 37 drivers/video/backlight/lcd.c mutex_lock(&ld->ops_lock); ld 38 drivers/video/backlight/lcd.c if (!ld->ops->check_fb || ld->ops->check_fb(ld, evdata->info)) { ld 40 drivers/video/backlight/lcd.c if (ld->ops->set_power) ld 41 drivers/video/backlight/lcd.c ld->ops->set_power(ld, *(int *)evdata->data); ld 43 drivers/video/backlight/lcd.c if (ld->ops->set_mode) ld 44 drivers/video/backlight/lcd.c ld->ops->set_mode(ld, evdata->data); ld 47 drivers/video/backlight/lcd.c mutex_unlock(&ld->ops_lock); ld 51 drivers/video/backlight/lcd.c static int lcd_register_fb(struct lcd_device *ld) ld 53 drivers/video/backlight/lcd.c memset(&ld->fb_notif, 0, sizeof(ld->fb_notif)); ld 54 drivers/video/backlight/lcd.c ld->fb_notif.notifier_call = fb_notifier_callback; ld 55 drivers/video/backlight/lcd.c return fb_register_client(&ld->fb_notif); ld 58 drivers/video/backlight/lcd.c static void lcd_unregister_fb(struct lcd_device *ld) ld 60 drivers/video/backlight/lcd.c fb_unregister_client(&ld->fb_notif); ld 63 drivers/video/backlight/lcd.c static int lcd_register_fb(struct lcd_device *ld) ld 68 drivers/video/backlight/lcd.c static inline void lcd_unregister_fb(struct lcd_device *ld) ld 77 drivers/video/backlight/lcd.c struct lcd_device *ld = to_lcd_device(dev); ld 79 drivers/video/backlight/lcd.c mutex_lock(&ld->ops_lock); ld 80 drivers/video/backlight/lcd.c if (ld->ops && ld->ops->get_power) ld 81 drivers/video/backlight/lcd.c rc = sprintf(buf, "%d\n", ld->ops->get_power(ld)); ld 84 drivers/video/backlight/lcd.c mutex_unlock(&ld->ops_lock); ld 93 drivers/video/backlight/lcd.c struct lcd_device *ld = to_lcd_device(dev); ld 102 drivers/video/backlight/lcd.c mutex_lock(&ld->ops_lock); ld 103 drivers/video/backlight/lcd.c if (ld->ops && ld->ops->set_power) { ld 105 drivers/video/backlight/lcd.c ld->ops->set_power(ld, power); ld 108 drivers/video/backlight/lcd.c mutex_unlock(&ld->ops_lock); ld 118 drivers/video/backlight/lcd.c struct lcd_device *ld = to_lcd_device(dev); ld 120 drivers/video/backlight/lcd.c mutex_lock(&ld->ops_lock); ld 121 drivers/video/backlight/lcd.c if (ld->ops && ld->ops->get_contrast) ld 122 drivers/video/backlight/lcd.c rc = sprintf(buf, "%d\n", ld->ops->get_contrast(ld)); ld 123 drivers/video/backlight/lcd.c mutex_unlock(&ld->ops_lock); ld 132 drivers/video/backlight/lcd.c struct lcd_device *ld = to_lcd_device(dev); ld 141 drivers/video/backlight/lcd.c mutex_lock(&ld->ops_lock); ld 142 drivers/video/backlight/lcd.c if (ld->ops && ld->ops->set_contrast) { ld 144 drivers/video/backlight/lcd.c ld->ops->set_contrast(ld, contrast); ld 147 drivers/video/backlight/lcd.c mutex_unlock(&ld->ops_lock); ld 156 drivers/video/backlight/lcd.c struct lcd_device *ld = to_lcd_device(dev); ld 158 drivers/video/backlight/lcd.c return sprintf(buf, "%d\n", ld->props.max_contrast); ld 166 drivers/video/backlight/lcd.c struct lcd_device *ld = to_lcd_device(dev); ld 167 drivers/video/backlight/lcd.c kfree(ld); ld 234 drivers/video/backlight/lcd.c void lcd_device_unregister(struct lcd_device *ld) ld 236 drivers/video/backlight/lcd.c if (!ld) ld 239 drivers/video/backlight/lcd.c mutex_lock(&ld->ops_lock); ld 240 drivers/video/backlight/lcd.c ld->ops = NULL; ld 241 drivers/video/backlight/lcd.c mutex_unlock(&ld->ops_lock); ld 242 drivers/video/backlight/lcd.c lcd_unregister_fb(ld); ld 244 drivers/video/backlight/lcd.c device_unregister(&ld->dev); ld 307 drivers/video/backlight/lcd.c void devm_lcd_device_unregister(struct device *dev, struct lcd_device *ld) ld 312 drivers/video/backlight/lcd.c devm_lcd_device_match, ld); ld 21 drivers/video/backlight/lms283gf05.c struct lcd_device *ld; ld 124 drivers/video/backlight/lms283gf05.c static int lms283gf05_power_set(struct lcd_device *ld, int power) ld 126 drivers/video/backlight/lms283gf05.c struct lms283gf05_state *st = lcd_get_data(ld); ld 154 drivers/video/backlight/lms283gf05.c struct lcd_device *ld; ld 171 drivers/video/backlight/lms283gf05.c ld = devm_lcd_device_register(&spi->dev, "lms283gf05", &spi->dev, st, ld 173 drivers/video/backlight/lms283gf05.c if (IS_ERR(ld)) ld 174 drivers/video/backlight/lms283gf05.c return PTR_ERR(ld); ld 177 drivers/video/backlight/lms283gf05.c st->ld = ld; ld 25 drivers/video/backlight/lms501kf03.c struct lcd_device *ld; ld 233 drivers/video/backlight/lms501kf03.c pd->power_on(lcd->ld, 1); ld 241 drivers/video/backlight/lms501kf03.c pd->reset(lcd->ld); ld 274 drivers/video/backlight/lms501kf03.c pd->power_on(lcd->ld, 0); ld 296 drivers/video/backlight/lms501kf03.c static int lms501kf03_get_power(struct lcd_device *ld) ld 298 drivers/video/backlight/lms501kf03.c struct lms501kf03 *lcd = lcd_get_data(ld); ld 303 drivers/video/backlight/lms501kf03.c static int lms501kf03_set_power(struct lcd_device *ld, int power) ld 305 drivers/video/backlight/lms501kf03.c struct lms501kf03 *lcd = lcd_get_data(ld); ld 324 drivers/video/backlight/lms501kf03.c struct lcd_device *ld = NULL; ld 349 drivers/video/backlight/lms501kf03.c ld = devm_lcd_device_register(&spi->dev, "lms501kf03", &spi->dev, lcd, ld 351 drivers/video/backlight/lms501kf03.c if (IS_ERR(ld)) ld 352 drivers/video/backlight/lms501kf03.c return PTR_ERR(ld); ld 354 drivers/video/backlight/lms501kf03.c lcd->ld = ld; ld 24 drivers/video/backlight/ltv350qv.c struct lcd_device *ld; ld 207 drivers/video/backlight/ltv350qv.c static int ltv350qv_set_power(struct lcd_device *ld, int power) ld 209 drivers/video/backlight/ltv350qv.c struct ltv350qv *lcd = lcd_get_data(ld); ld 214 drivers/video/backlight/ltv350qv.c static int ltv350qv_get_power(struct lcd_device *ld) ld 216 drivers/video/backlight/ltv350qv.c struct ltv350qv *lcd = lcd_get_data(ld); ld 229 drivers/video/backlight/ltv350qv.c struct lcd_device *ld; ld 242 drivers/video/backlight/ltv350qv.c ld = devm_lcd_device_register(&spi->dev, "ltv350qv", &spi->dev, lcd, ld 244 drivers/video/backlight/ltv350qv.c if (IS_ERR(ld)) ld 245 drivers/video/backlight/ltv350qv.c return PTR_ERR(ld); ld 247 drivers/video/backlight/ltv350qv.c lcd->ld = ld; ld 76 drivers/video/backlight/otm3225a.c struct lcd_device *ld; ld 185 drivers/video/backlight/otm3225a.c static int otm3225a_set_power(struct lcd_device *ld, int power) ld 187 drivers/video/backlight/otm3225a.c struct otm3225a_data *dd = lcd_get_data(ld); ld 201 drivers/video/backlight/otm3225a.c static int otm3225a_get_power(struct lcd_device *ld) ld 203 drivers/video/backlight/otm3225a.c struct otm3225a_data *dd = lcd_get_data(ld); ld 216 drivers/video/backlight/otm3225a.c struct lcd_device *ld; ld 223 drivers/video/backlight/otm3225a.c ld = devm_lcd_device_register(dev, dev_name(dev), dev, dd, ld 225 drivers/video/backlight/otm3225a.c if (IS_ERR(ld)) ld 226 drivers/video/backlight/otm3225a.c return PTR_ERR(ld); ld 229 drivers/video/backlight/otm3225a.c dd->ld = ld; ld 297 drivers/video/backlight/tdo24m.c static int tdo24m_set_power(struct lcd_device *ld, int power) ld 299 drivers/video/backlight/tdo24m.c struct tdo24m *lcd = lcd_get_data(ld); ld 304 drivers/video/backlight/tdo24m.c static int tdo24m_get_power(struct lcd_device *ld) ld 306 drivers/video/backlight/tdo24m.c struct tdo24m *lcd = lcd_get_data(ld); ld 311 drivers/video/backlight/tdo24m.c static int tdo24m_set_mode(struct lcd_device *ld, struct fb_videomode *m) ld 313 drivers/video/backlight/tdo24m.c struct tdo24m *lcd = lcd_get_data(ld); ld 136 drivers/watchdog/f71808e_wdt.c static inline void superio_select(int base, int ld); ld 209 drivers/watchdog/f71808e_wdt.c static inline void superio_select(int base, int ld) ld 212 drivers/watchdog/f71808e_wdt.c outb(ld, base + 1); ld 138 drivers/watchdog/w83627hf_wdt.c static void superio_select(int ld) ld 140 drivers/watchdog/w83627hf_wdt.c superio_outb(0x07, ld); ld 57 fs/gfs2/incore.h struct gfs2_log_descriptor *ld, __be64 *ptr, ld 599 fs/gfs2/lops.c struct gfs2_log_descriptor *ld = page_address(page); ld 600 fs/gfs2/lops.c clear_page(ld); ld 601 fs/gfs2/lops.c ld->ld_header.mh_magic = cpu_to_be32(GFS2_MAGIC); ld 602 fs/gfs2/lops.c ld->ld_header.mh_type = cpu_to_be32(GFS2_METATYPE_LD); ld 603 fs/gfs2/lops.c ld->ld_header.mh_format = cpu_to_be32(GFS2_FORMAT_LD); ld 604 fs/gfs2/lops.c ld->ld_type = cpu_to_be32(ld_type); ld 605 fs/gfs2/lops.c ld->ld_length = cpu_to_be32(ld_length); ld 606 fs/gfs2/lops.c ld->ld_data1 = cpu_to_be32(ld_data1); ld 607 fs/gfs2/lops.c ld->ld_data2 = 0; ld 642 fs/gfs2/lops.c struct gfs2_log_descriptor *ld; ld 660 fs/gfs2/lops.c ld = page_address(page); ld 662 fs/gfs2/lops.c ptr = (__be64 *)(ld + 1); ld 749 fs/gfs2/lops.c struct gfs2_log_descriptor *ld, __be64 *ptr, ld 755 fs/gfs2/lops.c unsigned int blks = be32_to_cpu(ld->ld_data1); ld 760 fs/gfs2/lops.c if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_METADATA) ld 921 fs/gfs2/lops.c struct gfs2_log_descriptor *ld, __be64 *ptr, ld 925 fs/gfs2/lops.c unsigned int blks = be32_to_cpu(ld->ld_length); ld 926 fs/gfs2/lops.c unsigned int revokes = be32_to_cpu(ld->ld_data1); ld 933 fs/gfs2/lops.c if (pass != 0 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_REVOKE) ld 1003 fs/gfs2/lops.c struct gfs2_log_descriptor *ld, ld 1008 fs/gfs2/lops.c unsigned int blks = be32_to_cpu(ld->ld_data1); ld 1014 fs/gfs2/lops.c if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_JDATA) ld 75 fs/gfs2/lops.h struct gfs2_log_descriptor *ld, ld 83 fs/gfs2/lops.h ld, ptr, pass); ld 198 fs/gfs2/recovery.c struct gfs2_log_descriptor *ld; ld 214 fs/gfs2/recovery.c ld = (struct gfs2_log_descriptor *)bh->b_data; ld 215 fs/gfs2/recovery.c length = be32_to_cpu(ld->ld_length); ld 217 fs/gfs2/recovery.c if (be32_to_cpu(ld->ld_header.mh_type) == GFS2_METATYPE_LH) { ld 236 fs/gfs2/recovery.c error = lops_scan_elements(jd, start, ld, ptr, pass); ld 604 fs/nfs/blocklayout/blocklayout.c nfs4_delete_deviceid(node->ld, node->nfs_client, id); ld 1187 fs/nfs/flexfilelayout/flexfilelayout.c nfs4_delete_deviceid(devid->ld, devid->nfs_client, ld 1225 fs/nfs/flexfilelayout/flexfilelayout.c nfs4_delete_deviceid(devid->ld, devid->nfs_client, ld 261 fs/nfs/pnfs.c struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; ld 262 fs/nfs/pnfs.c return ld->alloc_layout_hdr(ino, gfp_flags); ld 269 fs/nfs/pnfs.c struct pnfs_layoutdriver_type *ld = server->pnfs_curr_ld; ld 279 fs/nfs/pnfs.c return ld->free_layout_hdr(lo); ld 1174 fs/nfs/pnfs.c struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; ld 1192 fs/nfs/pnfs.c if (ld->prepare_layoutreturn) ld 1193 fs/nfs/pnfs.c ld->prepare_layoutreturn(&lrp->args); ld 1441 fs/nfs/pnfs.c struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; ld 1442 fs/nfs/pnfs.c if (ld->prepare_layoutreturn) ld 1443 fs/nfs/pnfs.c ld->prepare_layoutreturn(args); ld 1633 fs/nfs/pnfs.c struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; ld 1635 fs/nfs/pnfs.c if (ld->add_lseg != NULL) ld 1636 fs/nfs/pnfs.c ld->add_lseg(lo, lseg, free_me); ld 2967 fs/nfs/pnfs.c struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; ld 3020 fs/nfs/pnfs.c if (ld->prepare_layoutcommit) { ld 3021 fs/nfs/pnfs.c status = ld->prepare_layoutcommit(&data->args); ld 3071 fs/nfs/pnfs.c struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; ld 3078 fs/nfs/pnfs.c if (!pnfs_enabled_sb(server) || !ld->prepare_layoutstats) ld 3104 fs/nfs/pnfs.c status = ld->prepare_layoutstats(&data->args); ld 340 fs/nfs/pnfs.h const struct pnfs_layoutdriver_type *ld; ld 449 fs/nfs/pnfs.h struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; ld 451 fs/nfs/pnfs.h if (ld == NULL || ld->get_ds_info == NULL) ld 453 fs/nfs/pnfs.h return ld->get_ds_info(inode); ld 467 fs/nfs/pnfs.h struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; ld 469 fs/nfs/pnfs.h if (lseg == NULL || ld->mark_request_commit == NULL) ld 471 fs/nfs/pnfs.h ld->mark_request_commit(req, lseg, cinfo, ds_commit_idx); ld 479 fs/nfs/pnfs.h struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; ld 481 fs/nfs/pnfs.h if (ld == NULL || ld->clear_request_commit == NULL) ld 483 fs/nfs/pnfs.h ld->clear_request_commit(req, cinfo); ld 501 fs/nfs/pnfs.h struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; ld 503 fs/nfs/pnfs.h if (ld == NULL || ld->search_commit_reqs == NULL) ld 505 fs/nfs/pnfs.h return ld->search_commit_reqs(cinfo, page); ld 77 fs/nfs/pnfs_dev.c _lookup_deviceid(const struct pnfs_layoutdriver_type *ld, ld 84 fs/nfs/pnfs_dev.c if (d->ld == ld && d->nfs_client == clp && ld 225 fs/nfs/pnfs_dev.c nfs4_delete_deviceid(const struct pnfs_layoutdriver_type *ld, ld 232 fs/nfs/pnfs_dev.c d = _lookup_deviceid(ld, clp, id, nfs4_deviceid_hash(id)); ld 253 fs/nfs/pnfs_dev.c d->ld = server->pnfs_curr_ld; ld 277 fs/nfs/pnfs_dev.c nfs4_delete_deviceid(d->ld, d->nfs_client, &d->deviceid); ld 281 fs/nfs/pnfs_dev.c d->ld->free_deviceid_node(d); ld 3266 fs/nfsd/nfs4xdr.c nfsd4_encode_lock_denied(struct xdr_stream *xdr, struct nfsd4_lock_denied *ld) ld 3268 fs/nfsd/nfs4xdr.c struct xdr_netobj *conf = &ld->ld_owner; ld 3286 fs/nfsd/nfs4xdr.c p = xdr_encode_hyper(p, ld->ld_start); ld 3287 fs/nfsd/nfs4xdr.c p = xdr_encode_hyper(p, ld->ld_length); ld 3288 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(ld->ld_type); ld 3290 fs/nfsd/nfs4xdr.c p = xdr_encode_opaque_fixed(p, &ld->ld_clientid, 8); ld 317 fs/xfs/xfs_mount.h xfs_rfsblock_t ld = XFS_BB_TO_FSBT(mp, d); ld 318 fs/xfs/xfs_mount.h do_div(ld, mp->m_sb.sb_agblocks); ld 319 fs/xfs/xfs_mount.h return (xfs_agnumber_t) ld; ld 325 fs/xfs/xfs_mount.h xfs_rfsblock_t ld = XFS_BB_TO_FSBT(mp, d); ld 326 fs/xfs/xfs_mount.h return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); ld 75 include/linux/lcd.h int (*reset)(struct lcd_device *ld); ld 78 include/linux/lcd.h int (*power_on)(struct lcd_device *ld, int enable); ld 96 include/linux/lcd.h static inline void lcd_set_power(struct lcd_device *ld, int power) ld 98 include/linux/lcd.h mutex_lock(&ld->update_lock); ld 99 include/linux/lcd.h if (ld->ops && ld->ops->set_power) ld 100 include/linux/lcd.h ld->ops->set_power(ld, power); ld 101 include/linux/lcd.h mutex_unlock(&ld->update_lock); ld 109 include/linux/lcd.h extern void lcd_device_unregister(struct lcd_device *ld); ld 111 include/linux/lcd.h struct lcd_device *ld); ld 511 include/linux/tty.h extern void tty_buffer_flush(struct tty_struct *tty, struct tty_ldisc *ld); ld 717 include/linux/tty.h extern int tty_ldisc_receive_buf(struct tty_ldisc *ld, const unsigned char *p, ld 88 tools/bpf/bpf_exp.y | ld ld 153 tools/bpf/bpf_exp.y ld ld 99 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define STORE_DFORM_TEST(op) TEST(op, ld, op, DFORM, 31, 31) ld 379 tools/testing/selftests/powerpc/alignment/alignment_handler.c LOAD_DFORM_TEST(ld); ld 67 tools/testing/selftests/powerpc/include/basic_asm.h ld %r2, STACK_FRAME_TOC_POS(%r1); \ ld 71 tools/testing/selftests/powerpc/include/basic_asm.h ld r0, STACK_FRAME_LR_POS(%r1); \ ld 32 tools/testing/selftests/powerpc/include/gpr_asm.h ld r31,(top_pos)(%r1); \ ld 33 tools/testing/selftests/powerpc/include/gpr_asm.h ld r30,(top_pos - 8)(%r1); \ ld 34 tools/testing/selftests/powerpc/include/gpr_asm.h ld r29,(top_pos - 16)(%r1); \ ld 35 tools/testing/selftests/powerpc/include/gpr_asm.h ld r28,(top_pos - 24)(%r1); \ ld 36 tools/testing/selftests/powerpc/include/gpr_asm.h ld r27,(top_pos - 32)(%r1); \ ld 37 tools/testing/selftests/powerpc/include/gpr_asm.h ld r26,(top_pos - 40)(%r1); \ ld 38 tools/testing/selftests/powerpc/include/gpr_asm.h ld r25,(top_pos - 48)(%r1); \ ld 39 tools/testing/selftests/powerpc/include/gpr_asm.h ld r24,(top_pos - 56)(%r1); \ ld 40 tools/testing/selftests/powerpc/include/gpr_asm.h ld r23,(top_pos - 64)(%r1); \ ld 41 tools/testing/selftests/powerpc/include/gpr_asm.h ld r22,(top_pos - 72)(%r1); \ ld 42 tools/testing/selftests/powerpc/include/gpr_asm.h ld r21,(top_pos - 80)(%r1); \ ld 43 tools/testing/selftests/powerpc/include/gpr_asm.h ld r20,(top_pos - 88)(%r1); \ ld 44 tools/testing/selftests/powerpc/include/gpr_asm.h ld r19,(top_pos - 96)(%r1); \ ld 45 tools/testing/selftests/powerpc/include/gpr_asm.h ld r18,(top_pos - 104)(%r1); \ ld 46 tools/testing/selftests/powerpc/include/gpr_asm.h ld r17,(top_pos - 112)(%r1); \ ld 47 tools/testing/selftests/powerpc/include/gpr_asm.h ld r16,(top_pos - 120)(%r1); \ ld 48 tools/testing/selftests/powerpc/include/gpr_asm.h ld r15,(top_pos - 128)(%r1); \ ld 49 tools/testing/selftests/powerpc/include/gpr_asm.h ld r14,(top_pos - 136)(%r1) ld 70 tools/testing/selftests/powerpc/include/gpr_asm.h ld r14,0(r3) ld 71 tools/testing/selftests/powerpc/include/gpr_asm.h ld r15,8(r3) ld 72 tools/testing/selftests/powerpc/include/gpr_asm.h ld r16,16(r3) ld 73 tools/testing/selftests/powerpc/include/gpr_asm.h ld r17,24(r3) ld 74 tools/testing/selftests/powerpc/include/gpr_asm.h ld r18,32(r3) ld 75 tools/testing/selftests/powerpc/include/gpr_asm.h ld r19,40(r3) ld 76 tools/testing/selftests/powerpc/include/gpr_asm.h ld r20,48(r3) ld 77 tools/testing/selftests/powerpc/include/gpr_asm.h ld r21,56(r3) ld 78 tools/testing/selftests/powerpc/include/gpr_asm.h ld r22,64(r3) ld 79 tools/testing/selftests/powerpc/include/gpr_asm.h ld r23,72(r3) ld 80 tools/testing/selftests/powerpc/include/gpr_asm.h ld r24,80(r3) ld 81 tools/testing/selftests/powerpc/include/gpr_asm.h ld r25,88(r3) ld 82 tools/testing/selftests/powerpc/include/gpr_asm.h ld r26,96(r3) ld 83 tools/testing/selftests/powerpc/include/gpr_asm.h ld r27,104(r3) ld 84 tools/testing/selftests/powerpc/include/gpr_asm.h ld r28,112(r3) ld 85 tools/testing/selftests/powerpc/include/gpr_asm.h ld r29,120(r3) ld 86 tools/testing/selftests/powerpc/include/gpr_asm.h ld r30,128(r3) ld 87 tools/testing/selftests/powerpc/include/gpr_asm.h ld r31,136(r3) ld 11 tools/testing/selftests/powerpc/primitives/asm/asm-compat.h #define PPC_LL stringify_in_c(ld) ld 53 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h ld r10,PACALPPACAPTR(r13); /* get ptr to VPA */ \ ld 54 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h ld r11,PACA_DTL_RIDX(r13); /* get log read index */ \ ld 60 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h ld r12,_MSR(r1); \ ld 78 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define REST_GPR(n, base) ld n,GPR0+8*(n)(base) ld 358 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h ld reg,name@got(r2)