Home
last modified time | relevance | path

Searched refs:USB_DIR_IN (Results 1 – 9 of 9) sorted by relevance

/external/bluetooth/bluez/tools/
Ddfu.c40 #ifndef USB_DIR_IN
41 #define USB_DIR_IN 0x80 macro
121 return usb_control_msg(udev, USB_TYPE_CLASS | USB_DIR_IN | USB_RECIP_INTERFACE, in dfu_upload()
139 return usb_control_msg(udev, USB_TYPE_CLASS | USB_DIR_IN | USB_RECIP_INTERFACE, in dfu_get_status()
157 return usb_control_msg(udev, USB_TYPE_CLASS | USB_DIR_IN | USB_RECIP_INTERFACE, in dfu_get_state()
Davctrl.c48 #ifndef USB_DIR_IN
49 #define USB_DIR_IN 0x80 macro
/external/qemu/hw/
Dusb.c61 if (s->setup_buf[0] & USB_DIR_IN) { in do_token_setup()
94 if (!(s->setup_buf[0] & USB_DIR_IN)) { in do_token_in()
107 if (s->setup_buf[0] & USB_DIR_IN) { in do_token_in()
133 if (s->setup_buf[0] & USB_DIR_IN) { in do_token_out()
142 if (!(s->setup_buf[0] & USB_DIR_IN)) { in do_token_out()
Dusb.h72 #define USB_DIR_IN 0x80 macro
86 #define DeviceRequest ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE)<<8)
89 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8)
92 #define EndpointRequest ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT)<<8)
Dusb-hid.c254 USB_DIR_IN | 0x01, /* u8 ep_bEndpointAddress; IN Endpoint 1 */
/external/kernel-headers/original/linux/
Dusb.h1129 #define usb_pipein(pipe) ((pipe) & USB_DIR_IN)
1159 ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1163 ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1167 ((PIPE_BULK << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1171 ((PIPE_INTERRUPT << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
Dusb_ch9.h35 #define USB_DIR_IN 0x80 /* to host */ macro
/external/qemu/
Dusb-linux.c637 if (s->ctrl.req.bRequestType & USB_DIR_IN) { in do_token_setup()
665 if (!(s->ctrl.req.bRequestType & USB_DIR_IN)) { in do_token_in()
677 if (s->ctrl.req.bRequestType & USB_DIR_IN) { in do_token_in()
705 if (s->ctrl.req.bRequestType & USB_DIR_IN) { in do_token_out()
714 if (!(s->ctrl.req.bRequestType & USB_DIR_IN)) { in do_token_out()
785 ct.bRequestType = USB_DIR_IN; in usb_linux_update_endp_table()
826 ct.bRequestType = USB_DIR_IN | USB_RECIP_INTERFACE; in usb_linux_update_endp_table()
/external/kernel-headers/original/linux/usb/
Dch9.h50 #define USB_DIR_IN 0x80 /* to host */ macro
438 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()