Searched refs:timeout_us (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/drivers/serial/ |
D | uart_npcx.c | 56 size_t timeout_us; member 65 size_t timeout_us; member 526 static inline void async_timer_start(struct k_work_delayable *work, uint32_t timeout_us) in async_timer_start() argument 528 if ((timeout_us != SYS_FOREVER_US) && (timeout_us != 0)) { in async_timer_start() 529 LOG_DBG("async timer started for %d us", timeout_us); in async_timer_start() 530 k_work_reschedule(work, K_USEC(timeout_us)); in async_timer_start() 573 data->async.tx_dma_params.timeout_us = timeout; in uart_npcx_async_tx() 635 const int32_t timeout_us) in uart_npcx_async_rx_enable() argument 651 rx_dma_params->timeout_us = timeout_us; in uart_npcx_async_rx_enable() 806 async_timer_start(&rx_dma_params->timeout_work, rx_dma_params->timeout_us); in uart_npcx_async_dma_rx_complete() [all …]
|
D | uart_mcux_lpuart.c | 81 size_t timeout_us; member 89 size_t timeout_us; member 419 static inline void async_timer_start(struct k_work_delayable *work, size_t timeout_us) in async_timer_start() argument 421 if ((timeout_us != SYS_FOREVER_US) && (timeout_us != 0)) { in async_timer_start() 422 LOG_DBG("async timer started for %d us", timeout_us); in async_timer_start() 423 k_work_reschedule(work, K_USEC(timeout_us)); in async_timer_start() 725 int32_t timeout_us) in mcux_lpuart_tx() argument 771 async_timer_start(&data->async.tx_dma_params.timeout_work, timeout_us); in mcux_lpuart_tx() 813 const int32_t timeout_us) in mcux_lpuart_rx_enable() argument 834 rx_dma_params->timeout_us = timeout_us; in mcux_lpuart_rx_enable() [all …]
|
D | uart_ns16550.c | 301 size_t timeout_us; member 312 size_t timeout_us; member 777 static inline void async_timer_start(struct k_work_delayable *work, size_t timeout_us) argument 779 if ((timeout_us != SYS_FOREVER_US) && (timeout_us != 0)) { 780 k_work_reschedule(work, K_USEC(timeout_us)); 1301 dev_data->async.rx_dma_params.timeout_us); 1310 dev_data->async.rx_dma_params.timeout_us); 1609 int32_t timeout_us) argument 1639 async_timer_start(&data->async.tx_dma_params.timeout_work, timeout_us); 1684 const int32_t timeout_us) argument [all …]
|
D | uart_nrfx_uarte.c | 176 int32_t timeout_us; /* Timeout set by user */ member 1053 async_rx->timeout_us = timeout; in uarte_nrfx_rx_enable() 1314 async_rx->timeout_left = async_rx->timeout_us; in rx_timeout() 1413 if (async_rx->timeout_us != SYS_FOREVER_US) { in rxstarted_isr() 1416 async_rx->timeout_left = async_rx->timeout_us; in rxstarted_isr()
|
/Zephyr-latest/drivers/timer/ |
D | cortex_m_systick.c | 240 uint64_t timeout_us = in sys_clock_set_timeout() local 244 .ticks = counter_us_to_ticks(idle_timer, timeout_us), in sys_clock_set_timeout()
|
D | stm32_lptim_timer.c | 224 uint64_t timeout_us = in sys_clock_set_timeout() local 229 .ticks = counter_us_to_ticks(stdby_timer, timeout_us), in sys_clock_set_timeout()
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_mcux.c | 139 uint32_t timeout_us) in reg32_poll_timeout() argument 146 if (!WAIT_FOR((sys_read32((mm_reg_t)reg) & mask) == match, timeout_us, /*nop*/)) { in reg32_poll_timeout() 338 uint32_t timeout_us) in mcux_i3c_status_wait_timeout() argument 340 return reg32_poll_timeout(&base->MSTATUS, mask, mask, timeout_us); in mcux_i3c_status_wait_timeout() 398 uint32_t timeout_us) in mcux_i3c_status_clear_timeout() argument 408 result = WAIT_FOR(!mcux_i3c_status_is_set(base, mask), timeout_us, base->MSTATUS = mask); in mcux_i3c_status_clear_timeout() 447 uint32_t timeout_us) in mcux_i3c_status_wait_clear_timeout() argument 451 ret = mcux_i3c_status_wait_timeout(base, mask, timeout_us); in mcux_i3c_status_wait_clear_timeout() 456 ret = mcux_i3c_status_clear_timeout(base, mask, timeout_us); in mcux_i3c_status_wait_clear_timeout()
|
/Zephyr-latest/drivers/sdhc/ |
D | rcar_mmc.c | 206 bool check_dma_errors, int64_t timeout_us) in rcar_mmc_poll_reg_flags_check_err() argument 211 if (timeout_us < 0) { in rcar_mmc_poll_reg_flags_check_err() 231 timeout_us -= MMC_POLL_FLAGS_ONE_CYCLE_TIMEOUT_US; in rcar_mmc_poll_reg_flags_check_err()
|