Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/staging/rtl8712/
Dusb_ops.c28 u8 requesttype; in usb_read8() local
37 requesttype = 0x01; /* read_in */ in usb_read8()
42 &data, len, requesttype); in usb_read8()
51 u8 requesttype; in usb_read16() local
60 requesttype = 0x01; /* read_in */ in usb_read16()
65 &data, len, requesttype); in usb_read16()
74 u8 requesttype; in usb_read32() local
83 requesttype = 0x01; /* read_in */ in usb_read32()
88 &data, len, requesttype); in usb_read32()
97 u8 requesttype; in usb_write8() local
[all …]
Dusb_ops.h35 u16 index, void *pdata, u16 len, u8 requesttype);
Dusb_ops_linux.c471 u16 index, void *pdata, u16 len, u8 requesttype) in r8712_usbctrl_vendorreq() argument
488 if (requesttype == 0x01) { in r8712_usbctrl_vendorreq()
505 if (requesttype == 0x01) { in r8712_usbctrl_vendorreq()
/Linux-v6.6/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()
Dgl861.c37 u8 requesttype; in gl861_ctrl_msg() local
47 requesttype = USB_TYPE_VENDOR | USB_DIR_OUT; in gl861_ctrl_msg()
51 requesttype = USB_TYPE_VENDOR | USB_DIR_IN; in gl861_ctrl_msg()
58 ret = usb_control_msg(d->udev, pipe, request, requesttype, value, in gl861_ctrl_msg()
61 ret, requesttype, request, 2, &value, 2, &index, 2, &size, in gl861_ctrl_msg()
62 (requesttype & USB_DIR_IN) ? "<<<" : ">>>", size, ctx->buf); in gl861_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()
52 ret = usb_control_msg(d->udev, pipe, 0, requesttype, req->value, in rtl28xxu_ctrl_msg()
54 dvb_usb_dbg_usb_control_msg(d->udev, 0, requesttype, req->value, in rtl28xxu_ctrl_msg()
60 if (requesttype == (USB_TYPE_VENDOR | USB_DIR_IN)) in rtl28xxu_ctrl_msg()
/Linux-v6.6/sound/usb/
Dhelper.c71 __u8 requesttype, __u16 value, __u16 index, void *data, in snd_usb_ctl_msg() argument
87 if (requesttype & USB_DIR_IN) in snd_usb_ctl_msg()
92 err = usb_control_msg(dev, pipe, request, requesttype, in snd_usb_ctl_msg()
100 snd_usb_ctl_msg_quirk(dev, pipe, request, requesttype, in snd_usb_ctl_msg()
Dhelper.h11 __u8 request, __u8 requesttype, __u16 value, __u16 index,
Dquirks.h37 __u8 request, __u8 requesttype, __u16 value,
/Linux-v6.6/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()
1348 u8 request, u8 requesttype, in usb_stor_reset_common() argument
1360 request, requesttype, value, index, data, size, in usb_stor_reset_common()
/Linux-v6.6/drivers/net/wireless/ralink/rt2x00/
Drt2x00usb.h92 const u8 request, const u8 requesttype,
115 const u8 request, const u8 requesttype,
133 const u8 request, const u8 requesttype,
Drt2x00usb.c46 const u8 request, const u8 requesttype, in rt2x00usb_vendor_request() argument
54 (requesttype == USB_VENDOR_REQUEST_IN) ? in rt2x00usb_vendor_request()
62 status = usb_control_msg(usb_dev, pipe, request, requesttype, in rt2x00usb_vendor_request()
84 const u8 request, const u8 requesttype, in rt2x00usb_vendor_req_buff_lock() argument
100 if (requesttype == USB_VENDOR_REQUEST_OUT) in rt2x00usb_vendor_req_buff_lock()
103 status = rt2x00usb_vendor_request(rt2x00dev, request, requesttype, in rt2x00usb_vendor_req_buff_lock()
107 if (!status && requesttype == USB_VENDOR_REQUEST_IN) in rt2x00usb_vendor_req_buff_lock()
115 const u8 request, const u8 requesttype, in rt2x00usb_vendor_request_buff() argument
131 requesttype, off, tb, in rt2x00usb_vendor_request_buff()
/Linux-v6.6/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()
/Linux-v6.6/drivers/gpu/drm/gud/
Dgud_drv.c58 u8 requesttype = USB_TYPE_VENDOR | USB_RECIP_INTERFACE; in gud_usb_control_msg() local
68 requesttype |= USB_DIR_IN; in gud_usb_control_msg()
71 requesttype |= USB_DIR_OUT; in gud_usb_control_msg()
74 return usb_control_msg(usb, pipe, request, requesttype, value, in gud_usb_control_msg()
/Linux-v6.6/drivers/usb/serial/
Dopticon.c102 static int send_control_msg(struct usb_serial_port *port, u8 requesttype, in send_control_msg() argument
117 requesttype, in send_control_msg()
Dmos7720.c189 __u8 requesttype = (__u8)0x40; in write_mos_reg() local
192 int status = usb_control_msg(usbdev, pipe, request, requesttype, value, in write_mos_reg()
211 __u8 requesttype = (__u8)0xc0; in read_mos_reg() local
223 status = usb_control_msg(usbdev, pipe, request, requesttype, value, in read_mos_reg()
/Linux-v6.6/drivers/media/usb/cx231xx/
Dcx231xx-core.c222 __u8 request, __u8 requesttype, __u16 value, __u16 index, in __usb_control_msg() argument
231 (requesttype & USB_DIR_IN) ? "IN" : "OUT", in __usb_control_msg()
232 requesttype, in __usb_control_msg()
237 if (!(requesttype & USB_DIR_IN)) { in __usb_control_msg()
247 if (!(requesttype & USB_DIR_IN) && size) in __usb_control_msg()
249 rc = usb_control_msg(dev->udev, pipe, request, requesttype, value, in __usb_control_msg()
251 if ((requesttype & USB_DIR_IN) && size) in __usb_control_msg()
261 if ((requesttype & USB_DIR_IN)) { in __usb_control_msg()
/Linux-v6.6/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()
/Linux-v6.6/drivers/usb/misc/
Duss720.c124 __u8 request, __u8 requesttype, __u16 value, __u16 index, in submit_async_request() argument
155 rq->dr->bRequestType = requesttype; in submit_async_request()
160 …usb_fill_control_urb(rq->urb, usbdev, (requesttype & 0x80) ? usb_rcvctrlpipe(usbdev, 0) : usb_sndc… in submit_async_request()
/Linux-v6.6/drivers/usb/core/
Dmessage.c138 __u8 requesttype, __u16 value, __u16 index, void *data, in usb_control_msg() argument
148 dr->bRequestType = requesttype; in usb_control_msg()
200 __u8 requesttype, __u16 value, __u16 index, in usb_control_msg_send() argument
214 ret = usb_control_msg(dev, pipe, request, requesttype, value, index, in usb_control_msg_send()
265 __u8 requesttype, __u16 value, __u16 index, in usb_control_msg_recv() argument
280 ret = usb_control_msg(dev, pipe, request, requesttype, value, index, in usb_control_msg_recv()
/Linux-v6.6/drivers/usb/early/
Dehci-dbgp.c324 static int dbgp_control_msg(unsigned devnum, int requesttype, in dbgp_control_msg() argument
332 read = (requesttype & USB_DIR_IN) != 0; in dbgp_control_msg()
337 req.bRequestType = requesttype; in dbgp_control_msg()
/Linux-v6.6/include/linux/
Dusb.h1847 __u8 request, __u8 requesttype, __u16 value, __u16 index,
1857 __u8 requesttype, __u16 value, __u16 index,
1861 __u8 requesttype, __u16 value, __u16 index,
/Linux-v6.6/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()

12