Lines Matching defs:motg_softc
67 struct motg_softc { struct
68 device_t sc_dev;
69 struct usbd_bus sc_bus;
70 bus_space_tag_t sc_iot;
71 bus_space_handle_t sc_ioh;
72 int sc_size;
73 int sc_mode;
76 void (*sc_intr_poll)(void *);
77 void *sc_intr_poll_arg;
78 int sc_ep_max;
79 u_int sc_ep_fifosize;
81 uint16_t sc_intr_tx_ep;
82 uint16_t sc_intr_rx_ep;
83 uint8_t sc_intr_ctrl;
85 struct motg_hw_ep sc_in_ep[MOTG_MAX_HW_EP];
86 struct motg_hw_ep sc_out_ep[MOTG_MAX_HW_EP];
88 kmutex_t sc_lock;
89 kmutex_t sc_intr_lock;
90 int sc_dying;
92 pool_cache_t sc_xferpool;
95 struct usbd_xfer *sc_intr_xfer; /* root hub interrupt transfer */
97 int sc_port_enabled : 1;
121 int motg_init(struct motg_softc *); argument