Home
last modified time | relevance | path

Searched refs:bmRequestType (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/subsys/usb/host/
Dusbh_ch9.c38 const uint8_t bmRequestType, in usbh_req_setup() argument
46 .bmRequestType = bmRequestType, in usbh_req_setup()
92 const uint8_t bmRequestType = USB_REQTYPE_DIR_TO_HOST << 7; in usbh_req_desc() local
97 bmRequestType, bRequest, wValue, id, len, in usbh_req_desc()
157 const uint8_t bmRequestType = USB_REQTYPE_DIR_TO_DEVICE << 7; in usbh_req_set_address() local
161 ret = usbh_req_setup(udev, bmRequestType, bRequest, addr, 0, 0, NULL); in usbh_req_set_address()
179 const uint8_t bmRequestType = USB_REQTYPE_DIR_TO_DEVICE << 7; in usbh_req_set_cfg() local
184 ret = usbh_req_setup(udev, bmRequestType, bRequest, cfg, 0, 0, NULL); in usbh_req_set_cfg()
202 const uint8_t bmRequestType = USB_REQTYPE_DIR_TO_HOST << 7; in usbh_req_get_cfg() local
213 ret = usbh_req_setup(udev, bmRequestType, bRequest, 0, 0, wLength, buf); in usbh_req_get_cfg()
[all …]
Dusbh_ch9.h16 const uint8_t bmRequestType,
Dusbh_shell.c91 const uint8_t bmRequestType = (USB_REQTYPE_DIR_TO_HOST << 7) | in cmd_vendor_in() local
106 ret = usbh_req_setup(udev, bmRequestType, bRequest, wValue, 0, wLength, buf); in cmd_vendor_in()
119 const uint8_t bmRequestType = (USB_REQTYPE_DIR_TO_DEVICE << 7) | in cmd_vendor_out() local
135 ret = usbh_req_setup(udev, bmRequestType, bRequest, wValue, 0, wLength, buf); in cmd_vendor_out()
/Zephyr-latest/include/zephyr/usb/
Dusb_ch9.h42 uint8_t bmRequestType; member
68 #define USB_REQTYPE_GET_DIR(bmRequestType) (((bmRequestType) >> 7) & 0x01U) argument
70 #define USB_REQTYPE_GET_TYPE(bmRequestType) (((bmRequestType) >> 5) & 0x03U) argument
72 #define USB_REQTYPE_GET_RECIPIENT(bmRequestType) ((bmRequestType) & 0x1FU) argument
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_hid_api.c76 .bmRequestType = 0, in wrapper_get_report()
98 .bmRequestType = 0, in wrapper_set_report()
Dusbd_cdc_ecm.c46 uint8_t bmRequestType; member
434 setup->bmRequestType, setup->bRequest); in usbd_cdc_ecm_ctd()
Dusbd_cdc_acm.c439 setup->bmRequestType, setup->bRequest); in usbd_cdc_acm_cth()
478 setup->bmRequestType, setup->bRequest); in usbd_cdc_acm_ctd()
500 .bmRequestType = 0xA1, in cdc_acm_send_notification()
Dusbd_uac2.c702 if (setup->bmRequestType == SET_CLASS_REQUEST_TYPE) { in uac2_control_to_dev()
725 if (setup->bmRequestType == GET_CLASS_REQUEST_TYPE) { in uac2_control_to_host()
Dbt_hci.c433 setup->bmRequestType, setup->bRequest); in bt_hci_ctd()
Dusbd_cdc_ncm.c51 uint8_t bmRequestType; member
910 setup->bmRequestType, setup->bRequest); in usbd_cdc_ncm_ctd()
/Zephyr-latest/drivers/usb/device/
Dusb_dc_native_posix_adapt.h70 uint8_t bmRequestType; member
Dusb_dc_native_posix.c525 USB_REQTYPE_GET_DIR(hdr->u.submit.bmRequestType)) { in handle_usb_control()
532 memcpy(ep_ctrl->buf, &hdr->u.submit.bmRequestType, ep_ctrl->data_len); in handle_usb_control()
Dusb_dc_nrfx.c751 usbd_setup->bmRequestType = nrf_usbd_setup_bmrequesttype_get(NRF_USBD); in usbd_work_process_setup()
763 (uint32_t)usbd_setup->bmRequestType, in usbd_work_process_setup()
1111 || (USB_REQTYPE_GET_TYPE(drv_setup.bmRequestType) in usbd_event_handler()
/Zephyr-latest/subsys/usb/device/
Dusb_device.c146 uint8_t bmRequestType; member
168 setup->bmRequestType, in usb_print_setup()
304 setup->bmRequestType = setup_raw.bmRequestType; in usb_handle_control_transfer()
910 setup->bmRequestType, setup->bRequest); in usb_handle_std_device_req()
988 setup->bmRequestType, setup->bRequest); in usb_handle_std_interface_req()
1127 setup->bmRequestType, setup->bRequest); in usb_handle_std_endpoint_req()
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.h267 uint8_t bmRequestType; /*!< byte 0 */ member
Dnrf_usbd_common.c711 uint8_t bmRequestType = NRF_USBD->BMREQUESTTYPE; in ev_setup_handler() local
714 ((bmRequestType & USBD_BMREQUESTTYPE_DIRECTION_Msk) == in ev_setup_handler()
1586 p_setup->bmRequestType = NRF_USBD->BMREQUESTTYPE; in nrf_usbd_common_setup_get()
/Zephyr-latest/include/zephyr/usb/class/
Dusb_cdc.h212 uint8_t bmRequestType; member
/Zephyr-latest/subsys/usb/device/class/
Dloopback.c129 setup->bRequest, setup->bmRequestType, *len); in loopback_vendor_handler()
Dcdc_acm.c212 setup->bmRequestType, setup->bRequest); in cdc_acm_class_handle_req()
777 notification.bmRequestType = 0xA1; in cdc_acm_send_notification()
Dmsc.c368 setup->bmRequestType, setup->bRequest); in mass_storage_class_handle_req()
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_ecm.c193 *len, setup->bmRequestType, setup->bRequest, in ecm_class_handler()
201 if (setup->bmRequestType != USB_CDC_ECM_REQ_TYPE) { in ecm_class_handler()
Dfunction_rndis.c859 *len, setup->bmRequestType, setup->bRequest, in rndis_class_handler()
882 setup->bRequest, setup->bmRequestType); in rndis_class_handler()
/Zephyr-latest/drivers/usb/udc/
Dudc_nrf.c362 setup->bmRequestType == 0 && in udc_event_xfer_setup()
397 setup->bmRequestType = 0; in udc_event_xfer_setup()
/Zephyr-latest/subsys/usb/device/class/dfu/
Dusb_dfu.c601 setup->bmRequestType, setup->bRequest); in dfu_class_handle_to_host()
706 setup->bmRequestType, setup->bRequest); in dfu_class_handle_to_device()
/Zephyr-latest/subsys/usb/device/class/hid/
Dcore.c446 setup->bRequest, setup->bmRequestType, *len); in hid_class_handle_req()
507 setup->bRequest, setup->bmRequestType, setup->wLength); in hid_custom_handle_req()

12