Home
last modified time | relevance | path

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

12345678910>>...322

/openbmc/linux/net/tipc/
H A 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 …]
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A 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 …]
/openbmc/linux/sound/soc/fsl/
H A 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 …]
/openbmc/linux/sound/pci/au88x0/
H A 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 …]
/openbmc/qemu/accel/tcg/
H A Dtcg-runtime-gvec.c30 intptr_t i; in clear_high() local
33 for (i = oprsz; i < maxsz; i += sizeof(uint64_t)) { in clear_high()
34 *(uint64_t *)(d + i) = 0; in clear_high()
42 intptr_t i; in HELPER() local
44 for (i = 0; i < oprsz; i += sizeof(uint8_t)) { in HELPER()
45 *(uint8_t *)(d + i) = *(uint8_t *)(a + i) + *(uint8_t *)(b + i); in HELPER()
53 intptr_t i; in HELPER() local
55 for (i = 0; i < oprsz; i += sizeof(uint16_t)) { in HELPER()
56 *(uint16_t *)(d + i) = *(uint16_t *)(a + i) + *(uint16_t *)(b + i); in HELPER()
64 intptr_t i; in HELPER() local
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Disp2401_input_system_private.h139 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 …]
/openbmc/linux/arch/x86/include/asm/
H A 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)
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()
72 PF1(i) \ in xor_sse_2()
[all …]
/openbmc/u-boot/board/renesas/stout/
H A Dstout_spl.c108 unsigned int i; in spl_init_pfc() local
110 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock); i++) { in spl_init_pfc()
111 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
112 writel(pfc_with_unlock[i].val, in spl_init_pfc()
113 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
116 for (i = 0; i < ARRAY_SIZE(pfc_without_unlock); i++) in spl_init_pfc()
117 writel(pfc_without_unlock[i].val, in spl_init_pfc()
118 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
141 unsigned int i; in spl_init_gpio() local
143 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
[all …]
/openbmc/u-boot/board/renesas/porter/
H A Dporter_spl.c113 unsigned int i; in spl_init_pfc() local
115 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock); i++) { in spl_init_pfc()
116 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
117 writel(pfc_with_unlock[i].val, in spl_init_pfc()
118 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
121 for (i = 0; i < ARRAY_SIZE(pfc_without_unlock); i++) in spl_init_pfc()
122 writel(pfc_without_unlock[i].val, in spl_init_pfc()
123 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
150 unsigned int i; in spl_init_gpio() local
152 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A 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 …]
/openbmc/qemu/target/mips/tcg/
H A Dlmmi_helper.c59 unsigned int i; in helper_paddsb() local
63 for (i = 0; i < 8; ++i) { in helper_paddsb()
64 int r = vs.sb[i] + vt.sb[i]; in helper_paddsb()
65 vs.sb[i] = SATSB(r); in helper_paddsb()
73 unsigned int i; in helper_paddusb() local
77 for (i = 0; i < 8; ++i) { in helper_paddusb()
78 int r = vs.ub[i] + vt.ub[i]; in helper_paddusb()
79 vs.ub[i] = SATUB(r); in helper_paddusb()
87 unsigned int i; in helper_paddsh() local
91 for (i = 0; i < 4; ++i) { in helper_paddsh()
[all …]
/openbmc/u-boot/board/renesas/silk/
H A Dsilk_spl.c111 unsigned int i; in spl_init_pfc() local
113 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock); i++) { in spl_init_pfc()
114 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
115 writel(pfc_with_unlock[i].val, in spl_init_pfc()
116 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
119 for (i = 0; i < ARRAY_SIZE(pfc_without_unlock); i++) in spl_init_pfc()
120 writel(pfc_without_unlock[i].val, in spl_init_pfc()
121 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
123 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock2); i++) { in spl_init_pfc()
124 writel(~pfc_with_unlock2[i].val, pfc_base); in spl_init_pfc()
[all …]
/openbmc/linux/lib/reed_solomon/
H A 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 …]
/openbmc/qemu/hw/arm/
H A Dfsl-imx6ul.c36 int i; in fsl_imx6ul_init() local
70 for (i = 0; i < FSL_IMX6UL_NUM_GPIOS; i++) { in fsl_imx6ul_init()
71 snprintf(name, NAME_SIZE, "gpio%d", i); in fsl_imx6ul_init()
72 object_initialize_child(obj, name, &s->gpio[i], TYPE_IMX_GPIO); in fsl_imx6ul_init()
78 for (i = 0; i < FSL_IMX6UL_NUM_GPTS; i++) { in fsl_imx6ul_init()
79 snprintf(name, NAME_SIZE, "gpt%d", i); in fsl_imx6ul_init()
80 object_initialize_child(obj, name, &s->gpt[i], TYPE_IMX6UL_GPT); in fsl_imx6ul_init()
86 for (i = 0; i < FSL_IMX6UL_NUM_EPITS; i++) { in fsl_imx6ul_init()
87 snprintf(name, NAME_SIZE, "epit%d", i + 1); in fsl_imx6ul_init()
88 object_initialize_child(obj, name, &s->epit[i], TYPE_IMX_EPIT); in fsl_imx6ul_init()
[all …]
H A Dfsl-imx7.c38 int i; in fsl_imx7_init() local
43 for (i = 0; i < MIN(ms->smp.cpus, FSL_IMX7_NUM_CPUS); i++) { in fsl_imx7_init()
44 snprintf(name, NAME_SIZE, "cpu%d", i); in fsl_imx7_init()
45 object_initialize_child(obj, name, &s->cpu[i], in fsl_imx7_init()
58 for (i = 0; i < FSL_IMX7_NUM_GPIOS; i++) { in fsl_imx7_init()
59 snprintf(name, NAME_SIZE, "gpio%d", i); in fsl_imx7_init()
60 object_initialize_child(obj, name, &s->gpio[i], TYPE_IMX_GPIO); in fsl_imx7_init()
66 for (i = 0; i < FSL_IMX7_NUM_GPTS; i++) { in fsl_imx7_init()
67 snprintf(name, NAME_SIZE, "gpt%d", i); in fsl_imx7_init()
68 object_initialize_child(obj, name, &s->gpt[i], TYPE_IMX7_GPT); in fsl_imx7_init()
[all …]
/openbmc/u-boot/board/renesas/alt/
H A Dalt_spl.c111 unsigned int i; in spl_init_pfc() local
113 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock); i++) { in spl_init_pfc()
114 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
115 writel(pfc_with_unlock[i].val, in spl_init_pfc()
116 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
119 for (i = 0; i < ARRAY_SIZE(pfc_without_unlock); i++) in spl_init_pfc()
120 writel(pfc_without_unlock[i].val, in spl_init_pfc()
121 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
123 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock2); i++) { in spl_init_pfc()
124 writel(~pfc_with_unlock2[i].val, pfc_base); in spl_init_pfc()
[all …]
/openbmc/linux/drivers/clk/mmp/
H A 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 …]
/openbmc/u-boot/board/renesas/gose/
H A Dgose_spl.c109 unsigned int i; in spl_init_pfc() local
111 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock); i++) { in spl_init_pfc()
112 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
113 writel(pfc_with_unlock[i].val, in spl_init_pfc()
114 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
117 for (i = 0; i < ARRAY_SIZE(pfc_without_unlock); i++) in spl_init_pfc()
118 writel(pfc_without_unlock[i].val, in spl_init_pfc()
119 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
146 unsigned int i; in spl_init_gpio() local
148 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
[all …]
/openbmc/linux/drivers/clk/hisilicon/
H A 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 …]
/openbmc/u-boot/board/renesas/koelsch/
H A Dkoelsch_spl.c113 unsigned int i; in spl_init_pfc() local
115 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock); i++) { in spl_init_pfc()
116 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
117 writel(pfc_with_unlock[i].val, in spl_init_pfc()
118 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
121 for (i = 0; i < ARRAY_SIZE(pfc_without_unlock); i++) in spl_init_pfc()
122 writel(pfc_without_unlock[i].val, in spl_init_pfc()
123 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
151 unsigned int i; in spl_init_gpio() local
153 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
[all …]
/openbmc/u-boot/board/renesas/lager/
H A Dlager_spl.c105 unsigned int i; in spl_init_pfc() local
107 for (i = 0; i < ARRAY_SIZE(pfc_with_unlock); i++) { in spl_init_pfc()
108 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
109 writel(pfc_with_unlock[i].val, in spl_init_pfc()
110 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
113 for (i = 0; i < ARRAY_SIZE(pfc_without_unlock); i++) in spl_init_pfc()
114 writel(pfc_without_unlock[i].val, in spl_init_pfc()
115 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
138 unsigned int i; in spl_init_gpio() local
140 for (i = 0; i < ARRAY_SIZE(gpio_offs); i++) in spl_init_gpio()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A 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, SWF0(i)); in intel_save_swf()
44 dev_priv->regfile.saveSWF1[i] = intel_de_read(dev_priv, SWF1(i)); in intel_save_swf()
46 for (i = 0; i < 3; i++) in intel_save_swf()
47 dev_priv->regfile.saveSWF3[i] = intel_de_read(dev_priv, SWF3(i)); in intel_save_swf()
49 for (i = 0; i < 7; i++) in intel_save_swf()
50 dev_priv->regfile.saveSWF1[i] = intel_de_read(dev_priv, SWF1(i)); in intel_save_swf()
52 for (i = 0; i < 16; i++) { in intel_save_swf()
53 dev_priv->regfile.saveSWF0[i] = intel_de_read(dev_priv, SWF0(i)); in intel_save_swf()
[all …]
/openbmc/linux/drivers/isdn/mISDN/
H A 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 …]
/openbmc/linux/arch/arm/mach-pxa/
H A Dmfp-pxa2xx.c137 int i, gpio; in pxa2xx_mfp_config() local
139 for (i = 0, c = mfp_cfgs; i < num; i++, c++) { in pxa2xx_mfp_config()
227 int i; in pxa25x_mfp_init() local
231 for (i = 0; i <= pxa_last_gpio; i++) in pxa25x_mfp_init()
232 gpio_desc[i].valid = 1; in pxa25x_mfp_init()
234 for (i = 0; i <= 15; i++) { in pxa25x_mfp_init()
235 gpio_desc[i].can_wakeup = 1; in pxa25x_mfp_init()
236 gpio_desc[i].mask = GPIO_bit(i); in pxa25x_mfp_init()
242 for (i = 86; i <= pxa_last_gpio; i++) in pxa25x_mfp_init()
243 gpio_desc[i].dir_inverted = 1; in pxa25x_mfp_init()
[all …]
/openbmc/linux/fs/hpfs/
H A 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 i->i_mtime.tv_sec = i->i_mtime.tv_nsec = 0; in hpfs_init_inode()
[all …]

12345678910>>...322