Searched refs:write_sem (Results 1 – 2 of 2) sorted by relevance
43 struct k_sem write_sem; member162 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()
158 struct k_sem write_sem; /** Write boolean semaphore */ member436 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()