Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dapbuart.c70 unsigned int status, rsr; in apbuart_rx_chars() local
83 rsr = UART_GET_STATUS(port) | UART_DUMMY_RSR_RX; in apbuart_rx_chars()
85 if (rsr & UART_STATUS_ERR) { in apbuart_rx_chars()
87 if (rsr & UART_STATUS_BR) { in apbuart_rx_chars()
88 rsr &= ~(UART_STATUS_FE | UART_STATUS_PE); in apbuart_rx_chars()
92 } else if (rsr & UART_STATUS_PE) { in apbuart_rx_chars()
94 } else if (rsr & UART_STATUS_FE) { in apbuart_rx_chars()
97 if (rsr & UART_STATUS_OE) in apbuart_rx_chars()
100 rsr &= port->read_status_mask; in apbuart_rx_chars()
102 if (rsr & UART_STATUS_PE) in apbuart_rx_chars()
[all …]
Damba-pl010.c115 unsigned int status, rsr, max_count = 256; in pl010_rx_chars() local
129 rsr = readb(port->membase + UART01x_RSR) | UART_DUMMY_RSR_RX; in pl010_rx_chars()
130 if (unlikely(rsr & UART01x_RSR_ANY)) { in pl010_rx_chars()
133 if (rsr & UART01x_RSR_BE) { in pl010_rx_chars()
134 rsr &= ~(UART01x_RSR_FE | UART01x_RSR_PE); in pl010_rx_chars()
138 } else if (rsr & UART01x_RSR_PE) in pl010_rx_chars()
140 else if (rsr & UART01x_RSR_FE) in pl010_rx_chars()
142 if (rsr & UART01x_RSR_OE) in pl010_rx_chars()
145 rsr &= port->read_status_mask; in pl010_rx_chars()
147 if (rsr & UART01x_RSR_BE) in pl010_rx_chars()
[all …]
Dlantiq.c174 unsigned int ch = 0, rsr = 0, fifocnt; in lqasc_rx_chars() local
181 rsr = (__raw_readl(port->membase + LTQ_ASC_STATE) in lqasc_rx_chars()
190 if (rsr & ASCSTATE_ANY) { in lqasc_rx_chars()
191 if (rsr & ASCSTATE_PE) { in lqasc_rx_chars()
195 } else if (rsr & ASCSTATE_FE) { in lqasc_rx_chars()
200 if (rsr & ASCSTATE_ROE) { in lqasc_rx_chars()
206 rsr &= port->read_status_mask; in lqasc_rx_chars()
208 if (rsr & ASCSTATE_PE) in lqasc_rx_chars()
210 else if (rsr & ASCSTATE_FE) in lqasc_rx_chars()
214 if ((rsr & port->ignore_status_mask) == 0) in lqasc_rx_chars()
[all …]
/drivers/watchdog/
Dmpc8xxx_wdt.c161 u32 __iomem *rsr = ioremap(res->start, resource_size(res)); in mpc8xxx_wdt_probe() local
163 if (!rsr) in mpc8xxx_wdt_probe()
166 status = in_be32(rsr) & wdt_type->rsr_mask; in mpc8xxx_wdt_probe()
169 out_be32(rsr, wdt_type->rsr_mask); in mpc8xxx_wdt_probe()
170 iounmap(rsr); in mpc8xxx_wdt_probe()
/drivers/staging/vt6655/
Ddpc.c31 u8 *rsr, *new_rsr, *rssi; in vnt_rx_data() local
76 rsr = skb_data + bytes_received - 1; in vnt_rx_data()
77 if (*rsr & (RSR_IVLDTYP | RSR_IVLDLEN)) in vnt_rx_data()
94 if (!(*rsr & RSR_CRCOK)) in vnt_rx_data()
/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c981 unsigned rsr, pktlen; in xirc2ps_interrupt() local
1024 rsr = GetByte(XIRCREG0_RSR); in xirc2ps_interrupt()
1025 if (bytes_rcvd > maxrx_bytes && (rsr & PktRxOk)) { in xirc2ps_interrupt()
1030 } else if (rsr & PktRxOk) { in xirc2ps_interrupt()
1036 pr_debug("rsr=%#02x packet_length=%u\n", rsr, pktlen); in xirc2ps_interrupt()
1099 if (!(rsr & PhyPkt)) in xirc2ps_interrupt()
1103 pr_debug("rsr=%#02x\n", rsr); in xirc2ps_interrupt()
1105 if (rsr & PktTooLong) { in xirc2ps_interrupt()
1109 if (rsr & CRCErr) { in xirc2ps_interrupt()
1113 if (rsr & AlignErr) { in xirc2ps_interrupt()
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8188e.c442 u32 val32, rsr; in rtl8188eu_config_channel() local
448 rsr = rtl8xxxu_read32(priv, REG_RESPONSE_RATE_SET); in rtl8188eu_config_channel()
477 rsr &= ~RSR_RSC_BANDWIDTH_40M; in rtl8188eu_config_channel()
479 rsr |= RSR_RSC_LOWER_SUB_CHANNEL; in rtl8188eu_config_channel()
481 rsr |= RSR_RSC_UPPER_SUB_CHANNEL; in rtl8188eu_config_channel()
482 rtl8xxxu_write32(priv, REG_RESPONSE_RATE_SET, rsr); in rtl8188eu_config_channel()
Drtl8xxxu_core.c1251 u32 val32, rsr; in rtl8xxxu_gen1_config_channel() local
1258 rsr = rtl8xxxu_read32(priv, REG_RESPONSE_RATE_SET); in rtl8xxxu_gen1_config_channel()
1293 rsr &= ~RSR_RSC_BANDWIDTH_40M; in rtl8xxxu_gen1_config_channel()
1295 rsr |= RSR_RSC_UPPER_SUB_CHANNEL; in rtl8xxxu_gen1_config_channel()
1297 rsr |= RSR_RSC_LOWER_SUB_CHANNEL; in rtl8xxxu_gen1_config_channel()
1298 rtl8xxxu_write32(priv, REG_RESPONSE_RATE_SET, rsr); in rtl8xxxu_gen1_config_channel()
/drivers/media/pci/cx23885/
Dcx23888-ir.c514 int tsr, rsr, rto, ror, tse, rse, rte, roe, kror; in cx23888_ir_irq_handler() local
517 rsr = stats & STATS_RSR; /* Rx FIFO Service Request */ in cx23888_ir_irq_handler()
528 tsr ? "tsr" : " ", rsr ? "rsr" : " ", in cx23888_ir_irq_handler()
562 if ((rse && rsr) || (rte && rto)) { in cx23888_ir_irq_handler()
/drivers/media/i2c/cx25840/
Dcx25840-ir.c498 int tsr, rsr, rto, ror, tse, rse, rte, roe, kror; in cx25840_ir_irq_handler() local
518 rsr = stats & STATS_RSR; /* Rx FIFO Service Request */ in cx25840_ir_irq_handler()
528 tsr ? "tsr" : " ", rsr ? "rsr" : " ", in cx25840_ir_irq_handler()
562 if ((rse && rsr) || (rte && rto)) { in cx25840_ir_irq_handler()
/drivers/staging/vt6656/
Dusbpipe.c332 if (tail->rsr & (RSR_IVLDTYP | RSR_IVLDLEN)) in vnt_rx_data()
349 if (!(tail->rsr & RSR_CRCOK)) in vnt_rx_data()
Ddevice.h221 u8 rsr; member
/drivers/block/drbd/
Ddrbd_nl.c2371 int rsr; /* re-sync running */ in drbd_adm_net_opts() local
2417 rsr = conn_resync_running(connection); in drbd_adm_net_opts()
2418 if (rsr && strcmp(new_net_conf->csums_alg, old_net_conf->csums_alg)) { in drbd_adm_net_opts()
2436 if (!rsr) { in drbd_adm_net_opts()