Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 6888) sorted by relevance

12345678910>>...276

/Linux-v5.4/tools/testing/selftests/powerpc/ptrace/
Dptrace-vsx.h15 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 …]
/Linux-v5.4/net/tipc/
Dtrace.c55 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 …]
/Linux-v5.4/sound/pci/au88x0/
Dau88x0_xtalk.c245 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 …]
/Linux-v5.4/sound/soc/fsl/
Dfsl_asrc.h35 #define REG_ASRCDR(i) ((i < 2) ? REG_ASRCDR1 : REG_ASRCDR2) argument
55 #define REG_ASRDI(i) (REG_ASRDIA + (i << 3)) argument
56 #define REG_ASRDO(i) (REG_ASRDOA + (i << 3)) argument
57 #define REG_ASRDx(x, i) ((x) == IN ? REG_ASRDI(i) : REG_ASRDO(i)) argument
65 #define REG_ASRIDRH(i) (REG_ASRIDRHA + (i << 3)) argument
66 #define REG_ASRIDRL(i) (REG_ASRIDRLA + (i << 3)) argument
77 #define REG_ASRMCR(i) (REG_ASRMCRA + (i << 3)) argument
78 #define REG_ASRFST(i) (REG_ASRFSTA + (i << 3)) argument
83 #define REG_ASRMCR1(i) (REG_ASRMCR1A + (i << 2)) argument
87 #define ASRCTR_ATSi_SHIFT(i) (20 + i) argument
[all …]
/Linux-v5.4/arch/x86/include/asm/
Dxor.h52 #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()
71 PF1(i) \ in xor_sse_2()
[all …]
Dxor_32.h32 #define BLOCK(i) \ in xor_pII_mmx_2() argument
33 LD(i, 0) \ in xor_pII_mmx_2()
34 LD(i + 1, 1) \ in xor_pII_mmx_2()
35 LD(i + 2, 2) \ in xor_pII_mmx_2()
36 LD(i + 3, 3) \ in xor_pII_mmx_2()
37 XO1(i, 0) \ in xor_pII_mmx_2()
38 ST(i, 0) \ in xor_pII_mmx_2()
39 XO1(i+1, 1) \ in xor_pII_mmx_2()
40 ST(i+1, 1) \ in xor_pII_mmx_2()
41 XO1(i + 2, 2) \ in xor_pII_mmx_2()
[all …]
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_reg.h40 #define NV10_PFB_TILE(i) (0x00100240 + (i*16)) argument
42 #define NV10_PFB_TLIMIT(i) (0x00100244 + (i*16)) argument
43 #define NV10_PFB_TSIZE(i) (0x00100248 + (i*16)) argument
44 #define NV10_PFB_TSTATUS(i) (0x0010024c + (i*16)) argument
49 #define NV20_PFB_ZCOMP(i) (0x00100300 + 4*(i)) argument
55 #define NV04_PFB_SCRAMBLE(i) (0x00100400 + 4 * (i)) argument
56 #define NV40_PFB_TILE(i) (0x00100600 + (i*16)) argument
59 #define NV40_PFB_TLIMIT(i) (0x00100604 + (i*16)) argument
60 #define NV40_PFB_TSIZE(i) (0x00100608 + (i*16)) argument
61 #define NV40_PFB_TSTATUS(i) (0x0010060c + (i*16)) argument
[all …]
/Linux-v5.4/lib/reed_solomon/
Ddecode_rs.c15 int i, j, r, k, pad; variable
47 for (i = 0; i < nroots; i++) {
51 if (s[i] != nn)
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]) ^
72 alpha_to[rs_modnn(rs, index_of[syn[i]] +
[all …]
/Linux-v5.4/include/asm-generic/
Datomic-long.h13 #define ATOMIC_LONG_INIT(i) ATOMIC64_INIT(i) argument
18 #define ATOMIC_LONG_INIT(i) ATOMIC_INIT(i) argument
38 atomic_long_set(atomic_long_t *v, long i) in atomic_long_set() argument
40 atomic64_set(v, i); in atomic_long_set()
44 atomic_long_set_release(atomic_long_t *v, long i) in atomic_long_set_release() argument
46 atomic64_set_release(v, i); in atomic_long_set_release()
50 atomic_long_add(long i, atomic_long_t *v) in atomic_long_add() argument
52 atomic64_add(i, v); in atomic_long_add()
56 atomic_long_add_return(long i, atomic_long_t *v) in atomic_long_add_return() argument
58 return atomic64_add_return(i, v); in atomic_long_add_return()
[all …]
/Linux-v5.4/drivers/clk/mmp/
Dclk.c30 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 …]
/Linux-v5.4/drivers/clk/hisilicon/
Dclk.c95 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 …]
/Linux-v5.4/drivers/isdn/mISDN/
Ddsp_audio.c77 int i; in alaw2linear() local
81 i = ((alaw & 0x0F) << 4) + 8 /* rounding error */; in alaw2linear()
84 i = (i + 0x100) << (seg - 1); in alaw2linear()
85 return (short int) ((alaw & 0x80) ? i : -i); in alaw2linear()
143 int i; in dsp_audio_generate_law_tables() local
144 for (i = 0; i < 256; i++) in dsp_audio_generate_law_tables()
145 dsp_audio_alaw_to_s32[i] = alaw2linear(bitrev8((u8)i)); in dsp_audio_generate_law_tables()
147 for (i = 0; i < 256; i++) in dsp_audio_generate_law_tables()
148 dsp_audio_ulaw_to_s32[i] = ulaw2linear(bitrev8((u8)i)); in dsp_audio_generate_law_tables()
150 for (i = 0; i < 256; i++) { in dsp_audio_generate_law_tables()
[all …]
/Linux-v5.4/arch/arm/mach-pxa/
Dmfp-pxa2xx.c135 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 …]
/Linux-v5.4/include/sound/
Dpcm_params.h23 #define MASK_OFS(i) ((i) >> 5) argument
24 #define MASK_BIT(i) (1U << ((i) & 31)) argument
43 int i; in snd_mask_empty() local
44 for (i = 0; i < SNDRV_MASK_SIZE; i++) in snd_mask_empty()
45 if (mask->bits[i]) in snd_mask_empty()
52 int i; in snd_mask_min() local
53 for (i = 0; i < SNDRV_MASK_SIZE; i++) { in snd_mask_min()
54 if (mask->bits[i]) in snd_mask_min()
55 return __ffs(mask->bits[i]) + (i << 5); in snd_mask_min()
62 int i; in snd_mask_max() local
[all …]
/Linux-v5.4/fs/hpfs/
Dinode.c14 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 …]
/Linux-v5.4/scripts/
Dkallsyms.c92 size_t i; in check_symbol_range() local
95 for (i = 0; i < entries; ++i) { in check_symbol_range()
96 ar = &ranges[i]; in check_symbol_range()
180 size_t i; in symbol_in_range() local
183 for (i = 0; i < entries; ++i) { in symbol_in_range()
184 ar = &ranges[i]; in symbol_in_range()
226 int i; in symbol_valid() local
251 for (i = 0; special_symbols[i]; i++) in symbol_valid()
252 if (strcmp(sym_name, special_symbols[i]) == 0) in symbol_valid()
255 for (i = 0; special_prefixes[i]; i++) { in symbol_valid()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/calcs/
Dcalcs_logger.h186 int i, j, k; in print_bw_calcs_data() local
382 for (i = 0; i < maximum_number_of_surfaces; i++) { in print_bw_calcs_data()
383 DC_LOG_BANDWIDTH_CALCS(" [bool] fbc_en[%d]:%d\n", i, data->fbc_en[i]); in print_bw_calcs_data()
384 DC_LOG_BANDWIDTH_CALCS(" [bool] lpt_en[%d]:%d", i, data->lpt_en[i]); in print_bw_calcs_data()
385 DC_LOG_BANDWIDTH_CALCS(" [bool] displays_match_flag[%d]:%d", i, data->displays_match_flag[i]); in print_bw_calcs_data()
386 DC_LOG_BANDWIDTH_CALCS(" [bool] use_alpha[%d]:%d", i, data->use_alpha[i]); in print_bw_calcs_data()
387 DC_LOG_BANDWIDTH_CALCS(" [bool] orthogonal_rotation[%d]:%d", i, data->orthogonal_rotation[i]); in print_bw_calcs_data()
388 DC_LOG_BANDWIDTH_CALCS(" [bool] enable[%d]:%d", i, data->enable[i]); in print_bw_calcs_data()
389 …LOG_BANDWIDTH_CALCS(" [bool] access_one_channel_only[%d]:%d", i, data->access_one_channel_only[i]); in print_bw_calcs_data()
391 i, data->scatter_gather_enable_for_pipe[i]); in print_bw_calcs_data()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_82599.c30 u8 i = 0; in ixgbe_dcb_config_rx_arbiter_82599() local
41 for (i = 0; i < MAX_USER_PRIORITY; i++) in ixgbe_dcb_config_rx_arbiter_82599()
42 reg |= (prio_tc[i] << (i * IXGBE_RTRUP2TC_UP_SHIFT)); in ixgbe_dcb_config_rx_arbiter_82599()
46 for (i = 0; i < MAX_TRAFFIC_CLASS; i++) { in ixgbe_dcb_config_rx_arbiter_82599()
47 credit_refill = refill[i]; in ixgbe_dcb_config_rx_arbiter_82599()
48 credit_max = max[i]; in ixgbe_dcb_config_rx_arbiter_82599()
51 reg |= (u32)(bwg_id[i]) << IXGBE_RTRPT4C_BWG_SHIFT; in ixgbe_dcb_config_rx_arbiter_82599()
53 if (prio_type[i] == prio_link) in ixgbe_dcb_config_rx_arbiter_82599()
56 IXGBE_WRITE_REG(hw, IXGBE_RTRPT4C(i), reg); in ixgbe_dcb_config_rx_arbiter_82599()
86 u8 i; in ixgbe_dcb_config_tx_desc_arbiter_82599() local
[all …]
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_io_util.c18 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 …]
/Linux-v5.4/arch/ia64/include/asm/
Datomic.h22 #define ATOMIC_INIT(i) { (i) } argument
23 #define ATOMIC64_INIT(i) { (i) } argument
28 #define atomic_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument
29 #define atomic64_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument
33 ia64_atomic_##op (int i, atomic_t *v) \
41 new = old c_op i; \
48 ia64_atomic_fetch_##op (int i, atomic_t *v) \
56 new = old c_op i; \
69 #define __ia64_atomic_const(i) \ argument
70 static const int __ia64_atomic_p = __builtin_constant_p(i) ? \
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_suspend.c66 int i; in i915_save_state() local
85 for (i = 0; i < 7; i++) { in i915_save_state()
86 dev_priv->regfile.saveSWF0[i] = I915_READ(SWF0(i)); in i915_save_state()
87 dev_priv->regfile.saveSWF1[i] = I915_READ(SWF1(i)); in i915_save_state()
89 for (i = 0; i < 3; i++) in i915_save_state()
90 dev_priv->regfile.saveSWF3[i] = I915_READ(SWF3(i)); in i915_save_state()
92 for (i = 0; i < 7; i++) in i915_save_state()
93 dev_priv->regfile.saveSWF1[i] = I915_READ(SWF1(i)); in i915_save_state()
95 for (i = 0; i < 16; i++) { in i915_save_state()
96 dev_priv->regfile.saveSWF0[i] = I915_READ(SWF0(i)); in i915_save_state()
[all …]
/Linux-v5.4/arch/x86/oprofile/
Dop_model_ppro.c35 int i; in ppro_shutdown() local
37 for (i = 0; i < num_counters; ++i) { in ppro_shutdown()
38 if (!msrs->counters[i].addr) in ppro_shutdown()
40 release_perfctr_nmi(MSR_P6_PERFCTR0 + i); in ppro_shutdown()
41 release_evntsel_nmi(MSR_P6_EVNTSEL0 + i); in ppro_shutdown()
47 int i; in ppro_fill_in_addresses() local
49 for (i = 0; i < num_counters; i++) { in ppro_fill_in_addresses()
50 if (!reserve_perfctr_nmi(MSR_P6_PERFCTR0 + i)) in ppro_fill_in_addresses()
52 if (!reserve_evntsel_nmi(MSR_P6_EVNTSEL0 + i)) { in ppro_fill_in_addresses()
53 release_perfctr_nmi(MSR_P6_PERFCTR0 + i); in ppro_fill_in_addresses()
[all …]
/Linux-v5.4/lib/
Dtest_vmalloc.c79 int i; in random_size_align_alloc_test() local
81 for (i = 0; i < test_loop_count; i++) { in random_size_align_alloc_test()
116 int i; in align_shift_alloc_test() local
118 for (i = 0; i < BITS_PER_LONG; i++) { in align_shift_alloc_test()
119 align = ((unsigned long) 1) << i; in align_shift_alloc_test()
139 int i; in fix_align_alloc_test() local
141 for (i = 0; i < test_loop_count; i++) { in fix_align_alloc_test()
162 int i; in random_size_alloc_test() local
164 for (i = 0; i < test_loop_count; i++) { in random_size_alloc_test()
165 get_random_bytes(&n, sizeof(i)); in random_size_alloc_test()
[all …]
/Linux-v5.4/drivers/net/ethernet/pensando/ionic/
Dionic_stats.c140 int i, q_num; in ionic_sw_stats_get_strings() local
142 for (i = 0; i < IONIC_NUM_LIF_STATS; i++) { in ionic_sw_stats_get_strings()
143 snprintf(*buf, ETH_GSTRING_LEN, ionic_lif_stats_desc[i].name); in ionic_sw_stats_get_strings()
147 for (i = 0; i < IONIC_NUM_TX_STATS; i++) { in ionic_sw_stats_get_strings()
149 q_num, ionic_tx_stats_desc[i].name); in ionic_sw_stats_get_strings()
155 for (i = 0; i < IONIC_NUM_TX_Q_STATS; i++) { in ionic_sw_stats_get_strings()
159 ionic_txq_stats_desc[i].name); in ionic_sw_stats_get_strings()
162 for (i = 0; i < IONIC_NUM_DBG_CQ_STATS; i++) { in ionic_sw_stats_get_strings()
166 ionic_dbg_cq_stats_desc[i].name); in ionic_sw_stats_get_strings()
169 for (i = 0; i < IONIC_NUM_DBG_INTR_STATS; i++) { in ionic_sw_stats_get_strings()
[all …]
/Linux-v5.4/arch/sparc/kernel/
Dkgdb_32.c22 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 …]

12345678910>>...276