/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | mmc_core.c | 222 mmc->mmc_tx_65_to_127_octets_gb += in dwmac_mmc_read() 291 mmc->mmc_rx_ipv4_hderr_octets += in dwmac_mmc_read() 293 mmc->mmc_rx_ipv4_nopay_octets += in dwmac_mmc_read() 297 mmc->mmc_rx_ipv4_udsbl_octets += in dwmac_mmc_read() 302 mmc->mmc_rx_ipv6_hderr_octets += in dwmac_mmc_read() 304 mmc->mmc_rx_ipv6_nopay_octets += in dwmac_mmc_read() 398 &mmc->mmc_tx_unicast_gb); in dwxgmac_mmc_read() 426 &mmc->mmc_rx_crc_error); in dwxgmac_mmc_read() 428 &mmc->mmc_rx_crc_error); in dwxgmac_mmc_read() 446 &mmc->mmc_rx_unicast_g); in dwxgmac_mmc_read() [all …]
|
/linux-6.3-rc2/drivers/mmc/host/ |
A D | meson-mx-sdhc-mmc.c | 45 struct mmc_host *mmc; member 116 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_wait_cmd_ready() 127 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_wait_cmd_ready() 319 mmc->actual_clock = 0; in meson_mx_sdhc_set_clk() 526 struct mmc_host *mmc = host->mmc; in meson_mx_sdhc_request_done() local 783 struct mmc_host *mmc; in meson_mx_sdhc_probe() local 788 if (!mmc) in meson_mx_sdhc_probe() 792 mmc); in meson_mx_sdhc_probe() 798 host = mmc_priv(mmc); in meson_mx_sdhc_probe() 799 host->mmc = mmc; in meson_mx_sdhc_probe() [all …]
|
A D | mmc_hsq.c | 19 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_retry_handler() local 21 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_retry_handler() 26 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_pump_requests() local 51 if (mmc->ops->request_atomic) in mmc_hsq_pump_requests() 52 ret = mmc->ops->request_atomic(mmc, hsq->mrq); in mmc_hsq_pump_requests() 54 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_pump_requests() 235 if (mmc->ops->post_req) in mmc_hsq_post_req() 236 mmc->ops->post_req(mmc, mrq, 0); in mmc_hsq_post_req() 337 hsq->mmc = mmc; in mmc_hsq_init() 338 hsq->mmc->cqe_private = hsq; in mmc_hsq_init() [all …]
|
A D | cqhci-core.c | 110 struct mmc_host *mmc = cq_host->mmc; in cqhci_dumpregs() local 248 struct mmc_host *mmc = cq_host->mmc; in __cqhci_enable() local 288 mmc->cqe_on = true; in __cqhci_enable() 394 mmc->cqe_on = false; in cqhci_off() 404 cqhci_off(mmc); in cqhci_disable() 608 if (!mmc->cqe_on) { in cqhci_request() 613 mmc->cqe_on = true; in cqhci_request() 946 mmc_hostname(mmc)); in cqhci_clear_all_tasks() 1005 mmc->cqe_on = false; in cqhci_recovery_start() 1108 mmc->cqe_on = false; in cqhci_recovery_finish() [all …]
|
A D | meson-gx-mmc.c | 154 struct mmc_host *mmc; member 357 struct mmc_host *mmc = host->mmc; in meson_mmc_clk_set() local 368 mmc->actual_clock = 0; in meson_mmc_clk_set() 608 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in meson_mmc_set_ios() 619 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in meson_mmc_set_ios() 1167 struct mmc_host *mmc; in meson_mmc_probe() local 1172 if (!mmc) in meson_mmc_probe() 1175 host->mmc = mmc; in meson_mmc_probe() 1258 mmc->max_segs = 1; in meson_mmc_probe() 1267 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe() [all …]
|
A D | davinci_mmc.c | 171 struct mmc_host *mmc; member 1071 mmc = host->mmc; in mmc_davinci_cpufreq_transition() 1077 calculate_clk_divider(mmc, &mmc->ios); in mmc_davinci_cpufreq_transition() 1213 if (!mmc) in davinci_mmcsd_probe() 1217 host->mmc = mmc; /* Important */ in davinci_mmcsd_probe() 1291 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe() 1293 dev_dbg(mmc_dev(host->mmc), "max_segs=%d\n", mmc->max_segs); in davinci_mmcsd_probe() 1294 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); in davinci_mmcsd_probe() 1295 dev_dbg(mmc_dev(host->mmc), "max_req_size=%d\n", mmc->max_req_size); in davinci_mmcsd_probe() 1296 dev_dbg(mmc_dev(host->mmc), "max_seg_size=%d\n", mmc->max_seg_size); in davinci_mmcsd_probe() [all …]
|
A D | meson-mx-sdio.c | 118 struct mmc_host *mmc; member 286 dev_warn(mmc_dev(mmc), in meson_mx_mmc_set_ios() 321 dev_err(mmc_dev(mmc), in meson_mx_mmc_map_dma() 531 struct mmc_host *mmc = host->mmc; in meson_mx_mmc_add_host() local 552 mmc->max_seg_size = mmc->max_req_size; in meson_mx_mmc_add_host() 553 mmc->max_blk_count = in meson_mx_mmc_add_host() 632 struct mmc_host *mmc; in meson_mx_mmc_probe() local 644 if (!mmc) { in meson_mx_mmc_probe() 649 host = mmc_priv(mmc); in meson_mx_mmc_probe() 650 host->mmc = mmc; in meson_mx_mmc_probe() [all …]
|
A D | tmio_mmc_core.c | 631 struct mmc_host *mmc = host->mmc; in __tmio_mmc_card_detect_irq() local 680 struct mmc_host *mmc = host->mmc; in __tmio_mmc_sdio_irq() local 876 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_on() local 910 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_off() local 916 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in tmio_mmc_power_off() 1053 struct mmc_host *mmc = host->mmc; in tmio_mmc_init_ocr() local 1109 host->mmc = mmc; in tmio_mmc_host_alloc() 1143 struct mmc_host *mmc = _host->mmc; in tmio_mmc_host_probe() local 1180 mmc->max_blk_size * mmc->max_blk_count, in tmio_mmc_host_probe() 1182 mmc->max_seg_size = mmc->max_req_size; in tmio_mmc_host_probe() [all …]
|
A D | sdhci.c | 239 struct mmc_host *mmc = host->mmc; in sdhci_do_reset() local 241 if (!mmc->ops->get_cd(mmc)) in sdhci_do_reset() 361 struct mmc_host *mmc = host->mmc; in sdhci_init() local 382 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_init() 3680 mmc->ops->card_event(mmc); in sdhci_thread_irq() 3794 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_resume_host() 3857 mmc->ops->start_signal_voltage_switch(mmc, &mmc->ios); in sdhci_runtime_resume_host() 3858 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_runtime_resume_host() 3869 mmc->ops->hs400_enhanced_strobe(mmc, &mmc->ios); in sdhci_runtime_resume_host() 4034 host->mmc = mmc; in sdhci_alloc_host() [all …]
|
A D | pxamci.c | 51 struct mmc_host *mmc; member 79 struct mmc_host *mmc = host->mmc; in pxamci_init_ocr() local 100 struct mmc_host *mmc = host->mmc; in pxamci_set_power() local 609 struct mmc_host *mmc; in pxamci_probe() local 621 if (!mmc) { in pxamci_probe() 654 host->mmc = mmc; in pxamci_probe() 677 mmc->caps = 0; in pxamci_probe() 782 if (mmc) in pxamci_probe() 783 mmc_free_host(mmc); in pxamci_probe() 791 if (mmc) { in pxamci_remove() [all …]
|
A D | wmt-sdmmc.c | 186 struct mmc_host *mmc; member 230 priv = mmc_priv(mmc); in wmt_mci_read_response() 260 priv = mmc_priv(mmc); in wmt_mci_send_command() 607 wmt_dma_init(mmc); in wmt_mci_request() 779 if (!mmc) { in wmt_mci_probe() 795 mmc->max_req_size = (16*512*mmc->max_segs); in wmt_mci_probe() 796 mmc->max_blk_count = mmc->max_req_size / 512; in wmt_mci_probe() 799 priv->mmc = mmc; in wmt_mci_probe() 880 mmc_free_host(mmc); in wmt_mci_probe() 934 if (!mmc) in wmt_mci_suspend() [all …]
|
A D | sunxi-mmc.c | 271 struct mmc_host *mmc; member 763 struct mmc_host *mmc = host->mmc; in sunxi_mmc_clk_set_rate() local 905 struct mmc_host *mmc = host->mmc; in sunxi_mmc_card_power() local 934 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in sunxi_mmc_card_power() 1369 struct mmc_host *mmc; in sunxi_mmc_probe() local 1373 if (!mmc) { in sunxi_mmc_probe() 1379 host = mmc_priv(mmc); in sunxi_mmc_probe() 1381 host->mmc = mmc; in sunxi_mmc_probe() 1425 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe() 1485 mmc_free_host(mmc); in sunxi_mmc_probe() [all …]
|
A D | litex_mmc.c | 77 struct mmc_host *mmc; member 255 struct mmc_host *mmc = arg; in litex_mmc_interrupt() local 511 mmc_free_host(mmc); in litex_mmc_free_host_wrapper() 518 struct mmc_host *mmc; in litex_mmc_probe() local 529 if (!mmc) in litex_mmc_probe() 537 host = mmc_priv(mmc); in litex_mmc_probe() 538 host->mmc = mmc; in litex_mmc_probe() 603 mmc->f_min = 12.5e6; in litex_mmc_probe() 604 mmc->f_max = 50e6; in litex_mmc_probe() 606 ret = mmc_of_parse(mmc); in litex_mmc_probe() [all …]
|
A D | mxcmmc.c | 121 struct mmc_host *mmc; member 982 struct mmc_host *mmc; in mxcmci_probe() local 998 if (!mmc) in mxcmci_probe() 1001 host = mmc_priv(mmc); in mxcmci_probe() 1025 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe() 1026 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe() 1032 mmc->max_segs = 64; in mxcmci_probe() 1034 host->mmc = mmc; in mxcmci_probe() 1139 host->mmc); in mxcmci_probe() 1162 mmc_free_host(mmc); in mxcmci_probe() [all …]
|
A D | mxs-mmc.c | 51 struct mmc_host *mmc; member 71 ret = mmc_gpio_get_cd(mmc); in mxs_mmc_get_cd() 564 struct mmc_host *mmc; in mxs_mmc_probe() local 574 if (!mmc) in mxs_mmc_probe() 577 host = mmc_priv(mmc); in mxs_mmc_probe() 588 host->mmc = mmc; in mxs_mmc_probe() 636 mmc->f_min = 400000; in mxs_mmc_probe() 645 mmc->max_segs = 52; in mxs_mmc_probe() 673 mmc_free_host(mmc); in mxs_mmc_probe() 683 mmc_remove_host(mmc); in mxs_mmc_remove() [all …]
|
A D | omap_hsmmc.c | 171 struct mmc_host *mmc; member 223 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in omap_hsmmc_enable_supply() 242 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in omap_hsmmc_enable_supply() 263 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in omap_hsmmc_disable_supply() 312 struct mmc_host *mmc = host->mmc; in omap_hsmmc_set_power() local 383 struct mmc_host *mmc = host->mmc; in omap_hsmmc_disable_boot_regulators() local 417 struct mmc_host *mmc = host->mmc; in omap_hsmmc_reg_get() local 1803 if (!mmc) { in omap_hsmmc_probe() 1813 host->mmc = mmc; in omap_hsmmc_probe() 1879 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in omap_hsmmc_probe() [all …]
|
A D | mmci.c | 1155 if (host->mmc->card && mmc_card_sdio(host->mmc->card)) { in mmci_start_data() 1754 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in mmci_set_ios() 1764 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in mmci_set_ios() 2015 if (!mmc) in mmci_probe() 2019 host->mmc = mmc; in mmci_probe() 2115 if (mmc->f_max) in mmci_probe() 2124 dev_dbg(mmc_dev(mmc), "clocking block at %u Hz\n", mmc->f_max); in mmci_probe() 2191 mmc->max_seg_size = mmc->max_req_size; in mmci_probe() 2277 if (mmc) { in mmci_remove() 2344 if (mmc) { in mmci_runtime_suspend() [all …]
|
A D | usdhi6rol0.c | 159 struct mmc_host *mmc; member 796 struct mmc_host *mmc = host->mmc; in usdhi6_set_power() local 800 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, in usdhi6_set_power() 1653 struct mmc_host *mmc = host->mmc; in usdhi6_cd() local 1670 mmc->card))) in usdhi6_cd() 1764 if (!mmc) in usdhi6_probe() 1776 host->mmc = mmc; in usdhi6_probe() 1853 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in usdhi6_probe() 1854 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in usdhi6_probe() 1863 mmc->max_seg_size = mmc->max_req_size; in usdhi6_probe() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/mmc/ |
A D | allwinner,sun4i-a10-mmc.yaml | 4 $id: http://devicetree.org/schemas/mmc/allwinner,sun4i-a10-mmc.yaml# 10 - $ref: mmc-controller.yaml 22 - const: allwinner,sun4i-a10-mmc 23 - const: allwinner,sun5i-a13-mmc 24 - const: allwinner,sun7i-a20-mmc 26 - const: allwinner,sun9i-a80-mmc 27 - const: allwinner,sun20i-d1-mmc 29 - const: allwinner,sun50i-a64-mmc 84 - const: mmc 105 mmc0: mmc@1c0f000 { [all …]
|
A D | ingenic,mmc.yaml | 4 $id: http://devicetree.org/schemas/mmc/ingenic,mmc.yaml# 13 - $ref: mmc-controller.yaml# 19 - ingenic,jz4740-mmc 24 - ingenic,x1000-mmc 39 const: mmc 67 mmc0: mmc@13450000 { 75 clock-names = "mmc"; 78 cap-mmc-highspeed; 92 mmc1: mmc@13460000 { 100 clock-names = "mmc"; [all …]
|
A D | cavium-mmc.txt | 11 cavium,octeon-6130-mmc 12 cavium,octeon-7890-mmc 13 cavium,thunder-8190-mmc 14 cavium,thunder-8390-mmc 15 mmc-slot 29 - cavium,octeon-6130-mmc-slot : use mmc-slot instead 32 mmc_1_4: mmc@1,4 { 39 mmc-slot@0 { 40 compatible = "mmc-slot"; 48 mmc-slot@1 { [all …]
|
A D | mtk-sd.yaml | 17 - mediatek,mt2701-mmc 18 - mediatek,mt2712-mmc 19 - mediatek,mt6779-mmc 20 - mediatek,mt6795-mmc 21 - mediatek,mt7620-mmc 22 - mediatek,mt7622-mmc 23 - mediatek,mt7986-mmc 24 - mediatek,mt8135-mmc 321 mmc0: mmc@11230000 { 341 mmc3: mmc@11260000 { [all …]
|
A D | sdhci-st.txt | 4 Documentation/devicetree/bindings/mmc/mmc.txt and the properties 31 - reg-names: Should be "mmc" and "top-mmc-delay". "top-mmc-delay" is optional 36 See: Documentation/devicetree/bindings/mmc/mmc.txt. 39 See: Documentation/devicetree/bindings/mmc/mmc.txt. 43 See: Documentation/devicetree/bindings/mmc/mmc.txt. 52 See: Documentation/devicetree/bindings/mmc/mmc.txt. 55 See: Documentation/devicetree/bindings/mmc/mmc.txt. 58 See: Documentation/devicetree/bindings/mmc/mmc.txt. 71 clock-names = "mmc"; 80 reg-names = "mmc"; [all …]
|
/linux-6.3-rc2/drivers/mmc/core/ |
A D | regulator.c | 106 int mmc_regulator_set_ocr(struct mmc_host *mmc, in mmc_regulator_set_ocr() argument 120 mmc->regulator_enabled = true; in mmc_regulator_set_ocr() 122 } else if (mmc->regulator_enabled) { in mmc_regulator_set_ocr() 125 mmc->regulator_enabled = false; in mmc_regulator_set_ocr() 129 dev_err(mmc_dev(mmc), in mmc_regulator_set_ocr() 181 struct device *dev = mmc_dev(mmc); in mmc_regulator_set_vqmmc() 185 if (IS_ERR(mmc->supply.vqmmc)) in mmc_regulator_set_vqmmc() 247 struct device *dev = mmc_dev(mmc); in mmc_regulator_get_supply() 253 if (IS_ERR(mmc->supply.vmmc)) { in mmc_regulator_get_supply() 260 mmc->ocr_avail = ret; in mmc_regulator_get_supply() [all …]
|
/linux-6.3-rc2/drivers/staging/greybus/ |
A D | sdio.c | 118 struct mmc_host *mmc = host->mmc; in gb_sdio_get_caps() local 148 mmc->ocr_avail_sdio = mmc->ocr_avail; in gb_sdio_get_caps() 149 mmc->ocr_avail_sd = mmc->ocr_avail; in gb_sdio_get_caps() 150 mmc->ocr_avail_mmc = mmc->ocr_avail; in gb_sdio_get_caps() 715 memcpy(&mmc->ios, ios, sizeof(mmc->ios)); in gb_mmc_set_ios() 771 if (!mmc) in gb_sdio_probe() 783 host->mmc = mmc; in gb_sdio_probe() 801 mmc->max_segs = host->mmc->max_blk_count; in gb_sdio_probe() 804 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in gb_sdio_probe() 805 mmc->max_seg_size = mmc->max_req_size; in gb_sdio_probe() [all …]
|