Home
last modified time | relevance | path

Searched refs:sdhc_softc (Results 1 – 18 of 18) sorted by relevance

/netbsd-src/sys/dev/sdmmc/
H A Dsdhcvar.h30 struct sdhc_softc { struct
80 int (*sc_vendor_rod)(struct sdhc_softc *, int); argument
81 int (*sc_vendor_write_protect)(struct sdhc_softc *); argument
82 int (*sc_vendor_card_detect)(struct sdhc_softc *); argument
83 int (*sc_vendor_bus_width)(struct sdhc_softc *, int); argument
84 int (*sc_vendor_bus_clock)(struct sdhc_softc *, int); argument
85 int (*sc_vendor_bus_clock_post)(struct sdhc_softc *, int); argument
86 int (*sc_vendor_transfer_data_dma)(struct sdhc_softc *, struct sdmmc_command *); argument
87 void (*sc_vendor_hw_reset)(struct sdhc_softc *, struct sdhc_host *); argument
88 int (*sc_vendor_signal_voltage)(struct sdhc_softc *, int); argument
[all …]
H A Dsdhc.c62 struct sdhc_softc *sc; /* host controller device */
283 sdhc_host_found(struct sdhc_softc *sc, bus_space_tag_t iot, in sdhc_host_found()
673 sdhc_detach(struct sdhc_softc *sc, int flags) in sdhc_detach()
723 struct sdhc_softc *sc = device_private(dev); in sdhc_suspend()
755 struct sdhc_softc *sc = device_private(dev); in sdhc_resume()
789 struct sdhc_softc *sc = device_private(dev); in sdhc_shutdown()
1566 struct sdhc_softc *sc = hp->sc; in sdhc_hw_reset()
1712 struct sdhc_softc * const sc = hp->sc; in sdhc_start_command()
1904 struct sdhc_softc *sc = hp->sc; in sdhc_transfer_data()
2372 struct sdhc_softc *sc = (struct sdhc_softc *)arg; in sdhc_intr()
/netbsd-src/sys/arch/arm/nvidia/
H A Dtegra_sdhc.c55 static int tegra_sdhc_card_detect(struct sdhc_softc *);
56 static int tegra_sdhc_write_protect(struct sdhc_softc *);
57 static int tegra_sdhc_signal_voltage(struct sdhc_softc *, int);
60 struct sdhc_softc sc;
252 tegra_sdhc_card_detect(struct sdhc_softc *ssc) in tegra_sdhc_card_detect()
262 tegra_sdhc_write_protect(struct sdhc_softc *ssc) in tegra_sdhc_write_protect()
272 tegra_sdhc_signal_voltage(struct sdhc_softc *ssc, int signal_voltage) in tegra_sdhc_signal_voltage()
/netbsd-src/sys/arch/arm/ti/
H A Dti_sdhc.c114 struct sdhc_softc sc;
142 static int ti_sdhc_bus_width(struct sdhc_softc *, int);
143 static int ti_sdhc_rod(struct sdhc_softc *, int);
144 static int ti_sdhc_write_protect(struct sdhc_softc *);
145 static int ti_sdhc_card_detect(struct sdhc_softc *);
148 static int ti_sdhc_edma_xfer_data(struct sdhc_softc *, struct sdmmc_command *);
150 static int ti_sdhc_edma_transfer(struct sdhc_softc *, struct sdmmc_command *);
410 ti_sdhc_rod(struct sdhc_softc *sc, int on) in ti_sdhc_rod()
426 ti_sdhc_write_protect(struct sdhc_softc *sc) in ti_sdhc_write_protect()
434 ti_sdhc_card_detect(struct sdhc_softc *sc) in ti_sdhc_card_detect()
[all …]
/netbsd-src/sys/arch/arm/nxp/
H A Dimx_sdhc.c51 static int imx_sdhc_card_detect(struct sdhc_softc *);
52 static int imx_sdhc_write_protect(struct sdhc_softc *);
55 struct sdhc_softc sc_sdhc;
222 imx_sdhc_card_detect(struct sdhc_softc *ssc) in imx_sdhc_card_detect()
232 imx_sdhc_write_protect(struct sdhc_softc *ssc) in imx_sdhc_write_protect()
/netbsd-src/sys/dev/acpi/
H A Dsdhc_acpi.c65 struct sdhc_softc sc;
79 static void sdhc_acpi_intel_emmc_hw_reset(struct sdhc_softc *,
82 static int sdhc_acpi_rockchip_bus_clock(struct sdhc_softc *,
342 sdhc_acpi_intel_emmc_hw_reset(struct sdhc_softc *sc, struct sdhc_host *hp) in sdhc_acpi_intel_emmc_hw_reset()
364 sdhc_acpi_rockchip_bus_clock(struct sdhc_softc *sc, int freq) in sdhc_acpi_rockchip_bus_clock()
/netbsd-src/sys/dev/fdt/
H A Darasan_sdhc_fdt.c61 struct sdhc_softc sc_base;
131 arasan_sdhc_signal_voltage(struct sdhc_softc *sdhc, int signal_voltage) in arasan_sdhc_signal_voltage()
140 arasan_sdhc_bus_clock_pre(struct sdhc_softc *sdhc, int freq) in arasan_sdhc_bus_clock_pre()
155 arasan_sdhc_bus_clock_post(struct sdhc_softc *sdhc, int freq) in arasan_sdhc_bus_clock_post()
/netbsd-src/sys/arch/arm/marvell/
H A Dmvsoc_sdhc.c55 CFATTACH_DECL_NEW(mvsoc_sdhc, sizeof(struct sdhc_softc),
72 struct sdhc_softc *sc = device_private(self); in mvsoc_sdhc_attach()
/netbsd-src/sys/arch/arm/broadcom/
H A Dbcm53xx_sdhc.c52 struct sdhc_softc ccbsc_sc;
80 struct sdhc_softc * const sc = &ccbsc->ccbsc_sc; in sdhc_ccb_attach()
H A Dbcm2835_emmc.c62 struct sdhc_softc sc;
87 static int bcmemmc_xfer_data_dma(struct sdhc_softc *, struct sdmmc_command *);
276 bcmemmc_xfer_data_dma(struct sdhc_softc *sdhc_sc, struct sdmmc_command *cmd) in bcmemmc_xfer_data_dma()
H A Dbcm2838_emmc2_acpi.c57 struct sdhc_softc sc;
H A Dbcm2835_emmc_acpi.c88 struct sdhc_softc sc;
/netbsd-src/sys/dev/pci/
H A Dsdhc_pci.c58 struct sdhc_softc sc;
271 static void sdhc_pci_intel_emmc_hw_reset(struct sdhc_softc *,
556 sdhc_pci_intel_emmc_hw_reset(struct sdhc_softc *sc, struct sdhc_host *hp) in sdhc_pci_intel_emmc_hw_reset()
/netbsd-src/sys/arch/evbppc/wii/dev/
H A Dsdhc_hollywood.c53 struct sdhc_softc sc_base;
/netbsd-src/sys/arch/arm/imx/
H A Dimx51_esdhc.c53 struct sdhc_softc sc_sdhc;
/netbsd-src/sys/arch/powerpc/booke/dev/
H A Dpq3sdhc.c58 struct sdhc_softc sc;
/netbsd-src/sys/dev/cardbus/
H A Dsdhc_cardbus.c62 struct sdhc_softc sc;
/netbsd-src/sys/arch/arm/sociox/
H A Dsni_emmc.c64 struct sdhc_softc sc;