Home
last modified time | relevance | path

Searched refs:csd_structure (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/stand/mips/beri/common/
H A Dsdcard.c304 uint8_t csd_structure; in altera_sdcard_get_present() local
314 csd_structure = csd8p[ALTERA_SDCARD_CSD_STRUCTURE_BYTE]; in altera_sdcard_get_present()
315 csd_structure &= ALTERA_SDCARD_CSD_STRUCTURE_MASK; in altera_sdcard_get_present()
316 csd_structure >>= ALTERA_SDCARD_CSD_STRUCTURE_RSHIFT; in altera_sdcard_get_present()
317 if (csd_structure != 0) { in altera_sdcard_get_present()
318 printf("SD Card: unrecognised csd %u\n", csd_structure); in altera_sdcard_get_present()
/freebsd-12.1/sys/dev/altera/sdcard/
H A Daltera_sdcard_io.c130 uint8_t csd_structure; in altera_sdcard_read_csd() local
159 csd_structure = sc->as_csd.csd_data[ALTERA_SDCARD_CSD_STRUCTURE_BYTE]; in altera_sdcard_read_csd()
160 csd_structure &= ALTERA_SDCARD_CSD_STRUCTURE_MASK; in altera_sdcard_read_csd()
161 csd_structure >>= ALTERA_SDCARD_CSD_STRUCTURE_RSHIFT; in altera_sdcard_read_csd()
162 sc->as_csd_structure = csd_structure; in altera_sdcard_read_csd()
/freebsd-12.1/sys/dev/mmc/
H A Dmmcreg.h642 uint8_t csd_structure; member
H A Dmmc.c1194 csd->csd_structure = v = mmc_get_bits(raw_csd, 128, 126, 2); in mmc_decode_csd_sd()
1263 csd->csd_structure = mmc_get_bits(raw_csd, 128, 126, 2); in mmc_decode_csd_mmc()
1669 if (ivar->csd.csd_structure > 0) in mmc_discover_cards()
/freebsd-12.1/sys/cam/mmc/
H A Dmmc_da.c241 csd->csd_structure = v = mmc_get_bits(raw_csd, 128, 126, 2); in mmc_decode_csd_sd()
304 csd->csd_structure = mmc_get_bits(raw_csd, 128, 126, 2); in mmc_decode_csd_mmc()