Home
last modified time | relevance | path

Searched full:i (Results 1 – 25 of 10755) sorted by relevance

12345678910>>...431

/linux-6.12.1/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-6.12.1/drivers/comedi/drivers/ni_routing/ni_route_values/
Dni_mseries.c57 [B(TRIGGER_LINE(0))] = I(18),
58 [B(TRIGGER_LINE(1))] = I(19),
59 [B(TRIGGER_LINE(2))] = I(20),
60 [B(TRIGGER_LINE(3))] = I(21),
61 [B(TRIGGER_LINE(4))] = I(22),
62 [B(TRIGGER_LINE(5))] = I(23),
63 [B(TRIGGER_LINE(6))] = I(24),
64 [B(TRIGGER_LINE(7))] = I(25),
65 [B(NI_CtrSource(0))] = I(9),
66 [B(NI_CtrSource(1))] = I(4),
[all …]
Dni_660x.c49 [B(NI_CtrInternalOutput(7))] = I(1),
52 [B(NI_CtrGate(7))] = I(1),
55 [B(NI_CtrSource(7))] = I(1),
58 [B(NI_CtrInternalOutput(6))] = I(1),
61 [B(NI_CtrGate(6))] = I(1),
64 [B(NI_CtrSource(6))] = I(1),
67 [B(NI_CtrInternalOutput(5))] = I(1),
70 [B(NI_CtrGate(5))] = I(1),
73 [B(NI_CtrSource(5))] = I(1),
76 [B(NI_CtrInternalOutput(4))] = I(1),
[all …]
Dni_eseries.c54 [B(NI_AI_StartTrigger)] = I(NI_PFI_OUTPUT_AI_START1),
57 [B(NI_AI_ReferenceTrigger)] = I(NI_PFI_OUTPUT_AI_START2),
60 [B(NI_AI_ConvertClock)] = I(NI_PFI_OUTPUT_AI_CONVERT),
63 [B(NI_CtrSource(1))] = I(NI_PFI_OUTPUT_G_SRC1),
66 [B(NI_CtrGate(1))] = I(NI_PFI_OUTPUT_G_GATE1),
69 [B(NI_AO_SampleClock)] = I(NI_PFI_OUTPUT_AO_UPDATE_N),
72 [B(NI_AO_StartTrigger)] = I(NI_PFI_OUTPUT_AO_START1),
75 [B(NI_AI_SampleClock)] = I(NI_PFI_OUTPUT_AI_START_PULSE),
78 [B(NI_CtrSource(0))] = I(NI_PFI_OUTPUT_G_SRC0),
81 [B(NI_CtrGate(0))] = I(NI_PFI_OUTPUT_G_GATE0),
[all …]
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_ring_ops.c27 * pipeline (i.e., CCS engines).
54 u32 *dw, int i) in emit_aux_table_inv() argument
56 dw[i++] = MI_LOAD_REGISTER_IMM | MI_LRI_NUM_REGS(1) | MI_LRI_MMIO_REMAP_EN; in emit_aux_table_inv()
57 dw[i++] = reg.addr + gt->mmio.adj_offset; in emit_aux_table_inv()
58 dw[i++] = AUX_INV; in emit_aux_table_inv()
59 dw[i++] = MI_NOOP; in emit_aux_table_inv()
61 return i; in emit_aux_table_inv()
64 static int emit_user_interrupt(u32 *dw, int i) in emit_user_interrupt() argument
66 dw[i++] = MI_USER_INTERRUPT; in emit_user_interrupt()
67 dw[i++] = MI_ARB_ON_OFF | MI_ARB_ENABLE; in emit_user_interrupt()
[all …]
/linux-6.12.1/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-6.12.1/sound/soc/fsl/
Dfsl_asrc.h34 #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 …]
/linux-6.12.1/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-6.12.1/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-6.12.1/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 inode_set_ctime(i, 0, 0); in hpfs_init_inode()
40 inode_set_mtime(i, 0, 0); in hpfs_init_inode()
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Deeprom.c55 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 …]
/linux-6.12.1/arch/x86/include/asm/
Dxor.h32 # 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)
69 #define BLOCK(i) \ in xor_sse_2() argument
70 LD(i, 0) \ in xor_sse_2()
71 LD(i + 1, 1) \ in xor_sse_2()
[all …]
/linux-6.12.1/drivers/media/platform/allegro-dvt/
Dallegro-mail.c46 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->encoder_buffer_size; in allegro_enc_init()
53 dst[i++] = msg->encoder_buffer_color_depth; in allegro_enc_init()
54 dst[i++] = msg->num_cores; in allegro_enc_init()
56 dst[i++] = msg->clk_rate; in allegro_enc_init()
57 dst[i++] = 0; in allegro_enc_init()
60 return i * sizeof(*dst); in allegro_enc_init()
[all …]
/linux-6.12.1/drivers/base/regmap/
Dregmap-kunit.c32 int i; in get_changed_bytes() local
40 for (i = 0; i < size; i++) in get_changed_bytes()
41 while (n[i] == o[i]) in get_changed_bytes()
42 get_random_bytes(&n[i], 1); in get_changed_bytes()
87 param->fast_io ? " fast I/O" : "", in param_to_desc()
164 int i, error; in gen_regmap() local
201 for (i = 0; i < config->num_reg_defaults; i++) { in gen_regmap()
202 defaults[i].reg = param->from_reg + (i * config->reg_stride); in gen_regmap()
203 defaults[i].def = buf[param->from_reg + (i * config->reg_stride)]; in gen_regmap()
264 int i; in bulk_write() local
[all …]
/linux-6.12.1/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-6.12.1/tools/testing/cxl/test/
Dcxl.c51 int i; in is_multi_bridge() local
53 for (i = 0; i < ARRAY_SIZE(cxl_host_bridge); i++) in is_multi_bridge()
54 if (&cxl_host_bridge[i]->dev == dev) in is_multi_bridge()
61 int i; in is_single_bridge() local
63 for (i = 0; i < ARRAY_SIZE(cxl_hb_single); i++) in is_single_bridge()
64 if (&cxl_hb_single[i]->dev == dev) in is_single_bridge()
91 int i; in is_mock_dev() local
93 for (i = 0; i < ARRAY_SIZE(cxl_mem); i++) in is_mock_dev()
94 if (dev == &cxl_mem[i]->dev) in is_mock_dev()
96 for (i = 0; i < ARRAY_SIZE(cxl_mem_single); i++) in is_mock_dev()
[all …]
/linux-6.12.1/fs/bcachefs/
Deytzinger.h32 static inline unsigned eytzinger1_child(unsigned i, unsigned child) in eytzinger1_child() argument
36 return (i << 1) + child; in eytzinger1_child()
39 static inline unsigned eytzinger1_left_child(unsigned i) in eytzinger1_left_child() argument
41 return eytzinger1_child(i, 0); in eytzinger1_left_child()
44 static inline unsigned eytzinger1_right_child(unsigned i) in eytzinger1_right_child() argument
46 return eytzinger1_child(i, 1); in eytzinger1_right_child()
69 static inline unsigned eytzinger1_next(unsigned i, unsigned size) in eytzinger1_next() argument
71 EYTZINGER_BUG_ON(i > size); in eytzinger1_next()
73 if (eytzinger1_right_child(i) <= size) { in eytzinger1_next()
74 i = eytzinger1_right_child(i); in eytzinger1_next()
[all …]
Ddebug.c74 struct bset *i; in bch2_btree_verify_replica() local
87 i = &n_ondisk->keys; in bch2_btree_verify_replica()
93 i = &bne->keys; in bch2_btree_verify_replica()
100 bch2_dump_bset(c, b, i, offset); in bch2_btree_verify_replica()
224 struct bset *i; in bch2_btree_node_ondisk_to_text() local
231 i = &n_ondisk->keys; in bch2_btree_node_ondisk_to_text()
233 if (!bch2_checksum_type_valid(c, BSET_CSUM_TYPE(i))) { in bch2_btree_node_ondisk_to_text()
235 offset, BSET_CSUM_TYPE(i)); in bch2_btree_node_ondisk_to_text()
239 nonce = btree_nonce(i, offset << 9); in bch2_btree_node_ondisk_to_text()
240 csum = csum_vstruct(c, BSET_CSUM_TYPE(i), nonce, n_ondisk); in bch2_btree_node_ondisk_to_text()
[all …]
/linux-6.12.1/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)
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 …]
/linux-6.12.1/include/sound/
Dpcm_params.h23 #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 …]
/linux-6.12.1/tools/testing/radix-tree/
Didr-test.c35 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 …]
/linux-6.12.1/lib/
Diov_iter.c79 * @i: iterator
90 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t size) in fault_in_iov_iter_readable() argument
92 if (iter_is_ubuf(i)) { in fault_in_iov_iter_readable()
93 size_t n = min(size, iov_iter_count(i)); in fault_in_iov_iter_readable()
94 n -= fault_in_readable(i->ubuf + i->iov_offset, n); in fault_in_iov_iter_readable()
96 } else if (iter_is_iovec(i)) { in fault_in_iov_iter_readable()
97 size_t count = min(size, iov_iter_count(i)); in fault_in_iov_iter_readable()
102 for (p = iter_iov(i), skip = i->iov_offset; count; p++, skip = 0) { in fault_in_iov_iter_readable()
121 * @i: iterator
124 * Faults in the iterator using get_user_pages(), i.e., without triggering
[all …]
Dkunit_iov_iter.c2 /* I/O iterator tests. This can only test kernel-backed iterator types.
66 for (int i = 0; i < npages; i++) in iov_kunit_create_buffer() local
67 pages[i]->index = i; in iov_kunit_create_buffer()
83 int i; in iov_kunit_load_kvec() local
85 for (i = 0; i < kvmax; i++, pr++) { in iov_kunit_load_kvec()
90 kvec[i].iov_base = buffer + pr->from; in iov_kunit_load_kvec()
91 kvec[i].iov_len = pr->to - pr->from; in iov_kunit_load_kvec()
96 iov_iter_kvec(iter, dir, kvec, i, size); in iov_kunit_load_kvec()
110 int i, patt; in iov_kunit_copy_to_kvec() local
116 for (i = 0; i < bufsize; i++) in iov_kunit_copy_to_kvec()
[all …]
/linux-6.12.1/drivers/hid/amd-sfh-hid/
Damd_sfh_client.c26 int i; in amd_sfh_set_report() local
28 for (i = 0; i < cli_data->num_hid_devices; i++) { in amd_sfh_set_report()
29 if (cli_data->hid_sensor_hubs[i] == hid) { in amd_sfh_set_report()
30 cli_data->cur_hid_dev = i; in amd_sfh_set_report()
42 int i; in amd_sfh_get_report() local
44 for (i = 0; i < cli_data->num_hid_devices; i++) { in amd_sfh_get_report()
45 if (cli_data->hid_sensor_hubs[i] == hid) { in amd_sfh_get_report()
51 new->current_index = i; in amd_sfh_get_report()
52 new->sensor_idx = cli_data->sensor_idx[i]; in amd_sfh_get_report()
56 cli_data->report_id[i] = report_id; in amd_sfh_get_report()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_suspend.c38 int i; in intel_save_swf() local
42 for (i = 0; i < 7; i++) { in intel_save_swf()
43 dev_priv->regfile.saveSWF0[i] = intel_de_read(dev_priv, in intel_save_swf()
44 SWF0(dev_priv, i)); in intel_save_swf()
45 dev_priv->regfile.saveSWF1[i] = intel_de_read(dev_priv, in intel_save_swf()
46 SWF1(dev_priv, i)); in intel_save_swf()
48 for (i = 0; i < 3; i++) in intel_save_swf()
49 dev_priv->regfile.saveSWF3[i] = intel_de_read(dev_priv, in intel_save_swf()
50 SWF3(dev_priv, i)); in intel_save_swf()
52 for (i = 0; i < 7; i++) in intel_save_swf()
[all …]

12345678910>>...431