/linux-4.1.27/arch/arm/vfp/ |
D | vfpinstr.h | 13 #define INST_CPRTDO(inst) (((inst) & 0x0f000000) == 0x0e000000) argument 14 #define INST_CPRT(inst) ((inst) & (1 << 4)) argument 15 #define INST_CPRT_L(inst) ((inst) & (1 << 20)) argument 16 #define INST_CPRT_Rd(inst) (((inst) & (15 << 12)) >> 12) argument 17 #define INST_CPRT_OP(inst) (((inst) >> 21) & 7) argument 18 #define INST_CPNUM(inst) ((inst) & 0xf00) argument 33 #define FOP_TO_IDX(inst) ((inst & 0x00b00000) >> 20 | (inst & (1 << 6)) >> 4) argument 52 #define FEXT_TO_IDX(inst) ((inst & 0x000f0000) >> 15 | (inst & (1 << 7)) >> 7) argument 54 #define vfp_get_sd(inst) ((inst & 0x0000f000) >> 11 | (inst & (1 << 22)) >> 22) argument 55 #define vfp_get_dd(inst) ((inst & 0x0000f000) >> 12 | (inst & (1 << 22)) >> 18) argument [all …]
|
D | vfpmodule.c | 241 static void vfp_panic(char *reason, u32 inst) in vfp_panic() argument 247 fmrx(FPEXC), fmrx(FPSCR), inst); in vfp_panic() 256 static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_regs *regs) in vfp_raise_exceptions() argument 263 vfp_panic("unhandled bounce", inst); in vfp_raise_exceptions() 300 static u32 vfp_emulate_instruction(u32 inst, u32 fpscr, struct pt_regs *regs) in vfp_emulate_instruction() argument 304 pr_debug("VFP: emulate: INST=0x%08x SCR=0x%08x\n", inst, fpscr); in vfp_emulate_instruction() 306 if (INST_CPRTDO(inst)) { in vfp_emulate_instruction() 307 if (!INST_CPRT(inst)) { in vfp_emulate_instruction() 311 if (vfp_single(inst)) { in vfp_emulate_instruction() 312 exceptions = vfp_single_cpdo(inst, fpscr); in vfp_emulate_instruction() [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | disassemble.h | 25 static inline unsigned int get_op(u32 inst) in get_op() argument 27 return inst >> 26; in get_op() 30 static inline unsigned int get_xop(u32 inst) in get_xop() argument 32 return (inst >> 1) & 0x3ff; in get_xop() 35 static inline unsigned int get_sprn(u32 inst) in get_sprn() argument 37 return ((inst >> 16) & 0x1f) | ((inst >> 6) & 0x3e0); in get_sprn() 40 static inline unsigned int get_dcrn(u32 inst) in get_dcrn() argument 42 return ((inst >> 16) & 0x1f) | ((inst >> 6) & 0x3e0); in get_dcrn() 45 static inline unsigned int get_rt(u32 inst) in get_rt() argument 47 return (inst >> 21) & 0x1f; in get_rt() [all …]
|
/linux-4.1.27/net/netfilter/ |
D | nfnetlink_log.c | 104 struct nfulnl_instance *inst; in __instance_lookup() local 107 hlist_for_each_entry_rcu(inst, head, hlist) { in __instance_lookup() 108 if (inst->group_num == group_num) in __instance_lookup() 109 return inst; in __instance_lookup() 115 instance_get(struct nfulnl_instance *inst) in instance_get() argument 117 atomic_inc(&inst->use); in instance_get() 123 struct nfulnl_instance *inst; in instance_lookup_get() local 126 inst = __instance_lookup(log, group_num); in instance_lookup_get() 127 if (inst && !atomic_inc_not_zero(&inst->use)) in instance_lookup_get() 128 inst = NULL; in instance_lookup_get() [all …]
|
D | nfnetlink_queue_core.c | 102 struct nfqnl_instance *inst; in instance_lookup() local 105 hlist_for_each_entry_rcu(inst, head, hlist) { in instance_lookup() 106 if (inst->queue_num == queue_num) in instance_lookup() 107 return inst; in instance_lookup() 115 struct nfqnl_instance *inst; in instance_create() local 125 inst = kzalloc(sizeof(*inst), GFP_ATOMIC); in instance_create() 126 if (!inst) { in instance_create() 131 inst->queue_num = queue_num; in instance_create() 132 inst->peer_portid = portid; in instance_create() 133 inst->queue_maxlen = NFQNL_QMAX_DEFAULT; in instance_create() [all …]
|
/linux-4.1.27/arch/arm64/kernel/ |
D | kuser32.S | 38 .inst 0xe92d00f0 // push {r4, r5, r6, r7} 39 .inst 0xe1c040d0 // ldrd r4, r5, [r0] 40 .inst 0xe1c160d0 // ldrd r6, r7, [r1] 41 .inst 0xe1b20f9f // 1: ldrexd r0, r1, [r2] 42 .inst 0xe0303004 // eors r3, r0, r4 43 .inst 0x00313005 // eoreqs r3, r1, r5 44 .inst 0x01a23e96 // stlexdeq r3, r6, [r2] 45 .inst 0x03330001 // teqeq r3, #1 46 .inst 0x0afffff9 // beq 1b 47 .inst 0xf57ff05b // dmb ish [all …]
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | kvm.c | 80 static inline void kvm_patch_ins(u32 *inst, u32 new_inst) in kvm_patch_ins() argument 82 *inst = new_inst; in kvm_patch_ins() 83 flush_icache_range((ulong)inst, (ulong)inst + 4); in kvm_patch_ins() 86 static void kvm_patch_ins_ll(u32 *inst, long addr, u32 rt) in kvm_patch_ins_ll() argument 89 kvm_patch_ins(inst, KVM_INST_LD | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ll() 91 kvm_patch_ins(inst, KVM_INST_LWZ | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ll() 95 static void kvm_patch_ins_ld(u32 *inst, long addr, u32 rt) in kvm_patch_ins_ld() argument 98 kvm_patch_ins(inst, KVM_INST_LD | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ld() 100 kvm_patch_ins(inst, KVM_INST_LWZ | rt | ((addr + 4) & 0x0000fffc)); in kvm_patch_ins_ld() 104 static void kvm_patch_ins_lwz(u32 *inst, long addr, u32 rt) in kvm_patch_ins_lwz() argument [all …]
|
D | epapr_paravirt.c | 51 u32 inst = be32_to_cpu(insts[i]); in early_init_dt_scan_epapr() local 52 patch_instruction(epapr_hypercall_start + i, inst); in early_init_dt_scan_epapr() 54 patch_instruction(epapr_ev_idle_start + i, inst); in early_init_dt_scan_epapr()
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/ |
D | dma.h | 75 #define DMA_ENABLE( inst ) \ argument 76 do { reg_dma_rw_cfg e = REG_RD( dma, inst, rw_cfg );\ 78 REG_WR( dma, inst, rw_cfg, e); } while( 0 ) 81 #define DMA_RESET( inst ) \ argument 82 do { reg_dma_rw_cfg r = REG_RD( dma, inst, rw_cfg );\ 84 REG_WR( dma, inst, rw_cfg, r); } while( 0 ) 87 #define DMA_STOP( inst ) \ argument 88 do { reg_dma_rw_cfg s = REG_RD( dma, inst, rw_cfg );\ 90 REG_WR( dma, inst, rw_cfg, s); } while( 0 ) 93 #define DMA_CONTINUE( inst ) \ argument [all …]
|
D | marb_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | strcop_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | irq_nmi_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | config_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | rt_trace_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | ata_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | bif_slave_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | bif_core_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | ser_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | marb_bp_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | eth_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | sser_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | dma_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | extmem_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | bif_dma_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | cm33xx.c | 51 static inline u32 am33xx_cm_read_reg(u16 inst, u16 idx) in am33xx_cm_read_reg() argument 53 return readl_relaxed(cm_base + inst + idx); in am33xx_cm_read_reg() 57 static inline void am33xx_cm_write_reg(u32 val, u16 inst, u16 idx) in am33xx_cm_write_reg() argument 59 writel_relaxed(val, cm_base + inst + idx); in am33xx_cm_write_reg() 63 static inline u32 am33xx_cm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) in am33xx_cm_rmw_reg_bits() argument 67 v = am33xx_cm_read_reg(inst, idx); in am33xx_cm_rmw_reg_bits() 70 am33xx_cm_write_reg(v, inst, idx); in am33xx_cm_rmw_reg_bits() 83 static u32 _clkctrl_idlest(u16 inst, u16 clkctrl_offs) in _clkctrl_idlest() argument 85 u32 v = am33xx_cm_read_reg(inst, clkctrl_offs); in _clkctrl_idlest() 99 static bool _is_module_ready(u16 inst, u16 clkctrl_offs) in _is_module_ready() argument [all …]
|
D | prminst44xx.c | 59 u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx) in omap4_prminst_read_inst_reg() argument 64 return readl_relaxed(_prm_bases[part] + inst + idx); in omap4_prminst_read_inst_reg() 68 void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx) in omap4_prminst_write_inst_reg() argument 73 writel_relaxed(val, _prm_bases[part] + inst + idx); in omap4_prminst_write_inst_reg() 77 u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, in omap4_prminst_rmw_inst_reg_bits() argument 82 v = omap4_prminst_read_inst_reg(part, inst, idx); in omap4_prminst_rmw_inst_reg_bits() 85 omap4_prminst_write_inst_reg(v, part, inst, idx); in omap4_prminst_rmw_inst_reg_bits() 100 int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, in omap4_prminst_is_hardreset_asserted() argument 105 v = omap4_prminst_read_inst_reg(part, inst, rstctrl_offs); in omap4_prminst_is_hardreset_asserted() 124 int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, in omap4_prminst_assert_hardreset() argument [all …]
|
D | cminst44xx.c | 76 static u32 omap4_cminst_read_inst_reg(u8 part, u16 inst, u16 idx); 87 static u32 _clkctrl_idlest(u8 part, u16 inst, u16 clkctrl_offs) in _clkctrl_idlest() argument 89 u32 v = omap4_cminst_read_inst_reg(part, inst, clkctrl_offs); in _clkctrl_idlest() 104 static bool _is_module_ready(u8 part, u16 inst, u16 clkctrl_offs) in _is_module_ready() argument 108 v = _clkctrl_idlest(part, inst, clkctrl_offs); in _is_module_ready() 115 static u32 omap4_cminst_read_inst_reg(u8 part, u16 inst, u16 idx) in omap4_cminst_read_inst_reg() argument 120 return readl_relaxed(_cm_bases[part] + inst + idx); in omap4_cminst_read_inst_reg() 124 static void omap4_cminst_write_inst_reg(u32 val, u8 part, u16 inst, u16 idx) in omap4_cminst_write_inst_reg() argument 129 writel_relaxed(val, _cm_bases[part] + inst + idx); in omap4_cminst_write_inst_reg() 133 static u32 omap4_cminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, u16 inst, in omap4_cminst_rmw_inst_reg_bits() argument [all …]
|
D | prm44xx.c | 90 static u32 omap4_prm_read_inst_reg(s16 inst, u16 reg) in omap4_prm_read_inst_reg() argument 92 return readl_relaxed(prm_base + inst + reg); in omap4_prm_read_inst_reg() 96 static void omap4_prm_write_inst_reg(u32 val, s16 inst, u16 reg) in omap4_prm_write_inst_reg() argument 98 writel_relaxed(val, prm_base + inst + reg); in omap4_prm_write_inst_reg() 102 static u32 omap4_prm_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) in omap4_prm_rmw_inst_reg_bits() argument 106 v = omap4_prm_read_inst_reg(inst, reg); in omap4_prm_rmw_inst_reg_bits() 109 omap4_prm_write_inst_reg(v, inst, reg); in omap4_prm_rmw_inst_reg_bits() 164 s32 inst = omap4_prmst_get_prm_dev_inst(); in omap4_prm_vcvp_read() local 166 if (inst == PRM_INSTANCE_UNKNOWN) in omap4_prm_vcvp_read() 170 inst, offset); in omap4_prm_vcvp_read() [all …]
|
D | prcm_mpu44xx.c | 31 u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 reg) in omap4_prcm_mpu_read_inst_reg() argument 33 return readl_relaxed(OMAP44XX_PRCM_MPU_REGADDR(inst, reg)); in omap4_prcm_mpu_read_inst_reg() 36 void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 reg) in omap4_prcm_mpu_write_inst_reg() argument 38 writel_relaxed(val, OMAP44XX_PRCM_MPU_REGADDR(inst, reg)); in omap4_prcm_mpu_write_inst_reg() 41 u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) in omap4_prcm_mpu_rmw_inst_reg_bits() argument 45 v = omap4_prcm_mpu_read_inst_reg(inst, reg); in omap4_prcm_mpu_rmw_inst_reg_bits() 48 omap4_prcm_mpu_write_inst_reg(v, inst, reg); in omap4_prcm_mpu_rmw_inst_reg_bits()
|
D | prm33xx.c | 31 static u32 am33xx_prm_read_reg(s16 inst, u16 idx) in am33xx_prm_read_reg() argument 33 return readl_relaxed(prm_base + inst + idx); in am33xx_prm_read_reg() 37 static void am33xx_prm_write_reg(u32 val, s16 inst, u16 idx) in am33xx_prm_write_reg() argument 39 writel_relaxed(val, prm_base + inst + idx); in am33xx_prm_write_reg() 43 static u32 am33xx_prm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) in am33xx_prm_rmw_reg_bits() argument 47 v = am33xx_prm_read_reg(inst, idx); in am33xx_prm_rmw_reg_bits() 50 am33xx_prm_write_reg(v, inst, idx); in am33xx_prm_rmw_reg_bits() 67 static int am33xx_prm_is_hardreset_asserted(u8 shift, u8 part, s16 inst, in am33xx_prm_is_hardreset_asserted() argument 72 v = am33xx_prm_read_reg(inst, rstctrl_offs); in am33xx_prm_is_hardreset_asserted() 93 static int am33xx_prm_assert_hardreset(u8 shift, u8 part, s16 inst, in am33xx_prm_assert_hardreset() argument [all …]
|
D | prminst44xx.h | 23 extern u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx); 24 extern void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx); 26 s16 inst, u16 idx); 30 extern int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, 32 extern int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, 35 s16 inst, u16 rstctrl_offs,
|
D | cm.h | 59 void (*module_enable)(u8 mode, u8 part, u16 inst, u16 clkctrl_offs); 60 void (*module_disable)(u8 part, u16 inst, u16 clkctrl_offs); 69 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs); 70 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs);
|
D | prcm_mpu_44xx_54xx.h | 29 extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx); 30 extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx); 31 extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst,
|
D | prm.h | 143 bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx); 144 void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx); 165 extern bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx); 166 extern void prm_clear_context_loss_flags_old(u8 part, s16 inst, u16 idx);
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | qat_crypto.c | 61 void qat_crypto_put_instance(struct qat_crypto_instance *inst) in qat_crypto_put_instance() argument 63 if (atomic_sub_return(1, &inst->refctr) == 0) in qat_crypto_put_instance() 64 adf_dev_put(inst->accel_dev); in qat_crypto_put_instance() 69 struct qat_crypto_instance *inst; in qat_crypto_free_instances() local 74 inst = list_entry(list_ptr, struct qat_crypto_instance, list); in qat_crypto_free_instances() 76 for (i = 0; i < atomic_read(&inst->refctr); i++) in qat_crypto_free_instances() 77 qat_crypto_put_instance(inst); in qat_crypto_free_instances() 79 if (inst->sym_tx) in qat_crypto_free_instances() 80 adf_remove_ring(inst->sym_tx); in qat_crypto_free_instances() 82 if (inst->sym_rx) in qat_crypto_free_instances() [all …]
|
D | qat_algs.c | 115 struct qat_crypto_instance *inst; member 128 struct qat_crypto_instance *inst; member 573 dev = &GET_DEV(ctx->inst->accel_dev); in qat_alg_aead_setkey() 581 struct qat_crypto_instance *inst = in qat_alg_aead_setkey() local 583 if (!inst) { in qat_alg_aead_setkey() 588 dev = &GET_DEV(inst->accel_dev); in qat_alg_aead_setkey() 589 ctx->inst = inst; in qat_alg_aead_setkey() 624 static void qat_alg_free_bufl(struct qat_crypto_instance *inst, in qat_alg_free_bufl() argument 627 struct device *dev = &GET_DEV(inst->accel_dev); in qat_alg_free_bufl() 656 static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst, in qat_alg_sgl_to_bufl() argument [all …]
|
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/ |
D | marb_bar_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | strmux_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | l2cache_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | clkgen_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | marb_foo_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | timer_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | ddr2_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | pinmux_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | pio_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | intr_vect_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | gio_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
/linux-4.1.27/arch/cris/include/arch-v32/mach-fs/mach/hwregs/ |
D | marb_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | strmux_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | config_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | timer_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | bif_slave_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | intr_vect_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | gio_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | bif_core_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | marb_bp_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | pinmux_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | bif_dma_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/iop/ |
D | iop_version_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sap_in_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sap_out_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sw_spu_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sw_cpu_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sw_mpu_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sw_cfg_defs.h | 15 #define REG_RD( scope, inst, reg ) \ argument 17 (inst) + REG_RD_ADDR_##scope##_##reg ) 21 #define REG_WR( scope, inst, reg, val ) \ argument 23 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 29 (inst) + REG_RD_ADDR_##scope##_##reg + \ 34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 36 (inst) + REG_WR_ADDR_##scope##_##reg + \ 41 #define REG_RD_INT( scope, inst, reg ) \ argument 42 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/iop/ |
D | iop_version_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_scrc_out_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_scrc_in_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_fifo_in_extra_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_fifo_out_extra_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_trigger_grp_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_mpu_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sap_in_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_crc_par_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_fifo_in_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_timer_grp_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_fifo_out_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_dmc_out_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sap_out_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_dmc_in_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_spu_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sw_spu_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sw_cpu_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sw_mpu_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
D | iop_sw_cfg_defs.h | 18 #define REG_RD( scope, inst, reg ) \ argument 20 (inst) + REG_RD_ADDR_##scope##_##reg ) 24 #define REG_WR( scope, inst, reg, val ) \ argument 26 (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) 30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument 32 (inst) + REG_RD_ADDR_##scope##_##reg + \ 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument 39 (inst) + REG_WR_ADDR_##scope##_##reg + \ 44 #define REG_RD_INT( scope, inst, reg ) \ argument 45 REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) [all …]
|
/linux-4.1.27/crypto/ |
D | ctr.c | 160 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_ctr_init_tfm() local 161 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in crypto_ctr_init_tfm() 183 struct crypto_instance *inst; in crypto_ctr_alloc() local 205 inst = crypto_alloc_instance("ctr", alg); in crypto_ctr_alloc() 206 if (IS_ERR(inst)) in crypto_ctr_alloc() 209 inst->alg.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER; in crypto_ctr_alloc() 210 inst->alg.cra_priority = alg->cra_priority; in crypto_ctr_alloc() 211 inst->alg.cra_blocksize = 1; in crypto_ctr_alloc() 212 inst->alg.cra_alignmask = alg->cra_alignmask | (__alignof__(u32) - 1); in crypto_ctr_alloc() 213 inst->alg.cra_type = &crypto_blkcipher_type; in crypto_ctr_alloc() [all …]
|
D | seqiv.c | 263 struct crypto_instance *inst; in seqiv_ablkcipher_alloc() local 265 inst = skcipher_geniv_alloc(&seqiv_tmpl, tb, 0, 0); in seqiv_ablkcipher_alloc() 267 if (IS_ERR(inst)) in seqiv_ablkcipher_alloc() 270 if (inst->alg.cra_ablkcipher.ivsize < sizeof(u64)) { in seqiv_ablkcipher_alloc() 271 skcipher_geniv_free(inst); in seqiv_ablkcipher_alloc() 272 inst = ERR_PTR(-EINVAL); in seqiv_ablkcipher_alloc() 276 inst->alg.cra_ablkcipher.givencrypt = seqiv_givencrypt_first; in seqiv_ablkcipher_alloc() 278 inst->alg.cra_init = seqiv_init; in seqiv_ablkcipher_alloc() 279 inst->alg.cra_exit = skcipher_geniv_exit; in seqiv_ablkcipher_alloc() 281 inst->alg.cra_ctxsize += inst->alg.cra_ablkcipher.ivsize; in seqiv_ablkcipher_alloc() [all …]
|
D | cryptd.c | 166 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_get_queue() local 167 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_get_queue() 275 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_blkcipher_init_tfm() local 276 struct cryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in cryptd_blkcipher_init_tfm() 302 struct crypto_instance *inst; in cryptd_alloc_instance() local 305 p = kzalloc(head + sizeof(*inst) + tail, GFP_KERNEL); in cryptd_alloc_instance() 309 inst = (void *)(p + head); in cryptd_alloc_instance() 312 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in cryptd_alloc_instance() 316 memcpy(inst->alg.cra_name, alg->cra_name, CRYPTO_MAX_ALG_NAME); in cryptd_alloc_instance() 318 inst->alg.cra_priority = alg->cra_priority + 50; in cryptd_alloc_instance() [all …]
|
D | ecb.c | 99 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_ecb_init_tfm() local 100 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in crypto_ecb_init_tfm() 120 struct crypto_instance *inst; in crypto_ecb_alloc() local 133 inst = crypto_alloc_instance("ecb", alg); in crypto_ecb_alloc() 134 if (IS_ERR(inst)) in crypto_ecb_alloc() 137 inst->alg.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER; in crypto_ecb_alloc() 138 inst->alg.cra_priority = alg->cra_priority; in crypto_ecb_alloc() 139 inst->alg.cra_blocksize = alg->cra_blocksize; in crypto_ecb_alloc() 140 inst->alg.cra_alignmask = alg->cra_alignmask; in crypto_ecb_alloc() 141 inst->alg.cra_type = &crypto_blkcipher_type; in crypto_ecb_alloc() [all …]
|
D | ccm.c | 434 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_ccm_init_tfm() local 435 struct ccm_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_ccm_init_tfm() 481 struct crypto_instance *inst; in crypto_ccm_alloc_common() local 503 inst = kzalloc(sizeof(*inst) + sizeof(*ictx), GFP_KERNEL); in crypto_ccm_alloc_common() 505 if (!inst) in crypto_ccm_alloc_common() 508 ictx = crypto_instance_ctx(inst); in crypto_ccm_alloc_common() 510 err = crypto_init_spawn(&ictx->cipher, cipher, inst, in crypto_ccm_alloc_common() 515 crypto_set_skcipher_spawn(&ictx->ctr, inst); in crypto_ccm_alloc_common() 534 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_ccm_alloc_common() 539 memcpy(inst->alg.cra_name, full_name, CRYPTO_MAX_ALG_NAME); in crypto_ccm_alloc_common() [all …]
|
D | algapi.c | 74 struct crypto_instance *inst = (void *)alg; in crypto_destroy_instance() local 75 struct crypto_template *tmpl = inst->tmpl; in crypto_destroy_instance() 77 tmpl->free(inst); in crypto_destroy_instance() 97 list)->inst->alg; in crypto_more_spawns() 101 return &n->list == stack ? top : &n->inst->alg.cra_users; in crypto_more_spawns() 104 static void crypto_remove_instance(struct crypto_instance *inst, in crypto_remove_instance() argument 107 struct crypto_template *tmpl = inst->tmpl; in crypto_remove_instance() 109 if (crypto_is_dead(&inst->alg)) in crypto_remove_instance() 112 inst->alg.cra_flags |= CRYPTO_ALG_DEAD; in crypto_remove_instance() 113 if (hlist_unhashed(&inst->list)) in crypto_remove_instance() [all …]
|
D | hmac.c | 160 struct crypto_instance *inst = (void *)tfm->__crt_alg; in hmac_init_tfm() local 161 struct crypto_shash_spawn *spawn = crypto_instance_ctx(inst); in hmac_init_tfm() 183 struct shash_instance *inst; in hmac_create() local 206 inst = shash_alloc_instance("hmac", alg); in hmac_create() 207 err = PTR_ERR(inst); in hmac_create() 208 if (IS_ERR(inst)) in hmac_create() 211 err = crypto_init_shash_spawn(shash_instance_ctx(inst), salg, in hmac_create() 212 shash_crypto_instance(inst)); in hmac_create() 216 inst->alg.base.cra_priority = alg->cra_priority; in hmac_create() 217 inst->alg.base.cra_blocksize = alg->cra_blocksize; in hmac_create() [all …]
|
D | gcm.c | 653 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_gcm_init_tfm() local 654 struct gcm_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_gcm_init_tfm() 703 struct crypto_instance *inst; in crypto_gcm_alloc_common() local 724 inst = kzalloc(sizeof(*inst) + sizeof(*ctx), GFP_KERNEL); in crypto_gcm_alloc_common() 725 if (!inst) in crypto_gcm_alloc_common() 728 ctx = crypto_instance_ctx(inst); in crypto_gcm_alloc_common() 731 inst); in crypto_gcm_alloc_common() 735 crypto_set_skcipher_spawn(&ctx->ctr, inst); in crypto_gcm_alloc_common() 754 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_gcm_alloc_common() 760 memcpy(inst->alg.cra_name, full_name, CRYPTO_MAX_ALG_NAME); in crypto_gcm_alloc_common() [all …]
|
D | xcbc.c | 180 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm() local 181 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in xcbc_init_tfm() 201 struct shash_instance *inst; in xcbc_create() local 222 inst = shash_alloc_instance("xcbc", alg); in xcbc_create() 223 err = PTR_ERR(inst); in xcbc_create() 224 if (IS_ERR(inst)) in xcbc_create() 227 err = crypto_init_spawn(shash_instance_ctx(inst), alg, in xcbc_create() 228 shash_crypto_instance(inst), in xcbc_create() 234 inst->alg.base.cra_alignmask = alignmask; in xcbc_create() 235 inst->alg.base.cra_priority = alg->cra_priority; in xcbc_create() [all …]
|
D | cbc.c | 195 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_cbc_init_tfm() local 196 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in crypto_cbc_init_tfm() 216 struct crypto_instance *inst; in crypto_cbc_alloc() local 229 inst = ERR_PTR(-EINVAL); in crypto_cbc_alloc() 233 inst = crypto_alloc_instance("cbc", alg); in crypto_cbc_alloc() 234 if (IS_ERR(inst)) in crypto_cbc_alloc() 237 inst->alg.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER; in crypto_cbc_alloc() 238 inst->alg.cra_priority = alg->cra_priority; in crypto_cbc_alloc() 239 inst->alg.cra_blocksize = alg->cra_blocksize; in crypto_cbc_alloc() 240 inst->alg.cra_alignmask = alg->cra_alignmask; in crypto_cbc_alloc() [all …]
|
D | pcrypt.c | 276 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in pcrypt_aead_init_tfm() local 277 struct pcrypt_instance_ctx *ictx = crypto_instance_ctx(inst); in pcrypt_aead_init_tfm() 289 cipher = crypto_spawn_aead(crypto_instance_ctx(inst)); in pcrypt_aead_init_tfm() 311 struct crypto_instance *inst; in pcrypt_alloc_instance() local 315 inst = kzalloc(sizeof(*inst) + sizeof(*ctx), GFP_KERNEL); in pcrypt_alloc_instance() 316 if (!inst) { in pcrypt_alloc_instance() 317 inst = ERR_PTR(-ENOMEM); in pcrypt_alloc_instance() 322 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in pcrypt_alloc_instance() 326 memcpy(inst->alg.cra_name, alg->cra_name, CRYPTO_MAX_ALG_NAME); in pcrypt_alloc_instance() 328 ctx = crypto_instance_ctx(inst); in pcrypt_alloc_instance() [all …]
|
D | cmac.c | 206 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cmac_init_tfm() local 207 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in cmac_init_tfm() 227 struct shash_instance *inst; in cmac_create() local 249 inst = shash_alloc_instance("cmac", alg); in cmac_create() 250 err = PTR_ERR(inst); in cmac_create() 251 if (IS_ERR(inst)) in cmac_create() 254 err = crypto_init_spawn(shash_instance_ctx(inst), alg, in cmac_create() 255 shash_crypto_instance(inst), in cmac_create() 261 inst->alg.base.cra_alignmask = alignmask; in cmac_create() 262 inst->alg.base.cra_priority = alg->cra_priority; in cmac_create() [all …]
|
D | pcbc.c | 205 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_pcbc_init_tfm() local 206 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in crypto_pcbc_init_tfm() 226 struct crypto_instance *inst; in crypto_pcbc_alloc() local 239 inst = crypto_alloc_instance("pcbc", alg); in crypto_pcbc_alloc() 240 if (IS_ERR(inst)) in crypto_pcbc_alloc() 243 inst->alg.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER; in crypto_pcbc_alloc() 244 inst->alg.cra_priority = alg->cra_priority; in crypto_pcbc_alloc() 245 inst->alg.cra_blocksize = alg->cra_blocksize; in crypto_pcbc_alloc() 246 inst->alg.cra_alignmask = alg->cra_alignmask; in crypto_pcbc_alloc() 247 inst->alg.cra_type = &crypto_blkcipher_type; in crypto_pcbc_alloc() [all …]
|
D | cts.c | 255 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_cts_init_tfm() local 256 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in crypto_cts_init_tfm() 276 struct crypto_instance *inst; in crypto_cts_alloc() local 289 inst = ERR_PTR(-EINVAL); in crypto_cts_alloc() 296 inst = crypto_alloc_instance("cts", alg); in crypto_cts_alloc() 297 if (IS_ERR(inst)) in crypto_cts_alloc() 300 inst->alg.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER; in crypto_cts_alloc() 301 inst->alg.cra_priority = alg->cra_priority; in crypto_cts_alloc() 302 inst->alg.cra_blocksize = alg->cra_blocksize; in crypto_cts_alloc() 303 inst->alg.cra_alignmask = alg->cra_alignmask; in crypto_cts_alloc() [all …]
|
D | aead.c | 267 err = crypto_init_spawn(&spawn->base, alg, spawn->base.inst, mask); in crypto_grab_nivaead() 279 struct crypto_instance *inst; in aead_geniv_alloc() local 295 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in aead_geniv_alloc() 296 if (!inst) in aead_geniv_alloc() 299 spawn = crypto_instance_ctx(inst); in aead_geniv_alloc() 304 crypto_set_aead_spawn(spawn, inst); in aead_geniv_alloc() 324 memcpy(inst->alg.cra_name, alg->cra_name, CRYPTO_MAX_ALG_NAME); in aead_geniv_alloc() 325 memcpy(inst->alg.cra_driver_name, alg->cra_driver_name, in aead_geniv_alloc() 329 if (snprintf(inst->alg.cra_name, CRYPTO_MAX_ALG_NAME, in aead_geniv_alloc() 333 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in aead_geniv_alloc() [all …]
|
D | xts.c | 244 struct crypto_instance *inst = (void *)tfm->__crt_alg; in init_tfm() local 245 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in init_tfm() 289 struct crypto_instance *inst; in alloc() local 302 inst = crypto_alloc_instance("xts", alg); in alloc() 303 if (IS_ERR(inst)) in alloc() 306 inst->alg.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER; in alloc() 307 inst->alg.cra_priority = alg->cra_priority; in alloc() 308 inst->alg.cra_blocksize = alg->cra_blocksize; in alloc() 311 inst->alg.cra_alignmask = 7; in alloc() 313 inst->alg.cra_alignmask = alg->cra_alignmask; in alloc() [all …]
|
D | lrw.c | 299 struct crypto_instance *inst = (void *)tfm->__crt_alg; in init_tfm() local 300 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in init_tfm() 328 struct crypto_instance *inst; in alloc() local 341 inst = crypto_alloc_instance("lrw", alg); in alloc() 342 if (IS_ERR(inst)) in alloc() 345 inst->alg.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER; in alloc() 346 inst->alg.cra_priority = alg->cra_priority; in alloc() 347 inst->alg.cra_blocksize = alg->cra_blocksize; in alloc() 349 if (alg->cra_alignmask < 7) inst->alg.cra_alignmask = 7; in alloc() 350 else inst->alg.cra_alignmask = alg->cra_alignmask; in alloc() [all …]
|
D | mcryptd.c | 222 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in mcryptd_get_queue() local 223 struct mcryptd_instance_ctx *ictx = crypto_instance_ctx(inst); in mcryptd_get_queue() 232 struct crypto_instance *inst; in mcryptd_alloc_instance() local 235 p = kzalloc(head + sizeof(*inst) + tail, GFP_KERNEL); in mcryptd_alloc_instance() 239 inst = (void *)(p + head); in mcryptd_alloc_instance() 242 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in mcryptd_alloc_instance() 246 memcpy(inst->alg.cra_name, alg->cra_name, CRYPTO_MAX_ALG_NAME); in mcryptd_alloc_instance() 248 inst->alg.cra_priority = alg->cra_priority + 50; in mcryptd_alloc_instance() 249 inst->alg.cra_blocksize = alg->cra_blocksize; in mcryptd_alloc_instance() 250 inst->alg.cra_alignmask = alg->cra_alignmask; in mcryptd_alloc_instance() [all …]
|
D | eseqiv.c | 208 struct crypto_instance *inst; in eseqiv_alloc() local 215 inst = skcipher_geniv_alloc(&eseqiv_tmpl, tb, 0, 0); in eseqiv_alloc() 216 if (IS_ERR(inst)) in eseqiv_alloc() 220 if (inst->alg.cra_ablkcipher.ivsize != inst->alg.cra_blocksize) in eseqiv_alloc() 223 inst->alg.cra_ablkcipher.givencrypt = eseqiv_givencrypt_first; in eseqiv_alloc() 225 inst->alg.cra_init = eseqiv_init; in eseqiv_alloc() 226 inst->alg.cra_exit = skcipher_geniv_exit; in eseqiv_alloc() 228 inst->alg.cra_ctxsize = sizeof(struct eseqiv_ctx); in eseqiv_alloc() 229 inst->alg.cra_ctxsize += inst->alg.cra_ablkcipher.ivsize; in eseqiv_alloc() 232 return inst; in eseqiv_alloc() [all …]
|
D | chainiv.c | 290 struct crypto_instance *inst; in chainiv_alloc() local 301 inst = skcipher_geniv_alloc(&chainiv_tmpl, tb, 0, 0); in chainiv_alloc() 302 if (IS_ERR(inst)) in chainiv_alloc() 305 inst->alg.cra_ablkcipher.givencrypt = chainiv_givencrypt_first; in chainiv_alloc() 307 inst->alg.cra_init = chainiv_init; in chainiv_alloc() 308 inst->alg.cra_exit = skcipher_geniv_exit; in chainiv_alloc() 310 inst->alg.cra_ctxsize = sizeof(struct chainiv_ctx); in chainiv_alloc() 313 inst->alg.cra_flags |= CRYPTO_ALG_ASYNC; in chainiv_alloc() 315 inst->alg.cra_ablkcipher.givencrypt = in chainiv_alloc() 318 inst->alg.cra_init = async_chainiv_init; in chainiv_alloc() [all …]
|
D | authenc.c | 549 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in crypto_authenc_init_tfm() local 550 struct authenc_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_authenc_init_tfm() 599 struct crypto_instance *inst; in crypto_authenc_alloc() local 626 inst = kzalloc(sizeof(*inst) + sizeof(*ctx), GFP_KERNEL); in crypto_authenc_alloc() 628 if (!inst) in crypto_authenc_alloc() 631 ctx = crypto_instance_ctx(inst); in crypto_authenc_alloc() 633 err = crypto_init_ahash_spawn(&ctx->auth, auth, inst); in crypto_authenc_alloc() 637 crypto_set_skcipher_spawn(&ctx->enc, inst); in crypto_authenc_alloc() 647 if (snprintf(inst->alg.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_alloc() 652 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_alloc() [all …]
|
D | blkcipher.c | 575 err = crypto_init_spawn(&spawn->base, alg, spawn->base.inst, mask); in crypto_grab_nivcipher() 599 struct crypto_instance *inst; in skcipher_geniv_alloc() local 615 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in skcipher_geniv_alloc() 616 if (!inst) in skcipher_geniv_alloc() 619 spawn = crypto_instance_ctx(inst); in skcipher_geniv_alloc() 624 crypto_set_skcipher_spawn(spawn, inst); in skcipher_geniv_alloc() 670 memcpy(inst->alg.cra_name, alg->cra_name, CRYPTO_MAX_ALG_NAME); in skcipher_geniv_alloc() 671 memcpy(inst->alg.cra_driver_name, alg->cra_driver_name, in skcipher_geniv_alloc() 675 if (snprintf(inst->alg.cra_name, CRYPTO_MAX_ALG_NAME, in skcipher_geniv_alloc() 679 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in skcipher_geniv_alloc() [all …]
|
D | authencesn.c | 641 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in crypto_authenc_esn_init_tfm() local 642 struct authenc_esn_instance_ctx *ictx = crypto_instance_ctx(inst); in crypto_authenc_esn_init_tfm() 691 struct crypto_instance *inst; in crypto_authenc_esn_alloc() local 718 inst = kzalloc(sizeof(*inst) + sizeof(*ctx), GFP_KERNEL); in crypto_authenc_esn_alloc() 720 if (!inst) in crypto_authenc_esn_alloc() 723 ctx = crypto_instance_ctx(inst); in crypto_authenc_esn_alloc() 725 err = crypto_init_ahash_spawn(&ctx->auth, auth, inst); in crypto_authenc_esn_alloc() 729 crypto_set_skcipher_spawn(&ctx->enc, inst); in crypto_authenc_esn_alloc() 739 if (snprintf(inst->alg.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_esn_alloc() 744 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_esn_alloc() [all …]
|
D | vmac.c | 625 struct crypto_instance *inst = (void *)tfm->__crt_alg; in vmac_init_tfm() local 626 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in vmac_init_tfm() 645 struct shash_instance *inst; in vmac_create() local 658 inst = shash_alloc_instance("vmac", alg); in vmac_create() 659 err = PTR_ERR(inst); in vmac_create() 660 if (IS_ERR(inst)) in vmac_create() 663 err = crypto_init_spawn(shash_instance_ctx(inst), alg, in vmac_create() 664 shash_crypto_instance(inst), in vmac_create() 669 inst->alg.base.cra_priority = alg->cra_priority; in vmac_create() 670 inst->alg.base.cra_blocksize = alg->cra_blocksize; in vmac_create() [all …]
|
D | algboss.c | 66 struct crypto_instance *inst; in cryptomgr_probe() local 79 inst = tmpl->alloc(param->tb); in cryptomgr_probe() 80 if (IS_ERR(inst)) in cryptomgr_probe() 81 err = PTR_ERR(inst); in cryptomgr_probe() 82 else if ((err = crypto_register_instance(tmpl, inst))) in cryptomgr_probe() 83 tmpl->free(inst); in cryptomgr_probe()
|
/linux-4.1.27/drivers/phy/ |
D | phy-exynos4x12-usb2.c | 168 static void exynos4x12_isol(struct samsung_usb2_phy_instance *inst, bool on) in exynos4x12_isol() argument 170 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos4x12_isol() 174 switch (inst->cfg->id) { in exynos4x12_isol() 195 static void exynos4x12_setup_clk(struct samsung_usb2_phy_instance *inst) in exynos4x12_setup_clk() argument 197 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos4x12_setup_clk() 211 static void exynos4x12_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) in exynos4x12_phy_pwr() argument 213 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos4x12_phy_pwr() 219 switch (inst->cfg->id) { in exynos4x12_phy_pwr() 263 static void exynos4x12_power_on_int(struct samsung_usb2_phy_instance *inst) in exynos4x12_power_on_int() argument 265 if (inst->int_cnt++ > 0) in exynos4x12_power_on_int() [all …]
|
D | phy-s5pv210-usb2.c | 92 static void s5pv210_isol(struct samsung_usb2_phy_instance *inst, bool on) in s5pv210_isol() argument 94 struct samsung_usb2_phy_driver *drv = inst->drv; in s5pv210_isol() 97 switch (inst->cfg->id) { in s5pv210_isol() 112 static void s5pv210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) in s5pv210_phy_pwr() argument 114 struct samsung_usb2_phy_driver *drv = inst->drv; in s5pv210_phy_pwr() 120 switch (inst->cfg->id) { in s5pv210_phy_pwr() 152 static int s5pv210_power_on(struct samsung_usb2_phy_instance *inst) in s5pv210_power_on() argument 154 s5pv210_isol(inst, 0); in s5pv210_power_on() 155 s5pv210_phy_pwr(inst, 1); in s5pv210_power_on() 160 static int s5pv210_power_off(struct samsung_usb2_phy_instance *inst) in s5pv210_power_off() argument [all …]
|
D | phy-exynos4210-usb2.c | 127 static void exynos4210_isol(struct samsung_usb2_phy_instance *inst, bool on) in exynos4210_isol() argument 129 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos4210_isol() 133 switch (inst->cfg->id) { in exynos4210_isol() 149 static void exynos4210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) in exynos4210_phy_pwr() argument 151 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos4210_phy_pwr() 158 switch (inst->cfg->id) { in exynos4210_phy_pwr() 210 static int exynos4210_power_on(struct samsung_usb2_phy_instance *inst) in exynos4210_power_on() argument 213 exynos4210_phy_pwr(inst, 1); in exynos4210_power_on() 214 exynos4210_isol(inst, 0); in exynos4210_power_on() 219 static int exynos4210_power_off(struct samsung_usb2_phy_instance *inst) in exynos4210_power_off() argument [all …]
|
D | phy-exynos5-usbdrd.c | 135 void (*phy_isol)(struct phy_usb_instance *inst, u32 on); 137 unsigned int (*set_refclk)(struct phy_usb_instance *inst); 187 struct exynos5_usbdrd_phy *to_usbdrd_phy(struct phy_usb_instance *inst) in to_usbdrd_phy() argument 189 return container_of((inst), struct exynos5_usbdrd_phy, in to_usbdrd_phy() 190 phys[(inst)->index]); in to_usbdrd_phy() 230 static void exynos5_usbdrd_phy_isol(struct phy_usb_instance *inst, in exynos5_usbdrd_phy_isol() argument 235 if (!inst->reg_pmu) in exynos5_usbdrd_phy_isol() 240 regmap_update_bits(inst->reg_pmu, inst->pmu_offset, in exynos5_usbdrd_phy_isol() 250 exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst) in exynos5_usbdrd_pipe3_set_refclk() argument 253 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_pipe3_set_refclk() [all …]
|
D | phy-samsung-usb2.c | 24 struct samsung_usb2_phy_instance *inst = phy_get_drvdata(phy); in samsung_usb2_phy_power_on() local 25 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_on() 29 inst->cfg->label); in samsung_usb2_phy_power_on() 36 if (inst->cfg->power_on) { in samsung_usb2_phy_power_on() 38 ret = inst->cfg->power_on(inst); in samsung_usb2_phy_power_on() 56 struct samsung_usb2_phy_instance *inst = phy_get_drvdata(phy); in samsung_usb2_phy_power_off() local 57 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_off() 61 inst->cfg->label); in samsung_usb2_phy_power_off() 62 if (inst->cfg->power_off) { in samsung_usb2_phy_power_off() 64 ret = inst->cfg->power_off(inst); in samsung_usb2_phy_power_off()
|
D | phy-exynos5250-usb2.c | 178 static void exynos5250_isol(struct samsung_usb2_phy_instance *inst, bool on) in exynos5250_isol() argument 180 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos5250_isol() 184 switch (inst->cfg->id) { in exynos5250_isol() 200 static int exynos5250_power_on(struct samsung_usb2_phy_instance *inst) in exynos5250_power_on() argument 202 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos5250_power_on() 209 switch (inst->cfg->id) { in exynos5250_power_on() 321 exynos5250_isol(inst, 0); in exynos5250_power_on() 326 static int exynos5250_power_off(struct samsung_usb2_phy_instance *inst) in exynos5250_power_off() argument 328 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos5250_power_off() 333 exynos5250_isol(inst, 1); in exynos5250_power_off() [all …]
|
/linux-4.1.27/arch/x86/crypto/ |
D | fpu.c | 83 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in crypto_fpu_init_tfm() local 84 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in crypto_fpu_init_tfm() 104 struct crypto_instance *inst; in crypto_fpu_alloc() local 117 inst = crypto_alloc_instance("fpu", alg); in crypto_fpu_alloc() 118 if (IS_ERR(inst)) in crypto_fpu_alloc() 121 inst->alg.cra_flags = alg->cra_flags; in crypto_fpu_alloc() 122 inst->alg.cra_priority = alg->cra_priority; in crypto_fpu_alloc() 123 inst->alg.cra_blocksize = alg->cra_blocksize; in crypto_fpu_alloc() 124 inst->alg.cra_alignmask = alg->cra_alignmask; in crypto_fpu_alloc() 125 inst->alg.cra_type = alg->cra_type; in crypto_fpu_alloc() [all …]
|
/linux-4.1.27/drivers/soc/ti/ |
D | knav_qmss_queue.c | 63 #define for_each_handle_rcu(qh, inst) \ argument 64 list_for_each_entry_rcu(qh, &inst->handles, list) 66 #define for_each_instance(idx, inst, kdev) \ argument 67 for (idx = 0, inst = kdev->instances; \ 69 idx++, inst = knav_queue_idx_to_inst(kdev, idx)) 76 void knav_queue_notify(struct knav_queue_inst *inst) in knav_queue_notify() argument 80 if (!inst) in knav_queue_notify() 84 for_each_handle_rcu(qh, inst) { in knav_queue_notify() 98 struct knav_queue_inst *inst = _instdata; in knav_queue_int_handler() local 100 knav_queue_notify(inst); in knav_queue_int_handler() [all …]
|
D | knav_qmss.h | 284 struct knav_queue_inst *inst; member 313 struct knav_queue_inst *inst); 315 struct knav_queue_inst *inst, unsigned flags); 317 struct knav_queue_inst *inst); 319 struct knav_queue_inst *inst, bool enabled); 384 extern void knav_queue_notify(struct knav_queue_inst *inst);
|
/linux-4.1.27/include/crypto/internal/ |
D | hash.h | 83 struct ahash_instance *inst); 84 void ahash_free_instance(struct crypto_instance *inst); 88 struct crypto_instance *inst); 102 struct shash_instance *inst); 103 void shash_free_instance(struct crypto_instance *inst); 107 struct crypto_instance *inst); 149 struct ahash_instance *inst) in ahash_crypto_instance() argument 151 return container_of(&inst->alg.halg.base, struct crypto_instance, alg); in ahash_crypto_instance() 155 struct crypto_instance *inst) in ahash_instance() argument 157 return container_of(&inst->alg, struct ahash_instance, alg.halg.base); in ahash_instance() [all …]
|
D | aead.h | 29 struct crypto_aead_spawn *spawn, struct crypto_instance *inst) in crypto_set_aead_spawn() argument 31 crypto_set_spawn(&spawn->base, inst); in crypto_set_aead_spawn() 61 void aead_geniv_free(struct crypto_instance *inst);
|
/linux-4.1.27/arch/ia64/kernel/ |
D | paravirt_patch.c | 99 ia64_inst_t inst; in paravirt_read_slot0() local 100 inst.l = bundle->quad0.slot0; in paravirt_read_slot0() 101 return inst; in paravirt_read_slot0() 107 ia64_inst_t inst; in paravirt_read_slot1() local 108 inst.l = bundle->quad0.slot1_p0 | in paravirt_read_slot1() 110 return inst; in paravirt_read_slot1() 116 ia64_inst_t inst; in paravirt_read_slot2() local 117 inst.l = bundle->quad1.slot2; in paravirt_read_slot2() 118 return inst; in paravirt_read_slot2() 141 paravirt_write_slot0(bundle_t *bundle, ia64_inst_t inst) in paravirt_write_slot0() argument [all …]
|
/linux-4.1.27/sound/drivers/opl3/ |
D | opl3_synth.c | 200 struct sbi_patch inst; in snd_opl3_write() local 202 while (count >= sizeof(inst)) { in snd_opl3_write() 204 if (copy_from_user(&inst, buf, sizeof(inst))) in snd_opl3_write() 206 if (!memcmp(inst.key, FM_KEY_SBI, 4) || in snd_opl3_write() 207 !memcmp(inst.key, FM_KEY_2OP, 4)) in snd_opl3_write() 209 else if (!memcmp(inst.key, FM_KEY_4OP, 4)) in snd_opl3_write() 213 err = snd_opl3_load_patch(opl3, inst.prog, inst.bank, type, in snd_opl3_write() 214 inst.name, inst.extension, in snd_opl3_write() 215 inst.data); in snd_opl3_write() 218 result += sizeof(inst); in snd_opl3_write() [all …]
|
/linux-4.1.27/arch/mips/kvm/ |
D | dyntrans.c | 31 int kvm_mips_trans_cache_index(uint32_t inst, uint32_t *opc, in kvm_mips_trans_cache_index() argument 52 int kvm_mips_trans_cache_va(uint32_t inst, uint32_t *opc, in kvm_mips_trans_cache_va() argument 59 base = (inst >> 21) & 0x1f; in kvm_mips_trans_cache_va() 60 offset = inst & 0xffff; in kvm_mips_trans_cache_va() 73 int kvm_mips_trans_mfc0(uint32_t inst, uint32_t *opc, struct kvm_vcpu *vcpu) in kvm_mips_trans_mfc0() argument 79 rt = (inst >> 16) & 0x1f; in kvm_mips_trans_mfc0() 80 rd = (inst >> 11) & 0x1f; in kvm_mips_trans_mfc0() 81 sel = inst & 0x7; in kvm_mips_trans_mfc0() 115 int kvm_mips_trans_mtc0(uint32_t inst, uint32_t *opc, struct kvm_vcpu *vcpu) in kvm_mips_trans_mtc0() argument 121 rt = (inst >> 16) & 0x1f; in kvm_mips_trans_mtc0() [all …]
|
D | emulate.c | 976 enum emulation_result kvm_mips_emulate_CP0(uint32_t inst, uint32_t *opc, in kvm_mips_emulate_CP0() argument 995 copz = (inst >> 21) & 0x1f; in kvm_mips_emulate_CP0() 996 rt = (inst >> 16) & 0x1f; in kvm_mips_emulate_CP0() 997 rd = (inst >> 11) & 0x1f; in kvm_mips_emulate_CP0() 998 sel = inst & 0x7; in kvm_mips_emulate_CP0() 999 co_bit = (inst >> 25) & 1; in kvm_mips_emulate_CP0() 1002 op = (inst) & 0xff; in kvm_mips_emulate_CP0() 1040 kvm_mips_trans_mfc0(inst, opc, vcpu); in kvm_mips_emulate_CP0() 1046 kvm_mips_trans_mfc0(inst, opc, vcpu); in kvm_mips_emulate_CP0() 1182 kvm_mips_trans_mtc0(inst, opc, vcpu); in kvm_mips_emulate_CP0() [all …]
|
/linux-4.1.27/arch/sh/kernel/ |
D | traps_32.c | 573 unsigned short inst = 0; in is_dsp_inst() local 582 get_user(inst, ((unsigned short *) regs->pc)); in is_dsp_inst() 584 inst &= 0xf000; in is_dsp_inst() 587 if ((inst == 0xf000) || (inst == 0x4000)) in is_dsp_inst() 621 unsigned short inst = 0; in do_reserved_inst() local 624 get_user(inst, (unsigned short*)regs->pc); in do_reserved_inst() 626 err = do_fpu_inst(inst, regs); in do_reserved_inst() 628 regs->pc += instruction_size(inst); in do_reserved_inst() 653 static int emulate_branch(unsigned short inst, struct pt_regs *regs) in emulate_branch() argument 666 if (((inst & 0xf000) == 0xb000) || /* bsr */ in emulate_branch() [all …]
|
/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_core.c | 59 #define ip_set(inst, id) \ argument 60 ip_set_dereference((inst)->ip_set_list)[id] 474 struct ip_set_net *inst = ip_set_pernet(net); in ip_set_rcu_get() local 478 set = rcu_dereference(inst->ip_set_list)[index]; in ip_set_rcu_get() 579 struct ip_set_net *inst = ip_set_pernet(net); in ip_set_get_byname() local 582 for (i = 0; i < inst->ip_set_max; i++) { in ip_set_get_byname() 583 s = rcu_dereference(inst->ip_set_list)[i]; in ip_set_get_byname() 605 __ip_set_put_byindex(struct ip_set_net *inst, ip_set_id_t index) in __ip_set_put_byindex() argument 610 set = rcu_dereference(inst->ip_set_list)[index]; in __ip_set_put_byindex() 619 struct ip_set_net *inst = ip_set_pernet(net); in ip_set_put_byindex() local [all …]
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | emulate.c | 214 u32 inst; in kvmppc_emulate_instruction() local 222 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &inst); in kvmppc_emulate_instruction() 226 pr_debug("Emulating opcode %d / %d\n", get_op(inst), get_xop(inst)); in kvmppc_emulate_instruction() 228 rs = get_rs(inst); in kvmppc_emulate_instruction() 229 rt = get_rt(inst); in kvmppc_emulate_instruction() 230 sprn = get_sprn(inst); in kvmppc_emulate_instruction() 232 switch (get_op(inst)) { in kvmppc_emulate_instruction() 245 switch (get_xop(inst)) { in kvmppc_emulate_instruction() 282 if (inst == KVMPPC_INST_SW_BREAKPOINT) { in kvmppc_emulate_instruction() 297 emulated = vcpu->kvm->arch.kvm_ops->emulate_op(run, vcpu, inst, in kvmppc_emulate_instruction() [all …]
|
D | book3s_paired_singles.c | 350 static inline u32 inst_get_field(u32 inst, int msb, int lsb) in inst_get_field() argument 352 return kvmppc_get_field(inst, msb + 32, lsb + 32); in inst_get_field() 355 bool kvmppc_inst_is_paired_single(struct kvm_vcpu *vcpu, u32 inst) in kvmppc_inst_is_paired_single() argument 360 switch (get_op(inst)) { in kvmppc_inst_is_paired_single() 376 switch (inst_get_field(inst, 21, 30)) { in kvmppc_inst_is_paired_single() 394 switch (inst_get_field(inst, 25, 30)) { in kvmppc_inst_is_paired_single() 400 switch (inst_get_field(inst, 26, 30)) { in kvmppc_inst_is_paired_single() 422 switch (inst_get_field(inst, 21, 30)) { in kvmppc_inst_is_paired_single() 430 switch (inst_get_field(inst, 26, 30)) { in kvmppc_inst_is_paired_single() 440 switch (inst_get_field(inst, 21, 30)) { in kvmppc_inst_is_paired_single() [all …]
|
D | book3s_emulate.c | 90 unsigned int inst, int *advance) in kvmppc_core_emulate_op_pr() argument 93 int rt = get_rt(inst); in kvmppc_core_emulate_op_pr() 94 int rs = get_rs(inst); in kvmppc_core_emulate_op_pr() 95 int ra = get_ra(inst); in kvmppc_core_emulate_op_pr() 96 int rb = get_rb(inst); in kvmppc_core_emulate_op_pr() 99 switch (get_op(inst)) { in kvmppc_core_emulate_op_pr() 103 (inst == swab32(inst_sc))) { in kvmppc_core_emulate_op_pr() 117 switch (get_xop(inst)) { in kvmppc_core_emulate_op_pr() 131 switch (get_xop(inst)) { in kvmppc_core_emulate_op_pr() 138 if (inst & 0x10000) { in kvmppc_core_emulate_op_pr() [all …]
|
D | emulate_loadstore.c | 53 u32 inst; in kvmppc_emulate_loadstore() local 61 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &inst); in kvmppc_emulate_loadstore() 65 ra = get_ra(inst); in kvmppc_emulate_loadstore() 66 rs = get_rs(inst); in kvmppc_emulate_loadstore() 67 rt = get_rt(inst); in kvmppc_emulate_loadstore() 69 switch (get_op(inst)) { in kvmppc_emulate_loadstore() 71 switch (get_xop(inst)) { in kvmppc_emulate_loadstore() 172 rt = get_rt(inst); in kvmppc_emulate_loadstore() 198 rs = get_rs(inst); in kvmppc_emulate_loadstore() 265 trace_kvm_ppc_instr(inst, kvmppc_get_pc(vcpu), emulated); in kvmppc_emulate_loadstore()
|
D | trace.h | 15 TP_PROTO(unsigned int inst, unsigned long _pc, unsigned int emulate), 16 TP_ARGS(inst, _pc, emulate), 19 __field( unsigned int, inst ) 25 __entry->inst = inst; 31 __entry->inst, __entry->pc, __entry->emulate)
|
D | e500_emulate.c | 88 unsigned int inst, int *advance) in kvmppc_e500_emul_ehpriv() argument 92 switch (get_oc(inst)) { in kvmppc_e500_emul_ehpriv() 117 unsigned int inst, int *advance) in kvmppc_core_emulate_op_e500() argument 120 int ra = get_ra(inst); in kvmppc_core_emulate_op_e500() 121 int rb = get_rb(inst); in kvmppc_core_emulate_op_e500() 122 int rt = get_rt(inst); in kvmppc_core_emulate_op_e500() 125 switch (get_op(inst)) { in kvmppc_core_emulate_op_e500() 127 switch (get_xop(inst)) { in kvmppc_core_emulate_op_e500() 169 emulated = kvmppc_e500_emul_ehpriv(run, vcpu, inst, in kvmppc_core_emulate_op_e500() 184 emulated = kvmppc_booke_emulate_op(run, vcpu, inst, advance); in kvmppc_core_emulate_op_e500()
|
/linux-4.1.27/arch/powerpc/mm/ |
D | icswx.c | 175 u32 inst; in acop_get_inst() local 182 if (__get_user(inst, p)) in acop_get_inst() 185 return inst; in acop_get_inst() 201 u32 inst = 0; in acop_handle_fault() local 221 inst = acop_get_inst(regs); in acop_handle_fault() 222 if (inst == 0) in acop_handle_fault() 225 rs = (inst >> (31 - 10)) & 0x1f; in acop_handle_fault() 257 if (inst == 0) { in acop_handle_fault() 258 inst = acop_get_inst(regs); in acop_handle_fault() 259 if (inst == 0) in acop_handle_fault() [all …]
|
D | fault.c | 77 unsigned int inst; in store_updates_sp() local 79 if (get_user(inst, (unsigned int __user *)regs->nip)) in store_updates_sp() 82 if (((inst >> 16) & 0x1f) != 1) in store_updates_sp() 85 switch (inst >> 26) { in store_updates_sp() 93 return (inst & 3) == 1; in store_updates_sp() 96 switch ((inst >> 1) & 0x3ff) { in store_updates_sp()
|
/linux-4.1.27/arch/mips/kernel/ |
D | mips-r2-to-r6-emul.c | 883 static inline int mipsr2_find_op_func(struct pt_regs *regs, u32 inst, in mipsr2_find_op_func() argument 890 if ((inst & p->mask) == p->code) { in mipsr2_find_op_func() 891 err = (p->func)(regs, inst); in mipsr2_find_op_func() 904 int mipsr2_decoder(struct pt_regs *regs, u32 inst, unsigned long *fcr31) in mipsr2_decoder() argument 923 inst, epc, pass); in mipsr2_decoder() 925 switch (MIPSInst_OPCODE(inst)) { in mipsr2_decoder() 927 err = mipsr2_find_op_func(regs, inst, spec_op_table); in mipsr2_decoder() 935 err = mipsr2_find_op_func(regs, inst, spec2_op_table); in mipsr2_decoder() 938 rt = MIPSInst_RT(inst); in mipsr2_decoder() 939 rs = MIPSInst_RS(inst); in mipsr2_decoder() [all …]
|
D | branch.c | 29 unsigned short inst; in __isa_exception_epc() local 33 if (__get_user(inst, (u16 __user *) msk_isa16_mode(epc))) { in __isa_exception_epc() 41 inst_mips16e.full = inst; in __isa_exception_epc() 46 } else if (mm_insn_16bit(inst)) in __isa_exception_epc() 317 union mips16e_instruction inst; in __MIPS16e_compute_return_epc() local 326 if (__get_user(inst.full, addr)) { in __MIPS16e_compute_return_epc() 331 switch (inst.ri.opcode) { in __MIPS16e_compute_return_epc() 345 fullinst = ((unsigned)inst.full << 16) | inst2; in __MIPS16e_compute_return_epc() 359 if (!inst.jal.x) in __MIPS16e_compute_return_epc() 368 if (inst.rr.func == MIPS16e_jr_func) { in __MIPS16e_compute_return_epc() [all …]
|
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/iop/asm/ |
D | iop_version_defs_asm.h | 41 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 42 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 46 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 47 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 50 ((inst) + offs + (index) * stride)
|
D | iop_sap_in_defs_asm.h | 41 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 42 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 46 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 47 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 50 ((inst) + offs + (index) * stride)
|
D | iop_sap_out_defs_asm.h | 41 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 42 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 46 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 47 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 50 ((inst) + offs + (index) * stride)
|
D | iop_sw_spu_defs_asm.h | 41 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 42 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 46 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 47 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 50 ((inst) + offs + (index) * stride)
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/iop/asm/ |
D | iop_version_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_scrc_in_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_scrc_out_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_trigger_grp_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_crc_par_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_fifo_out_extra_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_fifo_in_extra_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_mpu_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_sap_in_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_timer_grp_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_fifo_in_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_fifo_out_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_dmc_in_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_dmc_out_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_sap_out_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | iop_spu_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | low_i2c.c | 1235 struct pmac_i2c_pf_inst *inst; in pmac_i2c_do_begin() local 1255 inst = kzalloc(sizeof(struct pmac_i2c_pf_inst), GFP_KERNEL); in pmac_i2c_do_begin() 1256 if (inst == NULL) { in pmac_i2c_do_begin() 1260 inst->bus = bus; in pmac_i2c_do_begin() 1261 inst->addr = pmac_i2c_get_dev_addr(func->node); in pmac_i2c_do_begin() 1262 inst->quirks = (int)(long)func->driver_data; in pmac_i2c_do_begin() 1263 return inst; in pmac_i2c_do_begin() 1268 struct pmac_i2c_pf_inst *inst = instdata; in pmac_i2c_do_end() local 1270 if (inst == NULL) in pmac_i2c_do_end() 1272 pmac_i2c_close(inst->bus); in pmac_i2c_do_end() [all …]
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/asm/ |
D | irq_nmi_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | strcop_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | cris_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | strmux_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | config_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | rt_trace_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | marb_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride) 351 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 352 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 356 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 357 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ [all …]
|
D | mmu_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | timer_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | bif_slave_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | ata_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | gio_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | dma_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | bif_core_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | intr_vect_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | ser_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | eth_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | bif_dma_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | sser_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
/linux-4.1.27/arch/cris/include/arch-v32/mach-fs/mach/hwregs/asm/ |
D | config_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | timer_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | gio_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
D | bif_core_defs_asm.h | 44 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 45 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 49 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 50 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 52 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 53 ((inst) + offs + (index) * stride)
|
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/asm/ |
D | clkgen_defs_asm.h | 41 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 42 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 46 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 47 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 50 ((inst) + offs + (index) * stride)
|
D | timer_defs_asm.h | 41 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 42 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 46 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 47 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 50 ((inst) + offs + (index) * stride)
|
D | ddr2_defs_asm.h | 41 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 42 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 46 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 47 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 50 ((inst) + offs + (index) * stride)
|
D | pio_defs_asm.h | 41 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 42 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 46 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 47 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 50 ((inst) + offs + (index) * stride)
|
D | pinmux_defs_asm.h | 41 #define REG_ADDR( scope, inst, reg ) REG_ADDR_X_(inst, reg_##scope##_##reg##_offset) argument 42 #define REG_ADDR_X_( inst, offs ) ((inst) + offs) argument 46 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument 47 REG_ADDR_VECT_X_(inst, reg_##scope##_##reg##_offset, index, \ 49 #define REG_ADDR_VECT_X_( inst, offs, index, stride ) \ argument 50 ((inst) + offs + (index) * stride)
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bnx2_fw.h | 21 .inst = BNX2_COM_CPU_INSTRUCTION, 37 .inst = BNX2_CP_CPU_INSTRUCTION, 53 .inst = BNX2_RXP_CPU_INSTRUCTION, 69 .inst = BNX2_TPAT_CPU_INSTRUCTION, 85 .inst = BNX2_TXP_CPU_INSTRUCTION,
|
/linux-4.1.27/include/crypto/ |
D | algapi.h | 54 void (*free)(struct crypto_instance *inst); 63 struct crypto_instance *inst; member 139 struct crypto_instance *inst); 140 int crypto_unregister_instance(struct crypto_instance *inst); 143 struct crypto_instance *inst, u32 mask); 145 struct crypto_instance *inst, 154 struct crypto_instance *inst) in crypto_set_spawn() argument 156 spawn->inst = inst; in crypto_set_spawn() 221 static inline void *crypto_instance_ctx(struct crypto_instance *inst) in crypto_instance_ctx() argument 223 return inst->__ctx; in crypto_instance_ctx()
|
/linux-4.1.27/drivers/edac/ |
D | amd8131_edac.c | 71 .inst = NORTH_A, 76 .inst = NORTH_B, 81 .inst = SOUTH_A, 86 .inst = SOUTH_B, 90 {.inst = NO_BRIDGE,}, 253 for (dev_info = amd8131_chipset.devices; dev_info->inst != NO_BRIDGE; in amd8131_probe() 258 if (dev_info->inst == NO_BRIDGE) /* should never happen */ in amd8131_probe() 317 for (dev_info = amd8131_chipset.devices; dev_info->inst != NO_BRIDGE; in amd8131_remove() 322 if (dev_info->inst == NO_BRIDGE) /* should never happen */ in amd8131_remove()
|
D | edac_device.c | 77 struct edac_device_instance *dev_inst, *inst; in edac_device_alloc_ctl_info() local 164 inst = &dev_inst[instance]; in edac_device_alloc_ctl_info() 165 inst->ctl = dev_ctl; in edac_device_alloc_ctl_info() 166 inst->nr_blocks = nr_blocks; in edac_device_alloc_ctl_info() 168 inst->blocks = blk_p; in edac_device_alloc_ctl_info() 171 snprintf(inst->name, sizeof(inst->name), in edac_device_alloc_ctl_info() 177 blk->instance = inst; in edac_device_alloc_ctl_info() 182 instance, inst, block, blk, blk->name); in edac_device_alloc_ctl_info()
|
/linux-4.1.27/arch/parisc/mm/ |
D | fault.c | 51 parisc_acctyp(unsigned long code, unsigned int inst) in parisc_acctyp() argument 56 switch (inst & 0xf0000000) { in parisc_acctyp() 67 if (bit22set(inst)) in parisc_acctyp() 71 if (bit22set(inst)) { in parisc_acctyp() 89 if (isGraphicsFlushRead(inst)) in parisc_acctyp() 105 if (bits23_25set(inst) == BITSSET) in parisc_acctyp()
|
/linux-4.1.27/arch/mips/netlogic/xlp/ |
D | usb-init.c | 65 #define nlm_get_usb_pcibase(node, inst) \ argument 66 nlm_pcicfg_base(XLP_IO_USB_OFFSET(node, inst)) 67 #define nlm_get_usb_regbase(node, inst) \ argument 68 (nlm_get_usb_pcibase(node, inst) + XLP_IO_PCI_HDRSZ)
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
D | nv40.c | 37 u32 inst = *(u32 *)arg << 4; in nv40_mpeg_mthd_dma() local 38 u32 dma0 = nv_ro32(imem, inst + 0); in nv40_mpeg_mthd_dma() 39 u32 dma1 = nv_ro32(imem, inst + 4); in nv40_mpeg_mthd_dma() 40 u32 dma2 = nv_ro32(imem, inst + 8); in nv40_mpeg_mthd_dma()
|
D | nv44.c | 67 u32 inst = 0x80000000 | nv_gpuobj(chan)->addr >> 4; in nv44_mpeg_context_fini() local 70 if (nv_rd32(priv, 0x00b318) == inst) in nv44_mpeg_context_fini() 101 u32 inst = nv_rd32(priv, 0x00b318) & 0x000fffff; in nv44_mpeg_intr() local 109 engctx = nvkm_engctx_get(engine, inst); in nv44_mpeg_intr() 133 chid, inst << 4, nvkm_client_name(engctx), stat, in nv44_mpeg_intr()
|
/linux-4.1.27/arch/tile/lib/ |
D | memcpy_user_64.c | 28 #define _ST(p, inst, v) \ argument 30 asm("1: " #inst " %0, %1;" \ 40 #define _LD(p, inst) \ argument 43 asm("1: " #inst " %0, %1;" \
|
/linux-4.1.27/arch/mips/include/asm/netlogic/xlp-hal/ |
D | uart.h | 96 #define nlm_get_uart_pcibase(node, inst) \ argument 98 XLP_IO_UART_OFFSET(node, inst)) 99 #define nlm_get_uart_regbase(node, inst) \ argument 100 (nlm_get_uart_pcibase(node, inst) + XLP_IO_PCI_HDRSZ)
|
D | pcibus.h | 101 #define nlm_get_pcie_base(node, inst) nlm_pcicfg_base(cpu_is_xlp9xx() ? \ argument 102 XLP9XX_IO_PCIE_OFFSET(node, inst) : XLP_IO_PCIE_OFFSET(node, inst))
|
/linux-4.1.27/sound/pci/ |
D | maestro3.c | 719 } inst; member 1071 s->inst.data + CDATA_INSTANCE_READY, 1); in snd_m3_pcm_start() 1080 s->inst.data + CDATA_INSTANCE_READY, 1); in snd_m3_pcm_start() 1094 s->inst.data + CDATA_INSTANCE_READY, 0); in snd_m3_pcm_stop() 1162 dsp_in_buffer = s->inst.data + (MINISRC_TMP_BUFFER_SIZE / 2); in snd_m3_pcm_setup1() 1175 s->inst.data + CDATA_HOST_SRC_ADDRL, in snd_m3_pcm_setup1() 1179 s->inst.data + CDATA_HOST_SRC_ADDRH, in snd_m3_pcm_setup1() 1183 s->inst.data + CDATA_HOST_SRC_END_PLUS_1L, in snd_m3_pcm_setup1() 1187 s->inst.data + CDATA_HOST_SRC_END_PLUS_1H, in snd_m3_pcm_setup1() 1191 s->inst.data + CDATA_HOST_SRC_CURRENTL, in snd_m3_pcm_setup1() [all …]
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | fpu-ucf64.c | 78 void ucf64_exchandler(u32 inst, u32 fpexc, struct pt_regs *regs) in ucf64_exchandler() argument 84 inst, fpexc); in ucf64_exchandler() 95 cff(FPSCR), inst); in ucf64_exchandler()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | mips-r2-to-r6-emul.h | 78 int (*func)(struct pt_regs *regs, u32 inst); 87 static inline int mipsr2_decoder(struct pt_regs *regs, u32 inst, in mipsr2_decoder() argument 95 extern int mipsr2_decoder(struct pt_regs *regs, u32 inst,
|