Searched refs:in_ep_state (Results 1 – 2 of 2) sorted by relevance
58 struct udc_rpi_ep_state in_ep_state[USB_NUM_BIDIR_ENDPOINTS]; member88 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()
166 struct usb_dc_stm32_ep_state in_ep_state[USB_NUM_BIDIR_ENDPOINTS]; member189 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()