| /linux-6.15/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | mmc_core.c | 481 &mmc->mmc_rx_crc_error); in dwxgmac_mmc_read() 483 &mmc->mmc_rx_crc_error); in dwxgmac_mmc_read() 501 &mmc->mmc_rx_unicast_g); in dwxgmac_mmc_read() 540 &mmc->mmc_rx_ipv4_gd); in dwxgmac_mmc_read() 551 &mmc->mmc_rx_ipv6_gd); in dwxgmac_mmc_read() 558 &mmc->mmc_rx_udp_gd); in dwxgmac_mmc_read() 560 &mmc->mmc_rx_udp_err); in dwxgmac_mmc_read() 562 &mmc->mmc_rx_tcp_gd); in dwxgmac_mmc_read() 564 &mmc->mmc_rx_tcp_err); in dwxgmac_mmc_read() 566 &mmc->mmc_rx_icmp_gd); in dwxgmac_mmc_read() [all …]
|
| /linux-6.15/drivers/mmc/core/ |
| H A D | regulator.c | 123 mmc->regulator_enabled = true; in mmc_regulator_set_ocr() 128 mmc->regulator_enabled = false; in mmc_regulator_set_ocr() 132 dev_err(mmc_dev(mmc), in mmc_regulator_set_ocr() 188 if (IS_ERR(mmc->supply.vqmmc)) in mmc_regulator_set_vqmmc() 243 if (IS_ERR(mmc->supply.vqmmc2)) in mmc_regulator_set_vqmmc2() 284 if (IS_ERR(mmc->supply.vmmc)) { in mmc_regulator_get_supply() 293 mmc->ocr_avail = ret; in mmc_regulator_get_supply() 328 if (!IS_ERR(mmc->supply.vqmmc) && !mmc->vqmmc_enabled) { in mmc_regulator_enable_vqmmc() 333 mmc->vqmmc_enabled = true; in mmc_regulator_enable_vqmmc() 350 if (!IS_ERR(mmc->supply.vqmmc) && mmc->vqmmc_enabled) { in mmc_regulator_disable_vqmmc() [all …]
|
| /linux-6.15/drivers/mmc/host/ |
| H A D | meson-mx-sdhc-mmc.c | 45 struct mmc_host *mmc; member 114 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_wait_cmd_ready() 125 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_wait_cmd_ready() 278 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_set_clk() 301 mmc->actual_clock = 0; in meson_mx_sdhc_set_clk() 507 struct mmc_host *mmc = host->mmc; in meson_mx_sdhc_request_done() local 769 struct mmc_host *mmc; in meson_mx_sdhc_probe() local 774 if (!mmc) in meson_mx_sdhc_probe() 783 host = mmc_priv(mmc); in meson_mx_sdhc_probe() 784 host->mmc = mmc; in meson_mx_sdhc_probe() [all …]
|
| H 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_modify_threshold() local 45 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_pump_requests() local 72 if (mmc->ops->request_atomic) in mmc_hsq_pump_requests() 73 ret = mmc->ops->request_atomic(mmc, hsq->mrq); in mmc_hsq_pump_requests() 75 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_pump_requests() 256 if (mmc->ops->post_req) in mmc_hsq_post_req() 257 mmc->ops->post_req(mmc, mrq, 0); in mmc_hsq_post_req() 358 hsq->mmc = mmc; in mmc_hsq_init() [all …]
|
| H A D | sdhci-uhs2.c | 125 struct mmc_host *mmc = host->mmc; in sdhci_uhs2_set_power() local 143 mmc_opt_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in sdhci_uhs2_set_power() 144 mmc_regulator_set_vqmmc2(mmc, &mmc->ios); in sdhci_uhs2_set_power() 148 mmc_regulator_set_vqmmc2(mmc, &mmc->ios); in sdhci_uhs2_set_power() 364 struct mmc_host *mmc = host->mmc; in sdhci_uhs2_init() local 754 present = host->mmc->ops->get_cd(host->mmc); in sdhci_uhs2_send_command_retry() 880 present = mmc->ops->get_cd(mmc); in sdhci_uhs2_request() 1117 struct mmc_host *mmc = host->mmc; in sdhci_uhs2_thread_irq() local 1119 mmc->ops->card_event(mmc); in sdhci_uhs2_thread_irq() 1162 mmc = host->mmc; in __sdhci_uhs2_add_host_v4() [all …]
|
| H A D | cqhci-core.c | 115 struct mmc_host *mmc = cq_host->mmc; in cqhci_dumpregs() local 253 struct mmc_host *mmc = cq_host->mmc; in __cqhci_enable() local 293 mmc->cqe_on = true; in __cqhci_enable() 399 mmc->cqe_on = false; in cqhci_off() 409 cqhci_off(mmc); in cqhci_disable() 618 if (!mmc->cqe_on) { in cqhci_request() 623 mmc->cqe_on = true; in cqhci_request() 956 mmc_hostname(mmc)); in cqhci_clear_all_tasks() 1010 mmc->cqe_on = false; in cqhci_recovery_start() 1113 mmc->cqe_on = false; in cqhci_recovery_finish() [all …]
|
| H A D | davinci_mmc.c | 169 struct mmc_host *mmc; member 1065 mmc = host->mmc; in mmc_davinci_cpufreq_transition() 1071 calculate_clk_divider(mmc, &mmc->ios); in mmc_davinci_cpufreq_transition() 1207 if (!mmc) in davinci_mmcsd_probe() 1211 host->mmc = mmc; /* Important */ in davinci_mmcsd_probe() 1285 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe() 1287 dev_dbg(mmc_dev(host->mmc), "max_segs=%d\n", mmc->max_segs); in davinci_mmcsd_probe() 1288 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); in davinci_mmcsd_probe() 1289 dev_dbg(mmc_dev(host->mmc), "max_req_size=%d\n", mmc->max_req_size); in davinci_mmcsd_probe() 1290 dev_dbg(mmc_dev(host->mmc), "max_seg_size=%d\n", mmc->max_seg_size); in davinci_mmcsd_probe() [all …]
|
| H A D | meson-gx-mmc.c | 154 struct mmc_host *mmc; member 356 struct mmc_host *mmc = host->mmc; in meson_mmc_clk_set() local 367 mmc->actual_clock = 0; in meson_mmc_clk_set() 606 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in meson_mmc_set_ios() 612 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in meson_mmc_set_ios() 1142 struct mmc_host *mmc; in meson_mmc_probe() local 1147 if (!mmc) in meson_mmc_probe() 1150 host->mmc = mmc; in meson_mmc_probe() 1232 mmc->max_segs = 1; in meson_mmc_probe() 1241 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe() [all …]
|
| H A D | sdhci.c | 241 struct mmc_host *mmc = host->mmc; in sdhci_do_reset() local 243 if (!mmc->ops->get_cd(mmc)) in sdhci_do_reset() 364 struct mmc_host *mmc = host->mmc; in sdhci_init() local 385 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_init() 3727 mmc->ops->card_event(mmc); in sdhci_thread_irq() 3842 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_resume_host() 3905 mmc->ops->start_signal_voltage_switch(mmc, &mmc->ios); in sdhci_runtime_resume_host() 3906 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_runtime_resume_host() 3917 mmc->ops->hs400_enhanced_strobe(mmc, &mmc->ios); in sdhci_runtime_resume_host() 4082 host->mmc = mmc; in sdhci_alloc_host() [all …]
|
| H 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 …]
|
| H A D | tmio_mmc_core.c | 633 struct mmc_host *mmc = host->mmc; in __tmio_mmc_card_detect_irq() local 682 struct mmc_host *mmc = host->mmc; in __tmio_mmc_sdio_irq() local 878 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_on() local 909 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_off() local 914 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in tmio_mmc_power_off() 1050 struct mmc_host *mmc = host->mmc; in tmio_mmc_init_ocr() local 1106 host->mmc = mmc; in tmio_mmc_host_alloc() 1140 struct mmc_host *mmc = _host->mmc; in tmio_mmc_host_probe() local 1175 mmc->max_blk_size * mmc->max_blk_count, in tmio_mmc_host_probe() 1177 mmc->max_seg_size = mmc->max_req_size; in tmio_mmc_host_probe() [all …]
|
| H A D | pxamci.c | 50 struct mmc_host *mmc; member 78 struct mmc_host *mmc = host->mmc; in pxamci_init_ocr() local 99 struct mmc_host *mmc = host->mmc; in pxamci_set_power() local 608 struct mmc_host *mmc; in pxamci_probe() local 619 if (!mmc) { in pxamci_probe() 652 host->mmc = mmc; in pxamci_probe() 675 mmc->caps = 0; in pxamci_probe() 780 if (mmc) in pxamci_probe() 781 mmc_free_host(mmc); in pxamci_probe() 789 if (mmc) { in pxamci_remove() [all …]
|
| H A D | wmt-sdmmc.c | 185 struct mmc_host *mmc; member 229 priv = mmc_priv(mmc); in wmt_mci_read_response() 259 priv = mmc_priv(mmc); in wmt_mci_send_command() 606 wmt_dma_init(mmc); in wmt_mci_request() 778 if (!mmc) { in wmt_mci_probe() 794 mmc->max_req_size = (16*512*mmc->max_segs); in wmt_mci_probe() 795 mmc->max_blk_count = mmc->max_req_size / 512; in wmt_mci_probe() 798 priv->mmc = mmc; in wmt_mci_probe() 877 mmc_free_host(mmc); in wmt_mci_probe() 925 if (!mmc) in wmt_mci_suspend() [all …]
|
| H 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 …]
|
| H 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 …]
|
| H A D | mxcmmc.c | 120 struct mmc_host *mmc; member 994 struct mmc_host *mmc; in mxcmci_probe() local 1009 if (!mmc) in mxcmci_probe() 1012 host = mmc_priv(mmc); in mxcmci_probe() 1036 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe() 1037 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe() 1043 mmc->max_segs = 64; in mxcmci_probe() 1045 host->mmc = mmc; in mxcmci_probe() 1150 host->mmc); in mxcmci_probe() 1173 mmc_free_host(mmc); in mxcmci_probe() [all …]
|
| H A D | mxs-mmc.c | 50 struct mmc_host *mmc; member 70 ret = mmc_gpio_get_cd(mmc); in mxs_mmc_get_cd() 563 struct mmc_host *mmc; in mxs_mmc_probe() local 573 if (!mmc) in mxs_mmc_probe() 576 host = mmc_priv(mmc); in mxs_mmc_probe() 587 host->mmc = mmc; in mxs_mmc_probe() 635 mmc->f_min = 400000; in mxs_mmc_probe() 644 mmc->max_segs = 52; in mxs_mmc_probe() 672 mmc_free_host(mmc); in mxs_mmc_probe() 682 mmc_remove_host(mmc); in mxs_mmc_remove() [all …]
|
| H 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 1802 if (!mmc) { in omap_hsmmc_probe() 1812 host->mmc = mmc; in omap_hsmmc_probe() 1878 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in omap_hsmmc_probe() [all …]
|
| H A D | sdhci-msm.c | 407 struct mmc_host *mmc = host->mmc; in msm_dll_poll_ck_out_en() local 439 struct mmc_host *mmc = host->mmc; in msm_config_cm_dll_phase() local 509 struct mmc_host *mmc = host->mmc; in msm_find_most_appropriate_phase() local 635 struct mmc_host *mmc = host->mmc; in msm_init_cm_dll() local 1015 struct mmc_host *mmc = host->mmc; in sdhci_msm_cm_dll_sdc4_calibration() local 1093 struct mmc_host *mmc = host->mmc; in sdhci_msm_hs400_dll_calibration() local 1328 struct mmc_host *mmc = host->mmc; in sdhci_msm_set_uhs_signaling() local 1457 return mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, mmc->ios.vdd); in sdhci_msm_set_vmmc() 1646 struct mmc_host *mmc = host->mmc; in sdhci_msm_handle_pwr_irq() local 1864 struct mmc_host *mmc = msm_host->mmc; in sdhci_msm_ice_init() local [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/mmc/ |
| H 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 80 - const: mmc 101 mmc0: mmc@1c0f000 { [all …]
|
| H 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 …]
|
| H 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,mt7988-mmc 353 mmc0: mmc@11230000 { 373 mmc3: mmc@11260000 { [all …]
|
| H 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 …]
|
| H 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.15/drivers/staging/greybus/ |
| H 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 …]
|