| /drivers/net/ethernet/stmicro/stmmac/ |
| 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 …]
|
| /drivers/mmc/core/ |
| 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 …]
|
| /drivers/mmc/host/ |
| 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 764 struct mmc_host *mmc; in meson_mx_sdhc_probe() local 769 if (!mmc) in meson_mx_sdhc_probe() 772 host = mmc_priv(mmc); in meson_mx_sdhc_probe() 773 host->mmc = mmc; in meson_mx_sdhc_probe() [all …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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() 1163 mmc->f_min = 312500; in mmc_davinci_parse_pdata() 1207 if (!mmc) in davinci_mmcsd_probe() 1211 host->mmc = mmc; /* Important */ in davinci_mmcsd_probe() 1282 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe() 1284 dev_dbg(mmc_dev(host->mmc), "max_segs=%d\n", mmc->max_segs); in davinci_mmcsd_probe() 1285 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); in davinci_mmcsd_probe() 1286 dev_dbg(mmc_dev(host->mmc), "max_req_size=%d\n", mmc->max_req_size); in davinci_mmcsd_probe() [all …]
|
| 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() 3722 mmc->ops->card_event(mmc); in sdhci_thread_irq() 3839 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_resume_host() 3900 mmc->ops->start_signal_voltage_switch(mmc, &mmc->ios); in sdhci_runtime_resume_host() 3901 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_runtime_resume_host() 3912 mmc->ops->hs400_enhanced_strobe(mmc, &mmc->ios); in sdhci_runtime_resume_host() 4075 host->mmc = mmc; in sdhci_alloc_host() [all …]
|
| 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 …]
|
| 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() 532 struct mmc_host *mmc = host->mmc; in meson_mx_mmc_add_host() local 553 mmc->max_seg_size = mmc->max_req_size; in meson_mx_mmc_add_host() 554 mmc->max_blk_count = in meson_mx_mmc_add_host() 633 struct mmc_host *mmc; in meson_mx_mmc_probe() local 645 if (!mmc) { in meson_mx_mmc_probe() 650 host = mmc_priv(mmc); in meson_mx_mmc_probe() 651 host->mmc = mmc; in meson_mx_mmc_probe() [all …]
|
| A D | tmio_mmc_core.c | 632 struct mmc_host *mmc = host->mmc; in __tmio_mmc_card_detect_irq() local 681 struct mmc_host *mmc = host->mmc; in __tmio_mmc_sdio_irq() local 880 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_on() local 911 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() 1052 struct mmc_host *mmc = host->mmc; in tmio_mmc_init_ocr() local 1108 host->mmc = mmc; in tmio_mmc_host_alloc() 1130 struct mmc_host *mmc = _host->mmc; in tmio_mmc_host_probe() local 1165 mmc->max_blk_size * mmc->max_blk_count, in tmio_mmc_host_probe() 1167 mmc->max_seg_size = mmc->max_req_size; in tmio_mmc_host_probe() [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 773 mmc->actual_clock = 0; in sunxi_mmc_clk_set_rate() 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() 1378 host = mmc_priv(mmc); in sunxi_mmc_probe() 1380 host->mmc = mmc; in sunxi_mmc_probe() 1422 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe() [all …]
|
| 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 1567 struct mmc_host *mmc = host->mmc; in sdhci_msm_check_power_status() local 1653 struct mmc_host *mmc = host->mmc; in sdhci_msm_handle_pwr_irq() local 1690 !mmc->ops->get_cd(mmc)) { in sdhci_msm_handle_pwr_irq() [all …]
|
| 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() 466 priv = mmc_priv(mmc); in wmt_reset_hardware() 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() 921 if (!mmc) in wmt_mci_suspend() [all …]
|
| 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() 628 mmc->max_segs = NR_SG; in pxamci_probe() 649 host = mmc_priv(mmc); in pxamci_probe() 650 host->mmc = mmc; in pxamci_probe() 672 mmc->caps = 0; in pxamci_probe() 779 if (mmc) { in pxamci_remove() [all …]
|
| 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() 1034 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe() 1035 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe() 1041 mmc->max_segs = 64; in mxcmci_probe() 1043 host->mmc = mmc; in mxcmci_probe() 1057 if (!mmc->ocr_avail) { in mxcmci_probe() 1144 host->mmc); in mxcmci_probe() [all …]
|
| A D | sdhci-sprd.c | 284 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() 912 mmc_hsq_suspend(host->mmc); in sdhci_sprd_runtime_suspend() [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 1801 if (!mmc) in omap_hsmmc_probe() 1809 host->mmc = mmc; in omap_hsmmc_probe() 1875 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in omap_hsmmc_probe() [all …]
|
| A D | litex_mmc.c | 77 struct mmc_host *mmc; member 255 struct mmc_host *mmc = arg; in litex_mmc_interrupt() local 513 struct mmc_host *mmc; in litex_mmc_probe() local 524 if (!mmc) in litex_mmc_probe() 527 host = mmc_priv(mmc); in litex_mmc_probe() 528 host->mmc = mmc; in litex_mmc_probe() 581 mmc->ops = &litex_mmc_ops; in litex_mmc_probe() 593 mmc->f_min = 12.5e6; in litex_mmc_probe() 594 mmc->f_max = 50e6; in litex_mmc_probe() 596 ret = mmc_of_parse(mmc); in litex_mmc_probe() [all …]
|
| 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() 585 host->mmc = mmc; in mxs_mmc_probe() 624 mmc->ops = &mxs_mmc_ops; in mxs_mmc_probe() 630 mmc->f_min = 400000; in mxs_mmc_probe() 631 mmc->f_max = 288000000; in mxs_mmc_probe() 639 mmc->max_segs = 52; in mxs_mmc_probe() [all …]
|
| A D | mmci.c | 1262 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() 2226 if (!mmc) in mmci_probe() 2230 host->mmc = mmc; in mmci_probe() 2320 if (mmc->f_max) in mmci_probe() 2329 dev_dbg(mmc_dev(mmc), "clocking block at %u Hz\n", mmc->f_max); in mmci_probe() 2406 mmc->max_seg_size = mmc->max_req_size; in mmci_probe() 2494 if (mmc) { in mmci_remove() 2560 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() 1766 if (!mmc) in usdhi6_probe() 1778 host->mmc = mmc; in usdhi6_probe() 1848 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in usdhi6_probe() 1849 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in usdhi6_probe() 1858 mmc->max_seg_size = mmc->max_req_size; in usdhi6_probe() [all …]
|
| A D | jz4740_mmc.c | 150 struct mmc_host *mmc; member 952 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in jz4740_mmc_set_ios() 967 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in jz4740_mmc_set_ios() 1043 struct mmc_host *mmc; in jz4740_mmc_probe() local 1047 if (!mmc) { in jz4740_mmc_probe() 1078 if (!mmc->f_max) in jz4740_mmc_probe() 1090 mmc->f_min = mmc->f_max / 128; in jz4740_mmc_probe() 1101 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe() 1103 mmc->max_segs = 128; in jz4740_mmc_probe() 1104 mmc->max_seg_size = mmc->max_req_size; in jz4740_mmc_probe() [all …]
|
| A D | omap.c | 214 host->mmc = slot->mmc; in mmc_omap_select_slot() 295 host->mmc = new_slot->mmc; in mmc_omap_release_slot() 473 mmc = host->mmc; in mmc_omap_xfer_done() 598 mmc = host->mmc; in mmc_omap_cmd_done() 629 mmc = host->mmc; in mmc_omap_abort_command() 1106 host->mmc = mmc; in mmc_omap_request() 1268 slot->mmc = mmc; in mmc_omap_new_slot() 1306 mmc->f_max = min(host->pdata->max_freq, mmc->f_max); in mmc_omap_new_slot() 1316 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mmc_omap_new_slot() 1317 mmc->max_seg_size = mmc->max_req_size; in mmc_omap_new_slot() [all …]
|
| /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 …]
|