Lines Matching refs:dev_comp

423 	const struct mtk_mmc_compatible *dev_comp;  member
719 if (host->dev_comp->support_64g) { in msdc_dma_setup()
725 if (host->dev_comp->support_64g) { in msdc_dma_setup()
748 if (host->dev_comp->support_64g) in msdc_dma_setup()
791 if (host->dev_comp->clk_div_bits == 8) in msdc_timeout_cal()
861 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_set_mclk()
874 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
898 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
924 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
974 host->dev_comp->hs400_tune) in msdc_set_mclk()
1161 if (host->dev_comp->recheck_sdio_irq) in msdc_request_done()
1532 if (host->dev_comp->recheck_sdio_irq) in __msdc_enable_sdio_irq()
1679 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_init_hw()
1725 if (host->dev_comp->stop_clk_fix) { in msdc_init_hw()
1734 if (host->dev_comp->busy_check) in msdc_init_hw()
1737 if (host->dev_comp->async_fifo) { in msdc_init_hw()
1740 if (host->dev_comp->enhance_rx) { in msdc_init_hw()
1760 if (host->dev_comp->support_64g) in msdc_init_hw()
1763 if (host->dev_comp->data_tune) { in msdc_init_hw()
1853 if (host->dev_comp->support_64g) in msdc_init_gpd_bd()
1858 if (host->dev_comp->support_64g) in msdc_init_gpd_bd()
1865 if (host->dev_comp->support_64g) in msdc_init_gpd_bd()
1973 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_set_cmd_delay()
1985 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_set_data_delay()
2003 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_tune_response()
2070 if (host->dev_comp->async_fifo || host->hs200_cmd_int_delay) in msdc_tune_response()
2258 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_execute_tuning()
2260 if (host->dev_comp->data_tune && host->dev_comp->async_fifo) { in msdc_execute_tuning()
2270 host->dev_comp->hs400_tune) in msdc_execute_tuning()
2703 host->dev_comp = of_device_get_match_data(&pdev->dev); in msdc_drv_probe()
2707 if (host->dev_comp->clk_div_bits == 8) in msdc_drv_probe()
2714 host->dev_comp->use_internal_cd) { in msdc_drv_probe()
2730 if (host->dev_comp->support_64g) in msdc_drv_probe()
2737 if (host->dev_comp->support_64g) in msdc_drv_probe()
2852 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_save_reg()
2880 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_restore_reg()