/drivers/staging/rtl8712/ |
D | usb_ops.c | 40 u8 requesttype; in usb_read8() local 48 requesttype = 0x01; /* read_in */ in usb_read8() 53 requesttype); in usb_read8() 60 u8 requesttype; in usb_read16() local 68 requesttype = 0x01; /* read_in */ in usb_read16() 73 requesttype); in usb_read16() 80 u8 requesttype; in usb_read32() local 88 requesttype = 0x01; /* read_in */ in usb_read32() 93 requesttype); in usb_read32() 100 u8 requesttype; in usb_write8() local [all …]
|
D | usb_ops.h | 47 u16 index, void *pdata, u16 len, u8 requesttype);
|
D | usb_ops_linux.c | 487 u16 index, void *pdata, u16 len, u8 requesttype) in r8712_usbctrl_vendorreq() argument 504 if (requesttype == 0x01) { in r8712_usbctrl_vendorreq() 515 if (requesttype == 0x01) { in r8712_usbctrl_vendorreq()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 230 …rreq(struct adapter *adapt, u8 request, u16 value, u16 index, void *pdata, u16 len, u8 requesttype) in usbctrl_vendorreq() argument 266 if (requesttype == 0x01) { in usbctrl_vendorreq() 278 if (requesttype == 0x01) in usbctrl_vendorreq() 282 value, (requesttype == 0x01) ? "read" : "write", in usbctrl_vendorreq() 294 if (requesttype == 0x01) { in usbctrl_vendorreq() 316 u8 requesttype; in usb_read8() local 324 requesttype = 0x01;/* read_in */ in usb_read8() 330 usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype); in usb_read8() 340 u8 requesttype; in usb_read16() local 347 requesttype = 0x01;/* read_in */ in usb_read16() [all …]
|
/drivers/media/usb/dvb-usb-v2/ |
D | ec168.c | 32 u8 request, requesttype; in ec168_ctrl_msg() local 40 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in ec168_ctrl_msg() 44 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 48 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 52 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in ec168_ctrl_msg() 56 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in ec168_ctrl_msg() 60 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 76 if (requesttype == (USB_TYPE_VENDOR | USB_DIR_OUT)) { in ec168_ctrl_msg() 87 ret = usb_control_msg(d->udev, pipe, request, requesttype, req->value, in ec168_ctrl_msg() 90 dvb_usb_dbg_usb_control_msg(d->udev, request, requesttype, req->value, in ec168_ctrl_msg() [all …]
|
D | ce6230.c | 31 u8 requesttype; in ce6230_ctrl_msg() local 44 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ce6230_ctrl_msg() 49 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in ce6230_ctrl_msg() 64 if (requesttype == (USB_TYPE_VENDOR | USB_DIR_OUT)) { in ce6230_ctrl_msg() 75 ret = usb_control_msg(d->udev, pipe, request, requesttype, value, index, in ce6230_ctrl_msg() 78 dvb_usb_dbg_usb_control_msg(d->udev, request, requesttype, value, index, in ce6230_ctrl_msg() 88 if (!ret && requesttype == (USB_TYPE_VENDOR | USB_DIR_IN)) in ce6230_ctrl_msg()
|
D | rtl28xxu.c | 86 u8 requesttype; in rtl28xxu_ctrl_msg() local 98 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in rtl28xxu_ctrl_msg() 102 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in rtl28xxu_ctrl_msg() 106 ret = usb_control_msg(d->udev, pipe, 0, requesttype, req->value, in rtl28xxu_ctrl_msg() 109 dvb_usb_dbg_usb_control_msg(d->udev, 0, requesttype, req->value, in rtl28xxu_ctrl_msg() 116 if (!ret && requesttype == (USB_TYPE_VENDOR | USB_DIR_IN)) in rtl28xxu_ctrl_msg()
|
/drivers/usb/misc/ |
D | rio500.c | 118 int result, requesttype; in ioctl_rio() local 153 requesttype = rio_cmd.requesttype | USB_DIR_IN | in ioctl_rio() 157 requesttype, rio_cmd.request, rio_cmd.value, in ioctl_rio() 165 requesttype, in ioctl_rio() 224 requesttype = rio_cmd.requesttype | USB_DIR_OUT | in ioctl_rio() 228 requesttype, rio_cmd.request, rio_cmd.value, in ioctl_rio() 236 requesttype, in ioctl_rio()
|
D | rio500_usb.h | 32 int requesttype; member
|
D | uss720.c | 143 __u8 request, __u8 requesttype, __u16 value, __u16 index, in submit_async_request() argument 177 rq->dr->bRequestType = requesttype; in submit_async_request() 182 …usb_fill_control_urb(rq->urb, usbdev, (requesttype & 0x80) ? usb_rcvctrlpipe(usbdev, 0) : usb_sndc… in submit_async_request()
|
/drivers/net/wireless/rt2x00/ |
D | rt2x00usb.c | 38 const u8 request, const u8 requesttype, in rt2x00usb_vendor_request() argument 47 (requesttype == USB_VENDOR_REQUEST_IN) ? in rt2x00usb_vendor_request() 54 status = usb_control_msg(usb_dev, pipe, request, requesttype, in rt2x00usb_vendor_request() 86 const u8 request, const u8 requesttype, in rt2x00usb_vendor_req_buff_lock() argument 102 if (requesttype == USB_VENDOR_REQUEST_OUT) in rt2x00usb_vendor_req_buff_lock() 105 status = rt2x00usb_vendor_request(rt2x00dev, request, requesttype, in rt2x00usb_vendor_req_buff_lock() 109 if (!status && requesttype == USB_VENDOR_REQUEST_IN) in rt2x00usb_vendor_req_buff_lock() 117 const u8 request, const u8 requesttype, in rt2x00usb_vendor_request_buff() argument 133 requesttype, off, tb, in rt2x00usb_vendor_request_buff()
|
D | rt2x00usb.h | 116 const u8 request, const u8 requesttype, 140 const u8 request, const u8 requesttype, 158 const u8 request, const u8 requesttype,
|
/drivers/usb/storage/ |
D | transport.h | 88 u8 request, u8 requesttype, u16 value, u16 index, 93 u8 request, u8 requesttype, u16 value, u16 index,
|
D | transport.c | 195 u8 request, u8 requesttype, u16 value, u16 index, in usb_stor_control_msg() argument 201 request, requesttype, value, index, size); in usb_stor_control_msg() 204 us->cr->bRequestType = requesttype; in usb_stor_control_msg() 329 u8 request, u8 requesttype, u16 value, u16 index, in usb_stor_ctrl_transfer() argument 335 request, requesttype, value, index, size); in usb_stor_ctrl_transfer() 338 us->cr->bRequestType = requesttype; in usb_stor_ctrl_transfer() 1275 u8 request, u8 requesttype, in usb_stor_reset_common() argument 1287 request, requesttype, value, index, data, size, in usb_stor_reset_common()
|
/drivers/media/usb/airspy/ |
D | airspy.c | 175 u8 requesttype; in airspy_ctrl_msg() local 181 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in airspy_ctrl_msg() 192 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in airspy_ctrl_msg() 201 if (!(requesttype & USB_DIR_IN)) in airspy_ctrl_msg() 204 ret = usb_control_msg(s->udev, pipe, request, requesttype, value, in airspy_ctrl_msg() 206 airspy_dbg_usb_control_msg(s->dev, request, requesttype, value, in airspy_ctrl_msg() 215 if (requesttype & USB_DIR_IN) in airspy_ctrl_msg()
|
/drivers/media/usb/hackrf/ |
D | hackrf.c | 162 u8 requesttype; in hackrf_ctrl_msg() local 170 requesttype = (USB_TYPE_VENDOR | USB_DIR_OUT); in hackrf_ctrl_msg() 177 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in hackrf_ctrl_msg() 186 if (!(requesttype & USB_DIR_IN)) in hackrf_ctrl_msg() 189 ret = usb_control_msg(dev->udev, pipe, request, requesttype, value, in hackrf_ctrl_msg() 191 hackrf_dbg_usb_control_msg(dev->dev, request, requesttype, value, in hackrf_ctrl_msg() 200 if (requesttype & USB_DIR_IN) in hackrf_ctrl_msg()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 247 __u8 request, __u8 requesttype, __u16 value, __u16 index, in __usb_control_msg() argument 257 (requesttype & USB_DIR_IN) ? "IN" : "OUT", in __usb_control_msg() 258 requesttype, in __usb_control_msg() 263 if (!(requesttype & USB_DIR_IN)) { in __usb_control_msg() 273 if (!(requesttype & USB_DIR_IN) && size) in __usb_control_msg() 275 rc = usb_control_msg(dev->udev, pipe, request, requesttype, value, in __usb_control_msg() 277 if ((requesttype & USB_DIR_IN) && size) in __usb_control_msg() 287 if ((requesttype & USB_DIR_IN)) { in __usb_control_msg()
|
/drivers/usb/serial/ |
D | opticon.c | 102 static int send_control_msg(struct usb_serial_port *port, u8 requesttype, in send_control_msg() argument 117 requesttype, in send_control_msg()
|
D | mos7720.c | 205 __u8 requesttype = (__u8)0x40; in write_mos_reg() local 208 int status = usb_control_msg(usbdev, pipe, request, requesttype, value, in write_mos_reg() 227 __u8 requesttype = (__u8)0xc0; in read_mos_reg() local 237 status = usb_control_msg(usbdev, pipe, request, requesttype, value, in read_mos_reg()
|
/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/isdn/hisax/ |
D | st5481_usb.c | 61 u8 request, u8 requesttype, u16 value, u16 index, in usb_ctrl_msg() argument 74 ctrl_msg->dr.bRequestType = requesttype; in usb_ctrl_msg()
|
/drivers/media/usb/msi2500/ |
D | msi2500.c | 670 u8 requesttype = USB_DIR_OUT | USB_TYPE_VENDOR; in msi2500_ctrl_msg() local 675 request, requesttype, value, index, NULL, 0); in msi2500_ctrl_msg() 677 request, requesttype, value, index, NULL, 0, 2000); in msi2500_ctrl_msg()
|
/drivers/media/usb/gspca/ |
D | cpia1.c | 411 u8 requesttype; in cpia_usb_transferCmd() local 419 requesttype = USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE; in cpia_usb_transferCmd() 422 requesttype = USB_TYPE_VENDOR | USB_RECIP_DEVICE; in cpia_usb_transferCmd() 431 requesttype, in cpia_usb_transferCmd()
|
/drivers/net/usb/ |
D | kaweth.c | 258 __u8 requesttype, in kaweth_control() argument 279 dr->bRequestType = requesttype; in kaweth_control()
|
/drivers/usb/core/ |
D | devio.c | 710 static int check_ctrlrecip(struct usb_dev_state *ps, unsigned int requesttype, in check_ctrlrecip() argument 720 if (USB_TYPE_VENDOR == (USB_TYPE_MASK & requesttype)) in check_ctrlrecip() 728 if (requesttype == 0xa1 && request == 0) { in check_ctrlrecip() 737 switch (requesttype & USB_RECIP_MASK) { in check_ctrlrecip()
|