/openbmc/linux/arch/powerpc/kernel/ |
H A D | signal.h | 31 int i; \ 33 for (i = 0; i < _NSIG_WORDS; i++) \ 34 unsafe_get_user(__dst->sig[i], &__src->sig[i], label); \ 56 for (i = 0; i < ELF_NFPREG - 1 ; i++) \ 66 for (i = 0; i < ELF_NVSRHALFREG ; i++) \ 76 for (i = 0; i < ELF_NFPREG - 1; i++) \ 86 for (i = 0; i < ELF_NVSRHALFREG ; i++) \ 97 for (i = 0; i < ELF_NFPREG - 1 ; i++) \ 107 for (i = 0; i < ELF_NVSRHALFREG ; i++) \ 117 for (i = 0; i < ELF_NFPREG - 1 ; i++) \ [all …]
|
H A D | signal.c | 36 for (i = 0; i < (ELF_NFPREG - 1) ; i++) in copy_fpr_to_user() 37 buf[i] = task->thread.TS_FPR(i); in copy_fpr_to_user() 50 for (i = 0; i < (ELF_NFPREG - 1) ; i++) in copy_fpr_from_user() 51 task->thread.TS_FPR(i) = buf[i]; in copy_fpr_from_user() 64 for (i = 0; i < ELF_NVSRHALFREG; i++) in copy_vsx_to_user() 77 for (i = 0; i < ELF_NVSRHALFREG ; i++) in copy_vsx_from_user() 90 for (i = 0; i < (ELF_NFPREG - 1) ; i++) in copy_ckfpr_to_user() 104 for (i = 0; i < (ELF_NFPREG - 1) ; i++) in copy_ckfpr_from_user() 118 for (i = 0; i < ELF_NVSRHALFREG; i++) in copy_ckvsx_to_user() 131 for (i = 0; i < ELF_NVSRHALFREG ; i++) in copy_ckvsx_from_user() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | vega20_reg_init.c | 32 uint32_t i; in vega20_reg_base_init() local 33 for (i = 0 ; i < MAX_INSTANCE ; ++i) { in vega20_reg_base_init() 34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in vega20_reg_base_init() 35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in vega20_reg_base_init() 39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in vega20_reg_base_init() 40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in vega20_reg_base_init() 41 adev->reg_offset[UVD_HWIP][i] = (uint32_t *)(&(UVD_BASE.instance[i])); in vega20_reg_base_init() 42 adev->reg_offset[VCE_HWIP][i] = (uint32_t *)(&(VCE_BASE.instance[i])); in vega20_reg_base_init() 43 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in vega20_reg_base_init() 44 adev->reg_offset[DCE_HWIP][i] = (uint32_t *)(&(DCE_BASE.instance[i])); in vega20_reg_base_init() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-crypto-hash.c | 90 size_t i; in test_hash_alloc() local 92 for (i = 0; i < G_N_ELEMENTS(expected_outputs) ; i++) { in test_hash_alloc() 102 ret = qcrypto_hash_bytes(i, in test_hash_alloc() 122 size_t i; in test_hash_prealloc() local 124 for (i = 0; i < G_N_ELEMENTS(expected_outputs) ; i++) { in test_hash_prealloc() 158 size_t i; in test_hash_iov() local 160 for (i = 0; i < G_N_ELEMENTS(expected_outputs) ; i++) { in test_hash_iov() 194 size_t i; in test_hash_digest() local 196 for (i = 0; i < G_N_ELEMENTS(expected_outputs) ; i++) { in test_hash_digest() 223 size_t i; in test_hash_base64() local [all …]
|
H A D | test-bitops.c | 39 int i; in test_sextract32() local 41 for (i = 0; i < ARRAY_SIZE(test_s32_data); i++) { in test_sextract32() 51 int i; in test_sextract64() local 53 for (i = 0; i < ARRAY_SIZE(test_s32_data); i++) { in test_sextract64() 60 for (i = 0; i < ARRAY_SIZE(test_s64_data); i++) { in test_sextract64() 90 int i; in test_half_shuffle32() local 92 for (i = 0; i < ARRAY_SIZE(test_shuffle32_data); i++) { in test_half_shuffle32() 102 int i; in test_half_shuffle64() local 104 for (i = 0; i < ARRAY_SIZE(test_shuffle64_data); i++) { in test_half_shuffle64() 116 for (i = 0; i < ARRAY_SIZE(test_shuffle32_data); i++) { in test_half_unshuffle32() [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | mpih-div.c | 79 for (i = dividend_size - 2; i >= 0; i--) { in mpihelp_mod_1() 114 for ( ; i >= 0; i--) { in mpihelp_mod_1() 138 for (i = dividend_size - 2; i >= 0; i--) { in mpihelp_mod_1() 163 for (; i >= 0; i--) { in mpihelp_mod_1() 219 for (i = nsize - 2; i >= 0; i--) in mpihelp_divrem() 223 for (i = qextra_limbs - 1; i >= 0; i--) in mpihelp_divrem() 247 for (i = qextra_limbs + nsize - 2 - 1; i >= 0; i--) { in mpihelp_divrem() 428 for (i = dividend_size - 2; i >= 0; i--) { in mpihelp_divmod_1() 462 for ( ; i >= 0; i--) { in mpihelp_divmod_1() 486 for (i = dividend_size - 2; i >= 0; i--) { in mpihelp_divmod_1() [all …]
|
/openbmc/linux/drivers/video/logo/ |
H A D | pnmtologo.c | 162 for (i = 0; i < logo_height; i++) { in read_image() 173 for (i = 0; i < logo_height; i++) in read_image() 182 for (i = 0; i < logo_height; i++) in read_image() 191 for (i = 0; i < logo_height; i++) in read_image() 283 for (i = 0; i < logo_height; i++) in write_logo_mono() 311 for (i = 0; i < logo_height; i++) in write_logo_vga16() 326 for (i = 0; i < logo_height; i++) in write_logo_vga16() 350 for (i = 0; i < logo_height; i++) in write_logo_clut224() 368 for (i = 0; i < logo_height; i++) in write_logo_clut224() 396 for (i = 0; i < logo_height; i++) in write_logo_gray256() [all …]
|
/openbmc/u-boot/drivers/net/ldpaa_eth/ |
H A D | ldpaa_wriop.c | 60 int i; in wriop_dpmac_to_index() local 62 for (i = WRIOP1_DPMAC1; i < NUM_WRIOP_PORTS; i++) { in wriop_dpmac_to_index() 64 return i; in wriop_dpmac_to_index() 74 if (i == -1) in wriop_disable_dpmac() 87 if (i == -1) in wriop_enable_dpmac() 100 if (i == -1) in wriop_is_enabled_dpmac() 111 if (i == -1) in wriop_set_mdio() 123 if (i == -1) in wriop_get_mdio() 133 if (i == -1) in wriop_set_phy_address() 147 if (i == -1) in wriop_get_phy_address() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | calib.c | 30 for (i = 0; i < ATH9K_NF_CAL_HIST_MAX; i++) in ath9k_hw_get_nf_hist_mid() 31 sort[i] = nfCalBuffer[i]; in ath9k_hw_get_nf_hist_mid() 33 for (i = 0; i < ATH9K_NF_CAL_HIST_MAX - 1; i++) { in ath9k_hw_get_nf_hist_mid() 101 for (i = 0; i < NUM_NF_READINGS; i++) { in ath9k_hw_update_nfcal_hist_buffer() 106 h[i].nfCalBuffer[h[i].currIndex] = nfarray[i]; in ath9k_hw_update_nfcal_hist_buffer() 182 for (i = 0; i < AR5416_MAX_CHAINS; i++) { in ath9k_hw_reset_calibration() 260 for (i = 0; i < NUM_NF_READINGS; i++) { in ath9k_hw_loadnf() 355 for (i = 0; i < NUM_NF_READINGS; i++) { in ath9k_hw_loadnf() 382 for (i = 0; i < NUM_NF_READINGS; i++) { in ath9k_hw_nf_sanitize() 388 (i >= 3 ? "ext" : "ctl"), i % 3, nf[i]); in ath9k_hw_nf_sanitize() [all …]
|
H A D | ar9003_paprd.c | 448 for (i = 0; i < NUM_BIN; i++) { in create_pa_curve() 494 for (i = 1; i < 6; i++) in create_pa_curve() 498 for (i = 1; i < 6; i++) in create_pa_curve() 503 for (i = 0; i <= max_index; i++) in create_pa_curve() 529 for (i = 0; i <= 3; i++) { in create_pa_curve() 558 for (i = 0; i <= L; i++) { in create_pa_curve() 595 for (i = 0; i <= L; i++) { in create_pa_curve() 616 for (i = 0; i <= L; i++) { in create_pa_curve() 673 for (i = 0; i <= L; i++) { in create_pa_curve() 939 for (i = 0; i < 48; i++) in ar9003_paprd_create_curve() [all …]
|
/openbmc/linux/kernel/cgroup/ |
H A D | misc.c | 153 for (i = cg; i; i = parent_misc(i)) { in misc_cg_try_charge() 193 for (i = cg; i; i = parent_misc(i)) in misc_cg_uncharge() 208 int i; in misc_cg_max_show() local 212 for (i = 0; i < MISC_CG_RES_TYPES; i++) { in misc_cg_max_show() 259 for (i = 0; i < MISC_CG_RES_TYPES; i++) { in misc_cg_max_write() 297 int i; in misc_cg_current_show() local 301 for (i = 0; i < MISC_CG_RES_TYPES; i++) { in misc_cg_current_show() 322 int i; in misc_cg_capacity_show() local 325 for (i = 0; i < MISC_CG_RES_TYPES; i++) { in misc_cg_capacity_show() 340 for (i = 0; i < MISC_CG_RES_TYPES; i++) { in misc_events_show() [all …]
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdconcat.c | 72 for (i = 0; i < concat->num_subdev; i++) { in concat_read() 128 for (i = 0; i < concat->num_subdev; i++) { in concat_write() 171 for (i = 0; i < count; i++) in concat_writev() 187 for (i = 0; i < concat->num_subdev; i++) { in concat_writev() 244 for (i = 0; i < concat->num_subdev; i++) { in concat_read_oob() 304 for (i = 0; i < concat->num_subdev; i++) { in concat_write_oob() 701 for (i = 0; i < num_devs; i++) in mtd_concat_create() 726 for (i = 0; i < num_devs; i++) in mtd_concat_create() 755 for (i = 1; i < num_devs; i++) { in mtd_concat_create() 832 for (i = 0; i < num_devs; i++) { in mtd_concat_create() [all …]
|
/openbmc/linux/lib/ |
H A D | btree.c | 107 for (i = 0; i < n; i++) { in longcmp() 121 for (i = 0; i < n; i++) in longcpy() 130 for (i = 0; i < n; i++) in longset() 234 for (i = 0; i < geo->keylen; i++) in keyzero() 251 for (i = 0; i < geo->no_pairs; i++) in btree_lookup_node() 273 for (i = 0; i < geo->no_pairs; i++) in btree_lookup() 290 for (i = 0; i < geo->no_pairs; i++) in btree_update() 325 for (i = 0; i < geo->no_pairs; i++) in btree_get_prev() 479 for (i = 0; i < fill / 2; i++) { in btree_insert_level() 496 for (i = fill; i > pos; i--) { in btree_insert_level() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_debugfs.c | 19 for (i = 0; i < ARRAY_SIZE(range); i++) in mt792x_ampdu_stat_read_phy() 20 range[i] = mt76_rr(dev, MT_MIB_ARNG(0, i)); in mt792x_ampdu_stat_read_phy() 22 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt792x_ampdu_stat_read_phy() 23 bound[i] = MT_MIB_ARNCR_RANGE(range[i / 4], i % 4) + 1; in mt792x_ampdu_stat_read_phy() 28 for (i = 0; i < ARRAY_SIZE(bound) - 1; i++) in mt792x_ampdu_stat_read_phy() 32 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt792x_ampdu_stat_read_phy() 44 int i; in mt792x_tx_stats_show() local 51 for (i = 0; i < ARRAY_SIZE(mib->tx_amsdu); i++) { in mt792x_tx_stats_show() 53 i + 1, mib->tx_amsdu[i]); in mt792x_tx_stats_show() 74 for (i = 0; i < 4; i++) { in mt792x_queues_acq() [all …]
|
/openbmc/linux/drivers/video/fbdev/geode/ |
H A D | suspend_gx.c | 37 for (i = 0; i < ARRAY_SIZE(par->pal); i++) in gx_save_regs() 52 for (i = 0; i < 200; i++) { in gx_set_dotpll() 68 for (i = 0; i < ARRAY_SIZE(par->gp); i++) { in gx_restore_gfx_proc() 77 write_gp(par, i, par->gp[i]); in gx_restore_gfx_proc() 86 for (i = 0; i < ARRAY_SIZE(par->dc); i++) { in gx_restore_display_ctlr() 122 write_dc(par, i, par->dc[i]); in gx_restore_display_ctlr() 128 for (i = 0; i < ARRAY_SIZE(par->pal); i++) in gx_restore_display_ctlr() 138 for (i = 0; i < ARRAY_SIZE(par->vp); i++) { in gx_restore_video_proc() 147 write_vp(par, i, par->vp[i] & in gx_restore_video_proc() 164 write_vp(par, i, par->vp[i]); in gx_restore_video_proc() [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | stm32l4x5_soc.c | 141 for (unsigned i = 0; i < NUM_EXTI_OR_GATES; i++) { in stm32l4x5_soc_initfn() local 148 for (unsigned i = 0; i < NUM_GPIOS; i++) { in stm32l4x5_soc_initfn() local 153 for (int i = 0; i < STM_NUM_USARTS; i++) { in stm32l4x5_soc_initfn() local 158 for (int i = 0; i < STM_NUM_UARTS; i++) { in stm32l4x5_soc_initfn() local 216 for (unsigned i = 0; i < NUM_GPIOS; i++) { in stm32l4x5_soc_realize() local 244 for (unsigned i = 0; i < NUM_GPIOS; i++) { in stm32l4x5_soc_realize() local 263 for (unsigned i = 0; i < NUM_EXTI_OR_GATES; i++) { in stm32l4x5_soc_realize() local 293 for (unsigned i = 0; i < NUM_EXTI_IRQ; i++) { in stm32l4x5_soc_realize() local 301 for (unsigned i = 0; i < GPIO_NUM_PINS; i++) { in stm32l4x5_soc_realize() local 315 for (int i = 0; i < STM_NUM_USARTS; i++) { in stm32l4x5_soc_realize() local [all …]
|
H A D | stm32f405_soc.c | 58 int i; in stm32f405_soc_initfn() local 64 for (i = 0; i < STM_NUM_USARTS; i++) { in stm32f405_soc_initfn() 69 for (i = 0; i < STM_NUM_TIMERS; i++) { in stm32f405_soc_initfn() 74 for (i = 0; i < STM_NUM_ADCS; i++) { in stm32f405_soc_initfn() 78 for (i = 0; i < STM_NUM_SPIS; i++) { in stm32f405_soc_initfn() 173 for (i = 0; i < STM_NUM_USARTS; i++) { in stm32f405_soc_realize() 185 for (i = 0; i < STM_NUM_TIMERS; i++) { in stm32f405_soc_realize() 210 for (i = 0; i < STM_NUM_ADCS; i++) { in stm32f405_soc_realize() 222 for (i = 0; i < STM_NUM_SPIS; i++) { in stm32f405_soc_realize() 239 for (i = 0; i < 16; i++) { in stm32f405_soc_realize() [all …]
|
/openbmc/linux/arch/arm/tools/ |
H A D | gen-mach-types | 38 for (i = 0; i < nr; i++) 39 if (num[i] ~ /..*/) 40 printf("#define %-30s %d\n", mach_type[i], num[i]); 44 for (i = 0; i < nr; i++) 45 if (num[i] ~ /..*/) { 46 printf("#ifdef %s\n", config[i]); 53 printf("# define %s()\t(machine_arch_type == %s)\n", machine_is[i], mach_type[i]); 60 for (i = 0; i < nr; i++) 61 if (num[i] !~ /..*/) 64 for (i = 0; i < nr; i++) [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | path.c | 45 for (i = 0; port && i < TB_PATH_MAX_HOPS; i++) { in tb_path_find_dst_port() 131 for (i = 0; p && i < TB_PATH_MAX_HOPS; i++) { in tb_path_discover() 175 for (i = 0; i < num_hops; i++) { in tb_path_discover() 281 for (i = 0; i < num_hops; i++) { in tb_path_alloc() 363 for (i = 0; i < path->path_length; i++) { in tb_path_free() 382 for (i = first_hop; i < path->path_length; i++) { in __tb_path_deallocate_nfc() 520 for (i = path->path_length - 1; i >= 0; i--) { in tb_path_activate() 530 for (i = path->path_length - 1; i >= 0; i--) { in tb_path_activate() 540 for (i = path->path_length - 1; i >= 0; i--) { in tb_path_activate() 599 for (i = 0; i < path->path_length; i++) { in tb_path_is_invalid() [all …]
|
/openbmc/qemu/block/ |
H A D | qcow2-cache.c | 103 while (i < c->size && !can_clean_entry(c, i)) { in qcow2_cache_clean_unused() 108 while (i < c->size && can_clean_entry(c, i)) { in qcow2_cache_clean_unused() 153 int i; in qcow2_cache_destroy() local 155 for (i = 0; i < c->size; i++) { in qcow2_cache_destroy() 188 if (!c->entries[i].dirty || !c->entries[i].offset) { in qcow2_cache_entry_flush() 245 int i; in qcow2_cache_write() local 249 for (i = 0; i < c->size; i++) { in qcow2_cache_write() 310 for (i = 0; i < c->size; i++) { in qcow2_cache_empty() 328 int i; in qcow2_cache_do_get() local 441 int i; in qcow2_cache_is_table_offset() local [all …]
|
/openbmc/u-boot/board/freescale/corenet_ds/ |
H A D | eth_p4080.c | 239 int i; in fdt_fixup_board_enet() local 267 for (i = 0; i < NUM_FM_PORTS; i++) { in fdt_fixup_board_enet() 292 int i; in board_eth_init() local 298 for (i = 0; i < NUM_FM_PORTS; i++) in board_eth_init() 340 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() 351 fm_info_set_mdio(i, in board_eth_init() 369 fm_info_set_mdio(i, in board_eth_init() 380 for (i = FM1_10GEC1; i < FM1_10GEC1 + CONFIG_SYS_NUM_FM1_10GEC; i++) { in board_eth_init() 407 for (i = FM2_DTSEC1; i < FM2_DTSEC1 + CONFIG_SYS_NUM_FM2_DTSEC; i++) { in board_eth_init() 436 fm_info_set_mdio(i, in board_eth_init() [all …]
|
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_ethtool.c | 55 int i; in mana_get_strings() local 60 for (i = 0; i < ARRAY_SIZE(mana_eth_stats); i++) { in mana_get_strings() 65 for (i = 0; i < num_queues; i++) { in mana_get_strings() 78 for (i = 0; i < num_queues; i++) { in mana_get_strings() 221 for (i = 0; i < MANA_INDIRECT_TABLE_SIZE; i++) in mana_get_rxfh() 222 indir[i] = apc->indir_table[i]; in mana_get_rxfh() 247 for (i = 0; i < MANA_INDIRECT_TABLE_SIZE; i++) in mana_set_rxfh() 252 for (i = 0; i < MANA_INDIRECT_TABLE_SIZE; i++) { in mana_set_rxfh() 253 save_table[i] = apc->indir_table[i]; in mana_set_rxfh() 254 apc->indir_table[i] = indir[i]; in mana_set_rxfh() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | thread_map.c | 49 for (i = 0; i < items; i++) in thread_map__new_by_pid() 55 for (i=0; i<items; i++) in thread_map__new_by_pid() 130 for (i = 0; i < items; i++) { in __thread_map__new_all_cpus() 135 for (i = 0; i < items; i++) in __thread_map__new_all_cpus() 152 for (i = 0; i < items; i++) in __thread_map__new_all_cpus() 220 for (i = 0; i < items; i++) { in thread_map__new_by_pid_str() 235 for (i = 0; i < items; i++) in thread_map__new_by_pid_str() 313 for (i = 0; i < threads->nr; ++i) in thread_map__fprintf() 368 for (i = 0; i < threads->nr; ++i) in thread_map__read_comms() 379 for (i = 0; i < event->nr; i++) { in thread_map__copy_event() [all …]
|
/openbmc/u-boot/lib/libavb/ |
H A D | avb_rsa.c | 69 for (i = 0; i < key->len; i++) { in iavb_parse_key_data() 90 for (i = 0; i < key->len; ++i) { in subM() 100 for (i = key->len; i;) { in geM() 102 if (a[i] < key->n[i]) { in geM() 105 if (a[i] > key->n[i]) { in geM() 122 for (i = 1; i < key->len; ++i) { in montMulAdd() 140 for (i = 0; i < key->len; ++i) { in montMul() 143 for (i = 0; i < key->len; ++i) { in montMul() 163 for (i = 0; i < (int)key->len; ++i) { in modpowF4() 172 for (i = 0; i < 16; i += 2) { in modpowF4() [all …]
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdconcat.c | 61 for (i = 0; i < concat->num_subdev; i++) { in concat_read() 112 for (i = 0; i < concat->num_subdev; i++) { in concat_panic_write() 154 for (i = 0; i < concat->num_subdev; i++) { in concat_write() 196 for (i = 0; i < count; i++) in concat_writev() 212 for (i = 0; i < concat->num_subdev; i++) { in concat_writev() 268 for (i = 0; i < concat->num_subdev; i++) { in concat_read_oob() 650 for (i = 0; i < num_devs; i++) in mtd_concat_create() 675 for (i = 0; i < num_devs; i++) in mtd_concat_create() 706 for (i = 1; i < num_devs; i++) { in mtd_concat_create() 777 for (i = 0; i < num_devs; i++) { in mtd_concat_create() [all …]
|