Home
last modified time | relevance | path

Searched refs:mmc_dev (Results 1 – 25 of 73) sorted by relevance

123

/openbmc/u-boot/test/py/tests/
H A Dtest_avb.py22 mmc_dev = 1 variable
33 response = u_boot_console.run_command('avb init %s' %str(mmc_dev))
45 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
49 str(mmc_dev))
77 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
89 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
102 str(mmc_dev))
108 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
/openbmc/linux/drivers/mmc/host/
H A Dusdhi6rol0.c286 dev_dbg(mmc_dev(host->mmc), in usdhi6_error_code()
290 dev_warn(mmc_dev(host->mmc), in usdhi6_error_code()
608 dev_warn(mmc_dev(host->mmc), in usdhi6_dma_setup()
651 dev_warn(mmc_dev(host->mmc), in usdhi6_dma_check_error()
854 dev_err(mmc_dev(mmc), in usdhi6_set_ios()
1063 dev_dbg(mmc_dev(host->mmc), in usdhi6_rq_start()
1184 dev_warn_once(mmc_dev(mmc), in usdhi6_sig_volt_switch()
1240 dev_err(mmc_dev(host->mmc), in usdhi6_resp_read()
1358 dev_err(mmc_dev(host->mmc), in usdhi6_stop_cmd()
1592 dev_dbg(mmc_dev(host->mmc), in usdhi6_sd()
[all …]
H A Ddavinci_mmc.c273 dev_dbg(mmc_dev(host->mmc), "CMD%d, arg 0x%08x%s\n", in mmc_davinci_start_command()
423 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_send_dma_request()
445 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_send_dma_request()
472 dma_unmap_sg(mmc_dev(host->mmc), in mmc_davinci_start_dma_transfer()
691 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_set_ios()
855 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_sdio_irq()
873 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_irq()
931 dev_err(mmc_dev(host->mmc), in mmc_davinci_irq()
941 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_irq()
965 dev_dbg(mmc_dev(host->mmc), "data %s %s error\n", in mmc_davinci_irq()
[all …]
H A Dmmci_stm32_sdmmc.c85 struct device *dev = mmc_dev(host->mmc); in sdmmc_idma_validate_data()
98 dev_dbg(mmc_dev(host->mmc), in sdmmc_idma_validate_data()
106 dev_dbg(mmc_dev(host->mmc), in sdmmc_idma_validate_data()
147 n_elem = dma_map_sg(mmc_dev(host->mmc), in _sdmmc_idma_prep_data()
153 dev_err(mmc_dev(host->mmc), "dma_map_sg failed\n"); in _sdmmc_idma_prep_data()
183 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sdmmc_idma_unprep_data()
191 struct device *dev = mmc_dev(host->mmc); in sdmmc_idma_setup()
281 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sdmmc_idma_error()
516 dev_warn(mmc_dev(host->mmc), in sdmmc_dlyb_mp15_prepare()
585 dev_err(mmc_dev(host->mmc), "tuning config failed\n"); in sdmmc_dlyb_phase_tuning()
[all …]
H A Dsdhci-xenon-phy.c209 params = devm_kzalloc(mmc_dev(host->mmc), sizeof(*params), GFP_KERNEL); in xenon_alloc_emmc_phy()
230 dev_err(mmc_dev(host->mmc), "phy_init: Internal clock never stabilized.\n"); in xenon_check_stability_internal_clk()
300 dev_err(mmc_dev(host->mmc), "eMMC PHY init cannot complete after %d us\n", in xenon_emmc_phy_init()
394 dev_err(mmc_dev(host->mmc), "Wait for DLL Lock time-out\n"); in xenon_emmc_phy_enable_dll()
425 dev_warn(mmc_dev(host->mmc), in xenon_emmc_phy_config_tuning()
479 dev_dbg(mmc_dev(host->mmc), "starts HS400 strobe delay adjustment\n"); in xenon_emmc_phy_strobe_delay_adj()
583 dev_dbg(mmc_dev(host->mmc), "eMMC PHY setting starts\n"); in xenon_emmc_phy_set()
677 dev_dbg(mmc_dev(host->mmc), "eMMC PHY setting completes\n"); in xenon_emmc_phy_set()
701 params->pad_ctrl.reg = devm_ioremap_resource(mmc_dev(host->mmc), in get_dt_pad_ctrl_data()
716 dev_err(mmc_dev(host->mmc), "Unsupported SoC PHY PAD ctrl type %s\n", in get_dt_pad_ctrl_data()
[all …]
H A Dsunxi-mmc.c407 dev_err(mmc_dev(host->mmc), "dma_map_sg failed\n"); in sunxi_mmc_map_dma()
413 dev_err(mmc_dev(host->mmc), in sunxi_mmc_map_dma()
494 dev_dbg(mmc_dev(host->mmc), in sunxi_mmc_dump_errinfo()
666 dev_dbg(mmc_dev(host->mmc), "%sabling the clock\n", in sunxi_mmc_oclk_onoff()
797 dev_err(mmc_dev(mmc), in sunxi_mmc_clk_set_rate()
909 dev_dbg(mmc_dev(mmc), "Powering card up\n"); in sunxi_mmc_card_power()
922 dev_err(mmc_dev(mmc), in sunxi_mmc_card_power()
931 dev_dbg(mmc_dev(mmc), "Powering card off\n"); in sunxi_mmc_card_power()
1030 dev_err(mmc_dev(mmc), "map DMA failed\n"); in sunxi_mmc_request()
1081 dma_unmap_sg(mmc_dev(mmc), data->sg, data->sg_len, in sunxi_mmc_request()
[all …]
H A Dmxcmmc.c231 host->pdata->setpower(mmc_dev(host->mmc), vdd); in mxcmci_set_power()
449 dev_err(mmc_dev(host->mmc), in mxcmci_finish_data()
453 dev_err(mmc_dev(host->mmc), in mxcmci_finish_data()
458 dev_err(mmc_dev(host->mmc), in mxcmci_finish_data()
486 dev_dbg(mmc_dev(host->mmc), "CMD TIMEOUT\n"); in mxcmci_read_response()
489 dev_dbg(mmc_dev(host->mmc), "cmd crc error\n"); in mxcmci_read_response()
840 dev_err(mmc_dev(host->mmc), in mxcmci_set_ios()
875 dev_dbg(mmc_dev(mmc), "%s\n", __func__); in mxcmci_detect_irq()
886 return !!host->pdata->get_ro(mmc_dev(mmc)); in mxcmci_get_ro()
951 dev_err(mmc_dev(host->mmc), in mxcmci_watchdog()
[all …]
H A Dmeson-mx-sdhc-mmc.c99 dev_warn(mmc_dev(host->mmc), in meson_mx_sdhc_clear_fifo()
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()
280 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_set_clk()
358 dev_err(mmc_dev(mmc), "unsupported bus width: %d\n", in meson_mx_sdhc_set_ios()
376 dev_err(mmc_dev(mmc), "dma_map_sg failed\n"); in meson_mx_sdhc_map_dma()
453 dev_dbg(mmc_dev(mmc), in meson_mx_sdhc_execute_tuning()
464 dev_dbg(mmc_dev(mmc), in meson_mx_sdhc_execute_tuning()
603 dma_unmap_sg(mmc_dev(host->mmc), cmd->data->sg, in meson_mx_sdhc_irq_thread()
689 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_wait_before_send_meson8()
[all …]
H A Dsdhci-tegra.c490 dev_err(mmc_dev(host->mmc), in tegra_sdhci_set_padctrl()
510 dev_err(mmc_dev(host->mmc), in tegra_sdhci_set_padctrl()
516 dev_err(mmc_dev(host->mmc), in tegra_sdhci_set_padctrl()
581 dev_err(mmc_dev(host->mmc), in tegra_sdhci_pad_autocalib()
594 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
600 err = device_property_read_u32(mmc_dev(host->mmc), in tegra_sdhci_parse_pad_autocal_dt()
752 struct device *dev = mmc_dev(host->mmc); in tegra_sdhci_set_clock()
849 dev_err(mmc_dev(host->mmc), in tegra_sdhci_hs400_dll_cal()
1353 struct device *dev = mmc_dev(host->mmc); in tegra_sdhci_set_dma_mask()
1608 cq_host = devm_kzalloc(mmc_dev(host->mmc), in sdhci_tegra_add_host()
[all …]
H A Dmmci.c527 dev_err(mmc_dev(host->mmc), in mmci_validate_data()
587 dev_vdbg(mmc_dev(host->mmc), in mmci_dma_start()
767 dev_dbg(mmc_dev(host->mmc), in ux500_busy_complete()
789 dev_dbg(mmc_dev(host->mmc), in ux500_busy_complete()
804 dev_dbg(mmc_dev(host->mmc), in ux500_busy_complete()
860 dev_warn(mmc_dev(host->mmc), in mmci_dmae_setup()
1572 dev_err(mmc_dev(host->mmc), in ux500_busy_timeout_work()
1576 dev_err(mmc_dev(host->mmc), in ux500_busy_timeout_work()
1934 dev_err(mmc_dev(mmc), in mmci_set_ios()
1985 dev_err(mmc_dev(host->mmc), in mmci_set_ios()
[all …]
H A Duniphier-sd.c109 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_callback()
151 sg_len = dma_map_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_start()
173 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_start()
190 chan = dma_request_chan(mmc_dev(host->mmc), "rx-tx"); in uniphier_sd_external_dma_request()
192 dev_warn(mmc_dev(host->mmc), in uniphier_sd_external_dma_request()
279 sg_len = dma_map_sg(mmc_dev(host->mmc), sg, 1, priv->dma_dir); in uniphier_sd_internal_dma_start()
349 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, 1, priv->dma_dir); in uniphier_sd_internal_dma_dataend()
574 pinctrl_select_default_state(mmc_dev(mmc)); in uniphier_sd_start_signal_voltage_switch()
589 priv->pinctrl = devm_pinctrl_get(mmc_dev(host->mmc)); in uniphier_sd_uhs_init()
H A Dsdhci-of-dwcmshc.c236 dev_err(mmc_dev(host->mmc), "fail to set clock %d", clock); in dwcmshc_rk3568_set_clock()
290 dev_err(mmc_dev(host->mmc), "DLL lock timeout!\n"); in dwcmshc_rk3568_set_clock()
387 priv->reset = devm_reset_control_array_get_optional_exclusive(mmc_dev(host->mmc)); in dwcmshc_rk35xx_init()
390 dev_err(mmc_dev(host->mmc), "failed to get reset control %d\n", err); in dwcmshc_rk35xx_init()
397 err = devm_clk_bulk_get_optional(mmc_dev(host->mmc), RK35xx_MAX_CLKS, in dwcmshc_rk35xx_init()
400 dev_err(mmc_dev(host->mmc), "failed to get clocks %d\n", err); in dwcmshc_rk35xx_init()
406 dev_err(mmc_dev(host->mmc), "failed to enable clocks %d\n", err); in dwcmshc_rk35xx_init()
410 if (of_property_read_u8(mmc_dev(host->mmc)->of_node, "rockchip,txclk-tapnum", in dwcmshc_rk35xx_init()
430 dev_info(mmc_dev(host->mmc), "Disabling HS200/HS400, frequency too low (%d)\n", in dwcmshc_rk35xx_postinit()
H A Dmxs-mmc.c146 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_request_done()
224 dma_map_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_prep_dma()
241 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_prep_dma()
278 dev_warn(mmc_dev(host->mmc), in mxs_mmc_bc()
323 dev_warn(mmc_dev(host->mmc), in mxs_mmc_ac()
452 dev_warn(mmc_dev(host->mmc), in mxs_mmc_adtc()
475 dev_warn(mmc_dev(host->mmc), in mxs_mmc_start_cmd()
622 dev_err(mmc_dev(host->mmc), in mxs_mmc_probe()
663 dev_info(mmc_dev(host->mmc), "initialized\n"); in mxs_mmc_probe()
H A Dmeson-mx-sdio.c278 dev_err(mmc_dev(mmc), "unsupported bus width: %d\n", in meson_mx_mmc_set_ios()
286 dev_warn(mmc_dev(mmc), in meson_mx_mmc_set_ios()
321 dev_err(mmc_dev(mmc), in meson_mx_mmc_map_dma()
327 dma_len = dma_map_sg(mmc_dev(mmc), data->sg, data->sg_len, in meson_mx_mmc_map_dma()
330 dev_err(mmc_dev(mmc), "dma_map_sg failed\n"); in meson_mx_mmc_map_dma()
452 dma_unmap_sg(mmc_dev(host->mmc), cmd->data->sg, in meson_mx_mmc_irq_thread()
490 dev_dbg(mmc_dev(host->mmc), in meson_mx_mmc_timeout()
532 struct device *slot_dev = mmc_dev(mmc); in meson_mx_mmc_add_host()
734 struct device *slot_dev = mmc_dev(host->mmc); in meson_mx_mmc_remove()
H A Dsdhci-brcmstb.c72 dev_dbg(mmc_dev(mmc), "%s(): Setting HS400-Enhanced-Strobe mode\n", in sdhci_brcmstb_hs400es()
102 dev_dbg(mmc_dev(host->mmc), "%s: Setting UHS signaling for %d timing\n", in sdhci_brcmstb_set_uhs_signaling()
212 dev_dbg(mmc_dev(host->mmc), "CQE is enabled\n"); in sdhci_brcmstb_add_host()
218 cq_host = devm_kzalloc(mmc_dev(host->mmc), in sdhci_brcmstb_add_host()
230 dev_dbg(mmc_dev(host->mmc), "Using 64 bit DMA\n"); in sdhci_brcmstb_add_host()
H A Domap.c314 return slot->pdata->get_cover_state(mmc_dev(slot->mmc), in mmc_omap_cover_is_open()
419 struct device *dev = mmc_dev(host->mmc); in mmc_omap_release_dma()
723 dev_vdbg(mmc_dev(host->mmc), "%s\n", res); in mmc_omap_report_irq()
742 dev_info(mmc_dev(host->slots[0]->mmc), in mmc_omap_irq()
791 dev_dbg(mmc_dev(host->mmc), in mmc_omap_irq()
796 dev_dbg(mmc_dev(host->mmc), "data CRC error\n"); in mmc_omap_irq()
807 dev_err(mmc_dev(host->mmc), in mmc_omap_irq()
818 dev_err(mmc_dev(host->mmc), in mmc_omap_irq()
825 dev_err(mmc_dev(host->mmc), in mmc_omap_irq()
830 dev_dbg(mmc_dev(host->mmc), in mmc_omap_irq()
[all …]
H A Domap_hsmmc.c232 dev_err(mmc_dev(mmc), "vmmc_aux reg enable failed\n"); in omap_hsmmc_enable_supply()
256 dev_err(mmc_dev(mmc), "vmmc_aux reg disable failed\n"); in omap_hsmmc_disable_supply()
274 dev_err(mmc_dev(mmc), "vmmc_aux re-enable failed\n"); in omap_hsmmc_disable_supply()
477 dev_dbg(mmc_dev(host->mmc), "MMC Clock is not stopped\n"); in omap_hsmmc_stop_clock()
954 dev_vdbg(mmc_dev(host->mmc), "%s\n", res); in omap_hsmmc_dbg_report_irq()
995 dev_err(mmc_dev(host->mmc), in omap_hsmmc_reset_controller_fsm()
1023 dev_vdbg(mmc_dev(host->mmc), "IRQ Status is %x\n", status); in omap_hsmmc_do_irq()
1052 dev_dbg(mmc_dev(host->mmc), "AC12 err: 0x%x\n", ac12); in omap_hsmmc_do_irq()
1278 dev_err(mmc_dev(host->mmc), "prep_slave_sg() failed\n"); in omap_hsmmc_setup_dma_transfer()
1378 dev_err(mmc_dev(host->mmc), "MMC start dma failure\n"); in omap_hsmmc_prepare_data()
[all …]
/openbmc/u-boot/arch/arm/mach-snapdragon/
H A Dmisc.c30 struct mmc *mmc_dev; in msm_board_serial() local
32 mmc_dev = find_mmc_device(0); in msm_board_serial()
33 if (!mmc_dev) in msm_board_serial()
36 return UNSTUFF_BITS(mmc_dev->cid, 16, 32); in msm_board_serial()
/openbmc/u-boot/drivers/mmc/
H A Dmmc-uclass.c190 struct udevice *dev, *mmc_dev; in find_mmc_device() local
202 mmc_dev = dev_get_parent(dev); in find_mmc_device()
204 struct mmc *mmc = mmc_get_mmc_dev(mmc_dev); in find_mmc_device()
342 struct udevice *mmc_dev = dev_get_parent(bdev); in mmc_select_hwpart() local
343 struct mmc *mmc = mmc_get_mmc_dev(mmc_dev); in mmc_select_hwpart()
357 struct udevice *mmc_dev = dev_get_parent(dev); in mmc_blk_probe() local
358 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(mmc_dev); in mmc_blk_probe()
376 struct udevice *mmc_dev = dev_get_parent(dev); in mmc_blk_remove() local
377 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(mmc_dev); in mmc_blk_remove()
/openbmc/u-boot/common/spl/
H A Dspl_mmc.c119 int err, mmc_dev; in spl_mmc_find_device() local
121 mmc_dev = spl_mmc_get_device_index(boot_device); in spl_mmc_find_device()
122 if (mmc_dev < 0) in spl_mmc_find_device()
123 return mmc_dev; in spl_mmc_find_device()
134 err = uclass_get_device(UCLASS_MMC, mmc_dev, &dev); in spl_mmc_find_device()
138 *mmcp = find_mmc_device(mmc_dev); in spl_mmc_find_device()
144 mmc_dev, err); in spl_mmc_find_device()
/openbmc/u-boot/test/dm/
H A Dblk.c116 struct udevice *dev, *mmc_dev, *parent; in dm_test_blk_devnum() local
130 ut_assertok(uclass_get_device_by_seq(UCLASS_MMC, i, &mmc_dev)); in dm_test_blk_devnum()
133 ut_asserteq_ptr(parent, mmc_dev); in dm_test_blk_devnum()
134 ut_asserteq(trailing_strtol(mmc_dev->name), i); in dm_test_blk_devnum()
/openbmc/linux/drivers/mmc/core/
H A Dregulator.c132 dev_err(mmc_dev(mmc), in mmc_regulator_set_ocr()
184 struct device *dev = mmc_dev(mmc); in mmc_regulator_set_vqmmc()
250 struct device *dev = mmc_dev(mmc); in mmc_regulator_get_supply()
293 dev_err(mmc_dev(mmc), "enabling vqmmc regulator failed\n"); in mmc_regulator_enable_vqmmc()
H A Dqueue.c358 if (!mmc_dev(host)->dma_mask || !*mmc_dev(host)->dma_mask) in mmc_setup_queue()
364 mmc_dev(host)), in mmc_setup_queue()
383 dma_set_max_seg_size(mmc_dev(host), queue_max_segment_size(mq->queue)); in mmc_setup_queue()
444 dma_get_merge_boundary(mmc_dev(host))) in mmc_init_queue()
/openbmc/u-boot/include/
H A Davb_verify.h29 int mmc_dev; member
95 return data->mmc_dev; in get_boot_device()
/openbmc/u-boot/cmd/
H A Davb.c24 unsigned long mmc_dev; in do_avb_init() local
29 mmc_dev = simple_strtoul(argv[1], NULL, 16); in do_avb_init()
34 avb_ops = avb_ops_alloc(mmc_dev); in do_avb_init()

123