Home
last modified time | relevance | path

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

12345678

/linux/drivers/mmc/core/
H A Ddebugfs.c59 struct mmc_ios *ios = &host->ios; in mmc_ios_show() local
62 seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); in mmc_ios_show()
65 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show()
66 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show()
68 else if (ios->vdd < (ARRAY_SIZE(vdd_str) - 1) in mmc_ios_show()
69 && vdd_str[ios->vdd] && vdd_str[ios->vdd + 1]) in mmc_ios_show()
70 seq_printf(s, "(%s ~ %s V)\n", vdd_str[ios->vdd], in mmc_ios_show()
71 vdd_str[ios->vdd + 1]); in mmc_ios_show()
75 switch (ios->bus_mode) { in mmc_ios_show()
86 seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); in mmc_ios_show()
[all …]
H A Dhost.h68 return card->host->ios.timing == MMC_TIMING_MMC_HS200; in mmc_card_hs200()
73 return card->host->ios.timing == MMC_TIMING_MMC_DDR52; in mmc_card_ddr52()
78 return card->host->ios.timing == MMC_TIMING_MMC_HS400; in mmc_card_hs400()
83 return card->host->ios.enhanced_strobe; in mmc_card_hs400es()
88 return host->ios.timing == MMC_TIMING_SD_EXP || in mmc_card_sd_express()
89 host->ios.timing == MMC_TIMING_SD_EXP_1_2V; in mmc_card_sd_express()
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/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/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 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 Dtifm_sd.c789 static void tifm_sd_ios(struct mmc_host *mmc, struct mmc_ios *ios) in tifm_sd_ios() argument
798 dev_dbg(&sock->dev, "ios: clock = %u, vdd = %x, bus_mode = %x, " in tifm_sd_ios()
800 ios->clock, ios->vdd, ios->bus_mode, ios->chip_select, in tifm_sd_ios()
801 ios->power_mode, ios->bus_width); in tifm_sd_ios()
803 if (ios->bus_width == MMC_BUS_WIDTH_4) { in tifm_sd_ios()
812 if (ios->clock) { in tifm_sd_ios()
813 clk_div1 = 20000000 / ios->clock; in tifm_sd_ios()
817 clk_div2 = 24000000 / ios->clock; in tifm_sd_ios()
821 if ((20000000 / clk_div1) > ios->clock) in tifm_sd_ios()
823 if ((24000000 / clk_div2) > ios->clock) in tifm_sd_ios()
[all …]
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 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 Drtsx_pci_sdmmc.c49 static int sdmmc_init_sd_express(struct mmc_host *mmc, struct mmc_ios *ios);
1086 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_set_ios() argument
1101 sd_set_bus_width(host, ios->bus_width); in sdmmc_set_ios()
1102 sd_set_power_mode(host, ios->power_mode); in sdmmc_set_ios()
1103 sd_set_timing(host, ios->timing); in sdmmc_set_ios()
1108 switch (ios->timing) { in sdmmc_set_ios()
1125 host->initial_mode = (ios->clock <= 1000000) ? true : false; in sdmmc_set_ios()
1127 host->clock = ios->clock; in sdmmc_set_ios()
1128 rtsx_pci_switch_clock(pcr, ios->clock, host->ssc_depth, in sdmmc_set_ios()
1257 static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_switch_voltage() argument
[all …]
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 Domap.c1155 static int mmc_omap_calc_divisor(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_omap_calc_divisor() argument
1162 if (ios->clock == 0) in mmc_omap_calc_divisor()
1165 dsor = func_clk_rate / ios->clock; in mmc_omap_calc_divisor()
1169 if (func_clk_rate / dsor > ios->clock) in mmc_omap_calc_divisor()
1177 if (ios->bus_width == MMC_BUS_WIDTH_4) in mmc_omap_calc_divisor()
1183 static void mmc_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_omap_set_ios() argument
1192 dsor = mmc_omap_calc_divisor(mmc, ios); in mmc_omap_set_ios()
1194 if (ios->vdd != slot->vdd) in mmc_omap_set_ios()
1195 slot->vdd = ios->vdd; in mmc_omap_set_ios()
1199 switch (ios->power_mode) { in mmc_omap_set_ios()
[all …]
H A Dmeson-mx-sdio.c197 if (mmc->ios.bus_width == MMC_BUS_WIDTH_4) in meson_mx_mmc_start_cmd()
258 static void meson_mx_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mx_mmc_set_ios() argument
261 unsigned short vdd = ios->vdd; in meson_mx_mmc_set_ios()
262 unsigned long clk_rate = ios->clock; in meson_mx_mmc_set_ios()
264 switch (ios->bus_width) { in meson_mx_mmc_set_ios()
279 ios->bus_width); in meson_mx_mmc_set_ios()
284 host->error = clk_set_rate(host->cfg_div_clk, ios->clock); in meson_mx_mmc_set_ios()
294 switch (ios->power_mode) { in meson_mx_mmc_set_ios()
/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/staging/greybus/
H A Dsdio.c588 static void gb_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in gb_mmc_set_ios() argument
601 request.clock = cpu_to_le32(ios->clock); in gb_mmc_set_ios()
603 if (ios->vdd) in gb_mmc_set_ios()
604 vdd = 1 << (ios->vdd - GB_SDIO_VDD_SHIFT); in gb_mmc_set_ios()
607 request.bus_mode = ios->bus_mode == MMC_BUSMODE_OPENDRAIN ? in gb_mmc_set_ios()
611 switch (ios->power_mode) { in gb_mmc_set_ios()
628 switch (ios->bus_width) { in gb_mmc_set_ios()
642 switch (ios->timing) { in gb_mmc_set_ios()
680 switch (ios->signal_voltage) { in gb_mmc_set_ios()
694 switch (ios->drv_type) { in gb_mmc_set_ios()
[all …]
/linux/tools/testing/selftests/ublk/
H A Dkublk.h173 struct ublk_io ios[UBLK_QUEUE_DEPTH]; member
257 return container_of(io, struct ublk_queue, ios[io->tag]); in ublk_io_to_queue()
330 q->ios[tag].result = res; in ublk_set_io_res()
335 return q->ios[tag].result; in ublk_get_io_res()
359 return &q->ios[tag]; in ublk_get_io()
365 struct ublk_io *io = &q->ios[tag]; in ublk_complete_io()
/linux/fs/f2fs/
H A Diostat.c45 /* print app write IOs */ in iostat_info_seq_show()
53 /* print fs write IOs */ in iostat_info_seq_show()
64 /* print app read IOs */ in iostat_info_seq_show()
72 /* print fs read IOs */ in iostat_info_seq_show()
79 /* print other IOs */ in iostat_info_seq_show()
/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 */

12345678