Searched refs:tx_ring_buffers (Results 1 - 6 of 6) sorted by relevance

/drivers/net/wan/
H A Dpci200syn.c90 u16 tx_ring_buffers; member in struct:card_s
354 card->tx_ring_buffers = min(i / 2, MAX_TX_BUFFERS);
355 card->rx_ring_buffers = i - card->tx_ring_buffers;
357 card->buff_offset = 2 * sizeof(pkt_desc) * (card->tx_ring_buffers +
362 pdev->irq, card->tx_ring_buffers, card->rx_ring_buffers);
364 if (card->tx_ring_buffers < 1) {
H A Dn2.c123 u16 tx_ring_buffers; member in struct:card_s
430 card->tx_ring_buffers = min(i / 2, MAX_TX_BUFFERS);
431 card->rx_ring_buffers = i - card->tx_ring_buffers;
434 (card->tx_ring_buffers + card->rx_ring_buffers);
438 card->tx_ring_buffers, card->rx_ring_buffers);
440 if (card->tx_ring_buffers < 1) {
H A Dpc300too.c106 u16 tx_ring_buffers; member in struct:card_s
408 card->tx_ring_buffers = min(i / 2, MAX_TX_BUFFERS);
409 card->rx_ring_buffers = i - card->tx_ring_buffers;
412 (card->tx_ring_buffers + card->rx_ring_buffers);
418 card->tx_ring_buffers, card->rx_ring_buffers);
420 if (card->tx_ring_buffers < 1) {
H A Dc101.c69 u16 tx_ring_buffers; member in struct:card_s
358 card->tx_ring_buffers = TX_RING_BUFFERS;
393 card->irq, card->tx_ring_buffers, card->rx_ring_buffers);
H A Dhd64572.c16 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #0 TX ring
18 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #1 TX ring (if used)
22 * tx_ring_buffers * HDLC_MAX_MRU = logical channel #0 TX buffers
24 * tx_ring_buffers * HDLC_MAX_MRU = logical channel #0 TX buffers (if used)
81 u16 tx_buffs = port->card->tx_ring_buffers;
139 u16 buffs = transmit ? card->tx_ring_buffers
164 sca_outl(desc_offset(port, card->tx_ring_buffers - 1, 0),
319 port->txlast = (port->txlast + 1) % card->tx_ring_buffers;
541 for (cnt = 0; cnt < port->card->tx_ring_buffers; cnt++)
590 port->txin = (port->txin + 1) % card->tx_ring_buffers;
[all...]
H A Dhd64570.c16 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #0 TX ring
18 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #1 TX ring (if used)
22 * tx_ring_buffers * HDLC_MAX_MRU = logical channel #0 TX buffers
24 * tx_ring_buffers * HDLC_MAX_MRU = logical channel #0 TX buffers (if used)
89 return (desc + 1) % (transmit ? port_to_card(port)->tx_ring_buffers
97 u16 tx_buffs = port_to_card(port)->tx_ring_buffers;
165 u16 buffs = transmit ? card->tx_ring_buffers
593 for (cnt = 0; cnt < port_to_card(port)->tx_ring_buffers; cnt++)

Completed in 89 milliseconds