Home
last modified time | relevance | path

Searched refs:requesttype (Results 1 – 25 of 25) sorted by relevance

/drivers/staging/rtl8712/
Dusb_ops.c28 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 …]
Dusb_ops.h35 u16 index, void *pdata, u16 len, u8 requesttype);
Dusb_ops_linux.c470 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/
Dusb_ops_linux.c201 …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/
Dec168.c18 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 …]
Dce6230.c17 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()
Drtl28xxu.c22 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/
Drt2x00usb.c43 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()
Drt2x00usb.h92 const u8 request, const u8 requesttype,
115 const u8 request, const u8 requesttype,
133 const u8 request, const u8 requesttype,
/drivers/usb/storage/
Dtransport.h73 u8 request, u8 requesttype, u16 value, u16 index,
78 u8 request, u8 requesttype, u16 value, u16 index,
Dtransport.c186 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()
Dsddr09.c295 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/
Dairspy.c165 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/
Dcx231xx-core.c226 __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/
Dopticon.c99 static int send_control_msg(struct usb_serial_port *port, u8 requesttype, in send_control_msg() argument
114 requesttype, in send_control_msg()
Dmos7720.c200 __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/
Dhackrf.c187 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/
Duss720.c123 __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/
Dehci-dbgp.c329 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/
Dmsi2500.c655 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/
Dcpia1.c399 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/
Dkaweth.c244 __u8 requesttype, in kaweth_control() argument
263 dr->bRequestType = requesttype; in kaweth_control()
/drivers/net/ieee802154/
Datusb.c84 __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/
Ddevio.c847 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()
Dmessage.c136 __u8 requesttype, __u16 value, __u16 index, void *data, in usb_control_msg() argument
146 dr->bRequestType = requesttype; in usb_control_msg()