/drivers/staging/rtl8712/ |
D | usb_ops.c | 28 u8 requesttype; in usb_read8() local 36 requesttype = 0x01; /* read_in */ in usb_read8() 41 requesttype); in usb_read8() 48 u8 requesttype; in usb_read16() local 56 requesttype = 0x01; /* read_in */ in usb_read16() 61 requesttype); in usb_read16() 68 u8 requesttype; in usb_read32() local 76 requesttype = 0x01; /* read_in */ in usb_read32() 81 requesttype); in usb_read32() 88 u8 requesttype; in usb_write8() local [all …]
|
D | usb_ops.h | 35 u16 index, void *pdata, u16 len, u8 requesttype);
|
D | usb_ops_linux.c | 470 u16 index, void *pdata, u16 len, u8 requesttype) in r8712_usbctrl_vendorreq() argument 487 if (requesttype == 0x01) { in r8712_usbctrl_vendorreq() 498 if (requesttype == 0x01) { in r8712_usbctrl_vendorreq()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 201 …rreq(struct adapter *adapt, u8 request, u16 value, u16 index, void *pdata, u16 len, u8 requesttype) in usbctrl_vendorreq() argument 241 if (requesttype == 0x01) { in usbctrl_vendorreq() 253 if (requesttype == 0x01) in usbctrl_vendorreq() 257 value, (requesttype == 0x01) ? "read" : "write", in usbctrl_vendorreq() 267 if (requesttype == 0x01) { in usbctrl_vendorreq() 290 u8 requesttype; in usb_read8() local 297 requesttype = 0x01;/* read_in */ in usb_read8() 303 usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype); in usb_read8() 311 u8 requesttype; in usb_read16() local 318 requesttype = 0x01;/* read_in */ in usb_read16() [all …]
|
/drivers/media/usb/dvb-usb-v2/ |
D | ec168.c | 18 u8 request, requesttype; in ec168_ctrl_msg() local 26 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in ec168_ctrl_msg() 30 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 34 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 38 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in ec168_ctrl_msg() 42 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in ec168_ctrl_msg() 46 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 62 if (requesttype == (USB_TYPE_VENDOR | USB_DIR_OUT)) { in ec168_ctrl_msg() 73 ret = usb_control_msg(d->udev, pipe, request, requesttype, req->value, in ec168_ctrl_msg() 76 dvb_usb_dbg_usb_control_msg(d->udev, request, requesttype, req->value, in ec168_ctrl_msg() [all …]
|
D | ce6230.c | 17 u8 requesttype; in ce6230_ctrl_msg() local 30 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ce6230_ctrl_msg() 35 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in ce6230_ctrl_msg() 50 if (requesttype == (USB_TYPE_VENDOR | USB_DIR_OUT)) { in ce6230_ctrl_msg() 61 ret = usb_control_msg(d->udev, pipe, request, requesttype, value, index, in ce6230_ctrl_msg() 64 dvb_usb_dbg_usb_control_msg(d->udev, request, requesttype, value, index, in ce6230_ctrl_msg() 74 if (!ret && requesttype == (USB_TYPE_VENDOR | USB_DIR_IN)) in ce6230_ctrl_msg()
|
D | rtl28xxu.c | 22 u8 requesttype; in rtl28xxu_ctrl_msg() local 35 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in rtl28xxu_ctrl_msg() 39 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in rtl28xxu_ctrl_msg() 43 ret = usb_control_msg(d->udev, pipe, 0, requesttype, req->value, in rtl28xxu_ctrl_msg() 45 dvb_usb_dbg_usb_control_msg(d->udev, 0, requesttype, req->value, in rtl28xxu_ctrl_msg() 51 if (requesttype == (USB_TYPE_VENDOR | USB_DIR_IN)) in rtl28xxu_ctrl_msg()
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00usb.c | 43 const u8 request, const u8 requesttype, in rt2x00usb_vendor_request() argument 51 (requesttype == USB_VENDOR_REQUEST_IN) ? in rt2x00usb_vendor_request() 59 status = usb_control_msg(usb_dev, pipe, request, requesttype, in rt2x00usb_vendor_request() 81 const u8 request, const u8 requesttype, in rt2x00usb_vendor_req_buff_lock() argument 97 if (requesttype == USB_VENDOR_REQUEST_OUT) in rt2x00usb_vendor_req_buff_lock() 100 status = rt2x00usb_vendor_request(rt2x00dev, request, requesttype, in rt2x00usb_vendor_req_buff_lock() 104 if (!status && requesttype == USB_VENDOR_REQUEST_IN) in rt2x00usb_vendor_req_buff_lock() 112 const u8 request, const u8 requesttype, in rt2x00usb_vendor_request_buff() argument 128 requesttype, off, tb, in rt2x00usb_vendor_request_buff()
|
D | rt2x00usb.h | 92 const u8 request, const u8 requesttype, 115 const u8 request, const u8 requesttype, 133 const u8 request, const u8 requesttype,
|
/drivers/usb/storage/ |
D | transport.h | 73 u8 request, u8 requesttype, u16 value, u16 index, 78 u8 request, u8 requesttype, u16 value, u16 index,
|
D | transport.c | 186 u8 request, u8 requesttype, u16 value, u16 index, in usb_stor_control_msg() argument 192 request, requesttype, value, index, size); in usb_stor_control_msg() 195 us->cr->bRequestType = requesttype; in usb_stor_control_msg() 323 u8 request, u8 requesttype, u16 value, u16 index, in usb_stor_ctrl_transfer() argument 329 request, requesttype, value, index, size); in usb_stor_ctrl_transfer() 332 us->cr->bRequestType = requesttype; in usb_stor_ctrl_transfer() 1337 u8 request, u8 requesttype, in usb_stor_reset_common() argument 1349 request, requesttype, value, index, data, size, in usb_stor_reset_common()
|
D | sddr09.c | 295 unsigned char requesttype = (0x41 | direction); in sddr09_send_command() local 305 rc = usb_stor_ctrl_transfer(us, pipe, request, requesttype, in sddr09_send_command()
|
/drivers/media/usb/airspy/ |
D | airspy.c | 165 u8 requesttype; in airspy_ctrl_msg() local 171 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in airspy_ctrl_msg() 182 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in airspy_ctrl_msg() 191 if (!(requesttype & USB_DIR_IN)) in airspy_ctrl_msg() 194 ret = usb_control_msg(s->udev, pipe, request, requesttype, value, in airspy_ctrl_msg() 196 airspy_dbg_usb_control_msg(s->dev, request, requesttype, value, in airspy_ctrl_msg() 205 if (requesttype & USB_DIR_IN) in airspy_ctrl_msg()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 226 __u8 request, __u8 requesttype, __u16 value, __u16 index, in __usb_control_msg() argument 235 (requesttype & USB_DIR_IN) ? "IN" : "OUT", in __usb_control_msg() 236 requesttype, in __usb_control_msg() 241 if (!(requesttype & USB_DIR_IN)) { in __usb_control_msg() 251 if (!(requesttype & USB_DIR_IN) && size) in __usb_control_msg() 253 rc = usb_control_msg(dev->udev, pipe, request, requesttype, value, in __usb_control_msg() 255 if ((requesttype & USB_DIR_IN) && size) in __usb_control_msg() 265 if ((requesttype & USB_DIR_IN)) { in __usb_control_msg()
|
/drivers/usb/serial/ |
D | opticon.c | 99 static int send_control_msg(struct usb_serial_port *port, u8 requesttype, in send_control_msg() argument 114 requesttype, in send_control_msg()
|
D | mos7720.c | 200 __u8 requesttype = (__u8)0x40; in write_mos_reg() local 203 int status = usb_control_msg(usbdev, pipe, request, requesttype, value, in write_mos_reg() 222 __u8 requesttype = (__u8)0xc0; in read_mos_reg() local 232 status = usb_control_msg(usbdev, pipe, request, requesttype, value, in read_mos_reg()
|
/drivers/media/usb/hackrf/ |
D | hackrf.c | 187 u8 requesttype; in hackrf_ctrl_msg() local 196 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in hackrf_ctrl_msg() 204 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in hackrf_ctrl_msg() 213 if (!(requesttype & USB_DIR_IN)) in hackrf_ctrl_msg() 216 ret = usb_control_msg(dev->udev, pipe, request, requesttype, value, in hackrf_ctrl_msg() 218 hackrf_dbg_usb_control_msg(dev->dev, request, requesttype, value, in hackrf_ctrl_msg() 227 if (requesttype & USB_DIR_IN) in hackrf_ctrl_msg()
|
/drivers/usb/misc/ |
D | uss720.c | 123 __u8 request, __u8 requesttype, __u16 value, __u16 index, in submit_async_request() argument 154 rq->dr->bRequestType = requesttype; in submit_async_request() 159 …usb_fill_control_urb(rq->urb, usbdev, (requesttype & 0x80) ? usb_rcvctrlpipe(usbdev, 0) : usb_sndc… in submit_async_request()
|
/drivers/usb/early/ |
D | ehci-dbgp.c | 329 static int dbgp_control_msg(unsigned devnum, int requesttype, in dbgp_control_msg() argument 337 read = (requesttype & USB_DIR_IN) != 0; in dbgp_control_msg() 342 req.bRequestType = requesttype; in dbgp_control_msg()
|
/drivers/media/usb/msi2500/ |
D | msi2500.c | 655 u8 requesttype = USB_DIR_OUT | USB_TYPE_VENDOR; in msi2500_ctrl_msg() local 659 msi2500_dbg_usb_control_msg(dev->dev, request, requesttype, in msi2500_ctrl_msg() 662 requesttype, value, index, NULL, 0, 2000); in msi2500_ctrl_msg()
|
/drivers/media/usb/gspca/ |
D | cpia1.c | 399 u8 requesttype; in cpia_usb_transferCmd() local 407 requesttype = USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE; in cpia_usb_transferCmd() 410 requesttype = USB_TYPE_VENDOR | USB_RECIP_DEVICE; in cpia_usb_transferCmd() 420 requesttype, in cpia_usb_transferCmd()
|
/drivers/net/usb/ |
D | kaweth.c | 244 __u8 requesttype, in kaweth_control() argument 263 dr->bRequestType = requesttype; in kaweth_control()
|
/drivers/net/ieee802154/ |
D | atusb.c | 84 __u8 request, __u8 requesttype, in atusb_control_msg() argument 94 ret = usb_control_msg(usb_dev, pipe, request, requesttype, in atusb_control_msg()
|
/drivers/usb/core/ |
D | devio.c | 847 static int check_ctrlrecip(struct usb_dev_state *ps, unsigned int requesttype, in check_ctrlrecip() argument 857 if (USB_TYPE_VENDOR == (USB_TYPE_MASK & requesttype)) in check_ctrlrecip() 865 if (requesttype == 0xa1 && request == 0) { in check_ctrlrecip() 874 switch (requesttype & USB_RECIP_MASK) { in check_ctrlrecip()
|
D | message.c | 136 __u8 requesttype, __u16 value, __u16 index, void *data, in usb_control_msg() argument 146 dr->bRequestType = requesttype; in usb_control_msg()
|