| /kernel/linux/linux-5.10/drivers/mmc/core/ |
| D | debugfs.c | 55 struct mmc_ios *ios = &host->ios; in mmc_ios_show() local 58 seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); in mmc_ios_show() 61 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show() 62 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show() 64 else if (ios->vdd < (ARRAY_SIZE(vdd_str) - 1) in mmc_ios_show() 65 && vdd_str[ios->vdd] && vdd_str[ios->vdd + 1]) in mmc_ios_show() 66 seq_printf(s, "(%s ~ %s V)\n", vdd_str[ios->vdd], in mmc_ios_show() 67 vdd_str[ios->vdd + 1]); in mmc_ios_show() 71 switch (ios->bus_mode) { in mmc_ios_show() 82 seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); in mmc_ios_show() [all …]
|
| D | host.h | 62 return card->host->ios.timing == MMC_TIMING_MMC_HS200; in mmc_card_hs200() 67 return card->host->ios.timing == MMC_TIMING_MMC_DDR52; in mmc_card_ddr52() 72 return card->host->ios.timing == MMC_TIMING_MMC_HS400; in mmc_card_hs400() 77 return card->host->ios.enhanced_strobe; in mmc_card_hs400es()
|
| D | core.c | 688 if (card->host->ios.clock) in mmc_set_data_timeout() 690 (card->host->ios.clock / 1000); in mmc_set_data_timeout() 885 * Internal function that does the actual ios call to the host driver, 890 struct mmc_ios *ios = &host->ios; in mmc_set_ios() local 894 mmc_hostname(host), ios->clock, ios->bus_mode, in mmc_set_ios() 895 ios->power_mode, ios->chip_select, ios->vdd, in mmc_set_ios() 896 1 << ios->bus_width, ios->timing); in mmc_set_ios() 898 host->ops->set_ios(host, ios); in mmc_set_ios() 906 host->ios.chip_select = mode; in mmc_set_chip_select() 921 host->ios.clock = hz; in mmc_set_clock() [all …]
|
| /kernel/linux/linux-6.6/drivers/mmc/core/ |
| D | debugfs.c | 56 struct mmc_ios *ios = &host->ios; in mmc_ios_show() local 59 seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); in mmc_ios_show() 62 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show() 63 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show() 65 else if (ios->vdd < (ARRAY_SIZE(vdd_str) - 1) in mmc_ios_show() 66 && vdd_str[ios->vdd] && vdd_str[ios->vdd + 1]) in mmc_ios_show() 67 seq_printf(s, "(%s ~ %s V)\n", vdd_str[ios->vdd], in mmc_ios_show() 68 vdd_str[ios->vdd + 1]); in mmc_ios_show() 72 switch (ios->bus_mode) { in mmc_ios_show() 83 seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); in mmc_ios_show() [all …]
|
| D | host.h | 68 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()
|
| D | core.c | 688 if (card->host->ios.clock) in mmc_set_data_timeout() 690 (card->host->ios.clock / 1000); in mmc_set_data_timeout() 885 * Internal function that does the actual ios call to the host driver, 890 struct mmc_ios *ios = &host->ios; in mmc_set_ios() local 894 mmc_hostname(host), ios->clock, ios->bus_mode, in mmc_set_ios() 895 ios->power_mode, ios->chip_select, ios->vdd, in mmc_set_ios() 896 1 << ios->bus_width, ios->timing); in mmc_set_ios() 898 host->ops->set_ios(host, ios); in mmc_set_ios() 906 host->ios.chip_select = mode; in mmc_set_chip_select() 921 host->ios.clock = hz; in mmc_set_clock() [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| D | dw_mmc-k3.c | 102 static void dw_mci_k3_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_k3_set_ios() argument 106 ret = clk_set_rate(host->ciu_clk, ios->clock); in dw_mci_k3_set_ios() 108 dev_warn(host->dev, "failed to set rate %uHz\n", ios->clock); in dw_mci_k3_set_ios() 141 static int dw_mci_hi6220_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in dw_mci_hi6220_switch_voltage() argument 155 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) { in dw_mci_hi6220_switch_voltage() 160 } else if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) { in dw_mci_hi6220_switch_voltage() 188 static void dw_mci_hi6220_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_hi6220_set_ios() argument 193 clock = (ios->clock <= 25000000) ? 25000000 : ios->clock; in dw_mci_hi6220_set_ios() 297 static void dw_mci_hi3660_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_hi3660_set_ios() argument 304 if (!ios->clock || ios->clock == priv->cur_speed) in dw_mci_hi3660_set_ios() [all …]
|
| D | dw_mmc-hi3798cv200.c | 32 static void dw_mci_hi3798cv200_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_hi3798cv200_set_ios() argument 38 if (ios->timing == MMC_TIMING_MMC_DDR52 || in dw_mci_hi3798cv200_set_ios() 39 ios->timing == MMC_TIMING_UHS_DDR50) in dw_mci_hi3798cv200_set_ios() 46 if (ios->timing == MMC_TIMING_MMC_DDR52) in dw_mci_hi3798cv200_set_ios() 53 if (ios->timing == MMC_TIMING_MMC_HS400) in dw_mci_hi3798cv200_set_ios() 59 if (ios->timing == MMC_TIMING_MMC_HS || in dw_mci_hi3798cv200_set_ios() 60 ios->timing == MMC_TIMING_LEGACY) in dw_mci_hi3798cv200_set_ios() 62 else if (ios->timing == MMC_TIMING_MMC_HS200) in dw_mci_hi3798cv200_set_ios()
|
| D | mmci_stm32_sdmmc.c | 199 if (host->mmc->ios.timing == MMC_TIMING_MMC_DDR52 || in mmci_sdmmc_set_clkreg() 200 host->mmc->ios.timing == MMC_TIMING_UHS_DDR50) in mmci_sdmmc_set_clkreg() 228 if (host->mmc->ios.power_mode == MMC_POWER_ON) in mmci_sdmmc_set_clkreg() 233 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) in mmci_sdmmc_set_clkreg() 235 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) in mmci_sdmmc_set_clkreg() 246 if (host->mmc->ios.timing >= MMC_TIMING_UHS_SDR50) { in mmci_sdmmc_set_clkreg() 248 if (host->mmc->ios.timing == MMC_TIMING_UHS_SDR104) { in mmci_sdmmc_set_clkreg() 268 struct mmc_ios ios = host->mmc->ios; in mmci_sdmmc_set_pwrreg() local 276 if (ios.power_mode == MMC_POWER_OFF) { in mmci_sdmmc_set_pwrreg() 289 } else if (ios.power_mode == MMC_POWER_ON) { in mmci_sdmmc_set_pwrreg() [all …]
|
| D | dw_mmc-rockchip.c | 27 static void dw_mci_rk3288_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_rk3288_set_ios() argument 34 if (ios->clock == 0) in dw_mci_rk3288_set_ios() 41 * ios->clock = (div == 0) ? bus_hz : (bus_hz / (2 * div)) in dw_mci_rk3288_set_ios() 46 if (ios->bus_width == MMC_BUS_WIDTH_8 && in dw_mci_rk3288_set_ios() 47 ios->timing == MMC_TIMING_MMC_DDR52) in dw_mci_rk3288_set_ios() 48 cclkin = 2 * ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios() 50 cclkin = ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios() 54 dev_warn(host->dev, "failed to set rate %uHz\n", ios->clock); in dw_mci_rk3288_set_ios() 104 switch (ios->timing) { in dw_mci_rk3288_set_ios() 111 if (ios->bus_width == MMC_BUS_WIDTH_8) in dw_mci_rk3288_set_ios()
|
| D | alcor.c | 692 static void alcor_set_timing(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_timing() argument 696 if (ios->timing == MMC_TIMING_LEGACY) { in alcor_set_timing() 705 static void alcor_set_bus_width(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_bus_width() argument 710 if (ios->bus_width == MMC_BUS_WIDTH_1) { in alcor_set_bus_width() 712 } else if (ios->bus_width == MMC_BUS_WIDTH_4) { in alcor_set_bus_width() 845 static void alcor_set_power_mode(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_power_mode() argument 850 switch (ios->power_mode) { in alcor_set_power_mode() 852 alcor_set_clock(host, ios->clock); in alcor_set_power_mode() 880 alcor_set_clock(host, ios->clock); in alcor_set_power_mode() 887 alcor_set_clock(host, ios->clock); in alcor_set_power_mode() [all …]
|
| D | sdhci-pci-arasan.c | 250 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()
|
| D | owl-mmc.c | 427 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 …]
|
| /kernel/linux/linux-6.6/drivers/mmc/host/ |
| D | dw_mmc-k3.c | 102 static void dw_mci_k3_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_k3_set_ios() argument 106 ret = clk_set_rate(host->ciu_clk, ios->clock); in dw_mci_k3_set_ios() 108 dev_warn(host->dev, "failed to set rate %uHz\n", ios->clock); in dw_mci_k3_set_ios() 141 static int dw_mci_hi6220_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in dw_mci_hi6220_switch_voltage() argument 155 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) { in dw_mci_hi6220_switch_voltage() 160 } else if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) { in dw_mci_hi6220_switch_voltage() 188 static void dw_mci_hi6220_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_hi6220_set_ios() argument 193 clock = (ios->clock <= 25000000) ? 25000000 : ios->clock; in dw_mci_hi6220_set_ios() 297 static void dw_mci_hi3660_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_hi3660_set_ios() argument 304 if (!ios->clock || ios->clock == priv->cur_speed) in dw_mci_hi3660_set_ios() [all …]
|
| D | dw_mmc-hi3798cv200.c | 26 static void dw_mci_hi3798cv200_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_hi3798cv200_set_ios() argument 32 if (ios->timing == MMC_TIMING_MMC_DDR52 || in dw_mci_hi3798cv200_set_ios() 33 ios->timing == MMC_TIMING_UHS_DDR50) in dw_mci_hi3798cv200_set_ios() 40 if (ios->timing == MMC_TIMING_MMC_DDR52) in dw_mci_hi3798cv200_set_ios() 47 if (ios->timing == MMC_TIMING_MMC_HS400) in dw_mci_hi3798cv200_set_ios() 53 if (ios->timing == MMC_TIMING_MMC_HS || in dw_mci_hi3798cv200_set_ios() 54 ios->timing == MMC_TIMING_LEGACY) in dw_mci_hi3798cv200_set_ios() 56 else if (ios->timing == MMC_TIMING_MMC_HS200) in dw_mci_hi3798cv200_set_ios()
|
| D | dw_mmc-starfive.c | 31 static void dw_mci_starfive_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_starfive_set_ios() argument 36 if (ios->timing == MMC_TIMING_MMC_DDR52 || ios->timing == MMC_TIMING_UHS_DDR50) { in dw_mci_starfive_set_ios() 37 clock = (ios->clock > 50000000 && ios->clock <= 52000000) ? 100000000 : ios->clock; in dw_mci_starfive_set_ios() 40 dev_dbg(host->dev, "Use an external frequency divider %uHz\n", ios->clock); in dw_mci_starfive_set_ios()
|
| D | mmci_stm32_sdmmc.c | 301 if (host->mmc->ios.timing == MMC_TIMING_MMC_DDR52 || in mmci_sdmmc_set_clkreg() 302 host->mmc->ios.timing == MMC_TIMING_UHS_DDR50) in mmci_sdmmc_set_clkreg() 330 if (host->mmc->ios.power_mode == MMC_POWER_ON) in mmci_sdmmc_set_clkreg() 335 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) in mmci_sdmmc_set_clkreg() 337 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) in mmci_sdmmc_set_clkreg() 344 if (host->mmc->ios.timing >= MMC_TIMING_UHS_SDR50) in mmci_sdmmc_set_clkreg() 361 struct mmc_ios ios = host->mmc->ios; in mmci_sdmmc_set_pwrreg() local 370 if (ios.power_mode == MMC_POWER_OFF) { in mmci_sdmmc_set_pwrreg() 383 } else if (ios.power_mode == MMC_POWER_ON) { in mmci_sdmmc_set_pwrreg() 416 if (host->mmc->ios.timing == MMC_TIMING_UHS_SDR104 || in sdmmc_get_dctrl_cfg() [all …]
|
| D | alcor.c | 692 static void alcor_set_timing(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_timing() argument 696 if (ios->timing == MMC_TIMING_LEGACY) { in alcor_set_timing() 705 static void alcor_set_bus_width(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_bus_width() argument 710 if (ios->bus_width == MMC_BUS_WIDTH_1) { in alcor_set_bus_width() 712 } else if (ios->bus_width == MMC_BUS_WIDTH_4) { in alcor_set_bus_width() 845 static void alcor_set_power_mode(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_power_mode() argument 850 switch (ios->power_mode) { in alcor_set_power_mode() 852 alcor_set_clock(host, ios->clock); in alcor_set_power_mode() 880 alcor_set_clock(host, ios->clock); in alcor_set_power_mode() 887 alcor_set_clock(host, ios->clock); in alcor_set_power_mode() [all …]
|
| D | dw_mmc-rockchip.c | 29 static void dw_mci_rk3288_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_rk3288_set_ios() argument 36 if (ios->clock == 0) in dw_mci_rk3288_set_ios() 43 * ios->clock = (div == 0) ? bus_hz : (bus_hz / (2 * div)) in dw_mci_rk3288_set_ios() 48 if (ios->bus_width == MMC_BUS_WIDTH_8 && in dw_mci_rk3288_set_ios() 49 ios->timing == MMC_TIMING_MMC_DDR52) in dw_mci_rk3288_set_ios() 50 cclkin = 2 * ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios() 52 cclkin = ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios() 66 if (!IS_ERR(priv->sample_clk) && ios->timing <= MMC_TIMING_SD_HS) in dw_mci_rk3288_set_ios() 106 switch (ios->timing) { in dw_mci_rk3288_set_ios() 113 if (ios->bus_width == MMC_BUS_WIDTH_8) in dw_mci_rk3288_set_ios()
|
| D | sdhci-pci-arasan.c | 250 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()
|
| D | owl-mmc.c | 427 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 …]
|
| /kernel/linux/linux-6.6/drivers/scsi/elx/efct/ |
| D | efct_xport.h | 133 /* 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 */
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/ |
| D | blkio-controller.rst | 69 to the whole subtree while all statistics are local to the IOs 153 - Number of IOs (bio) issued to the disk by the group. These 157 specifies the number of IOs. 161 for the IOs done by this cgroup. This is in nanoseconds to make it 166 of multiple IOs when served out of order which may result in total 174 - Total amount of time the IOs for this cgroup spent waiting in the 176 elapsed since it is cumulative io_wait_time for all IOs. It is not a 178 the wait_time for its individual IOs. For devices with queue_depth > 1 279 - Number of IOs (bio) issued to the disk by the group. These 283 specifies the number of IOs.
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/cgroup-v1/ |
| D | blkio-controller.rst | 70 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.
|
| /kernel/linux/linux-6.6/drivers/scsi/snic/ |
| D | snic_debugfs.c | 129 /* 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 …]
|