Searched refs:asc_in (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | st-asc.c | 152 static inline u32 asc_in(struct uart_port *port, u32 offset) in asc_in() function 176 u32 intenable = asc_in(port, ASC_INTEN) & ~ASC_INTEN_THE; in asc_disable_tx_interrupts() 178 (void)asc_in(port, ASC_INTEN); /* Defeat bus write posting */ in asc_disable_tx_interrupts() 183 u32 intenable = asc_in(port, ASC_INTEN) | ASC_INTEN_THE; in asc_enable_tx_interrupts() 189 u32 intenable = asc_in(port, ASC_INTEN) & ~ASC_INTEN_RBE; in asc_disable_rx_interrupts() 191 (void)asc_in(port, ASC_INTEN); /* Defeat bus write posting */ in asc_disable_rx_interrupts() 196 u32 intenable = asc_in(port, ASC_INTEN) | ASC_INTEN_RBE; in asc_enable_rx_interrupts() 202 return asc_in(port, ASC_STA) & ASC_STA_TE; in asc_txfifo_is_empty() 207 return asc_in(port, ASC_STA) & ASC_STA_THE; in asc_txfifo_is_half_empty() 224 u32 status = asc_in(por in asc_hw_txroom() [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | st-asc.c | 151 static inline u32 asc_in(struct uart_port *port, u32 offset) in asc_in() function 175 u32 intenable = asc_in(port, ASC_INTEN) & ~ASC_INTEN_THE; in asc_disable_tx_interrupts() 177 (void)asc_in(port, ASC_INTEN); /* Defeat bus write posting */ in asc_disable_tx_interrupts() 182 u32 intenable = asc_in(port, ASC_INTEN) | ASC_INTEN_THE; in asc_enable_tx_interrupts() 188 u32 intenable = asc_in(port, ASC_INTEN) & ~ASC_INTEN_RBE; in asc_disable_rx_interrupts() 190 (void)asc_in(port, ASC_INTEN); /* Defeat bus write posting */ in asc_disable_rx_interrupts() 195 u32 intenable = asc_in(port, ASC_INTEN) | ASC_INTEN_RBE; in asc_enable_rx_interrupts() 201 return asc_in(port, ASC_STA) & ASC_STA_TE; in asc_txfifo_is_empty() 206 return asc_in(port, ASC_STA) & ASC_STA_THE; in asc_txfifo_is_half_empty() 223 u32 status = asc_in(por in asc_hw_txroom() [all...] |
Completed in 2 milliseconds