Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/usb/device/
Dusb_dc_rpi_pico.c58 struct udc_rpi_ep_state in_ep_state[USB_NUM_BIDIR_ENDPOINTS]; member
88 ep_state_base = state.in_ep_state; in udc_rpi_get_ep_state()
339 k_sem_give(&state.in_ep_state[i].write_sem); in udc_rpi_isr()
399 state.in_ep_state[i].buf_ctl = &usb_dpram->ep_buf_ctrl[i].in; in udc_rpi_init_endpoint()
403 state.in_ep_state[i].ep_ctl = &usb_dpram->ep_ctrl[i - 1].in; in udc_rpi_init_endpoint()
407 state.in_ep_state[i].buf = &usb_dpram->epx_data[((i - 1) * 2) * DATA_BUFFER_SIZE]; in udc_rpi_init_endpoint()
410 state.in_ep_state[i].buf = &usb_dpram->ep0_buf_a[0]; in udc_rpi_init_endpoint()
413 k_sem_init(&state.in_ep_state[i].write_sem, 1, 1); in udc_rpi_init_endpoint()
Dusb_dc_stm32.c166 struct usb_dc_stm32_ep_state in_ep_state[USB_NUM_BIDIR_ENDPOINTS]; member
189 ep_state_base = usb_dc_stm32_state.in_ep_state; in usb_dc_stm32_get_ep_state()
428 usb_dc_stm32_state.in_ep_state[EP0_IDX].ep_mps = EP0_MPS; in usb_dc_stm32_init()
429 usb_dc_stm32_state.in_ep_state[EP0_IDX].ep_type = EP_TYPE_CTRL; in usb_dc_stm32_init()
436 k_sem_init(&usb_dc_stm32_state.in_ep_state[i].write_sem, 1, 1); in usb_dc_stm32_init()
444 k_sem_init(&usb_dc_stm32_state.in_ep_state[i].write_sem, 1, 1); in usb_dc_stm32_init()
1009 k_sem_give(&usb_dc_stm32_state.in_ep_state[i].write_sem); in HAL_PCD_ResetCallback()