Home
last modified time | relevance | path

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

/drivers/serial/
D21285.c90 unsigned int status, ch, flag, rxs, max_count = 256; in serial21285_rx_chars() local
98 rxs = *CSR_RXSTAT | RXSTAT_DUMMY_READ; in serial21285_rx_chars()
99 if (unlikely(rxs & RXSTAT_ANYERR)) { in serial21285_rx_chars()
100 if (rxs & RXSTAT_PARITY) in serial21285_rx_chars()
102 else if (rxs & RXSTAT_FRAME) in serial21285_rx_chars()
104 if (rxs & RXSTAT_OVERRUN) in serial21285_rx_chars()
107 rxs &= port->read_status_mask; in serial21285_rx_chars()
109 if (rxs & RXSTAT_PARITY) in serial21285_rx_chars()
111 else if (rxs & RXSTAT_FRAME) in serial21285_rx_chars()
115 uart_insert_char(port, rxs, RXSTAT_OVERRUN, ch, flag); in serial21285_rx_chars()
/drivers/net/wan/
Dc101.c71 u8 rxs, txs, tmc; /* SCA registers */ member
152 u8 rxs = port->rxs & CLK_BRG_MASK; in c101_set_iface() local
157 rxs |= CLK_BRG_RX; /* TX clock */ in c101_set_iface()
162 rxs |= CLK_LINE_RX; /* RXC input */ in c101_set_iface()
167 rxs |= CLK_LINE_RX; /* RXC input */ in c101_set_iface()
172 rxs |= CLK_LINE_RX; /* RXC input */ in c101_set_iface()
176 port->rxs = rxs; in c101_set_iface()
178 sca_out(rxs, MSCI1_OFFSET + RXS, port); in c101_set_iface()
Dpci200syn.c76 u8 rxs, txs, tmc; /* SCA registers */ member
121 u8 rxs = port->rxs & CLK_BRG_MASK; in pci200_set_iface() local
128 rxs |= CLK_BRG; /* BRG output */ in pci200_set_iface()
133 rxs |= CLK_LINE; /* RXC input */ in pci200_set_iface()
138 rxs |= CLK_LINE; /* RXC input */ in pci200_set_iface()
143 rxs |= CLK_LINE; /* RXC input */ in pci200_set_iface()
148 port->rxs = rxs; in pci200_set_iface()
150 sca_out(rxs, msci + RXS, card); in pci200_set_iface()
Dpc300too.c90 u8 rxs, txs, tmc; /* SCA registers */ member
123 u8 rxs = port->rxs & CLK_BRG_MASK; in pc300_set_iface() local
130 rxs |= CLK_BRG; /* BRG output */ in pc300_set_iface()
135 rxs |= CLK_LINE; /* RXC input */ in pc300_set_iface()
140 rxs |= CLK_LINE; /* RXC input */ in pc300_set_iface()
145 rxs |= CLK_LINE; /* RXC input */ in pc300_set_iface()
150 port->rxs = rxs; in pc300_set_iface()
152 sca_out(rxs, msci + RXS, card); in pc300_set_iface()
Dn2.c106 u8 rxs, txs, tmc; /* SCA registers */ member
170 u8 rxs = port->rxs & CLK_BRG_MASK; in n2_set_iface() local
176 rxs |= CLK_BRG_RX; /* BRG output */ in n2_set_iface()
182 rxs |= CLK_LINE_RX; /* RXC input */ in n2_set_iface()
188 rxs |= CLK_LINE_RX; /* RXC input */ in n2_set_iface()
194 rxs |= CLK_LINE_RX; /* RXC input */ in n2_set_iface()
199 port->rxs = rxs; in n2_set_iface()
201 sca_out(rxs, msci + RXS, card); in n2_set_iface()
Dhd64572.c402 port->rxs = (port->rxs & ~CLK_BRG_MASK) | br; in sca_set_port()
411 sca_out(port->rxs, msci + RXS, card); in sca_set_port()
471 sca_out(port->rxs, msci + RXS, card); in sca_open()
Dhd64570.c442 port->rxs = (port->rxs & ~CLK_BRG_MASK) | br; in sca_set_port()
450 sca_out(port->rxs, msci + RXS, card); in sca_set_port()
518 sca_out(port->rxs, msci + RXS, card); in sca_open()
/drivers/net/wireless/ath5k/
Dbase.c1616 struct ieee80211_rx_status *rxs) in ath5k_check_ibss_tsf() argument
1637 (unsigned long long)rxs->mactime, in ath5k_check_ibss_tsf()
1638 (unsigned long long)(rxs->mactime - bc_tstamp), in ath5k_check_ibss_tsf()
1652 if (bc_tstamp > rxs->mactime) { in ath5k_check_ibss_tsf()
1655 (unsigned long long)rxs->mactime, in ath5k_check_ibss_tsf()
1657 rxs->mactime = tsf; in ath5k_check_ibss_tsf()
1675 struct ieee80211_rx_status rxs = {}; in ath5k_tasklet_rx() local
1693 rxs.flag = 0; in ath5k_tasklet_rx()
1752 rxs.flag |= RX_FLAG_MMIC_ERROR; in ath5k_tasklet_rx()
1811 rxs.mactime = ath5k_extend_tsf(sc->ah, rs.rs_tstamp); in ath5k_tasklet_rx()
[all …]
/drivers/net/irda/
Ddonauboe.c521 self->rxs = inb_p (OBOE_RXSLOT) & OBOE_SLOT_MASK; in toshoboe_resetptrs()
1223 while (!(self->ring->rx[self->rxs].control & OBOE_CTL_RX_HW_OWNS)) in toshoboe_interrupt()
1225 int len = self->ring->rx[self->rxs].len; in toshoboe_interrupt()
1228 ,len,self->ring->rx[self->rxs].control); in toshoboe_interrupt()
1231 dumpbufs(self->rx_bufs[self->rxs],len,'<'); in toshoboe_interrupt()
1234 if (self->ring->rx[self->rxs].control == 0) in toshoboe_interrupt()
1242 if (!toshoboe_checkfcs (self->rx_bufs[self->rxs], len)) in toshoboe_interrupt()
1281 skb_copy_to_linear_data(skb, self->rx_bufs[self->rxs], in toshoboe_interrupt()
1305 ,len,self->ring->rx[self->rxs].control); in toshoboe_interrupt()
1308 self->ring->rx[self->rxs].len = 0x0; in toshoboe_interrupt()
[all …]
Ddonauboe.h325 int txs, rxs; /*Which slots are we at */ member
/drivers/atm/
Dambassador.c301 static unsigned int rxs[NUM_RX_POOLS] = { 64, 64, 64, 64 }; variable
1522 unsigned int txs, unsigned int * rxs, in create_queues() argument
1536 total += rxs[pool] * (sizeof(rx_in) + sizeof(rx_out)); in create_queues()
1607 rxq->low = rxs[pool] - 1; in create_queues()
1609 rxq->maximum = rxs[pool] - 1; in create_queues()
1613 rxq->in.limit = in + rxs[pool]; in create_queues()
1620 rxq->out.limit = out + rxs[pool]; in create_queues()
2114 } else if (create_queues (dev, cmds, txs, rxs, rxs_bs)) { in amb_init()
2337 if (rxs[pool] < MIN_QUEUE_SIZE) in amb_check_args()
2339 pool, rxs[pool] = MIN_QUEUE_SIZE); in amb_check_args()
[all …]
/drivers/net/
De100.c547 struct rx *rxs ____cacheline_aligned;
1665 if (!nic->rxs) return; in e100_start_receiver()
1669 if (!rx) rx = nic->rxs; in e100_start_receiver()
1873 if (nic->rxs) { in e100_rx_clean_list()
1874 for (rx = nic->rxs, i = 0; i < count; rx++, i++) { in e100_rx_clean_list()
1881 kfree(nic->rxs); in e100_rx_clean_list()
1882 nic->rxs = NULL; in e100_rx_clean_list()
1897 if (!(nic->rxs = kcalloc(count, sizeof(struct rx), GFP_ATOMIC))) in e100_rx_alloc_list()
1900 for (rx = nic->rxs, i = 0; i < count; rx++, i++) { in e100_rx_alloc_list()
1901 rx->next = (i + 1 < count) ? rx + 1 : nic->rxs; in e100_rx_alloc_list()
[all …]
Dxen-netfront.c1331 struct xen_netif_rx_sring *rxs; in setup_netfront() local
1363 rxs = (struct xen_netif_rx_sring *)get_zeroed_page(GFP_NOIO | __GFP_HIGH); in setup_netfront()
1364 if (!rxs) { in setup_netfront()
1369 SHARED_RING_INIT(rxs); in setup_netfront()
1370 FRONT_RING_INIT(&info->rx, rxs, PAGE_SIZE); in setup_netfront()
1372 err = xenbus_grant_ring(dev, virt_to_mfn(rxs)); in setup_netfront()
1374 free_page((unsigned long)rxs); in setup_netfront()