Lines Matching refs:MUSBState

267 static void musb_async_cancel_device(MUSBState *s, USBDevice *dev);
312 MUSBState *musb;
317 struct MUSBState { struct
344 void musb_reset(MUSBState *s) in musb_reset() argument
376 struct MUSBState *musb_init(DeviceState *parent_device, int gpio_base) in musb_init()
378 MUSBState *s = g_malloc0(sizeof(*s)); in musb_init()
394 static void musb_vbus_set(MUSBState *s, int level) in musb_vbus_set()
404 static void musb_intr_set(MUSBState *s, int line, int level) in musb_intr_set()
415 static void musb_tx_intr_set(MUSBState *s, int line, int level) in musb_tx_intr_set()
427 static void musb_rx_intr_set(MUSBState *s, int line, int level) in musb_rx_intr_set()
442 uint32_t musb_core_intr_get(MUSBState *s) in musb_core_intr_get()
447 void musb_core_intr_clear(MUSBState *s, uint32_t mask) in musb_core_intr_clear()
462 void musb_set_size(MUSBState *s, int epnum, int size, int is_tx) in musb_set_size()
471 static void musb_session_update(MUSBState *s, int prev_dev, int prev_sess) in musb_session_update()
508 MUSBState *s = (MUSBState *) port->opaque; in musb_attach()
516 MUSBState *s = (MUSBState *) port->opaque; in musb_detach()
526 MUSBState *s = (MUSBState *) port->opaque; in musb_child_detach()
608 static void musb_packet(MUSBState *s, MUSBEndPoint *ep, in musb_packet()
663 MUSBState *s = ep->musb; in musb_tx_packet_complete()
743 MUSBState *s = ep->musb; in musb_rx_packet_complete()
820 static void musb_async_cancel_device(MUSBState *s, USBDevice *dev) in musb_async_cancel_device()
836 static void musb_tx_rdy(MUSBState *s, int epnum) in musb_tx_rdy()
875 static void musb_rx_req(MUSBState *s, int epnum) in musb_rx_req()
978 MUSBState *s = (MUSBState *) opaque; in musb_busctl_readb()
999 MUSBState *s = (MUSBState *) opaque; in musb_busctl_writeb()
1029 MUSBState *s = (MUSBState *) opaque; in musb_busctl_readh()
1045 MUSBState *s = (MUSBState *) opaque; in musb_busctl_writeh()
1064 MUSBState *s = (MUSBState *) opaque; in musb_ep_readb()
1090 MUSBState *s = (MUSBState *) opaque; in musb_ep_writeb()
1121 MUSBState *s = (MUSBState *) opaque; in musb_ep_readh()
1151 MUSBState *s = (MUSBState *) opaque; in musb_ep_writeh()
1249 MUSBState *s = (MUSBState *) opaque; in musb_readb()
1311 MUSBState *s = (MUSBState *) opaque; in musb_writeb()
1398 MUSBState *s = (MUSBState *) opaque; in musb_readh()
1452 MUSBState *s = (MUSBState *) opaque; in musb_writeh()
1508 MUSBState *s = (MUSBState *) opaque; in musb_readw()
1526 MUSBState *s = (MUSBState *) opaque; in musb_writew()