/openbmc/linux/drivers/net/can/mscan/ |
H A D | mscan.c | 55 int i; in mscan_set_mode() local 69 for (i = 0; i < MSCAN_SET_MODE_RETRIES; i++) { in mscan_set_mode() 95 for (i = 0; i < MSCAN_SET_MODE_RETRIES; i++) { in mscan_set_mode() 112 for (i = 0; i < MSCAN_SET_MODE_RETRIES; i++) { in mscan_set_mode() 253 for (i = 0; i < frame->len / 2; i++) { in mscan_start_xmit() 298 int i; in mscan_get_rx_frame() local 321 for (i = 0; i < frame->len / 2; i++) { in mscan_get_rx_frame() 675 int i; in alloc_mscandev() local 695 for (i = 0; i < TX_QUEUE_SIZE; i++) { in alloc_mscandev() 696 priv->tx_queue[i].id = i; in alloc_mscandev() [all …]
|
/openbmc/linux/sound/soc/uniphier/ |
H A D | aio-cpu.c | 49 int i; in find_volume() local 51 for (i = 0; i < chip->num_aios; i++) { in find_volume() 106 int i; in find_spec() local 108 for (i = 0; i < chip_spec->num_specs; i++) { in find_spec() 133 int i; in find_divider() local 139 for (i = 0; i < ARRAY_SIZE(mul); i++) in find_divider() 140 if (pll->freq * mul[i] / div[i] == freq) in find_divider() 361 int i; in uniphier_aio_dai_probe() local 363 for (i = 0; i < ARRAY_SIZE(aio->sub); i++) { in uniphier_aio_dai_probe() 572 for (i = 0; i < ARRAY_SIZE(aio->sub); i++) { in uniphier_aio_dai_resume() [all …]
|
/openbmc/linux/net/devlink/ |
H A D | param.c | 112 int i; in devlink_param_driver_verify() local 117 for (i = 0; i <= DEVLINK_PARAM_GENERIC_ID_MAX; i++) in devlink_param_driver_verify() 252 int i; in devlink_nl_param_fill() local 255 for (i = 0; i <= DEVLINK_PARAM_CMODE_MAX; i++) { in devlink_nl_param_fill() 307 for (i = 0; i <= DEVLINK_PARAM_CMODE_MAX; i++) { in devlink_nl_param_fill() 311 i, param_value[i]); in devlink_nl_param_fill() 686 for (i = 0; i < params_count; i++, param++) { in devl_params_register() 694 if (!i) in devl_params_register() 697 for (param--; i > 0; i--, param--) in devl_params_register() 727 int i; in devl_params_unregister() local [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | idma64.c | 172 unsigned short i; in idma64_irq() local 187 for (i = 0; i < idma64->dma.chancnt; i++) in idma64_irq() 223 } while (i); in idma64_desc_free() 291 } while (i); in idma64_desc_fill() 308 unsigned int i; in idma64_prep_slave_sg() local 320 desc->ndesc = i; in idma64_prep_slave_sg() 364 if (!i) in idma64_active_desc_size() 541 unsigned short i; in idma64_probe() local 567 for (i = 0; i < nr_chan; i++) { in idma64_probe() 616 unsigned short i; in idma64_remove() local [all …]
|
/openbmc/qemu/target/mips/ |
H A D | cpu.c | 68 int i; in fpu_dump_state() local 75 for (i = 0; i < 32; (is_fpu64) ? i++ : (i += 2)) { in fpu_dump_state() 84 int i; in mips_cpu_dump_state() local 91 for (i = 0; i < 32; i++) { in mips_cpu_dump_state() 96 regnames[i], env->active_tc.gpr[i]); in mips_cpu_dump_state() 319 int i; in mips_cpu_reset_hold() local 321 for (i = 0; i < 7; i++) { in mips_cpu_reset_hold() 334 int i; in mips_cpu_reset_hold() local 337 for (i = 0; i < ARRAY_SIZE(env->tcs); i++) { in mips_cpu_reset_hold() 631 int i; in mips_cpu_register_types() local [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | ipc3-topology.c | 51 int i; in find_process() local 53 for (i = 0; i < ARRAY_SIZE(sof_process); i++) { in find_process() 787 for (i = 0; i < widget->num_kcontrols; i++) { in sof_get_control_data() 916 for (i = 0; i < widget->num_kcontrols; i++) { in sof_process_load() 943 for (i = 0; i < ARRAY_SIZE(sof_process); i++) { in find_process_comp_type() 1318 for (i = 0; i < slink->num_hw_configs; i++) { in sof_link_ssp_load() 1348 config[i].ssp.mclk_id, config[i].ssp.quirks, config[i].ssp.clks_control); in sof_link_ssp_load() 1413 for (i = 0; i < config->dmic.num_pdm_active; i++) { in sof_link_dmic_load() 1538 for (i = 0; i < slink->num_hw_configs; i++) { in sof_ipc3_widget_setup_comp_dai() 1739 for (i = 0; i < scontrol->num_channels; i++) { in sof_ipc3_control_load_volume() [all …]
|
/openbmc/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_transport.c | 761 for (i = 0; i < mr_sas_node->num_phys; i++) { in mpi3mr_sas_port_sanity_check() 1133 for (i = 0; i < mrioc->sas_hba.num_phys; i++) { in mpi3mr_sas_host_refresh() 1221 for (i = 0; i < mrioc->sas_hba.num_phys; i++) { in mpi3mr_sas_host_add() 1362 for (i = 0; i < mr_sas_node->num_phys; i++) { in mpi3mr_sas_port_add() 1548 for (i = 0; i < mr_sas_node->num_phys; i++) { in mpi3mr_sas_port_remove() 1705 for (i = 0; i < mrioc->sas_hba.num_phys; i++) { in mpi3mr_refresh_sas_ports() 1762 for (i = 0; i < host_port_count; i++) { in mpi3mr_refresh_sas_ports() 1778 for (i = 0; i < host_port_count; i++) { in mpi3mr_refresh_sas_ports() 1794 for (i = 0; i < host_port_count; i++) { in mpi3mr_refresh_sas_ports() 1812 for (i = 0; i < host_port_count; i++) { in mpi3mr_refresh_sas_ports() [all …]
|
/openbmc/qemu/hw/pci/ |
H A D | pci.c | 138 for (i = 0; i < ARRAY_SIZE(bus->devices); ++i) { in pcibus_machine_done() 345 for (i = 0; i < PCI_NUM_PINS; ++i) { in pci_device_deassert_intx() 443 for (i = 0; i < bus->nirq; i++) { in pcibus_reset_hold() 644 for (i = 0; i < size; ++i) { in get_pci_config_device() 693 for (i = 0; i < PCI_NUM_PINS; ++i) { in get_pci_irq_state() 702 for (i = 0; i < PCI_NUM_PINS; ++i) { in get_pci_irq_state() 715 for (i = 0; i < PCI_NUM_PINS; ++i) { in put_pci_irq_state() 1266 for(i = 0; i < PCI_NUM_REGIONS; i++) { in pci_unregister_io_regions() 1524 for(i = 0; i < PCI_NUM_REGIONS; i++) { in pci_update_mappings() 1575 for (i = 0; i < PCI_NUM_PINS; ++i) { in pci_update_irq_disabled() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | skl_scaler.c | 512 int i; in intel_atomic_setup_scalers() local 537 for (i = 0; i < sizeof(scaler_state->scaler_users) * 8; i++) { in intel_atomic_setup_scalers() 658 int i; in glk_program_nearest_filter_coefs() local 663 for (i = 0; i < 17 * 7; i += 2) { in glk_program_nearest_filter_coefs() 842 int i; in skl_detach_scalers() local 845 for (i = 0; i < crtc->num_scalers; i++) { in skl_detach_scalers() 854 int i; in skl_scaler_disable() local 856 for (i = 0; i < crtc->num_scalers; i++) in skl_scaler_disable() 866 int i; in skl_scaler_get_config() local 869 for (i = 0; i < crtc->num_scalers; i++) { in skl_scaler_get_config() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | mr75203.c | 636 int ret, i, j, k; in pvt_get_active_channel() local 649 for (i = 0; i < vm_num; i++) { in pvt_get_active_channel() 675 for (i = 0; i < vm_num; i++) { in pvt_get_active_channel() 689 int i, ret, num_ch; in pvt_get_pre_scaler() local 693 for (i = 0; i < pvt->vm_channels.total; i++) in pvt_get_pre_scaler() 712 for (i = 0; i < num_ch; i++) { in pvt_get_pre_scaler() 867 for (i = 0; i < vm_num; i++) in mr75203_probe() 868 vm_idx[i] = i; in mr75203_probe() 870 for (i = 0; i < vm_num; i++) in mr75203_probe() 871 if (vm_idx[i] >= vm_num || vm_idx[i] == 0xff) { in mr75203_probe() [all …]
|
H A D | ina3221.c | 154 int i, shunt_resistor = 0; in ina3221_summation_shunt_resistor() local 156 for (i = 0; i < INA3221_NUM_CHANNELS; i++) { in ina3221_summation_shunt_resistor() 157 if (input[i].disconnected || !input[i].shunt_resistor) in ina3221_summation_shunt_resistor() 830 int i, ret; in ina3221_probe() local 842 for (i = 0; i < F_MAX_FIELDS; i++) { in ina3221_probe() 852 for (i = 0; i < INA3221_NUM_CHANNELS; i++) in ina3221_probe() 869 for (i = 0; i < INA3221_NUM_CHANNELS; i++) { in ina3221_probe() 885 for (i = 0; i < INA3221_NUM_CHANNELS; i++) { in ina3221_probe() 909 for (i = 0; i < INA3221_NUM_CHANNELS; i++) in ina3221_probe() 919 int i; in ina3221_remove() local [all …]
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ethtool.c | 194 int i; in xgbe_get_strings() local 198 for (i = 0; i < XGBE_STATS_COUNT; i++) { in xgbe_get_strings() 203 for (i = 0; i < pdata->tx_ring_count; i++) { in xgbe_get_strings() 209 for (i = 0; i < pdata->rx_ring_count; i++) { in xgbe_get_strings() 224 int i; in xgbe_get_ethtool_stats() local 227 for (i = 0; i < XGBE_STATS_COUNT; i++) { in xgbe_get_ethtool_stats() 231 for (i = 0; i < pdata->tx_ring_count; i++) { in xgbe_get_ethtool_stats() 235 for (i = 0; i < pdata->rx_ring_count; i++) { in xgbe_get_ethtool_stats() 534 unsigned int i; in xgbe_get_rxfh() local 537 for (i = 0; i < ARRAY_SIZE(pdata->rss_table); i++) in xgbe_get_rxfh() [all …]
|
/openbmc/linux/drivers/media/test-drivers/visl/ |
H A D | visl-video.c | 53 u32 i; in visl_print_fmt() local 70 for (i = 0; i < pix_mp->num_planes; i++) { in visl_print_fmt() 230 for (i = 0; i < ARRAY_SIZE(visl_coded_fmts); i++) { in visl_find_coded_fmt_desc() 372 for (i = 0; i < coded_desc->num_decoded_fmts; i++) { in visl_try_fmt_vid_cap() 543 u32 i; in visl_queue_setup() local 558 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) { in visl_queue_setup() 559 if (sizes[i] < f->fmt.pix_mp.plane_fmt[i].sizeimage) in visl_queue_setup() 564 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) in visl_queue_setup() 565 sizes[i] = f->fmt.pix_mp.plane_fmt[i].sizeimage; in visl_queue_setup() 571 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) in visl_queue_setup() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | hal_com.c | 300 for (i = 0; i < NDIS_802_11_LENGTH_RATES_EX; i++) { in HalSetBrateCfg() 504 int i; in c2h_evt_read_88xx() local 526 for (i = 0; i < c2h_evt->plen; i++) in c2h_evt_read_88xx() 548 u8 i, limit; in rtw_hal_update_sta_rate_mask() local 557 for (i = 0; i < sizeof(psta->bssrateset); i++) { in rtw_hal_update_sta_rate_mask() 566 for (i = 0; i < limit; i++) { in rtw_hal_update_sta_rate_mask() 567 if (psta->htpriv.ht_cap.mcs.rx_mask[i/8] & BIT(i%8)) in rtw_hal_update_sta_rate_mask() 864 u16 i = 0; in GetU1ByteIntegerFromStringInDecimal() local 868 if (Str[i] >= '0' && Str[i] <= '9') { in GetU1ByteIntegerFromStringInDecimal() 874 ++i; in GetU1ByteIntegerFromStringInDecimal() [all …]
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A D | simpledrm.c | 280 unsigned int i; in simpledrm_device_release_clocks() local 282 for (i = 0; i < sdev->clk_count; ++i) { in simpledrm_device_release_clocks() 296 unsigned int i; in simpledrm_device_init_clocks() local 311 for (i = 0; i < sdev->clk_count; ++i) { in simpledrm_device_init_clocks() 323 i, ret); in simpledrm_device_init_clocks() 335 while (i) { in simpledrm_device_init_clocks() 336 --i; in simpledrm_device_init_clocks() 380 for (i = 0; i < sdev->regulator_count; ++i) { in simpledrm_device_release_regulators() 441 i, ret); in simpledrm_device_init_regulators() 455 while (i) { in simpledrm_device_init_regulators() [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | signal.c | 75 int i; in copy_fp_to_sigcontext() local 79 for (i = 0; i < NUM_FPU_REGS; i += inc) { in copy_fp_to_sigcontext() 94 int i; in copy_fp_from_sigcontext() local 99 for (i = 0; i < NUM_FPU_REGS; i += inc) { in copy_fp_from_sigcontext() 166 int i, err; in save_msa_extcontext() local 196 for (i = 0; i < NUM_FPU_REGS; i++) { in save_msa_extcontext() 242 for (i = 0; i < NUM_FPU_REGS; i++) { in restore_msa_extcontext() 441 int i; in setup_sigcontext() local 446 for (i = 1; i < 32; i++) in setup_sigcontext() 519 int i; in restore_sigcontext() local [all …]
|
/openbmc/qemu/hw/net/ |
H A D | spapr_llan.c | 302 int i; in spapr_vlan_reset() local 309 for (i = 0; i < RX_MAX_POOLS; i++) { in spapr_vlan_reset() 339 int i; in spapr_vlan_instance_init() local 346 for (i = 0; i < RX_MAX_POOLS; i++) { in spapr_vlan_instance_init() 356 int i; in spapr_vlan_instance_finalize() local 359 for (i = 0; i < RX_MAX_POOLS; i++) { in spapr_vlan_instance_finalize() 712 for (i = 0; i < 6; i++) { in h_send_logical_lan() 720 nbufs = i; in h_send_logical_lan() 734 for (i = 0; i < nbufs; i++) { in h_send_logical_lan() 771 int i; in h_change_logical_lan_mac() local [all …]
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_image_loader.c | 108 int i; in efi_loader_relocate() local 116 i = (rel->SizeOfBlock - sizeof(*rel)) / sizeof(uint16_t); in efi_loader_relocate() 117 while (i--) { in efi_loader_relocate() 225 int i; in efi_load_pe() local 246 for (i = 0; machines[i]; i++) in efi_load_pe() 247 if (machines[i] == nt->FileHeader.Machine) { in efi_load_pe() 263 for (i = num_sections - 1; i >= 0; i--) { in efi_load_pe() 264 IMAGE_SECTION_HEADER *sec = §ions[i]; in efi_load_pe() 310 for (i = num_sections - 1; i >= 0; i--) { in efi_load_pe() 311 IMAGE_SECTION_HEADER *sec = §ions[i]; in efi_load_pe()
|
/openbmc/u-boot/drivers/i2c/ |
H A D | at91_i2c.c | 49 u32 i; in at91_i2c_xfer_msg() local 56 for (i = 0; !ret && i < (msg->len - 1); i++) { in at91_i2c_xfer_msg() 58 msg->buf[i] = readl(®->rhr); in at91_i2c_xfer_msg() 70 msg->buf[i] = readl(®->rhr); in at91_i2c_xfer_msg() 76 for (i = 1; !ret && (i < msg->len); i++) { in at91_i2c_xfer_msg() 77 writel(msg->buf[i], ®->thr); in at91_i2c_xfer_msg() 118 int i; in at91_i2c_xfer() local 127 for (i = 0; i < msg->len; ++i) { in at91_i2c_xfer() 128 const unsigned addr = msg->buf[msg->len - 1 - i]; in at91_i2c_xfer() 130 internal_address |= addr << (8 * i); in at91_i2c_xfer()
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | i8254.c | 67 int i; in kvm_pit_update_clock_offset() local 75 for (i = 0; i < CALIBRATION_ROUNDS; i++) { in kvm_pit_update_clock_offset() 93 int i, ret; in kvm_pit_get() local 106 for (i = 0; i < 3; i++) { in kvm_pit_get() 107 kchan = &kpit.channels[i]; in kvm_pit_get() 108 sc = &pit->channels[i]; in kvm_pit_get() 135 int i, ret; in kvm_pit_put() local 143 for (i = 0; i < 3; i++) { in kvm_pit_put() 144 kchan = &kpit.channels[i]; in kvm_pit_put() 145 sc = &pit->channels[i]; in kvm_pit_put()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | smp.c | 85 unsigned int i; in native_cpu_die() local 87 for (i = 0; i < 10; i++) { in native_cpu_die() 365 int i; in flush_tlb_mm() local 366 for_each_online_cpu(i) in flush_tlb_mm() 367 if (smp_processor_id() != i) in flush_tlb_mm() 368 cpu_context(i, mm) = 0; in flush_tlb_mm() 402 int i; in flush_tlb_range() local 403 for_each_online_cpu(i) in flush_tlb_range() 405 cpu_context(i, mm) = 0; in flush_tlb_range() 445 int i; in flush_tlb_page() local [all …]
|
/openbmc/linux/lib/raid6/ |
H A D | s390vx.uc | 33 asm volatile ("VAB %0,%1,%1" : : "i" (x), "i" (y)); 44 asm volatile ("VESRAVB %0,%1,24" : : "i" (x), "i" (y)); 49 asm volatile ("VN %0,%1,%2" : : "i" (x), "i" (y), "i" (z)); 54 asm volatile ("VX %0,%1,%2" : : "i" (x), "i" (y), "i" (z)); 63 : : "m" (*__ptr), "a" (__ptr), "i" (x), 64 "i" (x + $# - 1)); 73 : "=m" (*__ptr) : "a" (__ptr), "i" (x), 74 "i" (x + $# - 1)); 79 asm volatile ("VLR %0,%1" : : "i" (x), "i" (y));
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_irq.c | 174 unsigned int i; in omap_irq_fifo_underflow() local 188 for (i = 0; i < ARRAY_SIZE(sources); ++i) { in omap_irq_fifo_underflow() 189 if (sources[i].mask & irqstatus) in omap_irq_fifo_underflow() 190 pr_cont("%s ", sources[i].name); in omap_irq_fifo_underflow() 261 unsigned int i; in omap_drm_irq_install() local 271 for (i = 0; i < max_planes; ++i) { in omap_drm_irq_install() 272 if (priv->planes[i]) in omap_drm_irq_install() 273 priv->irq_mask |= omap_underflow_irqs[i]; in omap_drm_irq_install() 276 for (i = 0; i < num_mgrs; ++i) in omap_drm_irq_install() 277 priv->irq_mask |= dispc_mgr_get_sync_lost_irq(priv->dispc, i); in omap_drm_irq_install()
|
/openbmc/linux/arch/mips/kvm/ |
H A D | tlb.c | 379 int old_index, i; in kvm_vz_save_guesttlb() local 395 for (i = index; i < end; ++i, ++buf) { in kvm_vz_save_guesttlb() 396 write_gc0_index(i); in kvm_vz_save_guesttlb() 405 buf->tlb_hi = UNIQUE_GUEST_ENTRYHI(i); in kvm_vz_save_guesttlb() 447 int old_index, i; in kvm_vz_load_guesttlb() local 461 for (i = index; i < end; ++i, ++buf) { in kvm_vz_load_guesttlb() 462 write_gc0_index(i); in kvm_vz_load_guesttlb() 506 int i; in kvm_loongson_clear_guest_ftlb() local 512 for (i = current_cpu_data.tlbsizevtlb; in kvm_loongson_clear_guest_ftlb() 515 i++) { in kvm_loongson_clear_guest_ftlb() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | mps2-fpgaio.c | 197 uint32_t i; in mps2_fpgaio_write() local 200 for (i = 0; i < s->num_leds; i++) { in mps2_fpgaio_write() 201 led_set_state(s->led[i], value & (1 << i)); in mps2_fpgaio_write() 271 for (size_t i = 0; i < s->num_leds; i++) { in mps2_fpgaio_reset() local 272 device_cold_reset(DEVICE(s->led[i])); in mps2_fpgaio_reset() 289 uint32_t i; in mps2_fpgaio_realize() local 297 for (i = 0; i < s->num_leds; i++) { in mps2_fpgaio_realize() 298 g_autofree char *ledname = g_strdup_printf("USERLED%d", i); in mps2_fpgaio_realize() 299 s->led[i] = led_create_simple(OBJECT(dev), GPIO_POLARITY_ACTIVE_HIGH, in mps2_fpgaio_realize()
|