Searched refs:scr (Results 1 – 8 of 8) sorted by relevance
21 static inline void sdmmc_decode_scr(struct sd_scr *scr, in sdmmc_decode_scr() argument26 scr->flags = 0U; in sdmmc_decode_scr()27 scr->scr_structure = (uint8_t)((raw_scr[0U] & 0xF0000000U) >> 28U); in sdmmc_decode_scr()28 scr->sd_spec = (uint8_t)((raw_scr[0U] & 0xF000000U) >> 24U); in sdmmc_decode_scr()30 scr->flags |= SD_SCR_DATA_STATUS_AFTER_ERASE; in sdmmc_decode_scr()32 scr->sd_sec = (uint8_t)((raw_scr[0U] & 0x700000U) >> 20U); in sdmmc_decode_scr()33 scr->sd_width = (uint8_t)((raw_scr[0U] & 0xF0000U) >> 16U); in sdmmc_decode_scr()35 scr->flags |= SD_SCR_SPEC3; in sdmmc_decode_scr()37 scr->sd_ext_sec = (uint8_t)((raw_scr[0U] & 0x7800U) >> 10U); in sdmmc_decode_scr()38 scr->cmd_support = (uint8_t)(raw_scr[0U] & 0x3U); in sdmmc_decode_scr()[all …]
690 static inline void sdhc_decode_scr(struct sd_scr *scr, in sdhc_decode_scr() argument695 scr->scr_structure = (uint8_t)((raw_scr[0U] & 0xF0000000U) >> 28U); in sdhc_decode_scr()696 scr->sd_spec = (uint8_t)((raw_scr[0U] & 0xF000000U) >> 24U); in sdhc_decode_scr()698 scr->flags |= SD_SCR_DATA_STATUS_AFTER_ERASE; in sdhc_decode_scr()699 scr->sd_sec = (uint8_t)((raw_scr[0U] & 0x700000U) >> 20U); in sdhc_decode_scr()700 scr->sd_width = (uint8_t)((raw_scr[0U] & 0xF0000U) >> 16U); in sdhc_decode_scr()702 scr->flags |= SD_SCR_SPEC3; in sdhc_decode_scr()703 scr->sd_ext_sec = (uint8_t)((raw_scr[0U] & 0x7800U) >> 10U); in sdhc_decode_scr()704 scr->cmd_support = (uint8_t)(raw_scr[0U] & 0x3U); in sdhc_decode_scr()705 scr->rsvd = raw_scr[1U]; in sdhc_decode_scr()[all …]
67 scr-addr-loc = <0x200061f0>;68 scr-size-loc = <0x200061f8>;
306 uint32_t ctrlr0, scr; in spi_pw_config_clk() local310 scr = PW_SPI_BR_2MHZ; in spi_pw_config_clk()312 scr = (info->clock_freq / PW_SPI_BR_MAX_FRQ) - 1; in spi_pw_config_clk()314 scr = (info->clock_freq / config->frequency) - 1; in spi_pw_config_clk()319 ctrlr0 |= (scr << PW_SPI_SCR_SHIFT); in spi_pw_config_clk()
111 volatile uint32_t scr; /* Scratch pad */ member
76 …8-fastbuild-ST-2cc462681f62/bin/sw/device/lib/testing/test_rom/test_rom_sim_verilator.39.scr.vmem \
145 scr = os.path.basename(sys.argv[0]) variable150 sys.stdout.write(scr + ": " + text + "\n")153 sys.exit("%s ERROR: %s" % (scr, text))