Lines Matching defs:dwc_mmc_softc
32 struct dwc_mmc_softc { struct
33 device_t sc_dev;
34 bus_space_tag_t sc_bst;
35 bus_space_handle_t sc_bsh;
36 bus_space_handle_t sc_clk_bsh;
37 bus_dma_tag_t sc_dmat;
39 u_int sc_flags;
45 uint32_t sc_fifo_reg;
46 uint32_t sc_fifo_depth;
47 u_int sc_clock_freq;
48 u_int sc_bus_width;
49 bool sc_card_inited;
50 u_int sc_verid;
52 void *sc_ih;
53 kmutex_t sc_lock;
54 kmutex_t sc_intr_lock;
55 kcondvar_t sc_intr_cv;
57 int sc_mmc_width;
58 int sc_mmc_port;
83 void (*sc_pre_power_on)(struct dwc_mmc_softc *); argument
84 void (*sc_post_power_on)(struct dwc_mmc_softc *); argument
86 int (*sc_card_detect)(struct dwc_mmc_softc *); argument
87 int (*sc_write_protect)(struct dwc_mmc_softc *); argument
88 void (*sc_set_led)(struct dwc_mmc_softc *, int); argument
89 int (*sc_bus_clock)(struct dwc_mmc_softc *, int); argument
90 int (*sc_signal_voltage)(struct dwc_mmc_softc *, int); argument