Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/usb/device/
Dusb_dc_native_posix.c64 struct usb_ep_ctrl_prv out_ep_ctrl[USBIP_OUT_EP_NUM]; member
92 usbip_ctrl.out_ep_ctrl[ep_idx].ep_ena) { in usbip_ep_is_enabled()
199 usbip_ctrl.out_ep_ctrl[ep_idx].mps = ep_mps; in usb_dc_ep_configure()
289 usbip_ctrl.out_ep_ctrl[ep_idx].ep_ena = 1U; in usb_dc_ep_enable()
405 *read_bytes = usbip_ctrl.out_ep_ctrl[ep_idx].data_len; in usb_dc_ep_read_wait()
409 to_copy = MIN(usbip_ctrl.out_ep_ctrl[ep_idx].data_len, max_data_len); in usb_dc_ep_read_wait()
411 memcpy(data, usbip_ctrl.out_ep_ctrl[ep_idx].buf, to_copy); in usb_dc_ep_read_wait()
435 if (!usbip_ctrl.out_ep_ctrl[ep_idx].data_len) { in usb_dc_ep_read_continue()
480 usbip_ctrl.out_ep_ctrl[ep_idx].cb = cb; in usb_dc_ep_set_callback()
503 return usbip_ctrl.out_ep_ctrl[ep_idx].mps; in usb_dc_ep_mps()
[all …]
Dusb_dc_dw.c94 struct usb_ep_ctrl_prv out_ep_ctrl[USB_DW_OUT_EP_NUM]; member
236 usb_dw_ctrl.out_ep_ctrl[ep_idx].ep_ena) { in usb_dw_ep_is_enabled()
370 usb_dw_ctrl.out_ep_ctrl[ep_idx].mps = ep_mps; in usb_dw_ep_set()
450 uint32_t ep_mps = usb_dw_ctrl.out_ep_ctrl[ep_idx].mps; in usb_dw_prep_rx()
712 usb_dw_ctrl.out_ep_ctrl[ep_idx].data_len = xfer_size; in usb_dw_int_rx_flvl_handler()
713 ep_cb = usb_dw_ctrl.out_ep_ctrl[ep_idx].cb; in usb_dw_int_rx_flvl_handler()
1112 usb_dw_ctrl.out_ep_ctrl[ep_idx].ep_ena = 1U; in usb_dc_ep_enable()
1119 usb_dw_ctrl.out_ep_ctrl[ep_idx].cb != usb_transfer_ep_callback) { in usb_dc_ep_enable()
1153 usb_dw_ctrl.out_ep_ctrl[ep_idx].ep_ena = 0U; in usb_dc_ep_disable()
1260 data_len = usb_dw_ctrl.out_ep_ctrl[ep_idx].data_len; in usb_dc_ep_read_wait()
[all …]