Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/device/
Dusb_dc_rpi_pico.c47 struct k_sem write_sem; member
184 k_sem_give(&ep_state->write_sem); in udc_rpi_cancel_endpoint()
258 k_sem_give(&ep_state->write_sem); in udc_rpi_handle_buff_status()
385 k_sem_give(&state.in_ep_state[i].write_sem); in udc_rpi_isr()
459 k_sem_init(&state.in_ep_state[i].write_sem, 1, 1); in udc_rpi_init_endpoint()
795 ret = k_sem_take(&ep_state->write_sem, K_NO_WAIT); in usb_dc_ep_write()
807 k_sem_give(&ep_state->write_sem); in usb_dc_ep_write()
Dusb_dc_stm32.c165 struct k_sem write_sem; /** Write boolean semaphore */ member
577 k_sem_init(&usb_dc_stm32_state.in_ep_state[i].write_sem, 1, 1); in usb_dc_stm32_init()
592 k_sem_init(&usb_dc_stm32_state.in_ep_state[i].write_sem, 1, 1); in usb_dc_stm32_init()
963 ret = k_sem_take(&ep_state->write_sem, K_NO_WAIT); in usb_dc_ep_write()
982 k_sem_give(&ep_state->write_sem); in usb_dc_ep_write()
1176 k_sem_give(&usb_dc_stm32_state.in_ep_state[i].write_sem); in HAL_PCD_ResetCallback()
1277 k_sem_give(&ep_state->write_sem); in HAL_PCD_DataInStageCallback()
1294 k_sem_give(&ep_state->write_sem); in HAL_PCD_ISOINIncompleteCallback()