Lines Matching refs:cr
1280 in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_cur() argument
1286 u16 w_length = le16_to_cpu(cr->wLength); in in_rq_cur()
1287 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_cur()
1288 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_cur()
1321 in_rq_range(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_range() argument
1327 u16 w_length = le16_to_cpu(cr->wLength); in in_rq_range()
1328 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_range()
1329 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_range()
1364 ac_rq_in(struct usb_function *fn, const struct usb_ctrlrequest *cr) in ac_rq_in() argument
1366 if (cr->bRequest == UAC2_CS_CUR) in ac_rq_in()
1367 return in_rq_cur(fn, cr); in ac_rq_in()
1368 else if (cr->bRequest == UAC2_CS_RANGE) in ac_rq_in()
1369 return in_rq_range(fn, cr); in ac_rq_in()
1375 out_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in out_rq_cur() argument
1377 u16 w_length = le16_to_cpu(cr->wLength); in out_rq_cur()
1378 u16 w_value = le16_to_cpu(cr->wValue); in out_rq_cur()
1388 setup_rq_inf(struct usb_function *fn, const struct usb_ctrlrequest *cr) in setup_rq_inf() argument
1392 u16 w_index = le16_to_cpu(cr->wIndex); in setup_rq_inf()
1401 if (cr->bRequestType & USB_DIR_IN) in setup_rq_inf()
1402 return ac_rq_in(fn, cr); in setup_rq_inf()
1403 else if (cr->bRequest == UAC2_CS_CUR) in setup_rq_inf()
1404 return out_rq_cur(fn, cr); in setup_rq_inf()
1410 afunc_setup(struct usb_function *fn, const struct usb_ctrlrequest *cr) in afunc_setup() argument
1416 u16 w_length = le16_to_cpu(cr->wLength); in afunc_setup()
1420 if ((cr->bRequestType & USB_TYPE_MASK) != USB_TYPE_CLASS) in afunc_setup()
1423 if ((cr->bRequestType & USB_RECIP_MASK) == USB_RECIP_INTERFACE) in afunc_setup()
1424 value = setup_rq_inf(fn, cr); in afunc_setup()