Lines Matching refs:pSetup
638 struct usb_setup_packet *pSetup, in handle_feature_unit_req() argument
650 fu_id = ((pSetup->wIndex) >> 8) & 0xFF; in handle_feature_unit_req()
652 ch = (pSetup->wValue) & 0xFF; in handle_feature_unit_req()
653 cs = ((pSetup->wValue) >> 8) & 0xFF; in handle_feature_unit_req()
669 ret = handle_fu_mute_req(audio_dev_data, pSetup, in handle_feature_unit_req()
673 ret = handle_fu_volume_req(audio_dev_data, pSetup, in handle_feature_unit_req()
686 if (usb_reqtype_is_to_device(pSetup) && in handle_feature_unit_req()
687 pSetup->bRequest == USB_AUDIO_SET_CUR) { in handle_feature_unit_req()
712 static int handle_interface_req(struct usb_setup_packet *pSetup, in handle_interface_req() argument
720 uint8_t entity_id = ((pSetup->wIndex) >> 8) & 0xFF; in handle_interface_req()
744 pSetup, len, data); in handle_interface_req()
768 static int audio_custom_handler(struct usb_setup_packet *pSetup, int32_t *len, in audio_custom_handler() argument
776 uint8_t iface = (pSetup->wIndex) & 0xFF; in audio_custom_handler()
778 if (pSetup->RequestType.recipient != USB_REQTYPE_RECIPIENT_INTERFACE || in audio_custom_handler()
779 usb_reqtype_is_to_host(pSetup)) { in audio_custom_handler()
818 if (pSetup->bRequest == USB_SREQ_SET_INTERFACE) { in audio_custom_handler()
820 audio_dev_data->tx_enable = pSetup->wValue; in audio_custom_handler()
822 audio_dev_data->rx_enable = pSetup->wValue; in audio_custom_handler()
838 static int audio_class_handle_req(struct usb_setup_packet *pSetup, in audio_class_handle_req() argument
842 pSetup->bmRequestType, pSetup->bRequest, pSetup->wValue, in audio_class_handle_req()
843 pSetup->wIndex, pSetup->wLength); in audio_class_handle_req()
845 switch (pSetup->RequestType.recipient) { in audio_class_handle_req()
847 return handle_interface_req(pSetup, len, data); in audio_class_handle_req()