FreeBSD/sys/dev/altera/sdcard/altera_sdcard_io.c
/*
 * Low-level I/O routines for the Altera SD Card University IP Core driver.
 *
 * XXXRW: Throughout, it is assumed that the IP Core handles multibyte
 * registers as little endian, as is the case for other Altera IP cores.
 * However, the specification makes no reference to endianness, so this
 * assumption might not always be correct.
 */
Low-level I/O routines for the Altera SD Card University IP Core driver.
XXXRW: Throughout, it is assumed that the IP Core handles multibyte
registers as little endian, as is the case for other Altera IP cores.
However, the specification makes no reference to endianness, so this
assumption might not always be correct.
Low - level I / O routines for the Altera SD Card University IP Core driver . XXXRW : Throughout it is assumed that the IP Core handles multibyte registers as little endian as is the case for other Altera IP cores . However the specification makes no reference to endianness so this assumption might not always be correct .
uint16_t
altera_sdcard_read_asr(struct altera_sdcard_softc *sc)
{
	return (le16toh(bus_read_2(sc->as_res, ALTERA_SDCARD_OFF_ASR)));
}
uint16_t altera_sdcard_read_asr ( struct altera_sdcard_softc * sc ) { return ( le16toh ( bus_read_2 ( sc -> as_res , ALTERA_SDCARD_OFF_ASR ) ) ) ; }
Low-level I/O routines for the Altera SD Card University IP Core driver.
Low - level I / O routines for the Altera SD Card University IP Core driver .