Searched refs:tout_thrd (Results 1 – 7 of 7) sorted by relevance
882 uint16_t tout_thrd = 0; in uart_ll_get_rx_tout_thr() local885 tout_thrd = (uint16_t)(hw->conf1.rx_tout_thrhd / UART_LL_TOUT_REF_FACTOR_DEFAULT); in uart_ll_get_rx_tout_thr()887 tout_thrd = (uint16_t)(hw->conf1.rx_tout_thrhd << 3); in uart_ll_get_rx_tout_thr()890 return tout_thrd; in uart_ll_get_rx_tout_thr()902 uint16_t tout_thrd = 0; in uart_ll_max_tout_thrd() local904 tout_thrd = (uint16_t)(UART_RX_TOUT_THRHD_V / UART_LL_TOUT_REF_FACTOR_DEFAULT); in uart_ll_max_tout_thrd()906 tout_thrd = (uint16_t)(UART_RX_TOUT_THRHD_V << 3); in uart_ll_max_tout_thrd()908 return tout_thrd; in uart_ll_max_tout_thrd()
822 FORCE_INLINE_ATTR void uart_ll_set_rx_tout(uart_dev_t *hw, uint16_t tout_thrd) in uart_ll_set_rx_tout() argument824 uint16_t tout_val = tout_thrd; in uart_ll_set_rx_tout()825 if(tout_thrd > 0) { in uart_ll_set_rx_tout()842 uint16_t tout_thrd = 0; in uart_ll_get_rx_tout_thr() local844 tout_thrd = hw->mem_conf.rx_tout_thrhd; in uart_ll_get_rx_tout_thr()846 return tout_thrd; in uart_ll_get_rx_tout_thr()
866 FORCE_INLINE_ATTR void uart_ll_set_rx_tout(uart_dev_t *hw, uint16_t tout_thrd) in uart_ll_set_rx_tout() argument868 uint16_t tout_val = tout_thrd; in uart_ll_set_rx_tout()869 if(tout_thrd > 0) { in uart_ll_set_rx_tout()886 uint16_t tout_thrd = 0; in uart_ll_get_rx_tout_thr() local888 tout_thrd = hw->mem_conf.rx_tout_thrhd; in uart_ll_get_rx_tout_thr()890 return tout_thrd; in uart_ll_get_rx_tout_thr()
906 FORCE_INLINE_ATTR void uart_ll_set_rx_tout(uart_dev_t *hw, uint16_t tout_thrd) in uart_ll_set_rx_tout() argument908 uint16_t tout_val = tout_thrd; in uart_ll_set_rx_tout()909 if(tout_thrd > 0) { in uart_ll_set_rx_tout()926 uint16_t tout_thrd = 0; in uart_ll_get_rx_tout_thr() local928 tout_thrd = hw->mem_conf.rx_tout_thrhd; in uart_ll_get_rx_tout_thr()930 return tout_thrd; in uart_ll_get_rx_tout_thr()
946 FORCE_INLINE_ATTR void uart_ll_set_rx_tout(uart_dev_t *hw, uint16_t tout_thrd) in uart_ll_set_rx_tout() argument948 uint16_t tout_val = tout_thrd; in uart_ll_set_rx_tout()949 if(tout_thrd > 0) { in uart_ll_set_rx_tout()967 uint16_t tout_thrd = 0; in uart_ll_get_rx_tout_thr() local969 tout_thrd = hw->tout_conf_sync.rx_tout_thrhd; in uart_ll_get_rx_tout_thr()971 return tout_thrd; in uart_ll_get_rx_tout_thr()
955 FORCE_INLINE_ATTR void uart_ll_set_rx_tout(uart_dev_t *hw, uint16_t tout_thrd) in uart_ll_set_rx_tout() argument957 uint16_t tout_val = tout_thrd; in uart_ll_set_rx_tout()958 if(tout_thrd > 0) { in uart_ll_set_rx_tout()976 uint16_t tout_thrd = 0; in uart_ll_get_rx_tout_thr() local978 tout_thrd = hw->tout_conf_sync.rx_tout_thrhd; in uart_ll_get_rx_tout_thr()980 return tout_thrd; in uart_ll_get_rx_tout_thr()