Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/sdhci/sdhci_fsl_fdt.c
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | struct sdhci_fsl_fdt_softc { | ||||
void *irq_cookie; | void *irq_cookie; | ||||
uint32_t baseclk_hz; | uint32_t baseclk_hz; | ||||
uint32_t maxclk_hz; | uint32_t maxclk_hz; | ||||
struct sdhci_fdt_gpio *gpio; | struct sdhci_fdt_gpio *gpio; | ||||
struct sdhci_slot slot; | struct sdhci_slot slot; | ||||
bool slot_init_done; | bool slot_init_done; | ||||
uint32_t cmd_and_mode; | uint32_t cmd_and_mode; | ||||
uint16_t sdclk_bits; | uint16_t sdclk_bits; | ||||
struct mmc_fdt_helper fdt_helper; | struct mmc_helper fdt_helper; | ||||
uint32_t (* read)(struct sdhci_fsl_fdt_softc *, bus_size_t); | uint32_t (* read)(struct sdhci_fsl_fdt_softc *, bus_size_t); | ||||
void (* write)(struct sdhci_fsl_fdt_softc *, bus_size_t, uint32_t); | void (* write)(struct sdhci_fsl_fdt_softc *, bus_size_t, uint32_t); | ||||
}; | }; | ||||
struct sdhci_fsl_fdt_soc_data { | struct sdhci_fsl_fdt_soc_data { | ||||
int quirks; | int quirks; | ||||
int baseclk_div; | int baseclk_div; | ||||
▲ Show 20 Lines • Show All 733 Lines • Show Last 20 Lines |