/openbmc/linux/drivers/acpi/ |
H A D | acpi_lpat.c | 29 for (i = 0; i < lpat_table->lpat_count - 1; i++) { in acpi_lpat_raw_to_temp() 30 if ((raw >= lpat[i].raw && raw <= lpat[i+1].raw) || in acpi_lpat_raw_to_temp() 31 (raw <= lpat[i].raw && raw >= lpat[i+1].raw)) in acpi_lpat_raw_to_temp() 38 delta_temp = lpat[i+1].temp - lpat[i].temp; in acpi_lpat_raw_to_temp() 39 delta_raw = lpat[i+1].raw - lpat[i].raw; in acpi_lpat_raw_to_temp() 63 for (i = 0; i < lpat_table->lpat_count - 1; i++) { in acpi_lpat_temp_to_raw() 64 if (temp >= lpat[i].temp && temp <= lpat[i+1].temp) in acpi_lpat_temp_to_raw() 71 delta_temp = lpat[i+1].temp - lpat[i].temp; in acpi_lpat_temp_to_raw() 72 delta_raw = lpat[i+1].raw - lpat[i].raw; in acpi_lpat_temp_to_raw() 95 int *lpat, i; in acpi_lpat_get_conversion_table() local [all …]
|
/openbmc/u-boot/cmd/ |
H A D | md5sum.c | 21 unsigned int i; in store_result() local 27 for (i = 0; i < 16; i++) in store_result() 28 *ptr++ = sum[i]; in store_result() 33 for (i = 0; i < 16; i++) { in store_result() 50 unsigned int i; in parse_verify_sum() local 61 for (i = 0; i < 16; i++) { in parse_verify_sum() 77 unsigned int i; in do_md5sum() local 107 for (i = 0; i < 16; i++) in do_md5sum() 124 for (i = 0; i < 16; i++) in do_md5sum() 127 for (i = 0; i < 16; i++) in do_md5sum() [all …]
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_si_hardcode.c | 76 i, si_type_str); in ipmi_hardcode_init_one() 95 unsigned int i; in ipmi_hardcode_init() local 104 for (i = 0; (i < SI_MAX_PARMS) && (*str != '\0'); i++) { in ipmi_hardcode_init() 116 for (i = 0; i < SI_MAX_PARMS; i++) { in ipmi_hardcode_init() 117 if (i < num_ports && ports[i]) in ipmi_hardcode_init() 118 ipmi_hardcode_init_one(si_type[i], i, ports[i], in ipmi_hardcode_init() 120 if (i < num_addrs && addrs[i]) in ipmi_hardcode_init() 121 ipmi_hardcode_init_one(si_type[i], i, addrs[i], in ipmi_hardcode_init() 138 unsigned int i; in ipmi_si_hardcode_match() local 141 for (i = 0; i < num_ports; i++) { in ipmi_si_hardcode_match() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-virtio-dmabuf.c | 28 int i, dmabuf_fd; in test_add_remove_resources() local 30 for (i = 0; i < 100; ++i) { in test_add_remove_resources() 47 int i; in test_add_remove_dev() local 49 for (i = 0; i < 100; ++i) { in test_add_remove_dev() 65 int i; in test_remove_invalid_resource() local 67 for (i = 0; i < 20; ++i) { in test_remove_invalid_resource() 81 for (i = 0; i < 20; ++i) { in test_add_invalid_resource() 93 for (i = 0; i < 20; ++i) { in test_add_invalid_resource() 109 int i, dmabuf_fd; in test_free_resources() local 111 for (i = 0; i < ARRAY_SIZE(uuids); ++i) { in test_free_resources() [all …]
|
/openbmc/u-boot/board/CZ.NIC/turris_mox/ |
H A D | turris_mox.c | 80 for (i = 0; i < MAX_MOX_MODULES; ++i) { in board_fix_fdt() 217 for (i = 1; i < MAX_MOX_MODULES && din[i] != 0xff; ++i) in mox_get_topology() 218 topology[i - 1] = din[i] & 0xf; in mox_get_topology() 240 for (i = 0; i < size; ++i) { in comphy_update_map() 308 for (i = 0; i < 12; ++i) { in sw_blink_leds() 344 for (i = 0; i < peridot; ++i) in configure_peridots() 452 for (i = 0; i < module_count; ++i) { in last_stage_init() 479 for (i = 0; i < module_count; ++i) { in last_stage_init() 496 } else if (i && (i != 1 || !passpci)) { in last_stage_init() 526 } else if (i && (i != 1 || !passpci)) { in last_stage_init() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | per_event_excludes.c | 26 int i; in per_event_excludes() local 67 for (i = 1; i < 4; i++) in per_event_excludes() 77 for (i = 0; i < INT_MAX; i++) in per_event_excludes() 82 for (i = 0; i < 4; i++) { in per_event_excludes() 83 FAIL_IF(event_read(&events[i])); in per_event_excludes() 84 event_report(&events[i]); in per_event_excludes() 91 for (i = 0; i < 4; i++) in per_event_excludes() 92 FAIL_IF(events[i].result.running != events[i].result.enabled); in per_event_excludes() 99 for (i = 1; i < 4; i++) in per_event_excludes() 102 for (i = 0; i < 4; i++) in per_event_excludes() [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | brev.c | 99 for (int i = 0; i < NBITS; i++) { in bitreverse() local 115 for (int i = 0; i < SIZE; i++) { \ 126 for (int i = 0; i < SIZE; i++) { \ 129 for (int i = 0; i < SIZE; i++) { \ 138 for (int i = 0; i < SIZE; i++) { \ 141 for (int i = 0; i < SIZE; i++) { \ 156 for (int i = 0; i < SIZE; i++) { in main() local 157 bbuf[i] = bitreverse(i); in main() 158 hbuf[i] = bitreverse(i); in main() 159 wbuf[i] = bitreverse(i); in main() [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | stm32f205_soc.c | 53 int i; in stm32f205_soc_initfn() local 59 for (i = 0; i < STM_NUM_USARTS; i++) { in stm32f205_soc_initfn() 64 for (i = 0; i < STM_NUM_TIMERS; i++) { in stm32f205_soc_initfn() 71 for (i = 0; i < STM_NUM_ADCS; i++) { in stm32f205_soc_initfn() 75 for (i = 0; i < STM_NUM_SPIS; i++) { in stm32f205_soc_initfn() 88 int i; in stm32f205_soc_realize() local 150 for (i = 0; i < STM_NUM_USARTS; i++) { in stm32f205_soc_realize() 162 for (i = 0; i < STM_NUM_TIMERS; i++) { in stm32f205_soc_realize() 182 for (i = 0; i < STM_NUM_ADCS; i++) { in stm32f205_soc_realize() 183 dev = DEVICE(&(s->adc[i])); in stm32f205_soc_realize() [all …]
|
/openbmc/u-boot/lib/rsa/ |
H A D | rsa-mod-exp.c | 41 for (i = 0; i < key->len; i++) { in subtract_modulus() 60 for (i = (int)key->len - 1; i >= 0; i--) { in greater_equal_modulus() 61 if (num[i] < key->modulus[i]) in greater_equal_modulus() 63 if (num[i] > key->modulus[i]) in greater_equal_modulus() 90 for (i = 1; i < key->len; i++) { in montgomery_mul_add_step() 120 for (i = 0; i < key->len; ++i) in montgomery_mul() 122 for (i = 0; i < key->len; ++i) in montgomery_mul() 245 for (i = 0; i < len; i++) in rsa_convert_big_endian() 334 for (i = 0, ptr = inout; i < key->len; i++, ptr++) in zynq_pow_mod() 338 for (i = 0; i < 16; i += 2) { in zynq_pow_mod() [all …]
|
/openbmc/linux/drivers/crypto/amlogic/ |
H A D | amlogic-gxl-core.c | 111 int i; in meson_debugfs_show() local 113 for (i = 0; i < MAXFLOW; i++) in meson_debugfs_show() 121 for (i = 0; i < ARRAY_SIZE(mc_algs); i++) { in meson_debugfs_show() 147 i--; in meson_free_chanlist() 163 for (i = 0; i < MAXFLOW; i++) { in meson_allocate_chanlist() 169 i--; in meson_allocate_chanlist() 197 for (i = 0; i < ARRAY_SIZE(mc_algs); i++) { in meson_register_algs() 217 int i; in meson_unregister_algs() local 219 for (i = 0; i < ARRAY_SIZE(mc_algs); i++) { in meson_unregister_algs() 255 for (i = 0; i < MAXFLOW; i++) { in meson_crypto_probe() [all …]
|
/openbmc/linux/drivers/tee/amdtee/ |
H A D | call.c | 28 for (i = 0; i < count; i++) { in tee_params_to_amd_params() 36 for (i = 0; i < count; i++) { in tee_params_to_amd_params() 55 i, amd->params[i].mref.buf_id, in tee_params_to_amd_params() 57 i, amd->params[i].mref.size); in tee_params_to_amd_params() 65 i, amd->params[i].val.a, in tee_params_to_amd_params() 66 i, amd->params[i].val.b); in tee_params_to_amd_params() 85 for (i = 0; i < count; i++) { in amd_params_to_tee_params() 117 i, amd->params[i].val.a, in amd_params_to_tee_params() 118 i, amd->params[i].val.b); in amd_params_to_tee_params() 301 for (i = 0; i < count ; i++) { in handle_map_shmem() [all …]
|
/openbmc/linux/tools/testing/selftests/rseq/ |
H A D | param_test.c | 453 for (i = 0; i < reps; i++) { in test_percpu_spinlock_thread() 487 for (i = 0; i < num_threads; i++) { in test_percpu_spinlock() 504 for (i = 0; i < num_threads; i++) { in test_percpu_spinlock() 514 for (i = 0; i < CPU_SETSIZE; i++) in test_percpu_spinlock() 530 for (i = 0; i < reps; i++) { in test_percpu_inc_thread() 591 for (i = 0; i < CPU_SETSIZE; i++) in test_percpu_inc() 685 for (i = 0; i < reps; i++) { in test_percpu_list_thread() 868 for (i = 0; i < reps; i++) { in test_percpu_buffer_thread() 1078 for (i = 0; i < reps; i++) { in test_percpu_memcpy_buffer_thread() 1236 for (i = 0; i < iters; ++i) { in test_membarrier_worker_thread() [all …]
|
/openbmc/linux/arch/sparc/mm/ |
H A D | init_32.c | 60 int i; in calc_highpages() local 63 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages() 81 int i; in calc_max_low_pfn() local 86 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn() 136 int i; in bootmem_init() local 142 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init() 220 int i; in taint_real_pages() local 222 for (i = 0; sp_banks[i].num_bytes; i++) { in taint_real_pages() 249 int i; in mem_init() local 282 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in mem_init() [all …]
|
/openbmc/linux/drivers/media/common/ |
H A D | ttpci-eeprom.c | 40 int i; in check_mac_tt() local 43 for (i = 0; i < 8; i++) { in check_mac_tt() 58 int i; in getmac_tt() local 63 for (i = 0; i < 20; i++) in getmac_tt() 64 data[i] ^= xor[i]; in getmac_tt() 65 for (i = 0; i < 10; i++) in getmac_tt() 66 data[i] = ((data[2 * i + 1] << 8) | data[2 * i]) in getmac_tt() 87 for (i = 0; i < 20; i++) in ttpci_eeprom_decode_mac() 88 data[i] ^= xor[i]; in ttpci_eeprom_decode_mac() 89 for (i = 0; i < 10; i++) in ttpci_eeprom_decode_mac() [all …]
|
/openbmc/linux/kernel/rcu/ |
H A D | refscale.c | 150 for (i = nloops; i >= 0; i--) { in ref_rcu_read_section() 160 for (i = nloops; i >= 0; i--) { in ref_rcu_delay_section() 188 for (i = nloops; i >= 0; i--) { in srcu_ref_scale_read_section() 199 for (i = nloops; i >= 0; i--) { in srcu_ref_scale_delay_section() 221 for (i = nloops; i >= 0; i--) in rcu_tasks_ref_scale_read_section() 229 for (i = nloops; i >= 0; i--) in rcu_tasks_ref_scale_delay_section() 255 for (i = nloops; i >= 0; i--) { in rcu_trace_ref_scale_read_section() 265 for (i = nloops; i >= 0; i--) { in rcu_trace_ref_scale_delay_section() 294 for (i = nloops; i >= 0; i--) { in ref_refcnt_section() 505 for (i = nloops; i >= 0; i--) in ref_clock_section() [all …]
|
H A D | rcu_segcblist.c | 101 int i; in rcu_segcblist_n_segment_cbs() local 103 for (i = RCU_DONE_TAIL; i < RCU_CBLIST_NSEGS; i++) in rcu_segcblist_n_segment_cbs() 244 for (i = 0; i < RCU_CBLIST_NSEGS; i++) { in rcu_segcblist_init() 370 for (i = RCU_NEXT_TAIL; i > RCU_DONE_TAIL; i--) in rcu_segcblist_entrain() 375 for (; i <= RCU_NEXT_TAIL; i++) in rcu_segcblist_entrain() 397 for (i = RCU_CBLIST_NSEGS - 1; i >= RCU_DONE_TAIL; i--) in rcu_segcblist_extract_done_cbs() 421 for (i = RCU_DONE_TAIL + 1; i < RCU_CBLIST_NSEGS; i++) { in rcu_segcblist_extract_pend_cbs() 452 for (i = RCU_DONE_TAIL; i < RCU_CBLIST_NSEGS; i++) in rcu_segcblist_insert_done_cbs() 492 for (i = RCU_WAIT_TAIL; i < RCU_NEXT_TAIL; i++) { in rcu_segcblist_advance() 553 for (i = RCU_NEXT_READY_TAIL; i > RCU_DONE_TAIL; i--) in rcu_segcblist_accelerate() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | HalHWImg8723B_BB.c | 221 u32 i = 0; in ODM_ReadAndConfig_MP_8723B_AGC_TAB() local 225 for (i = 0; i < ArrayLen; i += 2) { in ODM_ReadAndConfig_MP_8723B_AGC_TAB() 226 u32 v1 = Array[i]; in ODM_ReadAndConfig_MP_8723B_AGC_TAB() 227 u32 v2 = Array[i+1]; in ODM_ReadAndConfig_MP_8723B_AGC_TAB() 483 u32 i = 0; in ODM_ReadAndConfig_MP_8723B_PHY_REG() local 487 for (i = 0; i < ArrayLen; i += 2) { in ODM_ReadAndConfig_MP_8723B_PHY_REG() 488 u32 v1 = Array[i]; in ODM_ReadAndConfig_MP_8723B_PHY_REG() 489 u32 v2 = Array[i+1]; in ODM_ReadAndConfig_MP_8723B_PHY_REG() 556 u32 i = 0; in ODM_ReadAndConfig_MP_8723B_PHY_REG_PG() local 562 for (i = 0; i < ARRAY_SIZE(Array_MP_8723B_PHY_REG_PG); i += 4) { in ODM_ReadAndConfig_MP_8723B_PHY_REG_PG() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | vgic_irq.c | 149 for (i = 0; i <= MAX_SPI; i++) in reset_stats() 241 for (i = 0; i < args->nr_irqs; i++) in reset_priorities() 321 for (i = 0; i < num; i++) { in guest_restore_active() 332 for (i = 0; i < num; i++) { in guest_restore_active() 339 for (i = 0; i < num; i++) in guest_restore_active() 386 for (i = 0; i < num; i++) { in test_inject_preemption() 398 for (i = 0; i < num; i++) { in test_inject_preemption() 407 for (i = 0; i < num; i++) in test_inject_preemption() 483 for (i = 0; i < nr_irqs; i++) in guest_code() 486 for (i = MIN_SPI; i < nr_irqs; i++) in guest_code() [all …]
|
/openbmc/linux/drivers/input/joystick/ |
H A D | sidewinder.c | 316 for (i = 0; i < sw->number; i ++) { in sw_parse() 321 input_report_abs(sw->dev[i], ABS_X, GB(i*15+3,1) - GB(i*15+2,1)); in sw_parse() 322 input_report_abs(sw->dev[i], ABS_Y, GB(i*15+0,1) - GB(i*15+1,1)); in sw_parse() 428 if (i < 66 && GB(i*3-132,64) == GB(i*3-66,64)) { /* 2 == 3 */ in sw_read() 514 for (i = (((length + 3) >> 2) - 1); i >= 0; i--) in sw_print_packet() 529 for (i = 0; i < 7; i++) /* ASCII PnP ID */ in sw_3dp_id() 532 for (i = 0; i < 8; i++) /* ASCII firmware revision */ in sw_3dp_id() 557 for (i = 1; i < len; i++) in sw_guess_mode() 558 xor |= (buf[i - 1] ^ buf[i]) & 6; in sw_guess_mode() 720 for (i = 0; i < sw->number; i++) { in sw_connect() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | usb-urb.c | 19 int i; in usb_urb_complete() local 43 for (i = 0; i < urb->number_of_packets; i++) { in usb_urb_complete() 68 int i; in usb_urb_kill() local 69 for (i = 0; i < stream->urbs_submitted; i++) { in usb_urb_kill() 81 int i,ret; in usb_urb_submit() local 82 for (i = 0; i < stream->urbs_initialized; i++) { in usb_urb_submit() 147 for (i = 0; i < stream->props.count; i++) { in usb_bulk_urb_init() 170 int i,j; in usb_isoc_urb_init() local 177 for (i = 0; i < stream->props.count; i++) { in usb_isoc_urb_init() 240 int i; in usb_urb_exit() local [all …]
|
/openbmc/qemu/io/ |
H A D | net-listener.c | 71 size_t i; in qio_net_listener_open_sync() local 83 for (i = 0; i < nresaddrs; i++) { in qio_net_listener_open_sync() 144 size_t i; in qio_net_listener_set_client_func_full() local 153 for (i = 0; i < listener->nsioc; i++) { in qio_net_listener_set_client_func_full() 162 for (i = 0; i < listener->nsioc; i++) { in qio_net_listener_set_client_func_full() 221 for (i = 0; i < listener->nsioc; i++) { in qio_net_listener_wait_client() 230 for (i = 0; i < listener->nsioc; i++) { in qio_net_listener_wait_client() 243 for (i = 0; i < listener->nsioc; i++) { in qio_net_listener_wait_client() 251 for (i = 0; i < listener->nsioc; i++) { in qio_net_listener_wait_client() 271 for (i = 0; i < listener->nsioc; i++) { in qio_net_listener_disconnect() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | jquery-ui.min.js | 6 …i(r)):!1):(/^(input|select|textarea|button|object)$/.test(o)?!t.disabled:"a"===o?t.href||s:s)&&i(t… argument 7 …i,s,a,n,r,o){var h,l,u,d,c,p,f,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y=this._… argument
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | testmode.c | 82 for (i = 0; i < target_chains; i++) { in mt7615_tm_set_tx_power() 107 for (i = 0; i < n_regs; i++) in mt7615_tm_reg_backup_restore() 110 for (i = 0; i < n_rf_regs; i++) in mt7615_tm_reg_backup_restore() 125 for (i = 0; i < n_regs; i++) in mt7615_tm_reg_backup_restore() 127 for (i = 0; i < n_rf_regs; i++) in mt7615_tm_reg_backup_restore() 185 for (i = 0; i < 4; i++) { in mt7615_tm_set_tx_antenna() 211 for (i = 0; i < 4; i++) { in mt7615_tm_set_tx_antenna() 282 for (i = 0; i < ARRAY_SIZE(tm_change_map); i++) { in mt7615_tm_set_state() 313 for (i = 0; i < ARRAY_SIZE(tm_change_map); i++) { in mt7615_tm_set_params() 341 for (i = 0; i < ARRAY_SIZE(phy->test.last_rcpi); i++) in mt7615_tm_dump_stats() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-picolcd_leds.c | 56 int i, state = 0; in picolcd_led_set_brightness() local 63 for (i = 0; i < 8; i++) { in picolcd_led_set_brightness() 83 int i, value = 0; in picolcd_led_get_brightness() local 88 for (i = 0; i < 8; i++) in picolcd_led_get_brightness() 102 int i, ret = 0; in picolcd_init_leds() local 112 for (i = 0; i < 8; i++) { in picolcd_init_leds() 127 data->led[i] = led; in picolcd_init_leds() 138 for (i = 0; i < 8; i++) in picolcd_init_leds() 139 if (data->led[i]) { in picolcd_init_leds() 151 int i; in picolcd_exit_leds() local [all …]
|
/openbmc/qemu/migration/ |
H A D | xbzrle.c | 110 i += num; in xbzrle_encode_buffer_avx512() 193 while (res && old_buf[i] == new_buf[i]) { in xbzrle_encode_buffer() 195 i++; in xbzrle_encode_buffer() 208 while (i < slen && old_buf[i] == new_buf[i]) { in xbzrle_encode_buffer() 210 i++; in xbzrle_encode_buffer() 235 while (res && old_buf[i] != new_buf[i]) { in xbzrle_encode_buffer() 236 i++; in xbzrle_encode_buffer() 251 while (old_buf[i] != new_buf[i]) { in xbzrle_encode_buffer() 293 i += ret; in xbzrle_decode_buffer() 310 i += ret; in xbzrle_decode_buffer() [all …]
|