Lines Matching refs:params
775 void sdhc_cdns_sdmmc_init(struct sdhc_cdns_params *params, struct sdmmc_device_info *info, in sdhc_cdns_sdmmc_init() argument
778 __ASSERT_NO_MSG((params != NULL) && in sdhc_cdns_sdmmc_init()
779 ((params->reg_base & MMC_BLOCK_MASK) == 0) && in sdhc_cdns_sdmmc_init()
780 ((params->desc_size & MMC_BLOCK_MASK) == 0) && in sdhc_cdns_sdmmc_init()
781 ((params->reg_phy & MMC_BLOCK_MASK) == 0) && in sdhc_cdns_sdmmc_init()
782 (params->desc_size > 0) && in sdhc_cdns_sdmmc_init()
783 (params->clk_rate > 0) && in sdhc_cdns_sdmmc_init()
784 ((params->bus_width == MMC_BUS_WIDTH_1) || in sdhc_cdns_sdmmc_init()
785 (params->bus_width == MMC_BUS_WIDTH_4) || in sdhc_cdns_sdmmc_init()
786 (params->bus_width == MMC_BUS_WIDTH_8))); in sdhc_cdns_sdmmc_init()
788 memcpy(&cdns_params, params, sizeof(struct sdhc_cdns_params)); in sdhc_cdns_sdmmc_init()