Lines Matching refs:cuint
630 const fdt32_t *cuint; in stm32_sdmmc2_dt_get_config() local
643 cuint = fdt_getprop(fdt, sdmmc_node, "reg", NULL); in stm32_sdmmc2_dt_get_config()
644 if (cuint == NULL) { in stm32_sdmmc2_dt_get_config()
648 if (fdt32_to_cpu(*cuint) == sdmmc2_params.reg_base) { in stm32_sdmmc2_dt_get_config()
668 cuint = fdt_getprop(fdt, sdmmc_node, "clocks", NULL); in stm32_sdmmc2_dt_get_config()
669 if (cuint == NULL) { in stm32_sdmmc2_dt_get_config()
673 cuint++; in stm32_sdmmc2_dt_get_config()
674 sdmmc2_params.clock_id = fdt32_to_cpu(*cuint); in stm32_sdmmc2_dt_get_config()
676 cuint = fdt_getprop(fdt, sdmmc_node, "resets", NULL); in stm32_sdmmc2_dt_get_config()
677 if (cuint == NULL) { in stm32_sdmmc2_dt_get_config()
681 cuint++; in stm32_sdmmc2_dt_get_config()
682 sdmmc2_params.reset_id = fdt32_to_cpu(*cuint); in stm32_sdmmc2_dt_get_config()
696 cuint = fdt_getprop(fdt, sdmmc_node, "bus-width", NULL); in stm32_sdmmc2_dt_get_config()
697 if (cuint != NULL) { in stm32_sdmmc2_dt_get_config()
698 switch (fdt32_to_cpu(*cuint)) { in stm32_sdmmc2_dt_get_config()
712 cuint = fdt_getprop(fdt, sdmmc_node, "max-frequency", NULL); in stm32_sdmmc2_dt_get_config()
713 if (cuint != NULL) { in stm32_sdmmc2_dt_get_config()
714 sdmmc2_params.max_freq = fdt32_to_cpu(*cuint); in stm32_sdmmc2_dt_get_config()