Lines Matching refs:setup
886 const struct usb_setup_packet *const setup, in usbd_cdc_ncm_ctd() argument
889 if (setup->RequestType.recipient == USB_REQTYPE_RECIPIENT_INTERFACE) { in usbd_cdc_ncm_ctd()
890 if (setup->bRequest == SET_ETHERNET_PACKET_FILTER) { in usbd_cdc_ncm_ctd()
892 setup->bRequest, "SetPacketFilter"); in usbd_cdc_ncm_ctd()
896 if (setup->bRequest == SET_NTB_INPUT_SIZE) { in usbd_cdc_ncm_ctd()
898 setup->bRequest, "SetNtbInputSize"); in usbd_cdc_ncm_ctd()
902 if (setup->bRequest == SET_NTB_FORMAT) { in usbd_cdc_ncm_ctd()
904 setup->bRequest, "SetNtbFormat"); in usbd_cdc_ncm_ctd()
910 setup->bmRequestType, setup->bRequest); in usbd_cdc_ncm_ctd()
917 const struct usb_setup_packet *const setup, in usbd_cdc_ncm_cth() argument
920 LOG_DBG("%d: %d %d %d %d", setup->RequestType.type, setup->bRequest, in usbd_cdc_ncm_cth()
921 setup->wLength, setup->wIndex, setup->wValue); in usbd_cdc_ncm_cth()
923 if (setup->RequestType.type != USB_REQTYPE_TYPE_CLASS) { in usbd_cdc_ncm_cth()
928 switch (setup->bRequest) { in usbd_cdc_ncm_cth()
963 LOG_DBG("bRequest 0x%02x not supported", setup->bRequest); in usbd_cdc_ncm_cth()