Home
last modified time | relevance | path

Searched refs:USBPacket (Results 1 – 8 of 8) sorted by relevance

/external/qemu/hw/
Dusb.h124 typedef struct USBPacket USBPacket; typedef
137 int (*handle_packet)(USBDevice *dev, USBPacket *p);
170 int (*handle_data)(USBDevice *dev, USBPacket *p);
195 typedef void USBCallback(USBPacket * packet, void *opaque);
198 struct USBPacket { struct
215 static inline void usb_defer_packet(USBPacket *p, USBCallback *cancel, in usb_defer_packet() argument
225 static inline void usb_packet_complete(USBPacket *p) in usb_packet_complete()
232 static inline void usb_cancel_packet(USBPacket * p) in usb_cancel_packet()
240 int usb_generic_handle_packet(USBDevice *s, USBPacket *p);
Dusb.c45 static int do_token_setup(USBDevice *s, USBPacket *p) in do_token_setup()
80 static int do_token_in(USBDevice *s, USBPacket *p) in do_token_in()
126 static int do_token_out(USBDevice *s, USBPacket *p) in do_token_out()
167 int usb_generic_handle_packet(USBDevice *s, USBPacket *p) in usb_generic_handle_packet()
225 USBPacket p; in usb_send_msg()
Dusb-msd.c50 USBPacket *packet;
175 USBPacket *p = s->packet; in usb_msd_command_complete()
343 static void usb_msd_cancel_io(USBPacket *p, void *opaque) in usb_msd_cancel_io()
351 static int usb_msd_handle_data(USBDevice *dev, USBPacket *p) in usb_msd_handle_data()
Dusb-hub.c435 static int usb_hub_handle_data(USBDevice *dev, USBPacket *p) in usb_hub_handle_data()
479 static int usb_hub_broadcast_packet(USBHubState *s, USBPacket *p) in usb_hub_broadcast_packet()
498 static int usb_hub_handle_packet(USBDevice *dev, USBPacket *p) in usb_hub_handle_packet()
Dbt-hid.c127 USBPacket p; in bt_hid_out()
151 USBPacket p; in bt_hid_in()
Dusb-hid.c808 static int usb_hid_handle_data(USBDevice *dev, USBPacket *p) in usb_hid_handle_data()
Dusb-ohci.c117 USBPacket usb_packet;
590 static void ohci_async_complete_packet(USBPacket *packet, void *opaque) in ohci_async_complete_packet()
/external/qemu/
Dusb-linux.c206 USBPacket *packet;
220 static void async_complete_ctrl(USBHostDevice *s, USBPacket *p) in async_complete_ctrl()
246 USBPacket *p; in async_complete()
291 static void async_cancel(USBPacket *unused, void *opaque) in async_cancel()
437 static int usb_host_handle_data(USBHostDevice *s, USBPacket *p) in usb_host_handle_data()
550 static int usb_host_handle_control(USBHostDevice *s, USBPacket *p) in usb_host_handle_control()
624 static int do_token_setup(USBDevice *dev, USBPacket *p) in do_token_setup()
655 static int do_token_in(USBDevice *dev, USBPacket *p) in do_token_in()
696 static int do_token_out(USBDevice *dev, USBPacket *p) in do_token_out()
739 static int usb_host_handle_packet(USBDevice *s, USBPacket *p) in usb_host_handle_packet()