Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/sdhci/sdhci_xenon.c
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | struct sdhci_xenon_softc { | ||||
struct sdhci_slot *slot; /* SDHCI internal data */ | struct sdhci_slot *slot; /* SDHCI internal data */ | ||||
struct resource *mem_res; /* Memory resource */ | struct resource *mem_res; /* Memory resource */ | ||||
uint8_t znr; /* PHY ZNR */ | uint8_t znr; /* PHY ZNR */ | ||||
uint8_t zpr; /* PHY ZPR */ | uint8_t zpr; /* PHY ZPR */ | ||||
bool slow_mode; /* PHY slow mode */ | bool slow_mode; /* PHY slow mode */ | ||||
struct mmc_fdt_helper mmc_helper; /* MMC helper for parsing FDT */ | struct mmc_helper mmc_helper; /* MMC helper for parsing FDT */ | ||||
}; | }; | ||||
static uint8_t | static uint8_t | ||||
sdhci_xenon_read_1(device_t dev, struct sdhci_slot *slot __unused, | sdhci_xenon_read_1(device_t dev, struct sdhci_slot *slot __unused, | ||||
bus_size_t off) | bus_size_t off) | ||||
{ | { | ||||
struct sdhci_xenon_softc *sc = device_get_softc(dev); | struct sdhci_xenon_softc *sc = device_get_softc(dev); | ||||
▲ Show 20 Lines • Show All 625 Lines • Show Last 20 Lines |