/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-core.c | 216 for (i = 0; i < ARRAY_SIZE(gsc_formats); ++i) { in find_fmt() 396 int i; in gsc_try_fmt_mplane() local 451 for (i = 0; i < pix_mp->num_planes; ++i) { in gsc_try_fmt_mplane() 471 i, bpl, pix_mp->plane_fmt[i].sizeimage); in gsc_try_fmt_mplane() 496 for (i = 0; i < pix_mp->num_planes; ++i) { in gsc_g_fmt_mplane() 1146 for (i = 0; i < gsc->num_clocks; i++) { in gsc_probe() 1155 for (i = 0; i < gsc->num_clocks; i++) { in gsc_probe() 1198 for (i = gsc->num_clocks - 1; i >= 0; i--) in gsc_probe() 1216 for (i = 0; i < gsc->num_clocks; i++) in gsc_remove() 1270 for (i = 0; i < gsc->num_clocks; i++) { in gsc_runtime_resume() [all …]
|
/openbmc/linux/drivers/parisc/ |
H A D | sba_iommu.c | 1534 int i; in sba_hw_init() local 1638 for (i = 0; i < num_ioc; i++) { in sba_hw_init() 1670 i, in sba_hw_init() 1690 int i; in sba_common_init() local 1698 for(i=0; i< sba_dev->num_ioc; i++) { in sba_common_init() 1795 int i; in sba_proc_info() local 1813 for (i=0; i<4; i++) in sba_proc_info() 1826 for (i = 0; i < SBA_SEARCH_SAMPLE; i++) { in sba_proc_info() 1897 int i; in sba_driver_callback() local 1952 for(i=0; i<MAX_IOC; i++) in sba_driver_callback() [all …]
|
/openbmc/linux/kernel/module/ |
H A D | main.c | 186 for (i = 1; i < info->hdr->e_shnum; i++) { in find_sec() 221 for (i = 1; i < info->hdr->e_shnum; i++) { in find_any_sec() 316 for (i = 0; i < ARRAY_SIZE(arr); i++) in find_symbol() 333 for (i = 0; i < ARRAY_SIZE(arr); i++) in find_symbol() 878 for (i = 0; i < TAINT_FLAGS_COUNT; i++) { in module_flags_taint() 1333 for (i = 0; i < ARRAY_SIZE(arr); i++) { in verify_exported_symbols() 1444 for (i = 1; i < info->hdr->e_shnum; i++) { in apply_relocations() 1567 for (i = 0; i < info->hdr->e_shnum; i++) in layout_sections() 1766 for (i = 1; i < info->hdr->e_shnum; i++) { in elf_validity_cache_copy() 1990 for (i = 1; i < info->hdr->e_shnum; i++) { in rewrite_section_headers() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 393 for (i = 0; i < len; i += 4, buf++) in swap_buffer() 570 for (i = 0; i < frag; i++) { in fec_enet_txq_submit_frag_skb() 945 for (i = 0; i < rxq->bd.ring_size; i++) { in fec_enet_bd_init() 968 for (i = 0; i < txq->bd.ring_size; i++) { in fec_enet_bd_init() 1015 for (i = 0; i < fep->num_rx_queues; i++) in fec_enet_active_rxring() 1026 for (i = 0; i < fep->num_rx_queues; i++) { in fec_enet_enable_ring() 1037 for (i = 0; i < fep->num_tx_queues; i++) { in fec_enet_enable_ring() 2707 for (i = 0; i < reg_cnt; i++) { in fec_enet_get_regs() 3286 for (i = 0; i < XDP_STATS_TOTAL; i++) in fec_enet_free_buffers() 3945 for (i = 0; i < num_frames; i++) { in fec_enet_xdp_xmit() [all …]
|
/openbmc/linux/arch/mips/sgi-ip27/ |
H A D | ip27-reset.c | 41 int i; in ip27_machine_restart() 49 for_each_online_node(i) in ip27_machine_restart() 50 REMOTE_HUB_S(i, PROMOP_REG, PROMOP_REBOOT); in ip27_machine_restart() 59 int i; in ip27_machine_halt() local 64 for_each_online_node(i) in ip27_machine_halt() 65 REMOTE_HUB_S(i, PROMOP_REG, PROMOP_RESTART); in ip27_machine_halt()
|
/openbmc/u-boot/board/imgtec/malta/ |
H A D | superio.c | 49 unsigned i; in malta_superio_init() local 55 for (i = 0; i < ARRAY_SIZE(sio_config); i++) { in malta_superio_init() 56 outb(sio_config[i].key, SIO_CONF_PORT); in malta_superio_init() 57 outb(sio_config[i].data, SIO_DATA_PORT); in malta_superio_init()
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control/ |
H A D | vrm-control@.service | 3 Wants=avsbus-disable@%i.service 4 After=avsbus-disable@%i.service 5 Before=avsbus-enable@%i.service 6 Conflicts=obmc-chassis-poweroff@%i.target 7 ConditionPathExists=!/run/openbmc/chassis@%i-on 15 WantedBy=obmc-chassis-poweron@%i.target
|
/openbmc/qemu/linux-user/riscv/ |
H A D | target_proc.h | 11 int i; in open_cpuinfo() local 24 for (i = 0; i < num_cpus; i++) { in open_cpuinfo() 25 dprintf(fd, "processor\t: %d\n", i); in open_cpuinfo() 26 dprintf(fd, "hart\t\t: %d\n", i); in open_cpuinfo()
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | fb_backlight.c | 17 unsigned int i, flat, count, range = (max - min); in fb_bl_default_curve() local 27 for (i = 0; i < count; ++i) in fb_bl_default_curve() 28 fb_info->bl_curve[flat + i] = min + (range * (i + 1) / count); in fb_bl_default_curve()
|
/openbmc/linux/drivers/usb/phy/ |
H A D | phy-ulpi.c | 144 int ret, i; in ulpi_check_integrity() local 147 for (i = 0; i < 2; i++) { in ulpi_check_integrity() 170 int i, vid, pid, ret; in ulpi_init() local 173 for (i = 0; i < 4; i++) { in ulpi_init() 174 ret = usb_phy_io_read(phy, ULPI_PRODUCT_ID_HIGH - i); in ulpi_init() 184 for (i = 0; i < ARRAY_SIZE(ulpi_ids); i++) { in ulpi_init() 185 if (ulpi_ids[i].id == ULPI_ID(vid, pid)) { in ulpi_init() 187 ulpi_ids[i].name); in ulpi_init()
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | grukdump.c | 41 int i, scr; in gru_dump_context_data() local 48 for_each_cbr_in_allocation_map(i, &cch->cbr_allocation_map, scr) { in gru_dump_context_data() 53 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data() 55 if (gru_user_copy_handle(&ubuf, cbe + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data() 71 int i; in gru_dump_tfm() local 76 for (i = 0; i < GRU_NUM_TFM; i++) { in gru_dump_tfm() 77 tfm = get_tfm(gru->gs_gru_base_vaddr, i); in gru_dump_tfm() 91 int i; in gru_dump_tgh() local 96 for (i = 0; i < GRU_NUM_TGH; i++) { in gru_dump_tgh() 97 tgh = get_tgh(gru->gs_gru_base_vaddr, i); in gru_dump_tgh()
|
H A D | grumain.c | 105 for (i = 0; i < GRU_NUM_CCH; i++) { in gru_reset_asid_limit() 106 if (!gru->gs_gts[i] || is_kernel_context(gru->gs_gts[i])) in gru_reset_asid_limit() 110 gru->gs_gid, gru->gs_gts[i], gru->gs_gts[i]->ts_gms, in gru_reset_asid_limit() 158 int i; in reserve_resources() local 167 *idx++ = i; in reserve_resources() 466 int i, scr; in gru_prefetch_context() local 485 int i, scr; in gru_load_context_data() local 520 int i, scr; in gru_unload_context_data() local 614 for (i = 0; i < 8; i++) { in gru_load_context() 615 cch->asid[i] = asid + i; in gru_load_context() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | menf21bmc_hwmon.c | 54 int i; in menf21bmc_hwmon_update() local 61 for (i = 0; i < BMC_VOLT_COUNT; i++) { in menf21bmc_hwmon_update() 63 IDX_TO_VOLT_INP_CMD(i)); in menf21bmc_hwmon_update() 68 drv_data->in_val[i] = val; in menf21bmc_hwmon_update() 79 int i, val; in menf21bmc_hwmon_get_volt_limits() local 81 for (i = 0; i < BMC_VOLT_COUNT; i++) { in menf21bmc_hwmon_get_volt_limits() 83 IDX_TO_VOLT_MIN_CMD(i)); in menf21bmc_hwmon_get_volt_limits() 87 drv_data->in_min[i] = val; in menf21bmc_hwmon_get_volt_limits() 90 IDX_TO_VOLT_MAX_CMD(i)); in menf21bmc_hwmon_get_volt_limits() 94 drv_data->in_max[i] = val; in menf21bmc_hwmon_get_volt_limits()
|
H A D | w83781d.c | 187 for (i = 0; i < 7; i++) { in DIV_TO_REG() 860 for (i = 2; i <= 3; i++) { in w83781d_detect_subclients() 896 for (i = 0; i < num_sc; i++) { in w83781d_detect_subclients() 901 i, sc_addr[i]); in w83781d_detect_subclients() 1390 for (i = 1; i <= 3; i++) { in w83781d_init_device() 1436 for (i = 0; i < 3; i++) { in w83781d_init_device() 1456 for (i = 0; i <= 8; i++) { in w83781d_update_device() 1468 for (i = 0; i < 3; i++) { in w83781d_update_device() 1475 for (i = 0; i < 4; i++) { in w83781d_update_device() 1642 for (i = 0x2b; i <= 0x3d; i++) { in w83781d_alias_detect() [all …]
|
/openbmc/u-boot/board/renesas/sh7752evb/ |
H A D | sh7752evb.c | 210 int i; in init_ethernet_mac() local 221 for (i = 0; i < SH7752EVB_ETHERNET_NUM_CH; i++) { in init_ethernet_mac() 222 get_sh_eth_mac(i, mac_string, buf); in init_ethernet_mac() 223 if (i == 0) in init_ethernet_mac() 226 sprintf(env_string, "eth%daddr", i); in init_ethernet_mac() 229 set_mac_to_sh_giga_eth_register(i, mac_string); in init_ethernet_mac() 244 int i, ret; in do_write_mac() local 259 for (i = 0; i < SH7752EVB_ETHERNET_NUM_CH; i++) { in do_write_mac() 260 get_sh_eth_mac(i, mac_string, buf); in do_write_mac() 261 printf("GETHERC ch%d = %s\n", i, mac_string); in do_write_mac()
|
/openbmc/linux/arch/sh/drivers/pci/ |
H A D | pci.c | 38 int i, ret; in pcibios_scanbus() local 45 for (i = 0; i < hose->nr_resources; i++) { in pcibios_scanbus() 46 res = hose->resources + i; in pcibios_scanbus() 98 int i; in register_pci_controller() local 100 for (i = 0; i < hose->nr_resources; i++) { in register_pci_controller() 101 struct resource *res = hose->resources + i; in register_pci_controller() 143 for (--i; i >= 0; i--) in register_pci_controller() 144 release_resource(&hose->resources[i]); in register_pci_controller()
|
/openbmc/linux/drivers/mfd/ |
H A D | cros_ec_dev.c | 143 int i; in ec_device_probe() local 156 for (i = 0; i < ARRAY_SIZE(cros_mcu_devices); i++) { in ec_device_probe() 161 if (cros_ec_check_features(ec, cros_mcu_devices[i].id)) { in ec_device_probe() 163 cros_mcu_devices[i].desc); in ec_device_probe() 168 ec_platform->ec_name = cros_mcu_devices[i].name; in ec_device_probe() 204 for (i = 0; i < ARRAY_SIZE(cros_subdevices); i++) { in ec_device_probe() 205 if (cros_ec_check_features(ec, cros_subdevices[i].id)) { in ec_device_probe() 207 cros_subdevices[i].mfd_cells, in ec_device_probe() 208 cros_subdevices[i].num_cells); in ec_device_probe() 212 cros_subdevices[i].mfd_cells->name, in ec_device_probe()
|
/openbmc/linux/tools/testing/selftests/kvm/s390x/ |
H A D | sync_regs_test.c | 54 int i; in compare_regs() local 56 for (i = 0; i < 16; i++) in compare_regs() 57 REG_COMPARE(gprs[i]); in compare_regs() 62 int i; in compare_sregs() local 64 for (i = 0; i < 16; i++) in compare_sregs() 65 REG_COMPARE32(acrs[i]); in compare_sregs() 67 for (i = 0; i < 16; i++) in compare_sregs() 68 REG_COMPARE(crs[i]); in compare_sregs()
|
/openbmc/linux/sound/soc/sh/ |
H A D | hac.c | 102 unsigned int to1, to2, i; in hac_get_codec_data() local 105 for (i = AC97_READ_RETRY; i; i--) { in hac_get_codec_data() 132 return i; in hac_get_codec_data() 139 unsigned int i, to; in hac_read_codec_aux() local 141 for (i = AC97_READ_RETRY; i; i--) { in hac_read_codec_aux() 159 return i ? val : ~0; in hac_read_codec_aux() 167 unsigned int i, to; in hac_ac97_write() local 169 for (i = AC97_WRITE_RETRY; i; i--) { in hac_ac97_write()
|
/openbmc/linux/drivers/regulator/ |
H A D | rt4801-regulator.c | 181 int i; in rt4801_probe() local 197 for (i = 0; i < DSV_OUT_MAX; i++) { in rt4801_probe() 198 priv->enable_gpios[i] = devm_gpiod_get_index_optional(&i2c->dev, in rt4801_probe() 200 i, in rt4801_probe() 202 if (IS_ERR(priv->enable_gpios[i])) { in rt4801_probe() 204 return PTR_ERR(priv->enable_gpios[i]); in rt4801_probe() 208 for (i = 0; i < DSV_OUT_MAX; i++) { in rt4801_probe() 209 const struct regulator_desc *desc = rt4801_regulator_descs + i; in rt4801_probe() 221 priv->volt_sel[i] = val & desc->vsel_mask; in rt4801_probe() 225 dev_err(&i2c->dev, "Failed to register [%d] regulator\n", i); in rt4801_probe()
|
/openbmc/linux/crypto/ |
H A D | acompress.c | 217 int i, ret; in crypto_register_acomps() local 219 for (i = 0; i < count; i++) { in crypto_register_acomps() 220 ret = crypto_register_acomp(&algs[i]); in crypto_register_acomps() 228 for (--i; i >= 0; --i) in crypto_register_acomps() 229 crypto_unregister_acomp(&algs[i]); in crypto_register_acomps() 237 int i; in crypto_unregister_acomps() local 239 for (i = count - 1; i >= 0; --i) in crypto_unregister_acomps() 240 crypto_unregister_acomp(&algs[i]); in crypto_unregister_acomps()
|
/openbmc/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_hpd.c | 67 int i, ret; in enable_hpd_clocks() local 70 for (i = 0; i < config->hpd_clk_cnt; i++) { in enable_hpd_clocks() 71 if (config->hpd_freq && config->hpd_freq[i]) { in enable_hpd_clocks() 72 ret = clk_set_rate(hdmi->hpd_clks[i], in enable_hpd_clocks() 73 config->hpd_freq[i]); in enable_hpd_clocks() 77 config->hpd_clk_names[i], ret); in enable_hpd_clocks() 80 ret = clk_prepare_enable(hdmi->hpd_clks[i]); in enable_hpd_clocks() 84 config->hpd_clk_names[i], ret); in enable_hpd_clocks() 88 for (i = config->hpd_clk_cnt - 1; i >= 0; i--) in enable_hpd_clocks() 89 clk_disable_unprepare(hdmi->hpd_clks[i]); in enable_hpd_clocks()
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | base907c.c | 94 NVVAL(NV907C, SET_BASE_LUT_LO, ENABLE, asyw->xlut.i.enable) | in base907c_xlut_set() 95 NVVAL(NV907C, SET_BASE_LUT_LO, MODE, asyw->xlut.i.mode), in base907c_xlut_set() 97 SET_BASE_LUT_HI, asyw->xlut.i.offset >> 8, in base907c_xlut_set() 112 asyw->xlut.i.mode = NV907C_SET_BASE_LUT_LO_MODE_INTERPOLATE_257_UNITY_RANGE; in base907c_ilut() 114 asyw->xlut.i.enable = NV907C_SET_BASE_LUT_LO_ENABLE_ENABLE; in base907c_ilut() 115 asyw->xlut.i.load = head907d_olut_load; in base907c_ilut() 140 int i, j; in base907c_csc() local 143 for (i = 0; i < 4; i++) { in base907c_csc() 144 u32 *val = &asyw->csc.matrix[j * 4 + i]; in base907c_csc() 147 if (i == 3) { in base907c_csc() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch.c | 37 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) in dpaa2_switch_fdb_get_unused() 48 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) in dpaa2_switch_filter_block_get_unused() 394 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_dellink() 663 for (i = 0; i < DPAA2_SWITCH_RX_NUM_FQS; i++) in dpaa2_switch_enable_ctrl_if_napi() 679 for (i = 0; i < DPAA2_SWITCH_RX_NUM_FQS; i++) in dpaa2_switch_disable_ctrl_if_napi() 873 for (i = 0; i < num_fdb_entries; i++) { in dpaa2_switch_fdb_iterate() 2506 for (i = 0; i < count; i++) { in dpaa2_switch_free_bufs() 2527 for (i = 0; i < BUFS_PER_CMD; i++) { in dpaa2_switch_add_bufs() 2738 for (i = 0; i < DPAA2_SWITCH_RX_NUM_FQS; i++) in dpaa2_switch_destroy_rings() 3415 for (i--; i >= 0; i--) in dpaa2_switch_probe() [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | processor_throttling.c | 112 if (i == j) in acpi_processor_update_tsd_coord() 144 if (i == j) in acpi_processor_update_tsd_coord() 490 int i; in acpi_processor_get_throttling_states() local 520 for (i = 0; i < pr->throttling.state_count; i++) { in acpi_processor_get_throttling_states() 817 int i; in acpi_get_throttling_state() local 819 for (i = 0; i < pr->throttling.state_count; i++) { in acpi_get_throttling_state() 824 return i; in acpi_get_throttling_state() 906 int i, step; in acpi_processor_get_fadt_info() local 931 for (i = 0; i < pr->throttling.state_count; i++) { in acpi_processor_get_fadt_info() 932 pr->throttling.states[i].performance = 1000 - step * i; in acpi_processor_get_fadt_info() [all …]
|