Home
last modified time | relevance | path

Searched refs:setup_pkt (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c394 if (bdc->setup_pkt.bRequestType & USB_DIR_IN) in setup_first_bd_ep0()
398 wValue = le16_to_cpu(bdc->setup_pkt.wValue); in setup_first_bd_ep0()
410 if (!le16_to_cpu(bdc->setup_pkt.wLength) || in setup_first_bd_ep0()
411 !(bdc->setup_pkt.bRequestType & USB_DIR_IN)) in setup_first_bd_ep0()
1066 struct usb_ctrlrequest *setup_pkt; in bdc_xsf_ep0_setup_recv() local
1073 setup_pkt = &bdc->setup_pkt; in bdc_xsf_ep0_setup_recv()
1074 memcpy(setup_pkt, &sreport->offset[0], sizeof(*setup_pkt)); in bdc_xsf_ep0_setup_recv()
1075 len = le16_to_cpu(setup_pkt->wLength); in bdc_xsf_ep0_setup_recv()
1230 struct usb_ctrlrequest *setup_pkt, bool set) in ep0_handle_feature() argument
1238 wValue = le16_to_cpu(setup_pkt->wValue); in ep0_handle_feature()
[all …]
Dbdc.h427 struct usb_ctrlrequest setup_pkt; member