Home
last modified time | relevance | path

Searched refs:txs (Results 1 – 20 of 20) sorted by relevance

/drivers/net/irda/
Ddonauboe.c522 self->txs = inb_p (OBOE_TXSLOT) & OBOE_SLOT_MASK; in toshoboe_resetptrs()
854 self->ring->tx[self->txs].control = in toshoboe_probe()
859 self->ring->tx[self->txs].len = in toshoboe_probe()
860 toshoboe_maketestpacket (self->tx_bufs[self->txs], 0, fir); in toshoboe_probe()
861 self->txs++; in toshoboe_probe()
862 self->txs %= TX_SLOTS; in toshoboe_probe()
864 self->ring->tx[self->txs].control = in toshoboe_probe()
867 self->ring->tx[self->txs].len = in toshoboe_probe()
868 toshoboe_maketestpacket (self->tx_bufs[self->txs], 0, fir); in toshoboe_probe()
869 self->txs++; in toshoboe_probe()
[all …]
Ddonauboe.h325 int txs, rxs; /*Which slots are we at */ member
/drivers/net/wan/
Dpci200syn.c79 u8 rxs, txs, tmc; /* SCA registers */ member
125 u8 txs = port->txs & CLK_BRG_MASK; in pci200_set_iface() local
132 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pci200_set_iface()
137 txs |= CLK_PIN_OUT | CLK_BRG; /* BRG output */ in pci200_set_iface()
142 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pci200_set_iface()
147 txs |= CLK_PIN_OUT | CLK_LINE; /* TXC input */ in pci200_set_iface()
152 port->txs = txs; in pci200_set_iface()
154 sca_out(txs, msci + TXS, card); in pci200_set_iface()
Dc101.c74 u8 rxs, txs, tmc; /* SCA registers */ member
156 u8 txs = port->txs & CLK_BRG_MASK; in c101_set_iface() local
161 txs |= CLK_RXCLK_TX; /* BRG output */ in c101_set_iface()
166 txs |= CLK_BRG_TX; /* BRG output */ in c101_set_iface()
171 txs |= CLK_RXCLK_TX; /* RX clock */ in c101_set_iface()
176 txs |= CLK_LINE_TX; /* TXC input */ in c101_set_iface()
180 port->txs = txs; in c101_set_iface()
182 sca_out(txs, MSCI1_OFFSET + TXS, port); in c101_set_iface()
Dpc300too.c92 u8 rxs, txs, tmc; /* SCA registers */ member
126 u8 txs = port->txs & CLK_BRG_MASK; in pc300_set_iface() local
133 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pc300_set_iface()
138 txs |= CLK_PIN_OUT | CLK_BRG; /* BRG output */ in pc300_set_iface()
143 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pc300_set_iface()
148 txs |= CLK_PIN_OUT | CLK_LINE; /* TXC input */ in pc300_set_iface()
153 port->txs = txs; in pc300_set_iface()
155 sca_out(txs, msci + TXS, card); in pc300_set_iface()
Dn2.c109 u8 rxs, txs, tmc; /* SCA registers */ member
174 u8 txs = port->txs & CLK_BRG_MASK; in n2_set_iface() local
180 txs |= CLK_RXCLK_TX; /* RX clock */ in n2_set_iface()
186 txs |= CLK_BRG_TX; /* BRG output */ in n2_set_iface()
192 txs |= CLK_RXCLK_TX; /* RX clock */ in n2_set_iface()
198 txs |= CLK_LINE_TX; /* TXC input */ in n2_set_iface()
203 port->txs = txs; in n2_set_iface()
205 sca_out(txs, msci + TXS, card); in n2_set_iface()
Dhd64572.c403 port->txs = (port->txs & ~CLK_BRG_MASK) | br; in sca_set_port()
412 sca_out(port->txs, msci + TXS, card); in sca_set_port()
472 sca_out(port->txs, msci + TXS, card); in sca_open()
Dhd64570.c440 port->txs = (port->txs & ~CLK_BRG_MASK) | br; in sca_set_port()
448 sca_out(port->txs, msci + TXS, card); in sca_set_port()
516 sca_out(port->txs, msci + TXS, card); in sca_open()
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c442 struct __wmi_event_txstatus *txs) in ath9k_htc_tx_process() argument
471 if (!txok || !vif || !txs) in ath9k_htc_tx_process()
474 if (txs->ts_flags & ATH9K_HTC_TXSTAT_ACK) { in ath9k_htc_tx_process()
480 if (txs->ts_flags & ATH9K_HTC_TXSTAT_FILT) in ath9k_htc_tx_process()
483 if (txs->ts_flags & ATH9K_HTC_TXSTAT_RTC_CTS) in ath9k_htc_tx_process()
487 rate->idx = MS(txs->ts_rate, ATH9K_HTC_TXSTAT_RATE); in ath9k_htc_tx_process()
489 if (txs->ts_flags & ATH9K_HTC_TXSTAT_MCS) { in ath9k_htc_tx_process()
492 if (txs->ts_flags & ATH9K_HTC_TXSTAT_CW40) in ath9k_htc_tx_process()
494 if (txs->ts_flags & ATH9K_HTC_TXSTAT_SGI) in ath9k_htc_tx_process()
614 struct __wmi_event_txstatus *txs) in ath9k_htc_tx_get_packet() argument
[all …]
Dwmi.h136 struct __wmi_event_txstatus txs; member
/drivers/spi/
Dspi-dw-mid.c45 struct intel_mid_dma_slave *rxs, *txs; in mid_spi_dma_init() local
74 txs = &dw_dma->dmas_tx; in mid_spi_dma_init()
75 txs->hs_mode = LNW_DMA_HW_HS; in mid_spi_dma_init()
76 txs->cfg_mode = LNW_DMA_MEM_TO_PER; in mid_spi_dma_init()
77 dws->txchan->private = txs; in mid_spi_dma_init()
/drivers/net/wireless/brcm80211/brcmsmac/
Dampdu.c824 struct tx_status *txs, u8 mcs) in brcms_c_ampdu_rate_status() argument
838 struct sk_buff *p, struct tx_status *txs, in brcms_c_ampdu_dotxstatus_complete() argument
871 queue = txs->frameid & TXFID_QUEUE_MASK; in brcms_c_ampdu_dotxstatus_complete()
872 supr_status = txs->status & TX_STATUS_SUPR_MASK; in brcms_c_ampdu_dotxstatus_complete()
874 if (txs->status & TX_STATUS_ACK_RCV) { in brcms_c_ampdu_dotxstatus_complete()
878 WARN_ON(!(txs->status & TX_STATUS_INTERMEDIATE)); in brcms_c_ampdu_dotxstatus_complete()
879 start_seq = txs->sequence >> SEQNUM_SHIFT; in brcms_c_ampdu_dotxstatus_complete()
880 bitmap[0] = (txs->status & TX_STATUS_BA_BMAP03_MASK) >> in brcms_c_ampdu_dotxstatus_complete()
929 } else if (txs->phyerr) { in brcms_c_ampdu_dotxstatus_complete()
933 __func__, txs->phyerr); in brcms_c_ampdu_dotxstatus_complete()
[all …]
Dampdu.h49 struct sk_buff *p, struct tx_status *txs);
Dmain.c833 brcms_c_dotxstatus(struct brcms_c_info *wlc, struct tx_status *txs) in brcms_c_dotxstatus() argument
851 trace_brcms_txstatus(&wlc->hw->d11core->dev, txs->framelen, in brcms_c_dotxstatus()
852 txs->frameid, txs->status, txs->lasttxtime, in brcms_c_dotxstatus()
853 txs->sequence, txs->phyerr, txs->ackphyrxsh); in brcms_c_dotxstatus()
860 if (!(txs->status & TX_STATUS_AMPDU) in brcms_c_dotxstatus()
861 && (txs->status & TX_STATUS_INTERMEDIATE)) { in brcms_c_dotxstatus()
867 queue = txs->frameid & TXFID_QUEUE_MASK; in brcms_c_dotxstatus()
884 if (txs->phyerr) in brcms_c_dotxstatus()
886 txs->phyerr, txh->MainRates); in brcms_c_dotxstatus()
888 if (txs->frameid != le16_to_cpu(txh->TxFrameID)) { in brcms_c_dotxstatus()
[all …]
/drivers/net/ethernet/atheros/atlx/
Datl2.c487 struct tx_pkt_status *txs; in atl2_intr_tx() local
493 txs = adapter->txs_ring + txs_write_ptr; in atl2_intr_tx()
494 if (!txs->update) in atl2_intr_tx()
498 txs->update = 0; in atl2_intr_tx()
508 if (txph->pkt_size != txs->pkt_size) { in atl2_intr_tx()
509 struct tx_pkt_status *old_txs = txs; in atl2_intr_tx()
514 *(u32 *)txph, *(u32 *)txs); in atl2_intr_tx()
518 txs = adapter->txs_ring + txs_write_ptr; in atl2_intr_tx()
521 *(u32 *)txs); in atl2_intr_tx()
523 txs = adapter->txs_ring + in atl2_intr_tx()
[all …]
/drivers/atm/
Dambassador.c301 static unsigned int txs = 32; variable
1510 static int create_queues(amb_dev *dev, unsigned int cmds, unsigned int txs, in create_queues() argument
1522 total += txs * (sizeof(tx_in) + sizeof(tx_out)); in create_queues()
1569 txq->maximum = txs - 1; in create_queues()
1573 txq->in.limit = in + txs; in create_queues()
1580 txq->out.limit = out + txs; in create_queues()
2115 } else if (create_queues (dev, cmds, txs, rxs, rxs_bs)) { in amb_init()
2330 if (txs < MIN_QUEUE_SIZE) in amb_check_args()
2332 txs = MIN_QUEUE_SIZE); in amb_check_args()
2363 module_param(txs, uint, 0);
[all …]
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd_cb.c1958 kiblnd_abort_txs(kib_conn_t *conn, struct list_head *txs) in kiblnd_abort_txs() argument
1967 list_for_each_safe (tmp, nxt, txs) { in kiblnd_abort_txs()
1970 if (txs == &conn->ibc_active_txs) { in kiblnd_abort_txs()
2077 struct list_head txs; in kiblnd_connreq_done() local
2133 list_add(&txs, &peer->ibp_tx_queue); in kiblnd_connreq_done()
2144 kiblnd_txlist_done(ni, &txs, -ECONNABORTED); in kiblnd_connreq_done()
2153 while (!list_empty(&txs)) { in kiblnd_connreq_done()
2154 tx = list_entry(txs.next, kib_tx_t, tx_list); in kiblnd_connreq_done()
2989 kiblnd_check_txs_locked(kib_conn_t *conn, struct list_head *txs) in kiblnd_check_txs_locked() argument
2994 list_for_each (ttmp, txs) { in kiblnd_check_txs_locked()
[all …]
/drivers/net/
Dxen-netfront.c1566 struct xen_netif_tx_sring *txs; in setup_netfront() local
1575 txs = (struct xen_netif_tx_sring *)get_zeroed_page(GFP_NOIO | __GFP_HIGH); in setup_netfront()
1576 if (!txs) { in setup_netfront()
1581 SHARED_RING_INIT(txs); in setup_netfront()
1582 FRONT_RING_INIT(&queue->tx, txs, PAGE_SIZE); in setup_netfront()
1584 err = xenbus_grant_ring(dev, virt_to_mfn(txs)); in setup_netfront()
1627 free_page((unsigned long)txs); in setup_netfront()
/drivers/net/xen-netback/
Dnetback.c1959 struct xen_netif_tx_sring *txs; in xenvif_map_frontend_rings() local
1969 txs = (struct xen_netif_tx_sring *)addr; in xenvif_map_frontend_rings()
1970 BACK_RING_INIT(&queue->tx, txs, PAGE_SIZE); in xenvif_map_frontend_rings()
/drivers/net/wireless/brcm80211/brcmfmac/
Dfwsignal.c303 #define brcmf_txstatus_get_field(txs, field) \ argument
304 brcmu_maskget32(txs, BRCMF_FWS_TXSTAT_ ## field ## _MASK, \