Home
last modified time | relevance | path

Searched refs:read_status_mask (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.12.1/drivers/tty/serial/
Daltera_jtaguart.c79 port->read_status_mask |= ALTERA_JTAGUART_CONTROL_WE_MSK; in altera_jtaguart_start_tx()
80 writel(port->read_status_mask, in altera_jtaguart_start_tx()
86 port->read_status_mask &= ~ALTERA_JTAGUART_CONTROL_WE_MSK; in altera_jtaguart_stop_tx()
87 writel(port->read_status_mask, in altera_jtaguart_stop_tx()
93 port->read_status_mask &= ~ALTERA_JTAGUART_CONTROL_RE_MSK; in altera_jtaguart_stop_rx()
94 writel(port->read_status_mask, in altera_jtaguart_stop_rx()
148 ALTERA_JTAGUART_CONTROL_RI_OFF) & port->read_status_mask; in altera_jtaguart_interrupt()
186 port->read_status_mask = ALTERA_JTAGUART_CONTROL_RE_MSK; in altera_jtaguart_startup()
187 writel(port->read_status_mask, in altera_jtaguart_startup()
202 port->read_status_mask = 0; in altera_jtaguart_shutdown()
[all …]
Dmpc52xx_uart.c172 port->read_status_mask |= MPC52xx_PSC_IMR_IPC; in mpc52xx_psc_enable_ms()
173 out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_enable_ms()
204 port->read_status_mask |= MPC52xx_PSC_IMR_RXRDY | MPC52xx_PSC_IMR_TXRDY; in mpc52xx_psc_fifo_init()
205 out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_fifo_init()
224 & port->read_status_mask in mpc52xx_psc_rx_rdy()
231 & port->read_status_mask in mpc52xx_psc_tx_rdy()
244 port->read_status_mask |= MPC52xx_PSC_IMR_TXRDY; in mpc52xx_psc_start_tx()
245 out_be16(&PSC(port)->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_start_tx()
250 port->read_status_mask &= ~MPC52xx_PSC_IMR_TXRDY; in mpc52xx_psc_stop_tx()
251 out_be16(&PSC(port)->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_stop_tx()
[all …]
Dsa1100.c137 sport->port.read_status_mask &= ~UTSR0_TO_SM(UTSR0_TFS); in sa1100_stop_tx()
150 sport->port.read_status_mask |= UTSR0_TO_SM(UTSR0_TFS); in sa1100_start_tx()
207 status &= sport->port.read_status_mask; in sa1100_rx_chars()
252 status &= SM_TO_UTSR0(sport->port.read_status_mask) | ~UTSR0_TFS; in sa1100_int()
276 status &= SM_TO_UTSR0(sport->port.read_status_mask) | in sa1100_int()
428 sport->port.read_status_mask &= UTSR0_TO_SM(UTSR0_TFS); in sa1100_set_termios()
429 sport->port.read_status_mask |= UTSR1_TO_SM(UTSR1_ROR); in sa1100_set_termios()
431 sport->port.read_status_mask |= in sa1100_set_termios()
434 sport->port.read_status_mask |= in sa1100_set_termios()
D21285.c138 rxs &= port->read_status_mask; in serial21285_rx_chars()
285 port->read_status_mask = RXSTAT_OVERRUN; in serial21285_set_termios()
287 port->read_status_mask |= RXSTAT_FRAME | RXSTAT_PARITY; in serial21285_set_termios()
Dbcm63xx_uart.c279 cstat &= port->read_status_mask; in bcm_uart_do_rx()
533 port->read_status_mask = UART_FIFO_VALID_MASK; in bcm_uart_set_termios()
535 port->read_status_mask |= UART_FIFO_FRAMEERR_MASK; in bcm_uart_set_termios()
536 port->read_status_mask |= UART_FIFO_PARERR_MASK; in bcm_uart_set_termios()
539 port->read_status_mask |= UART_FIFO_BRKDET_MASK; in bcm_uart_set_termios()
Dpxa.c87 up->port.read_status_mask &= ~UART_LSR_DR; in serial_pxa_stop_rx()
137 *status &= up->port.read_status_mask; in receive_chars()
450 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_pxa_set_termios()
452 up->port.read_status_mask |= UART_LSR_FE | UART_LSR_PE; in serial_pxa_set_termios()
454 up->port.read_status_mask |= UART_LSR_BI; in serial_pxa_set_termios()
Dxilinx_uartps.c265 port->read_status_mask |= CDNS_UART_IXR_BRK; in cdns_uart_handle_rx()
277 isrstatus &= port->read_status_mask; in cdns_uart_handle_rx()
279 status_mask = port->read_status_mask; in cdns_uart_handle_rx()
283 (port->read_status_mask & CDNS_UART_IXR_BRK)) { in cdns_uart_handle_rx()
284 port->read_status_mask &= ~CDNS_UART_IXR_BRK; in cdns_uart_handle_rx()
488 isrstatus &= port->read_status_mask; in cdns_uart_isr()
867 port->read_status_mask = CDNS_UART_IXR_TXEMPTY | CDNS_UART_IXR_RXTRIG | in cdns_uart_set_termios()
872 port->read_status_mask |= CDNS_UART_IXR_PARITY | in cdns_uart_set_termios()
1789 port->read_status_mask = CDNS_UART_IXR_TXEMPTY | CDNS_UART_IXR_RXTRIG | in cdns_uart_probe()
Dapbuart.c100 rsr &= port->read_status_mask; in apbuart_rx_chars()
236 port->read_status_mask = UART_STATUS_OE; in apbuart_set_termios()
238 port->read_status_mask |= UART_STATUS_FE | UART_STATUS_PE; in apbuart_set_termios()
Ddz.c224 status &= uport->read_status_mask; in dz_receive_chars()
618 dport->port.read_status_mask = DZ_OERR; in dz_set_termios()
620 dport->port.read_status_mask |= DZ_FERR | DZ_PERR; in dz_set_termios()
622 dport->port.read_status_mask |= DZ_BREAK; in dz_set_termios()
Damba-pl010.c145 rsr &= port->read_status_mask; in pl010_rx_chars()
395 port->read_status_mask = UART01x_RSR_OE; in pl010_set_termios()
397 port->read_status_mask |= UART01x_RSR_FE | UART01x_RSR_PE; in pl010_set_termios()
399 port->read_status_mask |= UART01x_RSR_BE; in pl010_set_termios()
Dst-asc.c297 c &= port->read_status_mask; in asc_receive_chars()
552 ascport->port.read_status_mask = ASC_RXBUF_DUMMY_OE; in asc_set_termios()
554 ascport->port.read_status_mask |= ASC_RXBUF_FE | ASC_RXBUF_PE; in asc_set_termios()
556 ascport->port.read_status_mask |= ASC_RXBUF_DUMMY_BE; in asc_set_termios()
Dserial_txx9.c221 up->read_status_mask &= ~TXX9_SIDISR_RDIS; in serial_txx9_stop_rx()
298 disr &= up->read_status_mask; in receive_chars()
636 up->read_status_mask = TXX9_SIDISR_UOER | in serial_txx9_set_termios()
639 up->read_status_mask |= TXX9_SIDISR_UFER | TXX9_SIDISR_UPER; in serial_txx9_set_termios()
641 up->read_status_mask |= TXX9_SIDISR_UBRK; in serial_txx9_set_termios()
Dsunsab.c202 stat->sreg.isr0 &= (up->port.read_status_mask & 0xff); in receive_chars()
203 stat->sreg.isr1 &= ((up->port.read_status_mask >> 8) & 0xff); in receive_chars()
726 up->port.read_status_mask = (SAB82532_ISR0_TCD | SAB82532_ISR0_TIME | in sunsab_convert_to_sab()
729 up->port.read_status_mask |= (SAB82532_ISR1_CSC | in sunsab_convert_to_sab()
733 up->port.read_status_mask |= (SAB82532_ISR0_PERR | in sunsab_convert_to_sab()
736 up->port.read_status_mask |= (SAB82532_ISR1_BRK << 8); in sunsab_convert_to_sab()
Ddigicolor-usart.c158 status &= port->read_status_mask; in digicolor_uart_rx()
325 port->read_status_mask = UA_STATUS_OVERRUN_ERR; in digicolor_uart_set_termios()
327 port->read_status_mask |= UA_STATUS_PARITY_ERR in digicolor_uart_set_termios()
Dclps711x.c121 status &= port->read_status_mask; in uart_clps711x_int_rx()
297 port->read_status_mask = UARTDR_OVERR; in uart_clps711x_set_termios()
299 port->read_status_mask |= UARTDR_PARERR | UARTDR_FRMERR; in uart_clps711x_set_termios()
Dvt8500_serial.c172 c &= ~port->read_status_mask; in handle_rx()
389 port->read_status_mask = 0; in vt8500_set_termios()
391 port->read_status_mask = FER | PER; in vt8500_set_termios()
Dsb1250-duart.c364 status &= uport->read_status_mask; in sbd_receive_chars()
587 uport->read_status_mask = M_DUART_OVRUN_ERR; in sbd_set_termios()
589 uport->read_status_mask |= M_DUART_FRM_ERR | in sbd_set_termios()
592 uport->read_status_mask |= M_DUART_RCVD_BRK; in sbd_set_termios()
Dmax310x.c658 if (port->read_status_mask == MAX310X_LSR_RXOVR_BIT) { in max310x_handle_rx()
676 sts &= port->read_status_mask; in max310x_handle_rx()
724 sts &= port->read_status_mask; in max310x_handle_rx()
933 port->read_status_mask = MAX310X_LSR_RXOVR_BIT; in max310x_set_termios()
935 port->read_status_mask |= MAX310X_LSR_RXPAR_BIT | in max310x_set_termios()
938 port->read_status_mask |= MAX310X_LSR_RXBRK_BIT; in max310x_set_termios()
Dsunplus-uart.c381 port->read_status_mask = 0; in sunplus_set_termios()
383 port->read_status_mask |= SUP_UART_LSR_PE | SUP_UART_LSR_FE; in sunplus_set_termios()
386 port->read_status_mask |= SUP_UART_LSR_BC; in sunplus_set_termios()
Dmilbeaut_usio.c177 status &= port->read_status_mask; in mlb_usio_rx_chars()
343 port->read_status_mask = MLB_USIO_SSR_ORE | MLB_USIO_SSR_RDRF | in mlb_usio_set_termios()
346 port->read_status_mask |= MLB_USIO_SSR_FRE | MLB_USIO_SSR_PE; in mlb_usio_set_termios()
Ducc_uart.c536 status &= port->read_status_mask; in qe_uart_int_rx()
898 port->read_status_mask = BD_SC_EMPTY | BD_SC_OV; in qe_uart_set_termios()
900 port->read_status_mask |= BD_SC_FR | BD_SC_PR; in qe_uart_set_termios()
902 port->read_status_mask |= BD_SC_BR; in qe_uart_set_termios()
923 port->read_status_mask &= ~BD_SC_EMPTY; in qe_uart_set_termios()
Dowl-uart.c212 stat &= port->read_status_mask; in owl_uart_receive_chars()
370 port->read_status_mask |= OWL_UART_STAT_RXER; in owl_uart_set_termios()
372 port->read_status_mask |= OWL_UART_STAT_RXST; in owl_uart_set_termios()
/linux-6.12.1/drivers/mmc/core/
Dsdio_uart.c77 unsigned int read_status_mask; member
285 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sdio_uart_change_speed()
287 port->read_status_mask |= UART_LSR_FE | UART_LSR_PE; in sdio_uart_change_speed()
289 port->read_status_mask |= UART_LSR_BI; in sdio_uart_change_speed()
351 port->read_status_mask &= ~UART_LSR_DR; in sdio_uart_stop_rx()
382 *status &= port->read_status_mask; in sdio_uart_receive_chars()
/linux-6.12.1/drivers/tty/
Damiserial.c78 int read_status_mask; member
235 status &= info->read_status_mask; in receive_chars()
651 info->read_status_mask = UART_LSR_OE | UART_LSR_DR; in change_speed()
653 info->read_status_mask |= UART_LSR_FE | UART_LSR_PE; in change_speed()
655 info->read_status_mask |= UART_LSR_BI; in change_speed()
1238 state->read_status_mask &= ~UART_LSR_DR; in rs_close()
Dmxser.c272 u8 read_status_mask; member
645 info->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in mxser_change_speed()
647 info->read_status_mask |= UART_LSR_FE | UART_LSR_PE; in mxser_change_speed()
649 info->read_status_mask |= UART_LSR_BI; in mxser_change_speed()
655 info->read_status_mask |= UART_LSR_BI; in mxser_change_speed()
665 info->read_status_mask |= in mxser_change_speed()
1516 status &= port->read_status_mask; in mxser_receive_chars_old()
1632 status &= port->read_status_mask; in mxser_port_isr()

123