Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/usb/device/
Dusb_dc_rpi_pico.c43 struct k_sem write_sem; member
162 k_sem_give(&ep_state->write_sem); in udc_rpi_cancel_endpoint()
236 k_sem_give(&ep_state->write_sem); in udc_rpi_handle_buff_status()
339 k_sem_give(&state.in_ep_state[i].write_sem); in udc_rpi_isr()
413 k_sem_init(&state.in_ep_state[i].write_sem, 1, 1); in udc_rpi_init_endpoint()
718 ret = k_sem_take(&ep_state->write_sem, K_NO_WAIT); in usb_dc_ep_write()
730 k_sem_give(&ep_state->write_sem); in usb_dc_ep_write()
Dusb_dc_stm32.c158 struct k_sem write_sem; /** Write boolean semaphore */ member
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()
796 ret = k_sem_take(&ep_state->write_sem, K_NO_WAIT); in usb_dc_ep_write()
815 k_sem_give(&ep_state->write_sem); in usb_dc_ep_write()
1009 k_sem_give(&usb_dc_stm32_state.in_ep_state[i].write_sem); in HAL_PCD_ResetCallback()
1110 k_sem_give(&ep_state->write_sem); in HAL_PCD_DataInStageCallback()