Home
last modified time | relevance | path

Searched refs:mmc (Results 1 – 25 of 1006) sorted by relevance

12345678910>>...41

/linux/drivers/net/ethernet/stmicro/stmmac/
A Dmmc_core.c222 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/drivers/mmc/host/
A D.built-in.a.cmd1mmc/host/built-in.a := echo >/dev/null; rm -f drivers/mmc/host/built-in.a; /usr/bin/ccache /home/t…
A Dmeson-mx-sdhc-mmc.c45 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 Dcqhci-core.c110 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()
939 mmc_hostname(mmc)); in cqhci_clear_all_tasks()
998 mmc->cqe_on = false; in cqhci_recovery_start()
1101 mmc->cqe_on = false; in cqhci_recovery_finish()
[all …]
A Dmmc_hsq.c22 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_retry_handler() local
24 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_retry_handler()
29 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_pump_requests() local
54 if (mmc->ops->request_atomic) in mmc_hsq_pump_requests()
55 ret = mmc->ops->request_atomic(mmc, hsq->mrq); in mmc_hsq_pump_requests()
57 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_pump_requests()
250 if (mmc->ops->post_req) in mmc_hsq_post_req()
251 mmc->ops->post_req(mmc, mrq, 0); in mmc_hsq_post_req()
350 hsq->mmc = mmc; in mmc_hsq_init()
351 hsq->mmc->cqe_private = hsq; in mmc_hsq_init()
[all …]
A Ddavinci_mmc.c171 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()
1214 if (!mmc) in davinci_mmcsd_probe()
1218 host->mmc = mmc; /* Important */ in davinci_mmcsd_probe()
1293 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1295 dev_dbg(mmc_dev(host->mmc), "max_segs=%d\n", mmc->max_segs); in davinci_mmcsd_probe()
1296 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); in davinci_mmcsd_probe()
1297 dev_dbg(mmc_dev(host->mmc), "max_req_size=%d\n", mmc->max_req_size); in davinci_mmcsd_probe()
1298 dev_dbg(mmc_dev(host->mmc), "max_seg_size=%d\n", mmc->max_seg_size); in davinci_mmcsd_probe()
[all …]
A Dsdhci.c238 struct mmc_host *mmc = host->mmc; in sdhci_do_reset() local
240 if (!mmc->ops->get_cd(mmc)) in sdhci_do_reset()
321 struct mmc_host *mmc = host->mmc; in sdhci_init() local
341 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_init()
3617 mmc->ops->card_event(mmc); in sdhci_thread_irq()
3730 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_resume_host()
3792 mmc->ops->start_signal_voltage_switch(mmc, &mmc->ios); in sdhci_runtime_resume_host()
3793 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_runtime_resume_host()
3804 mmc->ops->hs400_enhanced_strobe(mmc, &mmc->ios); in sdhci_runtime_resume_host()
3963 host->mmc = mmc; in sdhci_alloc_host()
[all …]
A Dtmio_mmc_core.c616 struct mmc_host *mmc = host->mmc; in __tmio_mmc_card_detect_irq() local
662 struct mmc_host *mmc = host->mmc; in __tmio_mmc_sdio_irq() local
858 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_on() local
892 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_off() local
898 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in tmio_mmc_power_off()
1041 struct mmc_host *mmc = host->mmc; in tmio_mmc_init_ocr() local
1097 host->mmc = mmc; in tmio_mmc_host_alloc()
1131 struct mmc_host *mmc = _host->mmc; in tmio_mmc_host_probe() local
1168 mmc->max_blk_size * mmc->max_blk_count, in tmio_mmc_host_probe()
1170 mmc->max_seg_size = mmc->max_req_size; in tmio_mmc_host_probe()
[all …]
A Dmeson-mx-sdio.c118 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 Dmeson-gx-mmc.c151 struct mmc_host *mmc; member
352 struct mmc_host *mmc = host->mmc; in meson_mmc_clk_set() local
601 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 if (!mmc) in meson_mmc_probe()
1145 host->mmc = mmc; in meson_mmc_probe()
1240 mmc->max_segs = 1; in meson_mmc_probe()
1249 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
1250 mmc->max_seg_size = mmc->max_req_size; in meson_mmc_probe()
1291 mmc_add_host(mmc); in meson_mmc_probe()
[all …]
A Dpxamci.c51 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
621 if (!mmc) { in pxamci_probe()
654 host->mmc = mmc; in pxamci_probe()
677 mmc->caps = 0; in pxamci_probe()
766 mmc_add_host(mmc); in pxamci_probe()
777 if (mmc) in pxamci_probe()
778 mmc_free_host(mmc); in pxamci_probe()
786 if (mmc) { in pxamci_remove()
[all …]
A Dsunxi-mmc.c271 struct mmc_host *mmc; member
762 struct mmc_host *mmc = host->mmc; in sunxi_mmc_clk_set_rate() local
904 struct mmc_host *mmc = host->mmc; in sunxi_mmc_card_power() local
933 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in sunxi_mmc_card_power()
1359 struct mmc_host *mmc; in sunxi_mmc_probe() local
1363 if (!mmc) { in sunxi_mmc_probe()
1369 host = mmc_priv(mmc); in sunxi_mmc_probe()
1371 host->mmc = mmc; in sunxi_mmc_probe()
1415 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
1475 mmc_free_host(mmc); in sunxi_mmc_probe()
[all …]
A Dwmt-sdmmc.c186 struct mmc_host *mmc; member
230 priv = mmc_priv(mmc); in wmt_mci_read_response()
607 wmt_dma_init(mmc); in wmt_mci_request()
782 if (!mmc) { in wmt_mci_probe()
798 mmc->max_req_size = (16*512*mmc->max_segs); in wmt_mci_probe()
799 mmc->max_blk_count = mmc->max_req_size / 512; in wmt_mci_probe()
802 priv->mmc = mmc; in wmt_mci_probe()
862 mmc_add_host(mmc); in wmt_mci_probe()
876 mmc_free_host(mmc); in wmt_mci_probe()
930 if (!mmc) in wmt_mci_suspend()
[all …]
A Dmxcmmc.c121 struct mmc_host *mmc; member
982 struct mmc_host *mmc; in mxcmci_probe() local
998 if (!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()
1146 mmc_add_host(mmc); in mxcmci_probe()
1160 mmc_free_host(mmc); in mxcmci_probe()
[all …]
A Domap_hsmmc.c171 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
1839 if (!mmc) { in omap_hsmmc_probe()
1849 host->mmc = mmc; in omap_hsmmc_probe()
1915 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in omap_hsmmc_probe()
[all …]
A Dmxs-mmc.c51 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 Dmmci.c1155 if (host->mmc->card && mmc_card_sdio(host->mmc->card)) { in mmci_start_data()
1756 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in mmci_set_ios()
1766 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in mmci_set_ios()
2017 if (!mmc) in mmci_probe()
2021 host->mmc = mmc; in mmci_probe()
2117 if (mmc->f_max) in mmci_probe()
2126 dev_dbg(mmc_dev(mmc), "clocking block at %u Hz\n", mmc->f_max); in mmci_probe()
2193 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 Dusdhi6rol0.c159 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 …]
A Dsdhci-msm.c393 struct mmc_host *mmc = host->mmc; in msm_dll_poll_ck_out_en() local
425 struct mmc_host *mmc = host->mmc; in msm_config_cm_dll_phase() local
495 struct mmc_host *mmc = host->mmc; in msm_find_most_appropriate_phase() local
621 struct mmc_host *mmc = host->mmc; in msm_init_cm_dll() local
1001 struct mmc_host *mmc = host->mmc; in sdhci_msm_cm_dll_sdc4_calibration() local
1079 struct mmc_host *mmc = host->mmc; in sdhci_msm_hs400_dll_calibration() local
1314 struct mmc_host *mmc = host->mmc; in sdhci_msm_set_uhs_signaling() local
1406 return mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, mmc->ios.vdd); in sdhci_msm_set_vmmc()
1593 struct mmc_host *mmc = host->mmc; in sdhci_msm_handle_pwr_irq() local
1863 struct mmc_host *mmc = msm_host->mmc; in sdhci_msm_ice_init() local
[all …]
/linux/drivers/mmc/core/
A D.built-in.a.cmd1mmc/core/built-in.a := echo >/dev/null; rm -f drivers/mmc/core/built-in.a; /usr/bin/ccache /home/t…
A Dregulator.c106 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/Documentation/devicetree/bindings/mmc/
A Dallwinner,sun4i-a10-mmc.yaml4 $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
28 - const: allwinner,sun50i-a64-mmc
30 - const: allwinner,sun50i-a100-mmc
77 - const: mmc
98 mmc0: mmc@1c0f000 {
[all …]
A Dcavium-mmc.txt11 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 Dingenic,mmc.yaml4 $id: http://devicetree.org/schemas/mmc/ingenic,mmc.yaml#
13 - $ref: mmc-controller.yaml#
19 - ingenic,jz4740-mmc
21 - ingenic,jz4760-mmc
22 - ingenic,jz4775-mmc
23 - ingenic,jz4780-mmc
24 - ingenic,x1000-mmc
39 const: mmc
66 mmc0: mmc@13450000 {
74 clock-names = "mmc";
[all …]
/linux/drivers/staging/greybus/
A Dsdio.c118 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 …]

Completed in 153 milliseconds

12345678910>>...41