Home
last modified time | relevance | path

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

12345678910>>...41

/linux/drivers/net/ethernet/stmicro/stmmac/
A Dmmc_core.c481 &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/drivers/mmc/core/
A Dregulator.c123 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()
256 if (IS_ERR(mmc->supply.vmmc)) { in mmc_regulator_get_supply()
265 mmc->ocr_avail = ret; in mmc_regulator_get_supply()
270 if (IS_ERR(mmc->supply.vqmmc)) { in mmc_regulator_get_supply()
294 if (!IS_ERR(mmc->supply.vqmmc) && !mmc->vqmmc_enabled) { in mmc_regulator_enable_vqmmc()
299 mmc->vqmmc_enabled = true; in mmc_regulator_enable_vqmmc()
316 if (!IS_ERR(mmc->supply.vqmmc) && mmc->vqmmc_enabled) { in mmc_regulator_disable_vqmmc()
[all …]
/linux/drivers/mmc/host/
A Dmeson-mx-sdhc-mmc.c45 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 …]
A Dmmc_hsq.c19 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 …]
A Dcqhci-core.c115 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 …]
A Ddavinci_mmc.c170 struct mmc_host *mmc; member
1066 mmc = host->mmc; in mmc_davinci_cpufreq_transition()
1072 calculate_clk_divider(mmc, &mmc->ios); in mmc_davinci_cpufreq_transition()
1208 if (!mmc) in davinci_mmcsd_probe()
1212 host->mmc = mmc; /* Important */ in davinci_mmcsd_probe()
1286 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1288 dev_dbg(mmc_dev(host->mmc), "max_segs=%d\n", mmc->max_segs); in davinci_mmcsd_probe()
1289 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); in davinci_mmcsd_probe()
1290 dev_dbg(mmc_dev(host->mmc), "max_req_size=%d\n", mmc->max_req_size); in davinci_mmcsd_probe()
1291 dev_dbg(mmc_dev(host->mmc), "max_seg_size=%d\n", mmc->max_seg_size); in davinci_mmcsd_probe()
[all …]
A Dmeson-gx-mmc.c154 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 …]
A Dsdhci.c239 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()
3671 mmc->ops->card_event(mmc); in sdhci_thread_irq()
3785 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_resume_host()
3848 mmc->ops->start_signal_voltage_switch(mmc, &mmc->ios); in sdhci_runtime_resume_host()
3849 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_runtime_resume_host()
3860 mmc->ops->hs400_enhanced_strobe(mmc, &mmc->ios); in sdhci_runtime_resume_host()
4025 host->mmc = mmc; in sdhci_alloc_host()
[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 Dtmio_mmc_core.c634 struct mmc_host *mmc = host->mmc; in __tmio_mmc_card_detect_irq() local
683 struct mmc_host *mmc = host->mmc; in __tmio_mmc_sdio_irq() local
879 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
915 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in tmio_mmc_power_off()
1051 struct mmc_host *mmc = host->mmc; in tmio_mmc_init_ocr() local
1107 host->mmc = mmc; in tmio_mmc_host_alloc()
1141 struct mmc_host *mmc = _host->mmc; in tmio_mmc_host_probe() local
1176 mmc->max_blk_size * mmc->max_blk_count, in tmio_mmc_host_probe()
1178 mmc->max_seg_size = mmc->max_req_size; in tmio_mmc_host_probe()
[all …]
A Dpxamci.c50 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 …]
A Dwmt-sdmmc.c185 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 …]
A Dsunxi-mmc.c271 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 Dlitex_mmc.c77 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 Dmxcmmc.c120 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 …]
A Dmxs-mmc.c50 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 …]
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
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 …]
A Dsdhci-sprd.c284 mmc_hostname(host->mmc), in sdhci_sprd_enable_phy_dll()
335 struct mmc_host *mmc = host->mmc; in sdhci_sprd_set_uhs_signaling() local
425 struct mmc_host *mmc = host->mmc; in sdhci_sprd_set_power() local
429 mmc_regulator_set_ocr(host->mmc, mmc->supply.vmmc, 0); in sdhci_sprd_set_power()
437 mmc_regulator_set_ocr(host->mmc, mmc->supply.vmmc, vdd); in sdhci_sprd_set_power()
483 sdhci_request(mmc, mrq); in sdhci_sprd_request()
504 mmc_hostname(mmc)); in sdhci_sprd_voltage_switch()
518 mmc_hostname(mmc)); in sdhci_sprd_voltage_switch()
684 mmc_hostname(host->mmc), best_clk_sample, p[mmc->ios.timing]); in sdhci_sprd_tuning()
926 mmc_hsq_suspend(host->mmc); in sdhci_sprd_runtime_suspend()
[all …]
A Dmmci.c1262 if (host->mmc->card && mmc_card_sdio(host->mmc->card)) { in mmci_start_data()
1937 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in mmci_set_ios()
1947 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in mmci_set_ios()
2227 if (!mmc) in mmci_probe()
2231 host->mmc = mmc; in mmci_probe()
2327 if (mmc->f_max) in mmci_probe()
2336 dev_dbg(mmc_dev(mmc), "clocking block at %u Hz\n", mmc->f_max); in mmci_probe()
2413 mmc->max_seg_size = mmc->max_req_size; in mmci_probe()
2503 if (mmc) { in mmci_remove()
2570 if (mmc) { in mmci_runtime_suspend()
[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
27 - const: allwinner,sun20i-d1-mmc
29 - const: allwinner,sun50i-a64-mmc
84 - const: mmc
105 mmc0: mmc@1c0f000 {
[all …]
A Dingenic,mmc.yaml4 $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 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 Dmtk-sd.yaml17 - 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 Dsdhci-st.txt4 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/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 754 milliseconds

12345678910>>...41