Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/usb/device/
Dusb_dc_rpi_pico.c61 struct udc_rpi_ep_state in_ep_state[USB_NUM_BIDIR_ENDPOINTS]; member
91 ep_state_base = state.in_ep_state; in udc_rpi_get_ep_state()
350 k_sem_give(&state.in_ep_state[i].write_sem); in udc_rpi_isr()
410 state.in_ep_state[i].buf_ctl = &usb_dpram->ep_buf_ctrl[i].in; in udc_rpi_init_endpoint()
414 state.in_ep_state[i].ep_ctl = &usb_dpram->ep_ctrl[i - 1].in; in udc_rpi_init_endpoint()
418 state.in_ep_state[i].buf = &usb_dpram->epx_data[((i - 1) * 2) * DATA_BUFFER_SIZE]; in udc_rpi_init_endpoint()
421 state.in_ep_state[i].buf = &usb_dpram->ep0_buf_a[0]; in udc_rpi_init_endpoint()
424 k_sem_init(&state.in_ep_state[i].write_sem, 1, 1); in udc_rpi_init_endpoint()
Dusb_dc_stm32.c170 struct usb_dc_stm32_ep_state in_ep_state[USB_NUM_BIDIR_ENDPOINTS]; member
193 ep_state_base = usb_dc_stm32_state.in_ep_state; in usb_dc_stm32_get_ep_state()
476 usb_dc_stm32_state.in_ep_state[EP0_IDX].ep_mps = EP0_MPS; in usb_dc_stm32_init()
477 usb_dc_stm32_state.in_ep_state[EP0_IDX].ep_type = EP_TYPE_CTRL; in usb_dc_stm32_init()
484 k_sem_init(&usb_dc_stm32_state.in_ep_state[i].write_sem, 1, 1); in usb_dc_stm32_init()
499 k_sem_init(&usb_dc_stm32_state.in_ep_state[i].write_sem, 1, 1); in usb_dc_stm32_init()
1083 k_sem_give(&usb_dc_stm32_state.in_ep_state[i].write_sem); in HAL_PCD_ResetCallback()