Home
last modified time | relevance | path

Searched refs:setup (Results 1 – 25 of 139) sorted by relevance

123456

/bsp/at32/libraries/usbd_library/src/
A Dusbd_sdr.c133 usb_setup_type *setup = &udev->setup; in usbd_set_address() local
139 if(setup->wIndex == 0 && setup->wLength == 0) in usbd_set_address()
204 usb_setup_type *setup = &udev->setup; in usbd_clear_feature() local
231 usb_setup_type *setup = &udev->setup; in usbd_set_feature() local
248 usb_setup_type *setup = &udev->setup; in usbd_get_configuration() local
249 if(setup->wLength != 1) in usbd_get_configuration()
281 usb_setup_type *setup = &udev->setup; in usbd_set_configuration() local
284 if(setup->wIndex == 0 && setup->wLength == 0) in usbd_set_configuration()
338 usb_setup_type *setup = &udev->setup; in usbd_device_request() local
382 usb_setup_type *setup = &udev->setup; in usbd_interface_request() local
[all …]
/bsp/at32/libraries/usbotg_library/src/
A Dusbd_sdr.c160 usb_setup_type *setup = &udev->setup; in usbd_set_address() local
166 if(setup->wIndex == 0 && setup->wLength == 0) in usbd_set_address()
232 usb_setup_type *setup = &udev->setup; in usbd_clear_feature() local
260 usb_setup_type *setup = &udev->setup; in usbd_set_feature() local
282 usb_setup_type *setup = &udev->setup; in usbd_get_configuration() local
283 if(setup->wLength != 1) in usbd_get_configuration()
315 usb_setup_type *setup = &udev->setup; in usbd_set_configuration() local
318 if(setup->wIndex == 0 && setup->wLength == 0) in usbd_set_configuration()
376 usb_setup_type *setup = &udev->setup; in usbd_device_request() local
420 usb_setup_type *setup = &udev->setup; in usbd_interface_request() local
[all …]
A Dusbh_ctrl.c136 if(uhost->ctrl.setup.wLength != 0) in usbh_ctrl_setup_wait_handler()
555 uhost->ctrl.setup.wIndex = 0; in usbh_get_descriptor()
830 uhost->ctrl.setup.wLength = 0; in usbh_set_configuration()
831 uhost->ctrl.setup.wIndex = 0; in usbh_set_configuration()
851 uhost->ctrl.setup.wLength = 0; in usbh_set_address()
852 uhost->ctrl.setup.wIndex = 0; in usbh_set_address()
873 uhost->ctrl.setup.wLength = 0; in usbh_set_interface()
895 uhost->ctrl.setup.wLength = 0; in usbh_set_feature()
896 uhost->ctrl.setup.wIndex = index; in usbh_set_feature()
918 uhost->ctrl.setup.wLength = 0; in usbh_clear_dev_feature()
[all …]
/bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/
A Dusbh_stdreq.c40 phost->Ctrl.setup.wLength = size; in USBH_GetDescriptor()
63 phost->Ctrl.setup.wLength = size; in USBH_GetDescriptorEx()
80 phost->Ctrl.setup.wValue = addr; in USBH_SetAddress()
81 phost->Ctrl.setup.wIndex = 0; in USBH_SetAddress()
82 phost->Ctrl.setup.wLength = 0; in USBH_SetAddress()
99 phost->Ctrl.setup.wValue = cfg; in USBH_SetConfiguration()
100 phost->Ctrl.setup.wIndex = 0; in USBH_SetConfiguration()
101 phost->Ctrl.setup.wLength = 0; in USBH_SetConfiguration()
120 phost->Ctrl.setup.wLength = 0; in USBH_SetInterface()
138 phost->Ctrl.setup.wIndex = ep; in USBH_ClrFeature()
[all …]
/bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/CDC/
A Dusbh_cdc_funct.c48 phost->Ctrl.setup.bRequest = CDC_GET_LINE_CODING; in USBH_CDC_GetLineCoding()
49 phost->Ctrl.setup.wValue = 0; in USBH_CDC_GetLineCoding()
50 phost->Ctrl.setup.wIndex = 0; in USBH_CDC_GetLineCoding()
51 phost->Ctrl.setup.wLength = sizeof(CDC_LineCoding_t); in USBH_CDC_GetLineCoding()
67 phost->Ctrl.setup.bRequest = CDC_SET_LINE_CODING; in USBH_CDC_SetLineCoding()
68 phost->Ctrl.setup.wValue = 0; in USBH_CDC_SetLineCoding()
69 phost->Ctrl.setup.wIndex = 0; in USBH_CDC_SetLineCoding()
70 phost->Ctrl.setup.wLength = sizeof(CDC_LineCoding_t); in USBH_CDC_SetLineCoding()
86 phost->Ctrl.setup.bRequest = CDC_SET_CONTROL_LINE; in USBH_CDC_SetControlLine()
88 phost->Ctrl.setup.wIndex = 0; in USBH_CDC_SetControlLine()
[all …]
/bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/HID/
A Dusbh_hid_core.c246 phost->Ctrl.setup.bRequest = USB_HID_SET_IDLE; in USBH_Set_Idle()
247 phost->Ctrl.setup.wValue = (duration << 8 ) | reportId; in USBH_Set_Idle()
248 phost->Ctrl.setup.wIndex = interface; in USBH_Set_Idle()
249 phost->Ctrl.setup.wLength = 0; in USBH_Set_Idle()
267 phost->Ctrl.setup.bRequest = USB_HID_SET_REPORT; in USBH_Set_Report()
269 phost->Ctrl.setup.wIndex = interface; in USBH_Set_Report()
270 phost->Ctrl.setup.wLength = reportLen; in USBH_Set_Report()
287 phost->Ctrl.setup.bRequest = USB_HID_SET_PROTOCOL; in USBH_Set_Protocol()
288 phost->Ctrl.setup.wValue = protocol; in USBH_Set_Protocol()
289 phost->Ctrl.setup.wIndex = interface; in USBH_Set_Protocol()
[all …]
/bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/MSC/
A Dusbh_msc_core.c257 phost->Ctrl.setup.bRequestType = USB_REQ_D2H | USB_REQ_CLASS | USB_REQ_TO_INTERFACE; in USBH_MSC_getMaxLUN()
259 phost->Ctrl.setup.bRequest = 0xFE; in USBH_MSC_getMaxLUN()
260 phost->Ctrl.setup.wValue = 0; in USBH_MSC_getMaxLUN()
261 phost->Ctrl.setup.wIndex = 0; in USBH_MSC_getMaxLUN()
262 phost->Ctrl.setup.wLength = 1; in USBH_MSC_getMaxLUN()
/bsp/nxp/imx/imxrt/libraries/drivers/
A Ddrv_usbh.c195 struct urequest *setup = (struct urequest *)buffer; in _ehci0_pipe_xfer() local
198 transfer->setupPacket->bRequest = setup->bRequest; in _ehci0_pipe_xfer()
199 transfer->setupPacket->wIndex = setup->wIndex; in _ehci0_pipe_xfer()
200 transfer->setupPacket->wLength = setup->wLength; in _ehci0_pipe_xfer()
201 transfer->setupPacket->wValue = setup->wValue; in _ehci0_pipe_xfer()
209 transfer->transferLength = setup->wLength; in _ehci0_pipe_xfer()
475 transfer->setupPacket->bRequest = setup->bRequest; in _ehci1_pipe_xfer()
476 transfer->setupPacket->wIndex = setup->wIndex; in _ehci1_pipe_xfer()
477 transfer->setupPacket->wLength = setup->wLength; in _ehci1_pipe_xfer()
478 transfer->setupPacket->wValue = setup->wValue; in _ehci1_pipe_xfer()
[all …]
/bsp/wch/risc-v/Libraries/ch56x_drivers/
A Dch56x_usbd.c420 struct urequest setup, *packet; in _isr_handle_setup() local
430 setup.request_type = packet->request_type; in _isr_handle_setup()
431 setup.bRequest = packet->bRequest; in _isr_handle_setup()
432 setup.wValue = packet->wValue; in _isr_handle_setup()
433 setup.wIndex = packet->wIndex; in _isr_handle_setup()
434 setup.wLength = packet->wLength; in _isr_handle_setup()
440 setup.bRequest == USB_REQ_SET_CONFIGURATION) in _isr_handle_setup()
449 setup.bRequest == USB_REQ_CLEAR_FEATURE && in _isr_handle_setup()
450 setup.wValue == USB_EP_HALT) in _isr_handle_setup()
452 ep_idx = setup.wIndex; in _isr_handle_setup()
[all …]
/bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/host/core/Source/
A Dusbh_enum.c78 usb_ctl->setup.req = (usb_req) { in usbh_devdesc_get()
121 usb_ctl->setup.req = (usb_req) { in usbh_cfgdesc_get()
164 usb_ctl->setup.req = (usb_req) { in usbh_strdesc_get()
199 usb_ctl->setup.req = (usb_req) { in usbh_setaddress()
229 usb_ctl->setup.req = (usb_req) { in usbh_setcfg()
260 usb_ctl->setup.req = (usb_req) { in usbh_setinterface()
291 usb_ctl->setup.req = (usb_req) { in usbh_setdevfeature()
322 usb_ctl->setup.req = (usb_req) { in usbh_clrdevfeature()
353 usb_ctl->setup.req = (usb_req) { in usbh_clrfeature()
/bsp/microchip/samd51-seeed-wio-terminal/bsp/hal/include/
A Dhpl_usb_device.h109 uint8_t setup : 1; member
163 _usb_d_dev_ep_cb_setup_t setup; member
/bsp/microchip/samd51-adafruit-metro-m4/bsp/hal/include/
A Dhpl_usb_device.h109 uint8_t setup : 1; member
163 _usb_d_dev_ep_cb_setup_t setup; member
/bsp/Infineon/psoc6-pioneerkit_modus/libs/TARGET_CY8CKIT-062-BLE/
A DRELEASE.md11 * cybsp_types.h file describing basic board setup
13 * Configurator design files (and generated code) to setup board specific peripherals
/bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/host/class/hid/Source/
A Dusbh_hid_core.c83 puhost->control.setup.req = (usb_req) { in usbh_get_report()
120 puhost->control.setup.req = (usb_req) { in usbh_set_report()
533 puhost->control.setup.req = (usb_req) { in usbh_hid_reportdesc_get()
586 puhost->control.setup.req = (usb_req) { in usbh_hid_desc_get()
615 puhost->control.setup.req = (usb_req) { in usbh_set_idle()
643 puhost->control.setup.req = (usb_req) { in usbh_set_protocol()
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/
A Dbflb_usb_v1.c69 struct usb_setup_packet setup; member
538 bflb_usb_fifo2mem(0, (uint8_t *)&g_bl_udc.setup, 8); in USBD_IRQHandler()
539 usbd_event_ep0_setup_complete_handler((uint8_t *)&g_bl_udc.setup); in USBD_IRQHandler()
549 if (g_bl_udc.setup.wLength == 0) { in USBD_IRQHandler()
552 …} else if (g_bl_udc.setup.wLength && ((g_bl_udc.setup.bmRequestType & USB_REQUEST_DIR_MASK) == USB… in USBD_IRQHandler()
/bsp/hpmicro/hpm6800evk/board/debug_scripts/openocd/boards/
A Dhpm6800evk.cfg21 # ddr dcdc setup
25 # ddr3 setup
114 # ddr dcdc setup
118 # pll1 setup
126 #ddr setup
/bsp/stm32/stm32g474-st-nucleo/applications/
A Darduino_main.cpp13 void setup(void) in setup() function
/bsp/Infineon/psoc6-evaluationkit-062S2/applications/
A Darduino_main.cpp13 void setup(void) in setup() function
/bsp/raspberry-pico/RP2040/applications/
A Darduino_main.cpp13 void setup(void) in setup() function
/bsp/stm32/stm32l431-BearPi/applications/
A Darduino_main.cpp13 void setup(void) in setup() function
/bsp/stm32/stm32l476-st-nucleo/applications/
A Darduino_main.cpp13 void setup(void) in setup() function
/bsp/stm32/stm32u575-st-nucleo/applications/
A Darduino_main.cpp13 void setup(void) in setup() function
/bsp/renesas/ra6m3-hmi-board/board/rtduino/
A Darduino_main.cpp13 void setup(void) in setup() function
/bsp/nxp/lpc/lpc55sxx/lpc55s69_nxp_evk/applications/
A Darduino_main.cpp14 void setup(void) in setup() function
/bsp/wch/risc-v/ch32v307v-r1/applications/
A Darduino_main.cpp13 void setup(void) in setup() function

Completed in 31 milliseconds

123456