Home
last modified time | relevance | path

Searched full:ios (Results 1 – 25 of 163) sorted by relevance

1234567

/linux/drivers/scsi/elx/efct/
H A Defct_xport.h133 /* list of IOs waiting for HW resources
138 /* count of totals IOS allocated */
140 /* count of totals IOS free'd */
142 /* count of totals IOS that were pended */
144 /* count of active IOS */
146 /* count of pending IOS */
H A Defct_io.c14 u32 io_num_ios; /* Total IOs allocated */
15 struct efct_io *ios[EFCT_NUM_SCSI_IOS]; member
43 io_pool->ios[i] = io; in efct_io_pool_create()
86 io = io_pool->ios[i]; in efct_io_pool_free()
/linux/include/linux/mmc/
H A Dhost.h187 * ios->clock might be 0. For some controllers, setting 0Hz
192 void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios);
219 int (*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios);
228 int (*prepare_hs400_tuning)(struct mmc_host *host, struct mmc_ios *ios);
250 struct mmc_ios *ios);
266 int (*init_sd_express)(struct mmc_host *host, struct mmc_ios *ios);
487 struct mmc_ios ios; /* current io bus settings */ member
649 int mmc_regulator_set_vqmmc(struct mmc_host *mmc, struct mmc_ios *ios);
650 int mmc_regulator_set_vqmmc2(struct mmc_host *mmc, struct mmc_ios *ios);
660 struct mmc_ios *ios) in mmc_regulator_set_vqmmc() argument
[all …]
/linux/drivers/mmc/host/
H A Dmmci_stm32_sdmmc.c302 if (host->mmc->ios.timing == MMC_TIMING_MMC_DDR52 || in mmci_sdmmc_set_clkreg()
303 host->mmc->ios.timing == MMC_TIMING_UHS_DDR50) in mmci_sdmmc_set_clkreg()
331 if (host->mmc->ios.power_mode == MMC_POWER_ON) in mmci_sdmmc_set_clkreg()
336 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) in mmci_sdmmc_set_clkreg()
338 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) in mmci_sdmmc_set_clkreg()
345 if (host->mmc->ios.timing >= MMC_TIMING_UHS_SDR50) in mmci_sdmmc_set_clkreg()
362 struct mmc_ios ios = host->mmc->ios; in mmci_sdmmc_set_pwrreg() local
371 if (ios.power_mode == MMC_POWER_OFF) { in mmci_sdmmc_set_pwrreg()
384 } else if (ios.power_mode == MMC_POWER_ON) { in mmci_sdmmc_set_pwrreg()
417 if (host->mmc->ios.timing == MMC_TIMING_UHS_SDR104 || in sdmmc_get_dctrl_cfg()
[all …]
H A Dowl-mmc.c427 static void owl_mmc_set_clk(struct owl_mmc_host *owl_host, struct mmc_ios *ios) in owl_mmc_set_clk() argument
429 if (!ios->clock) in owl_mmc_set_clk()
432 owl_host->clock = ios->clock; in owl_mmc_set_clk()
433 owl_mmc_set_clk_rate(owl_host, ios->clock); in owl_mmc_set_clk()
437 struct mmc_ios *ios) in owl_mmc_set_bus_width() argument
443 switch (ios->bus_width) { in owl_mmc_set_bus_width()
485 static void owl_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in owl_mmc_set_ios() argument
489 switch (ios->power_mode) { in owl_mmc_set_ios()
518 if (ios->clock != owl_host->clock) in owl_mmc_set_ios()
519 owl_mmc_set_clk(owl_host, ios); in owl_mmc_set_ios()
[all …]
H A Dsdhci-pci-arasan.c250 if (arasan_host->chg_clk == host->mmc->ios.clock) in arasan_select_phy_clock()
253 arasan_host->chg_clk = host->mmc->ios.clock; in arasan_select_phy_clock()
254 if (host->mmc->ios.clock == 200000000) in arasan_select_phy_clock()
256 else if (host->mmc->ios.clock == 100000000) in arasan_select_phy_clock()
258 else if (host->mmc->ios.clock == 50000000) in arasan_select_phy_clock()
267 switch (host->mmc->ios.timing) { in arasan_select_phy_clock()
280 host->mmc->ios.drv_type, 0x0, in arasan_select_phy_clock()
290 host->mmc->ios.drv_type, 0xa, in arasan_select_phy_clock()
H A Ddw_mmc-rockchip.c179 static void dw_mci_rk3288_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_rk3288_set_ios() argument
182 struct mmc_clk_phase phase = host->phase_map.phase[ios->timing]; in dw_mci_rk3288_set_ios()
187 if (ios->clock == 0) in dw_mci_rk3288_set_ios()
194 * ios->clock = (div == 0) ? bus_hz : (bus_hz / (2 * div)) in dw_mci_rk3288_set_ios()
199 if (ios->bus_width == MMC_BUS_WIDTH_8 && in dw_mci_rk3288_set_ios()
200 ios->timing == MMC_TIMING_MMC_DDR52) in dw_mci_rk3288_set_ios()
201 cclkin = 2 * ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
203 cclkin = ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
219 if (ios->timing <= MMC_TIMING_SD_HS) { in dw_mci_rk3288_set_ios()
262 switch (ios->timing) { in dw_mci_rk3288_set_ios()
[all …]
H A Dsdhci-xenon.h84 * record the current ios setting of Xenon SDHC.
86 * ios affects PHY timing.
104 int xenon_phy_adj(struct sdhci_host *host, struct mmc_ios *ios);
H A Dpxamci.c440 static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in pxamci_set_ios() argument
444 if (ios->clock) { in pxamci_set_ios()
446 unsigned int clk = rate / ios->clock; in pxamci_set_ios()
451 if (ios->clock == 26000000) { in pxamci_set_ios()
464 if (rate / clk > ios->clock) in pxamci_set_ios()
480 if (host->power_mode != ios->power_mode) { in pxamci_set_ios()
483 host->power_mode = ios->power_mode; in pxamci_set_ios()
485 ret = pxamci_set_power(host, ios->power_mode, ios->vdd); in pxamci_set_ios()
497 if (ios->power_mode == MMC_POWER_ON) in pxamci_set_ios()
501 if (ios->bus_width == MMC_BUS_WIDTH_4) in pxamci_set_ios()
H A Dsdhci.c385 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_init()
941 struct mmc_ios *ios = &mmc->ios; in sdhci_calc_sw_timeout() local
942 unsigned char bus_width = 1 << ios->bus_width; in sdhci_calc_sw_timeout()
2342 static bool sdhci_presetable_values_change(struct sdhci_host *host, struct mmc_ios *ios) in sdhci_presetable_values_change() argument
2350 (sdhci_preset_needed(host, ios->timing) || host->drv_type != ios->drv_type); in sdhci_presetable_values_change()
2353 void sdhci_set_ios_common(struct mmc_host *mmc, struct mmc_ios *ios) in sdhci_set_ios_common() argument
2361 if (ios->power_mode == MMC_POWER_OFF) { in sdhci_set_ios_common()
2367 (ios->power_mode == MMC_POWER_UP) && in sdhci_set_ios_common()
2373 void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdhci_set_ios() argument
2382 if (ios->power_mode == MMC_POWER_UNDEFINED) in sdhci_set_ios()
[all …]
H A Dmeson-mx-sdhc-mmc.c267 static int meson_mx_sdhc_set_clk(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mx_sdhc_set_clk() argument
275 if (ios->clock) { in meson_mx_sdhc_set_clk()
276 ret = clk_set_rate(host->sd_clk, ios->clock); in meson_mx_sdhc_set_clk()
280 ios->clock, host->error); in meson_mx_sdhc_set_clk()
307 static void meson_mx_sdhc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mx_sdhc_set_ios() argument
310 unsigned short vdd = ios->vdd; in meson_mx_sdhc_set_ios()
312 switch (ios->power_mode) { in meson_mx_sdhc_set_ios()
332 host->error = meson_mx_sdhc_set_clk(mmc, ios); in meson_mx_sdhc_set_ios()
336 switch (ios->bus_width) { in meson_mx_sdhc_set_ios()
357 ios->bus_width); in meson_mx_sdhc_set_ios()
H A Dusdhi6rol0.c727 static void usdhi6_clk_set(struct usdhi6_host *host, struct mmc_ios *ios) in usdhi6_clk_set() argument
729 unsigned long rate = ios->clock; in usdhi6_clk_set()
750 if (ios->timing != MMC_TIMING_UHS_DDR50) { in usdhi6_clk_set()
794 static void usdhi6_set_power(struct usdhi6_host *host, struct mmc_ios *ios) in usdhi6_set_power() argument
801 ios->power_mode ? ios->vdd : 0); in usdhi6_set_power()
818 static void usdhi6_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in usdhi6_set_ios() argument
825 ios->clock, ios->vdd, ios->power_mode, ios->bus_width, ios->timing); in usdhi6_set_ios()
827 switch (ios->power_mode) { in usdhi6_set_ios()
829 usdhi6_set_power(host, ios); in usdhi6_set_ios()
841 usdhi6_set_power(host, ios); in usdhi6_set_ios()
[all …]
H A Dmoxart-mmc.c488 static void moxart_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in moxart_set_ios() argument
497 if (ios->clock) { in moxart_set_ios()
499 if (ios->clock >= host->sysclk / (2 * (div + 1))) in moxart_set_ios()
509 if (ios->power_mode == MMC_POWER_OFF) { in moxart_set_ios()
513 if (ios->vdd < MIN_POWER) in moxart_set_ios()
516 power = ios->vdd - MIN_POWER; in moxart_set_ios()
522 switch (ios->bus_width) { in moxart_set_ios()
H A Dsdhci-pci-gli.c607 struct mmc_ios *ios = &host->mmc->ios; in sdhci_gl9750_set_clock() local
619 if (clock == 200000000 && ios->timing == MMC_TIMING_UHS_SDR104) { in sdhci_gl9750_set_clock()
799 struct mmc_ios *ios = &host->mmc->ios; in sdhci_gl9755_set_clock() local
813 if (clock == 200000000 && ios->timing == MMC_TIMING_UHS_SDR104) { in sdhci_gl9755_set_clock()
1255 struct mmc_ios *ios = &host->mmc->ios; in sdhci_gl9767_set_clock() local
1272 if (clock == 200000000 && ios->timing == MMC_TIMING_UHS_SDR104) { in sdhci_gl9767_set_clock()
1402 static int gl9767_init_sd_express(struct mmc_host *mmc, struct mmc_ios *ios) in gl9767_init_sd_express() argument
1413 mmc->ios.timing &= ~(MMC_TIMING_SD_EXP | MMC_TIMING_SD_EXP_1_2V); in gl9767_init_sd_express()
1473 mmc->ios.timing &= ~(MMC_TIMING_SD_EXP | MMC_TIMING_SD_EXP_1_2V); in gl9767_init_sd_express()
1673 struct mmc_ios *ios) in gl9763e_hs400_enhanced_strobe() argument
[all …]
H A Dsdhci-xenon-phy.c493 if (host->mmc->ios.enhanced_strobe) in xenon_emmc_phy_strobe_delay_adj()
810 int xenon_phy_adj(struct sdhci_host *host, struct mmc_ios *ios) in xenon_phy_adj() argument
827 (ios->bus_width == priv->bus_width) && in xenon_phy_adj()
828 (ios->timing == priv->timing)) in xenon_phy_adj()
831 xenon_emmc_phy_set(host, ios->timing); in xenon_phy_adj()
834 priv->bus_width = ios->bus_width; in xenon_phy_adj()
836 priv->timing = ios->timing; in xenon_phy_adj()
840 if (ios->timing == MMC_TIMING_LEGACY) in xenon_phy_adj()
H A Dmmc_spi.c1033 static void mmc_spi_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_spi_set_ios() argument
1037 if (host->power_mode != ios->power_mode) { in mmc_spi_set_ios()
1043 mmc_powerstring(ios->power_mode), in mmc_spi_set_ios()
1044 ios->vdd, in mmc_spi_set_ios()
1051 switch (ios->power_mode) { in mmc_spi_set_ios()
1055 ios->vdd); in mmc_spi_set_ios()
1056 if (ios->power_mode == MMC_POWER_UP) in mmc_spi_set_ios()
1062 if (ios->power_mode == MMC_POWER_ON) in mmc_spi_set_ios()
1074 if (canpower && ios->power_mode == MMC_POWER_OFF) { in mmc_spi_set_ios()
1107 host->power_mode = ios->power_mode; in mmc_spi_set_ios()
[all …]
/linux/Documentation/admin-guide/cgroup-v1/
H A Dblkio-controller.rst70 to the whole subtree while all statistics are local to the IOs
158 Number of IOs (bio) issued to the disk by the group. These
162 specifies the number of IOs.
166 for the IOs done by this cgroup. This is in nanoseconds to make it
171 of multiple IOs when served out of order which may result in total
179 Total amount of time the IOs for this cgroup spent waiting in the
181 elapsed since it is cumulative io_wait_time for all IOs. It is not a
183 the wait_time for its individual IOs. For devices with queue_depth > 1
284 Number of IOs (bio) issued to the disk by the group. These
288 specifies the number of IOs.
/linux/drivers/scsi/snic/
H A Dsnic_debugfs.c129 /* Skip variable is used to avoid descrepancies to Num IOs in snic_reset_stats_write()
131 * for pending active IOs after reset_stats in snic_reset_stats_write()
181 "Active IOs : %lld\n" in snic_stats_show()
182 "Max Active IOs : %lld\n" in snic_stats_show()
183 "Total IOs : %lld\n" in snic_stats_show()
184 "IOs Completed : %lld\n" in snic_stats_show()
185 "IOs Failed : %lld\n" in snic_stats_show()
186 "IOs Not Found : %lld\n" in snic_stats_show()
292 "IOs w/ Timeout Status : %lld\n" in snic_stats_show()
293 "IOs w/ Aborted Status : %lld\n" in snic_stats_show()
[all …]
H A Dsnic_stats.h8 atomic64_t active; /* Active IOs */
9 atomic64_t max_active; /* Max # active IOs */
22 atomic64_t num_ios; /* Number of IOs */
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_sdio.c186 host->ios.chip_select = MMC_CS_DONTCARE; in rsi_reset_card()
187 host->ios.bus_mode = MMC_BUSMODE_OPENDRAIN; in rsi_reset_card()
188 host->ios.power_mode = MMC_POWER_UP; in rsi_reset_card()
189 host->ios.bus_width = MMC_BUS_WIDTH_1; in rsi_reset_card()
190 host->ios.timing = MMC_TIMING_LEGACY; in rsi_reset_card()
191 host->ops->set_ios(host, &host->ios); in rsi_reset_card()
199 host->ios.clock = host->f_min; in rsi_reset_card()
200 host->ios.power_mode = MMC_POWER_ON; in rsi_reset_card()
201 host->ops->set_ios(host, &host->ios); in rsi_reset_card()
210 host->ios.chip_select = MMC_CS_HIGH; in rsi_reset_card()
[all …]
/linux/drivers/mmc/core/
H A Dsd_uhs2.c51 if (host->ios.power_mode == MMC_POWER_ON) in sd_uhs2_power_up()
54 host->ios.vdd = fls(host->ocr_avail) - 1; in sd_uhs2_power_up()
55 host->ios.clock = host->f_init; in sd_uhs2_power_up()
56 host->ios.timing = MMC_TIMING_UHS2_SPEED_A; in sd_uhs2_power_up()
57 host->ios.power_mode = MMC_POWER_ON; in sd_uhs2_power_up()
66 if (host->ios.power_mode == MMC_POWER_OFF) in sd_uhs2_power_off()
69 host->ios.vdd = 0; in sd_uhs2_power_off()
70 host->ios.clock = 0; in sd_uhs2_power_off()
71 host->ios.power_mode = MMC_POWER_OFF; in sd_uhs2_power_off()
79 host->ios.timing = MMC_TIMING_LEGACY; in sd_uhs2_power_off()
[all …]
/linux/tools/testing/selftests/ublk/
H A Dkublk.h190 struct ublk_io ios[UBLK_QUEUE_DEPTH];
377 return container_of(io, struct ublk_queue, ios[io->tag]); in ublk_io_alloc_sqes()
450 q->ios[tag].result = res; in ublk_get_io_res()
455 return q->ios[tag].result; in ublk_mark_io_done()
487 return q->ios[tag].buf_index; in ublk_get_io()
492 return &q->ios[tag]; in ublk_completed_tgt_io()
587 struct ublk_io *io = &q->ios[tag];
184 struct ublk_io ios[UBLK_QUEUE_DEPTH]; global() member
/linux/drivers/md/
H A Ddm-stats.c27 unsigned long long ios[2]; member
603 p->ios[idx] += 1; in dm_stat_for_entry()
733 shared->tmp.ios[READ] = 0; in __dm_stat_init_temporary_percpu_totals()
734 shared->tmp.ios[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
751 shared->tmp.ios[READ] += READ_ONCE(p->ios[READ]); in __dm_stat_init_temporary_percpu_totals()
752 shared->tmp.ios[WRITE] += READ_ONCE(p->ios[WRITE]); in __dm_stat_init_temporary_percpu_totals()
785 p->ios[READ] -= shared->tmp.ios[READ]; in __dm_stat_clear()
786 p->ios[WRITE] -= shared->tmp.ios[WRITE]; in __dm_stat_clear()
899 shared->tmp.ios[READ], in dm_stats_print()
903 shared->tmp.ios[WRITE], in dm_stats_print()
/linux/drivers/gpu/drm/amd/display/include/
H A Dgrph_object_defs.h114 /* Source based on GSL IOs */
115 /* These IOs normally used as GSL input/output */
123 /* Source based on regular IOs */
/linux/block/
H A Dgenhd.c120 stat->ios[group] += ptr->ios[group]; in part_stat_read_all()
146 * While iterating all CPUs, some IOs may be issued from a CPU already in bdev_count_inflight_rw()
155 * bdev_count_inflight - get the number of inflight IOs for a block device.
1083 stat.ios[STAT_READ], in part_stat_show()
1087 stat.ios[STAT_WRITE], in part_stat_show()
1098 stat.ios[STAT_DISCARD], in part_stat_show()
1102 stat.ios[STAT_FLUSH], in part_stat_show()
1107 * Show the number of IOs issued to driver.
1384 seq_put_decimal_ull(seqf, " ", stat.ios[STAT_READ]); in diskstats_show()
1389 seq_put_decimal_ull(seqf, " ", stat.ios[STAT_WRITE]); in diskstats_show()
[all …]

1234567