/openbmc/qemu/hw/ppc/ |
H A D | mac_oldworld.c | 95 int i, bios_size = -1; in ppc_heathrow_init() local 112 for (i = 0; i < machine->smp.cpus; i++) { in ppc_heathrow_init() 199 for (i = 0; machine->boot_config.order[i] != '\0'; i++) { in ppc_heathrow_init() 206 if (machine->boot_config.order[i] >= 'a' && in ppc_heathrow_init() 207 machine->boot_config.order[i] <= 'f') { in ppc_heathrow_init() 208 ppc_boot_device = machine->boot_config.order[i]; in ppc_heathrow_init() 212 if (machine->boot_config.order[i] >= 'c' && in ppc_heathrow_init() 213 machine->boot_config.order[i] <= 'd') { in ppc_heathrow_init() 259 for (i = 0; i < 4; i++) { in ppc_heathrow_init() 260 qdev_connect_gpio_out(grackle_dev, i, in ppc_heathrow_init() [all …]
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_worker.c | 117 i = peer_req->i; in drbd_endio_write_sec_final() 456 for (i = 0; i < fb->size; i++) in fifo_set() 477 for (i = 0; i < fb->size; i++) in fifo_add_val() 627 for (i = 0; i < number; i++) { in make_resync_request() 779 for (i = 0; i < number; i++) { in make_ov_request() 963 for (i = UI_BITMAP ; i <= UI_HISTORY_END ; i++) in drbd_resync_finished() 981 for (i = UI_CURRENT ; i <= UI_HISTORY_END ; i++) in drbd_resync_finished() 1037 int i = PFN_UP(peer_req->i.size); in move_to_net_ee_or_free() local 1096 for (i = 0; i < words; i++) { in all_zero() 1836 for (i = 0; i < DRBD_SYNC_MARKS; i++) { in drbd_start_resync() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | dma-jz4780.c | 369 unsigned int i; in jz4780_dma_prep_slave_sg() local 376 for (i = 0; i < sg_len; i++) { in jz4780_dma_prep_slave_sg() 425 for (i = 0; i < periods; i++) { in jz4780_dma_prep_dma_cyclic() 490 unsigned int i; in jz4780_dma_begin() local 518 for (i = 0; i < jzchan->desc->count; i++) in jz4780_dma_begin() 631 for (i = next_sg; i < desc->count; i++) in jz4780_dma_desc_residue() 739 int i; in jz4780_dma_irq_handler() local 859 int i, ret; in jz4780_dma_probe() local 957 for (i = 0; i < soc_data->nb_channels; i++) { in jz4780_dma_probe() 1014 int i; in jz4780_dma_remove() local [all …]
|
/openbmc/linux/drivers/accel/habanalabs/common/mmu/ |
H A D | mmu.c | 253 for (i = 0 ; i < npages ; i++) { in hl_mmu_unmap_page() 338 for (i = 0 ; i < npages ; i++) { in hl_mmu_map_page() 358 for (i = 0 ; i < mapped_cnt ; i++) { in hl_mmu_map_page() 825 int i, rc; in hl_mmu_hr_init() local 846 for (i = 0 ; i < pgt_size ; i += pool_chunk_size) { in hl_mmu_hr_init() 865 for (i = 0 ; i < prop->max_asid ; i++) { in hl_mmu_hr_init() 1065 int i, retry = 1; in hl_mmu_hr_alloc_hop() local 1071 for (i = 0; i <= retry; i++) { in hl_mmu_hr_alloc_hop() 1170 for (i = 0 ; i < used_hops ; i++) { in hl_mmu_hr_get_tlb_info() 1171 if (i == 0) in hl_mmu_hr_get_tlb_info() [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | pnd2_edac.c | 447 int i; in apl_get_registers() local 456 for (i = 0; i < APL_NUM_CHANNELS; i++) in apl_get_registers() 465 int i; in dnv_get_registers() local 470 for (i = 0; i < DNV_NUM_CHANNELS; i++) in dnv_get_registers() 472 RD_REGP(&drp[i], d_cr_drp, dnv_dports[i]) || in dnv_get_registers() 473 RD_REGP(&dmap[i], d_cr_dmap, dnv_dports[i]) || in dnv_get_registers() 914 for (i = 0; i < PMI_ADDRESS_WIDTH; i++) { in apl_pmi2mem() 1067 for (i = 0; i < APL_NUM_CHANNELS; i++) in apl_check_ecc_active() 1090 for (i = 0; i < DNV_NUM_CHANNELS; i++) in dnv_check_ecc_active() 1208 for (i = 0; i < APL_NUM_CHANNELS; i++) { in apl_get_dimm_config() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device.c | 573 for (i = 0; i < num_nodes; i++) { in kfd_cleanup_nodes() 755 for (i = 0, xcp_idx = 0; i < kfd->num_nodes; i++) { in kgd2kfd_device_init() 868 int i; in kgd2kfd_pre_reset() local 873 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_pre_reset() 881 for (i = 0; i < kfd->num_nodes; i++) in kgd2kfd_pre_reset() 897 int i; in kgd2kfd_post_reset() local 902 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_post_reset() 912 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_post_reset() 944 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_suspend() 957 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_resume() [all …]
|
/openbmc/linux/drivers/input/ |
H A D | matrix-keymap.c | 77 int i; in matrix_keypad_parse_keymap() local 108 for (i = 0; i < size; i++) { in matrix_keypad_parse_keymap() 110 row_shift, keys[i])) { in matrix_keypad_parse_keymap() 158 int i; in matrix_keypad_build_keymap() local 182 for (i = 0; i < keymap_data->keymap_size; i++) { in matrix_keypad_build_keymap() 183 unsigned int key = keymap_data->keymap[i]; in matrix_keypad_build_keymap()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | striped.rst | 5 Device-Mapper's "striped" target is used to create a striped (i.e. RAID-0) 40 my ($min_dev_size, $stripe_dev_size, $i); 47 for ($i = 1; $i < $num_devs; $i++) { 48 my $this_size = `blockdev --getsz $devs[$i]`; 57 for ($i = 0; $i < $num_devs; $i++) { 58 $table .= " $devs[$i] 0";
|
/openbmc/linux/arch/mips/alchemy/devboards/ |
H A D | bcsr.c | 31 int i; in bcsr_init() local 38 for (i = 0; i < BCSR_CNT; i++) { in bcsr_init() 39 if (i >= BCSR_HEXLEDS) in bcsr_init() 40 bcsr_regs[i].raddr = (void __iomem *)bcsr2_phys + in bcsr_init() 41 (0x04 * (i - BCSR_HEXLEDS)); in bcsr_init() 43 bcsr_regs[i].raddr = (void __iomem *)bcsr1_phys + in bcsr_init() 44 (0x04 * i); in bcsr_init() 46 spin_lock_init(&bcsr_regs[i].lock); in bcsr_init()
|
/openbmc/linux/drivers/staging/rtl8192u/ |
H A D | r8180_93cx6.c | 96 int i; in eprom_send_bits_string() local 98 for (i = 0; i < len; i++) { in eprom_send_bits_string() 99 eprom_w(dev, b[i]); in eprom_send_bits_string() 109 int i; in eprom_read() local 151 for (i = 0; i < 16; i++) { in eprom_read() 160 ret |= err << (15 - i); in eprom_read()
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | fsl_lsch3_speed.c | 65 uint i, cluster; in get_sys_info() local 103 for (i = 0; i < CONFIG_SYS_FSL_NUM_CC_PLLS; i++) { in get_sys_info() 108 offset = (void *)((size_t)clk_grp[i/3] + in get_sys_info() 110 pllngsr[i%3].gsr)); in get_sys_info() 111 ratio[i] = (in_le32(offset) >> 1) & 0x3f; in get_sys_info() 112 freq_c_pll[i] = sysclk * ratio[i]; in get_sys_info() 115 for_each_cpu(i, cpu, cpu_numcores(), cpu_mask()) { in get_sys_info()
|
/openbmc/qemu/util/ |
H A D | timed-average.c | 129 int i; in check_expirations() local 134 for (i = 0; i < 2; i++) { in check_expirations() 135 TimedAverageWindow *w = &ta->windows[i]; in check_expirations() 163 int i; in timed_average_account() local 167 for (i = 0; i < 2; i++) { in timed_average_account() 168 TimedAverageWindow *w = &ta->windows[i]; in timed_average_account()
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_memory.c | 31 size_t i; in setup() local 35 for (i = 0; i < systable->nr_tables; ++i) { in setup() 36 if (!efi_st_memcmp(&systable->tables[i].guid, &fdt_guid, in setup() 42 fdt_addr = (uintptr_t)systable->tables[i].table; in setup() 62 efi_uintn_t i; in find_in_memory_map() local 65 for (i = 0; map_size; ++i, map_size -= desc_size) { in find_in_memory_map() 66 struct efi_mem_desc *entry = &memory_map[i]; in find_in_memory_map()
|
/openbmc/qemu/hw/i2c/ |
H A D | smbus_master.c | 113 int i; in smbus_read_block() local 135 for (i = 0; i < rlen; i++) { in smbus_read_block() 136 data[i] = i2c_recv(bus); in smbus_read_block() 146 int i; in smbus_write_block() local 159 for (i = 0; i < len; i++) { in smbus_write_block() 160 i2c_send(bus, data[i]); in smbus_write_block()
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/mdio-util/files/ |
H A D | mdio-util | 39 for i in $(seq 1 1 $RETRY_CNT) 45 elif [ "$i" -eq "${RETRY_CNT}" ]; then 53 for i in $(seq 1 1 $RETRY_CNT) 61 elif [ "$i" -eq "$RETRY_CNT" ]; then 83 for i in $(seq 1 1 $RETRY_CNT) 89 elif [ "$i" -eq "$RETRY_CNT" ]; then 131 for i in $(seq 1 1 $RETRY_CNT) 137 elif [ "$i" -eq "$RETRY_CNT" ]; then 156 for i in $(seq 1 1 $RETRY_CNT) 164 elif [ "$i" -eq "$RETRY_CNT" ]; then
|
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_mixer.c | 21 int i; in get_right_pair_idx() local 28 for (i = 0; i < mdp5_kms->num_hwmixers; i++) { in get_right_pair_idx() 29 struct mdp5_hw_mixer *mixer = mdp5_kms->hwmixers[i]; in get_right_pair_idx() 46 int i; in mdp5_mixer_assign() local 53 for (i = 0; i < mdp5_kms->num_hwmixers; i++) { in mdp5_mixer_assign() 54 struct mdp5_hw_mixer *cur = mdp5_kms->hwmixers[i]; in mdp5_mixer_assign()
|
/openbmc/qemu/ui/ |
H A D | vnc-palette.c | 117 int i; in palette_iter() local 120 for (i = 0; i < VNC_PALETTE_HASH_SIZE; i++) { in palette_iter() 121 QLIST_FOREACH(entry, &palette->table[i], next) { in palette_iter() 129 int i; in palette_color() local 132 for (i = 0; i < VNC_PALETTE_HASH_SIZE; i++) { in palette_color() 133 QLIST_FOREACH(entry, &palette->table[i], next) { in palette_color()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | conntrack.h | 17 int i, size = sizeof(*(_match1).key); \ 24 for (i = 0; i < size; i++) \ 25 if ((k1[i] & m1[i] & m2[i]) ^ \ 26 (k2[i] & m1[i] & m2[i])) { \
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_quirks.c | 209 int i; in intel_init_quirks() local 211 for (i = 0; i < ARRAY_SIZE(intel_quirks); i++) { in intel_init_quirks() 212 struct intel_quirk *q = &intel_quirks[i]; in intel_init_quirks() 221 for (i = 0; i < ARRAY_SIZE(intel_dmi_quirks); i++) { in intel_init_quirks() 222 if (dmi_check_system(*intel_dmi_quirks[i].dmi_id_list) != 0) in intel_init_quirks() 223 intel_dmi_quirks[i].hook(i915); in intel_init_quirks()
|
/openbmc/linux/tools/perf/tests/ |
H A D | backward-ring-buffer.c | 22 int i; in testcase() local 24 for (i = 0; i < NR_ITERS; i++) { in testcase() 27 snprintf(proc_name, sizeof(proc_name), "p:%d\n", i); in testcase() 35 int i; in count_samples() local 37 for (i = 0; i < evlist->core.nr_mmaps; i++) { in count_samples() 38 struct mmap *map = &evlist->overwrite_mmap[i]; in count_samples()
|
/openbmc/linux/tools/testing/radix-tree/ |
H A D | regression1.c | 172 int i; in regression1_test() local 182 for (i = 0; i < nr_threads; i++) { in regression1_test() 183 arg = i; in regression1_test() 184 if (pthread_create(&threads[i], NULL, regression1_fn, (void *)arg)) { in regression1_test() 190 for (i = 0; i < nr_threads; i++) { in regression1_test() 191 if (pthread_join(threads[i], NULL)) { in regression1_test()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | local.h | 18 #define LOCAL_INIT(i) { (i) } argument 25 static __inline__ void local_set(local_t *l, long i) in local_set() argument 27 WRITE_ONCE(l->v, i); in local_set() 31 static __inline__ void local_##op(long i, local_t *l) \ 36 l->v c_op i; \ 150 #define __local_add(i,l) ((l)->v+=(i)) argument 151 #define __local_sub(i,l) ((l)->v-=(i)) argument
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 403 for (i = 0; i < ar->vif_max; i++) { in ath6kl_is_valid_iftype() 931 for (i = 0; i < n_ssids; i++) { in ath6kl_set_probed_ssids() 948 for (i = 0; i < n_match_ssid; i++) { in ath6kl_set_probed_ssids() 978 for (i = 0; i < index_to_add; i++) { in ath6kl_set_probed_ssids() 1050 for (i = 0; i < n_channels; i++) in ath6kl_cfg80211_scan() 1721 for (i = 0; i < ARRAY_SIZE(legacy); i++) in is_rate_legacy() 1735 for (i = 0; i < ARRAY_SIZE(ht20); i++) { in is_rate_ht20() 1758 for (i = 0; i < ARRAY_SIZE(ht40); i++) { in is_rate_ht40() 1913 for (i = 0; i < wow->n_patterns; i++) { in ath6kl_wow_usr() 3567 for (i = 0; i < NUM_NL80211_BANDS; i++) in ath6kl_cfg80211_reg_notify() [all …]
|
/openbmc/linux/arch/m68k/sun3/prom/ |
H A D | misc.c | 59 int i, oldsfc; in prom_get_idprom() local 62 for(i=0;i<num_bytes; i++) in prom_get_idprom() 69 GET_CONTROL_BYTE(SUN3_IDPROM_BASE + i, c); in prom_get_idprom() 70 idbuf[i] = c; in prom_get_idprom()
|
/openbmc/qemu/target/tricore/ |
H A D | op_helper.c | 1108 for (i = 0; i < 4; i++) { in helper_abs_b() 1131 for (i = 0; i < 2; i++) { in helper_abs_h() 1155 for (i = 0; i < 4; i++) { in helper_absdif_b() 1179 for (i = 0; i < 2; i++) { in helper_absdif_h() 1308 for (i = 0; i < 4; i++) { in helper_add_b() 1334 for (i = 0; i < 2; i++) { in helper_add_h() 1463 for (i = 0; i < 4; i++) { in helper_sub_b() 1489 for (i = 0; i < 2; i++) { in helper_sub_h() 1513 for (i = 0; i < 4; i++) { in helper_eq_b() 1543 for (i = 0; i < 4; i++) { in helper_eqany_b() [all …]
|