/kernel/linux/linux-5.10/net/tipc/ |
D | trace.c | 55 int i = 0; in tipc_skb_dump() local 61 i += scnprintf(buf, sz, "msg: (null)\n"); in tipc_skb_dump() 62 return i; in tipc_skb_dump() 69 i += scnprintf(buf, sz, "msg: %u", msg_user(hdr)); in tipc_skb_dump() 70 i += scnprintf(buf + i, sz - i, " %u", msg_type(hdr)); in tipc_skb_dump() 71 i += scnprintf(buf + i, sz - i, " %u", msg_hdr_sz(hdr)); in tipc_skb_dump() 72 i += scnprintf(buf + i, sz - i, " %u", msg_data_sz(hdr)); in tipc_skb_dump() 73 i += scnprintf(buf + i, sz - i, " %x", msg_orignode(hdr)); in tipc_skb_dump() 74 i += scnprintf(buf + i, sz - i, " %x", msg_destnode(hdr)); in tipc_skb_dump() 75 i += scnprintf(buf + i, sz - i, " %u", msg_seqno(hdr)); in tipc_skb_dump() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/ni_route_values/ |
D | ni_mseries.c | 58 [B(TRIGGER_LINE(0))] = I(18), 59 [B(TRIGGER_LINE(1))] = I(19), 60 [B(TRIGGER_LINE(2))] = I(20), 61 [B(TRIGGER_LINE(3))] = I(21), 62 [B(TRIGGER_LINE(4))] = I(22), 63 [B(TRIGGER_LINE(5))] = I(23), 64 [B(TRIGGER_LINE(6))] = I(24), 65 [B(TRIGGER_LINE(7))] = I(25), 66 [B(NI_CtrSource(0))] = I(9), 67 [B(NI_CtrSource(1))] = I(4), [all …]
|
D | ni_660x.c | 50 [B(NI_CtrInternalOutput(7))] = I(1), 53 [B(NI_CtrGate(7))] = I(1), 56 [B(NI_CtrSource(7))] = I(1), 59 [B(NI_CtrInternalOutput(6))] = I(1), 62 [B(NI_CtrGate(6))] = I(1), 65 [B(NI_CtrSource(6))] = I(1), 68 [B(NI_CtrInternalOutput(5))] = I(1), 71 [B(NI_CtrGate(5))] = I(1), 74 [B(NI_CtrSource(5))] = I(1), 77 [B(NI_CtrInternalOutput(4))] = I(1), [all …]
|
D | ni_eseries.c | 55 [B(NI_AI_StartTrigger)] = I(NI_PFI_OUTPUT_AI_START1), 58 [B(NI_AI_ReferenceTrigger)] = I(NI_PFI_OUTPUT_AI_START2), 61 [B(NI_AI_ConvertClock)] = I(NI_PFI_OUTPUT_AI_CONVERT), 64 [B(NI_CtrSource(1))] = I(NI_PFI_OUTPUT_G_SRC1), 67 [B(NI_CtrGate(1))] = I(NI_PFI_OUTPUT_G_GATE1), 70 [B(NI_AO_SampleClock)] = I(NI_PFI_OUTPUT_AO_UPDATE_N), 73 [B(NI_AO_StartTrigger)] = I(NI_PFI_OUTPUT_AO_START1), 76 [B(NI_AI_SampleClock)] = I(NI_PFI_OUTPUT_AI_START_PULSE), 79 [B(NI_CtrSource(0))] = I(NI_PFI_OUTPUT_G_SRC0), 82 [B(NI_CtrGate(0))] = I(NI_PFI_OUTPUT_G_GATE0), [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-vsx.h | 15 int i; in validate_vsx() local 17 for (i = 0; i < VSX_MAX; i++) { in validate_vsx() 18 if (vsx[i] != load[2 * i + 1]) { in validate_vsx() 20 i, vsx[i], 2 * i + 1, load[2 * i + 1]); in validate_vsx() 33 int i; in validate_vmx() local 35 for (i = 0; i < VMX_MAX; i++) { in validate_vmx() 37 if ((vmx[i][0] != load[64 + 2 * i]) || in validate_vmx() 38 (vmx[i][1] != load[65 + 2 * i])) { in validate_vmx() 40 i, vmx[i][0], 64 + 2 * i, in validate_vmx() 41 load[64 + 2 * i]); in validate_vmx() [all …]
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
D | fsl_asrc.h | 34 #define REG_ASRCDR(i) ((i < 2) ? REG_ASRCDR1 : REG_ASRCDR2) argument 54 #define REG_ASRDI(i) (REG_ASRDIA + (i << 3)) argument 55 #define REG_ASRDO(i) (REG_ASRDOA + (i << 3)) argument 56 #define REG_ASRDx(x, i) ((x) == IN ? REG_ASRDI(i) : REG_ASRDO(i)) argument 64 #define REG_ASRIDRH(i) (REG_ASRIDRHA + (i << 3)) argument 65 #define REG_ASRIDRL(i) (REG_ASRIDRLA + (i << 3)) argument 76 #define REG_ASRMCR(i) (REG_ASRMCRA + (i << 3)) argument 77 #define REG_ASRFST(i) (REG_ASRFSTA + (i << 3)) argument 82 #define REG_ASRMCR1(i) (REG_ASRMCR1A + (i << 2)) argument 86 #define ASRCTR_ATSi_SHIFT(i) (20 + i) argument [all …]
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | atomic-long.h | 14 #define ATOMIC_LONG_INIT(i) ATOMIC64_INIT(i) argument 19 #define ATOMIC_LONG_INIT(i) ATOMIC_INIT(i) argument 39 atomic_long_set(atomic_long_t *v, long i) in atomic_long_set() argument 41 atomic64_set(v, i); in atomic_long_set() 45 atomic_long_set_release(atomic_long_t *v, long i) in atomic_long_set_release() argument 47 atomic64_set_release(v, i); in atomic_long_set_release() 51 atomic_long_add(long i, atomic_long_t *v) in atomic_long_add() argument 53 atomic64_add(i, v); in atomic_long_add() 57 atomic_long_add_return(long i, atomic_long_t *v) in atomic_long_add_return() argument 59 return atomic64_add_return(i, v); in atomic_long_add_return() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/mmp/ |
D | clk.c | 30 int i; in mmp_register_fixed_rate_clks() local 33 for (i = 0; i < size; i++) { in mmp_register_fixed_rate_clks() 34 clk = clk_register_fixed_rate(NULL, clks[i].name, in mmp_register_fixed_rate_clks() 35 clks[i].parent_name, in mmp_register_fixed_rate_clks() 36 clks[i].flags, in mmp_register_fixed_rate_clks() 37 clks[i].fixed_rate); in mmp_register_fixed_rate_clks() 40 __func__, clks[i].name); in mmp_register_fixed_rate_clks() 43 if (clks[i].id) in mmp_register_fixed_rate_clks() 44 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_rate_clks() 53 int i; in mmp_register_fixed_factor_clks() local [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | isp2401_input_system_private.h | 139 u32 i; in ibuf_ctrl_get_state() local 150 for (i = 0; i < N_IBUF_CTRL_PROCS[ID]; i++) { in ibuf_ctrl_get_state() 153 i, in ibuf_ctrl_get_state() 154 &state->proc_state[i]); in ibuf_ctrl_get_state() 162 u32 i; in ibuf_ctrl_dump_state() local 172 for (i = 0; i < N_IBUF_CTRL_PROCS[ID]; i++) { in ibuf_ctrl_dump_state() 173 ia_css_print("IBUF controller ID %d Process ID %d num_items 0x%x\n", ID, i, in ibuf_ctrl_dump_state() 174 state->proc_state[i].num_items); in ibuf_ctrl_dump_state() 175 ia_css_print("IBUF controller ID %d Process ID %d num_stores 0x%x\n", ID, i, in ibuf_ctrl_dump_state() 176 state->proc_state[i].num_stores); in ibuf_ctrl_dump_state() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/hisilicon/ |
D | clk.c | 95 int i; in hisi_clk_register_fixed_rate() local 97 for (i = 0; i < nums; i++) { in hisi_clk_register_fixed_rate() 98 clk = clk_register_fixed_rate(NULL, clks[i].name, in hisi_clk_register_fixed_rate() 99 clks[i].parent_name, in hisi_clk_register_fixed_rate() 100 clks[i].flags, in hisi_clk_register_fixed_rate() 101 clks[i].fixed_rate); in hisi_clk_register_fixed_rate() 104 __func__, clks[i].name); in hisi_clk_register_fixed_rate() 107 data->clk_data.clks[clks[i].id] = clk; in hisi_clk_register_fixed_rate() 113 while (i--) in hisi_clk_register_fixed_rate() 114 clk_unregister_fixed_rate(data->clk_data.clks[clks[i].id]); in hisi_clk_register_fixed_rate() [all …]
|
/kernel/linux/linux-5.10/fs/hpfs/ |
D | inode.c | 14 void hpfs_init_inode(struct inode *i) in hpfs_init_inode() argument 16 struct super_block *sb = i->i_sb; in hpfs_init_inode() 17 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_init_inode() 19 i->i_uid = hpfs_sb(sb)->sb_uid; in hpfs_init_inode() 20 i->i_gid = hpfs_sb(sb)->sb_gid; in hpfs_init_inode() 21 i->i_mode = hpfs_sb(sb)->sb_mode; in hpfs_init_inode() 22 i->i_size = -1; in hpfs_init_inode() 23 i->i_blocks = -1; in hpfs_init_inode() 39 i->i_ctime.tv_sec = i->i_ctime.tv_nsec = 0; in hpfs_init_inode() 40 i->i_mtime.tv_sec = i->i_mtime.tv_nsec = 0; in hpfs_init_inode() [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | xor.h | 32 # define XOR_CONSTANT_CONSTRAINT "i" 52 #define BLK64(pf, op, i) \ argument 53 pf(i) \ 54 op(i, 0) \ 55 op(i + 1, 1) \ 56 op(i + 2, 2) \ 57 op(i + 3, 3) 68 #define BLOCK(i) \ in xor_sse_2() argument 69 LD(i, 0) \ in xor_sse_2() 70 LD(i + 1, 1) \ in xor_sse_2() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/ |
D | allegro-mail.c | 46 unsigned int i = 0; in allegro_enc_init() local 49 dst[i++] = msg->reserved0; in allegro_enc_init() 50 dst[i++] = msg->suballoc_dma; in allegro_enc_init() 51 dst[i++] = msg->suballoc_size; in allegro_enc_init() 52 dst[i++] = msg->l2_cache[0]; in allegro_enc_init() 53 dst[i++] = msg->l2_cache[1]; in allegro_enc_init() 54 dst[i++] = msg->l2_cache[2]; in allegro_enc_init() 56 dst[i++] = -1; in allegro_enc_init() 57 dst[i++] = 0; in allegro_enc_init() 60 return i * sizeof(*dst); in allegro_enc_init() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | eeprom.c | 55 u16 i; in ath9k_hw_get_lower_upper_index() local 66 for (i = 0; i < listSize - 1; i++) { in ath9k_hw_get_lower_upper_index() 67 if (pList[i] == target) { in ath9k_hw_get_lower_upper_index() 68 *indexL = *indexR = i; in ath9k_hw_get_lower_upper_index() 71 if (target < pList[i + 1]) { in ath9k_hw_get_lower_upper_index() 72 *indexL = i; in ath9k_hw_get_lower_upper_index() 73 *indexR = (u16) (i + 1); in ath9k_hw_get_lower_upper_index() 83 int i = 0, j, addr; in ath9k_hw_usb_gen_fill_eeprom() local 88 addrdata[i] = AR5416_EEPROM_OFFSET + in ath9k_hw_usb_gen_fill_eeprom() 90 i++; in ath9k_hw_usb_gen_fill_eeprom() [all …]
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | atomic.h | 22 #define ATOMIC64_INIT(i) { (i) } argument 27 #define atomic_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument 28 #define atomic64_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument 32 ia64_atomic_##op (int i, atomic_t *v) \ 40 new = old c_op i; \ 47 ia64_atomic_fetch_##op (int i, atomic_t *v) \ 55 new = old c_op i; \ 68 #define __ia64_atomic_const(i) \ argument 69 static const int __ia64_atomic_p = __builtin_constant_p(i) ? \ 70 ((i) == 1 || (i) == 4 || (i) == 8 || (i) == 16 || \ [all …]
|
/kernel/linux/linux-5.10/sound/pci/au88x0/ |
D | au88x0_xtalk.c | 245 int i; in vortex_XtalkHw_SetLeftEQ() local 247 for (i = 0; i < 5; i++) { in vortex_XtalkHw_SetLeftEQ() 248 hwwrite(vortex->mmio, 0x24200 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetLeftEQ() 249 hwwrite(vortex->mmio, 0x24204 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetLeftEQ() 250 hwwrite(vortex->mmio, 0x24208 + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetLeftEQ() 251 hwwrite(vortex->mmio, 0x2420c + i * 0x24, coefs[i][3]); in vortex_XtalkHw_SetLeftEQ() 252 hwwrite(vortex->mmio, 0x24210 + i * 0x24, coefs[i][4]); in vortex_XtalkHw_SetLeftEQ() 262 int i; in vortex_XtalkHw_SetRightEQ() local 264 for (i = 0; i < 5; i++) { in vortex_XtalkHw_SetRightEQ() 265 hwwrite(vortex->mmio, 0x242b4 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetRightEQ() [all …]
|
/kernel/linux/linux-5.10/lib/reed_solomon/ |
D | decode_rs.c | 15 int i, j, r, k, pad; variable 47 for (i = 0; i < nroots; i++) { 51 if (s[i] != nn) 59 /* form the syndromes; i.e., evaluate data(x) at roots of 61 for (i = 0; i < nroots; i++) 62 syn[i] = (((uint16_t) data[0]) ^ invmsk) & msk; 65 for (i = 0; i < nroots; i++) { 66 if (syn[i] == 0) { 67 syn[i] = (((uint16_t) data[j]) ^ 70 syn[i] = ((((uint16_t) data[j]) ^ [all …]
|
/kernel/linux/linux-5.10/include/sound/ |
D | pcm_params.h | 23 #define MASK_OFS(i) ((i) >> 5) argument 24 #define MASK_BIT(i) (1U << ((i) & 31)) argument 38 int i; in snd_mask_empty() local 39 for (i = 0; i < SNDRV_MASK_SIZE; i++) in snd_mask_empty() 40 if (mask->bits[i]) in snd_mask_empty() 47 int i; in snd_mask_min() local 48 for (i = 0; i < SNDRV_MASK_SIZE; i++) { in snd_mask_min() 49 if (mask->bits[i]) in snd_mask_min() 50 return __ffs(mask->bits[i]) + (i << 5); in snd_mask_min() 57 int i; in snd_mask_max() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_suspend.c | 70 int i; in i915_save_state() local 76 for (i = 0; i < 7; i++) { in i915_save_state() 77 dev_priv->regfile.saveSWF0[i] = I915_READ(SWF0(i)); in i915_save_state() 78 dev_priv->regfile.saveSWF1[i] = I915_READ(SWF1(i)); in i915_save_state() 80 for (i = 0; i < 3; i++) in i915_save_state() 81 dev_priv->regfile.saveSWF3[i] = I915_READ(SWF3(i)); in i915_save_state() 83 for (i = 0; i < 7; i++) in i915_save_state() 84 dev_priv->regfile.saveSWF1[i] = I915_READ(SWF1(i)); in i915_save_state() 86 for (i = 0; i < 16; i++) { in i915_save_state() 87 dev_priv->regfile.saveSWF0[i] = I915_READ(SWF0(i)); in i915_save_state() [all …]
|
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
D | idr-test.c | 35 unsigned long i; in idr_alloc_test() local 43 for (i = 0x3ffe; i < 0x4003; i++) { in idr_alloc_test() 47 if (i < 0x4000) in idr_alloc_test() 48 item = item_create(i, 0); in idr_alloc_test() 50 item = item_create(i - 0x3fff, 0); in idr_alloc_test() 78 int i; in idr_null_test() local 93 for (i = 0; i < 10; i++) { in idr_null_test() 94 assert(idr_alloc(&idr, NULL, 0, 0, GFP_KERNEL) == i); in idr_null_test() 105 for (i = 0; i < 9; i++) { in idr_null_test() 106 idr_remove(&idr, i); in idr_null_test() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
D | mfp-pxa2xx.c | 135 int i, gpio; in pxa2xx_mfp_config() local 137 for (i = 0, c = mfp_cfgs; i < num; i++, c++) { in pxa2xx_mfp_config() 225 int i; in pxa25x_mfp_init() local 233 for (i = 0; i <= pxa_last_gpio; i++) in pxa25x_mfp_init() 234 gpio_desc[i].valid = 1; in pxa25x_mfp_init() 236 for (i = 0; i <= 15; i++) { in pxa25x_mfp_init() 237 gpio_desc[i].can_wakeup = 1; in pxa25x_mfp_init() 238 gpio_desc[i].mask = GPIO_bit(i); in pxa25x_mfp_init() 244 for (i = 86; i <= pxa_last_gpio; i++) in pxa25x_mfp_init() 245 gpio_desc[i].dir_inverted = 1; in pxa25x_mfp_init() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_io_util.c | 18 int i; in msm_dss_put_clk() local 20 for (i = num_clk - 1; i >= 0; i--) { in msm_dss_put_clk() 21 if (clk_arry[i].clk) in msm_dss_put_clk() 22 clk_put(clk_arry[i].clk); in msm_dss_put_clk() 23 clk_arry[i].clk = NULL; in msm_dss_put_clk() 29 int i, rc = 0; in msm_dss_get_clk() local 31 for (i = 0; i < num_clk; i++) { in msm_dss_get_clk() 32 clk_arry[i].clk = clk_get(dev, clk_arry[i].clk_name); in msm_dss_get_clk() 33 rc = PTR_ERR_OR_ZERO(clk_arry[i].clk); in msm_dss_get_clk() 37 clk_arry[i].clk_name, rc); in msm_dss_get_clk() [all …]
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | kgdb_32.c | 22 int i; in pt_regs_to_gdb_regs() local 25 for (i = 0; i < 15; i++) in pt_regs_to_gdb_regs() 26 gdb_regs[GDB_G1 + i] = regs->u_regs[UREG_G1 + i]; in pt_regs_to_gdb_regs() 29 for (i = 0; i < 8; i++) in pt_regs_to_gdb_regs() 30 gdb_regs[GDB_L0 + i] = win->locals[i]; in pt_regs_to_gdb_regs() 31 for (i = 0; i < 8; i++) in pt_regs_to_gdb_regs() 32 gdb_regs[GDB_I0 + i] = win->ins[i]; in pt_regs_to_gdb_regs() 34 for (i = GDB_F0; i <= GDB_F31; i++) in pt_regs_to_gdb_regs() 35 gdb_regs[i] = 0; in pt_regs_to_gdb_regs() 51 int i; in sleeping_thread_to_gdb_regs() local [all …]
|
D | kgdb_64.c | 22 int i; in pt_regs_to_gdb_regs() local 25 for (i = 0; i < 15; i++) in pt_regs_to_gdb_regs() 26 gdb_regs[GDB_G1 + i] = regs->u_regs[UREG_G1 + i]; in pt_regs_to_gdb_regs() 29 for (i = 0; i < 8; i++) in pt_regs_to_gdb_regs() 30 gdb_regs[GDB_L0 + i] = win->locals[i]; in pt_regs_to_gdb_regs() 31 for (i = 0; i < 8; i++) in pt_regs_to_gdb_regs() 32 gdb_regs[GDB_I0 + i] = win->ins[i]; in pt_regs_to_gdb_regs() 34 for (i = GDB_F0; i <= GDB_F62; i++) in pt_regs_to_gdb_regs() 35 gdb_regs[i] = 0; in pt_regs_to_gdb_regs() 52 int i; in sleeping_thread_to_gdb_regs() local [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | iov_iter.c | 18 #define iterate_iovec(i, n, __v, __p, skip, STEP) { \ argument 21 __p = i->iov; \ 46 #define iterate_kvec(i, n, __v, __p, skip, STEP) { \ argument 48 __p = i->kvec; \ 69 #define iterate_bvec(i, n, __v, __bi, skip, STEP) { \ argument 74 for_each_bvec(__v, i->bvec, __bi, __start) { \ 81 #define iterate_all_kinds(i, n, v, I, B, K) { \ argument 83 size_t skip = i->iov_offset; \ 84 if (unlikely(i->type & ITER_BVEC)) { \ 87 iterate_bvec(i, n, v, __bi, skip, (B)) \ [all …]
|