Home
last modified time | relevance | path

Searched refs:rsr (Results 1 – 8 of 8) sorted by relevance

/drivers/tty/serial/
Dapbuart.c76 unsigned int status, ch, rsr, flag; in apbuart_rx_chars() local
88 rsr = UART_GET_STATUS(port) | UART_DUMMY_RSR_RX; in apbuart_rx_chars()
90 if (rsr & UART_STATUS_ERR) { in apbuart_rx_chars()
92 if (rsr & UART_STATUS_BR) { in apbuart_rx_chars()
93 rsr &= ~(UART_STATUS_FE | UART_STATUS_PE); in apbuart_rx_chars()
97 } else if (rsr & UART_STATUS_PE) { in apbuart_rx_chars()
99 } else if (rsr & UART_STATUS_FE) { in apbuart_rx_chars()
102 if (rsr & UART_STATUS_OE) in apbuart_rx_chars()
105 rsr &= port->read_status_mask; in apbuart_rx_chars()
107 if (rsr & UART_STATUS_PE) in apbuart_rx_chars()
[all …]
Dlantiq.c161 unsigned int ch = 0, rsr = 0, fifocnt; in lqasc_rx_chars() local
167 rsr = (ltq_r32(port->membase + LTQ_ASC_STATE) in lqasc_rx_chars()
176 if (rsr & ASCSTATE_ANY) { in lqasc_rx_chars()
177 if (rsr & ASCSTATE_PE) { in lqasc_rx_chars()
181 } else if (rsr & ASCSTATE_FE) { in lqasc_rx_chars()
186 if (rsr & ASCSTATE_ROE) { in lqasc_rx_chars()
192 rsr &= port->read_status_mask; in lqasc_rx_chars()
194 if (rsr & ASCSTATE_PE) in lqasc_rx_chars()
196 else if (rsr & ASCSTATE_FE) in lqasc_rx_chars()
200 if ((rsr & port->ignore_status_mask) == 0) in lqasc_rx_chars()
[all …]
Damba-pl010.c118 unsigned int status, ch, flag, rsr, max_count = 256; in pl010_rx_chars() local
131 rsr = readb(uap->port.membase + UART01x_RSR) | UART_DUMMY_RSR_RX; in pl010_rx_chars()
132 if (unlikely(rsr & UART01x_RSR_ANY)) { in pl010_rx_chars()
135 if (rsr & UART01x_RSR_BE) { in pl010_rx_chars()
136 rsr &= ~(UART01x_RSR_FE | UART01x_RSR_PE); in pl010_rx_chars()
140 } else if (rsr & UART01x_RSR_PE) in pl010_rx_chars()
142 else if (rsr & UART01x_RSR_FE) in pl010_rx_chars()
144 if (rsr & UART01x_RSR_OE) in pl010_rx_chars()
147 rsr &= uap->port.read_status_mask; in pl010_rx_chars()
149 if (rsr & UART01x_RSR_BE) in pl010_rx_chars()
[all …]
/drivers/staging/vt6656/
Ddpc.c48 u8 *rsr, *new_rsr, *rssi, *frame; in vnt_rx_data() local
139 rsr = skb_data + 8 + pay_load_with_padding + 11; in vnt_rx_data()
140 if (*rsr & (RSR_IVLDTYP | RSR_IVLDLEN)) in vnt_rx_data()
161 if (!(*rsr & RSR_CRCOK)) in vnt_rx_data()
/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c983 unsigned rsr, pktlen; in xirc2ps_interrupt() local
1026 rsr = GetByte(XIRCREG0_RSR); in xirc2ps_interrupt()
1027 if (bytes_rcvd > maxrx_bytes && (rsr & PktRxOk)) { in xirc2ps_interrupt()
1032 } else if (rsr & PktRxOk) { in xirc2ps_interrupt()
1038 pr_debug("rsr=%#02x packet_length=%u\n", rsr, pktlen); in xirc2ps_interrupt()
1101 if (!(rsr & PhyPkt)) in xirc2ps_interrupt()
1105 pr_debug("rsr=%#02x\n", rsr); in xirc2ps_interrupt()
1107 if (rsr & PktTooLong) { in xirc2ps_interrupt()
1111 if (rsr & CRCErr) { in xirc2ps_interrupt()
1115 if (rsr & AlignErr) { in xirc2ps_interrupt()
/drivers/media/pci/cx23885/
Dcx23888-ir.c543 int tsr, rsr, rto, ror, tse, rse, rte, roe, kror; in cx23888_ir_irq_handler() local
546 rsr = stats & STATS_RSR; /* Rx FIFO Service Request */ in cx23888_ir_irq_handler()
557 tsr ? "tsr" : " ", rsr ? "rsr" : " ", in cx23888_ir_irq_handler()
591 if ((rse && rsr) || (rte && rto)) { in cx23888_ir_irq_handler()
/drivers/media/i2c/cx25840/
Dcx25840-ir.c532 int tsr, rsr, rto, ror, tse, rse, rte, roe, kror; in cx25840_ir_irq_handler() local
552 rsr = stats & STATS_RSR; /* Rx FIFO Service Request */ in cx25840_ir_irq_handler()
562 tsr ? "tsr" : " ", rsr ? "rsr" : " ", in cx25840_ir_irq_handler()
596 if ((rse && rsr) || (rte && rto)) { in cx25840_ir_irq_handler()
/drivers/block/drbd/
Ddrbd_nl.c2134 int rsr; /* re-sync running */ in drbd_adm_net_opts() local
2180 rsr = conn_resync_running(connection); in drbd_adm_net_opts()
2181 if (rsr && strcmp(new_net_conf->csums_alg, old_net_conf->csums_alg)) { in drbd_adm_net_opts()
2199 if (!rsr) { in drbd_adm_net_opts()