Home
last modified time | relevance | path

Searched refs:USBDevice (Results 1 – 12 of 12) sorted by relevance

/external/qemu/hw/
Dusb.h123 typedef struct USBDevice USBDevice; typedef
127 struct USBDevice { struct
137 int (*handle_packet)(USBDevice *dev, USBPacket *p); argument
142 void (*handle_destroy)(USBDevice *dev); argument
153 void (*handle_reset)(USBDevice *dev); argument
161 int (*handle_control)(USBDevice *dev, int request, int value, argument
170 int (*handle_data)(USBDevice *dev, USBPacket *p); argument
184 typedef void (*usb_attachfn)(USBPort *port, USBDevice *dev); argument
188 USBDevice *dev;
237 int usb_device_add_dev(USBDevice *dev);
[all …]
Dusb-hub.c38 USBDevice dev;
167 static void usb_hub_attach(USBPort *port1, USBDevice *dev) in usb_hub_attach()
201 static void usb_hub_handle_reset(USBDevice *dev) in usb_hub_handle_reset()
206 static int usb_hub_handle_control(USBDevice *dev, int request, int value, in usb_hub_handle_control()
340 USBDevice *dev; in usb_hub_handle_control()
369 USBDevice *dev; in usb_hub_handle_control()
435 static int usb_hub_handle_data(USBDevice *dev, USBPacket *p) in usb_hub_handle_data()
482 USBDevice *dev; in usb_hub_broadcast_packet()
498 static int usb_hub_handle_packet(USBDevice *dev, USBPacket *p) in usb_hub_handle_packet()
517 static void usb_hub_handle_destroy(USBDevice *dev) in usb_hub_handle_destroy()
[all …]
Dusb-hid.c61 USBDevice dev;
612 static void usb_mouse_handle_reset(USBDevice *dev) in usb_mouse_handle_reset()
625 static void usb_keyboard_handle_reset(USBDevice *dev) in usb_keyboard_handle_reset()
633 static int usb_hid_handle_control(USBDevice *dev, int request, int value, in usb_hid_handle_control()
808 static int usb_hid_handle_data(USBDevice *dev, USBPacket *p) in usb_hid_handle_data()
839 static void usb_hid_handle_destroy(USBDevice *dev) in usb_hid_handle_destroy()
849 USBDevice *usb_tablet_init(void) in usb_tablet_init()
867 return (USBDevice *)s; in usb_tablet_init()
870 USBDevice *usb_mouse_init(void) in usb_mouse_init()
888 return (USBDevice *)s; in usb_mouse_init()
[all …]
Dusb.c29 void usb_attach(USBPort *port, USBDevice *dev) in usb_attach()
45 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()
223 void usb_send_msg(USBDevice *dev, int msg) in usb_send_msg()
Dusb-msd.c37 USBDevice dev;
222 static void usb_msd_handle_reset(USBDevice *dev) in usb_msd_handle_reset()
230 static int usb_msd_handle_control(USBDevice *dev, int request, int value, in usb_msd_handle_control()
351 static int usb_msd_handle_data(USBDevice *dev, USBPacket *p) in usb_msd_handle_data()
508 static void usb_msd_handle_destroy(USBDevice *dev) in usb_msd_handle_destroy()
517 USBDevice *usb_msd_init(const char *filename) in usb_msd_init()
570 usb_msd_handle_reset((USBDevice *)s); in usb_msd_init()
571 return (USBDevice *)s; in usb_msd_init()
577 BlockDriverState *usb_msd_get_bdrv(USBDevice *dev) in usb_msd_get_bdrv()
Dbaum.h26 USBDevice *usb_baum_init(void);
Dbt-hid.c89 USBDevice *usbdev;
534 USBDevice *dev, enum peripheral_minor_class minor) in bt_hid_init()
Dusb-ohci.c330 static void ohci_attach(USBPort *port1, USBDevice *dev) in ohci_attach()
611 USBDevice *dev; in ohci_service_iso_td()
846 USBDevice *dev; in ohci_service_td()
/external/qemu/
Dusb-dummy-android.c30 USBDevice *usb_host_device_open(const char *devname) in usb_host_device_open()
Dusb-linux.c122 USBDevice dev;
406 static void usb_host_handle_reset(USBDevice *dev) in usb_host_handle_reset()
417 static void usb_host_handle_destroy(USBDevice *dev) in usb_host_handle_destroy()
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()
884 static USBDevice *usb_host_device_open_addr(int bus_num, int addr, const char *prod_name) in usb_host_device_open_addr()
972 return (USBDevice *) dev; in usb_host_device_open_addr()
985 USBDevice *usb_host_device_open(const char *devname) in usb_host_device_open()
[all …]
Dvl.c1261 int usb_device_add_dev(USBDevice *dev) in usb_device_add_dev()
1268 USBDevice *hub; in usb_device_add_dev()
1289 USBDevice *dev = opaque; in usb_msd_password_cb()
1300 USBDevice *dev; in usb_device_add()
1359 USBDevice *dev; in usb_device_del_addr()
1418 USBDevice *dev; in usb_info()
Dvl-android.c1460 int usb_device_add_dev(USBDevice *dev) in usb_device_add_dev()
1467 USBDevice *hub; in usb_device_add_dev()
1489 USBDevice *dev = opaque;
1501 USBDevice *dev; in usb_device_add()
1563 USBDevice *dev; in usb_device_del_addr()
1622 USBDevice *dev; in usb_info()