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

/linux-4.1.27/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); pci200_pci_init_one()
355 card->rx_ring_buffers = i - card->tx_ring_buffers; pci200_pci_init_one()
357 card->buff_offset = 2 * sizeof(pkt_desc) * (card->tx_ring_buffers + pci200_pci_init_one()
362 pdev->irq, card->tx_ring_buffers, card->rx_ring_buffers); pci200_pci_init_one()
364 if (card->tx_ring_buffers < 1) { pci200_pci_init_one()
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; desc_abs_number()
139 u16 buffs = transmit ? card->tx_ring_buffers sca_init_port()
164 sca_outl(desc_offset(port, card->tx_ring_buffers - 1, 0), sca_init_port()
319 port->txlast = (port->txlast + 1) % card->tx_ring_buffers; sca_tx_done()
541 for (cnt = 0; cnt < port->card->tx_ring_buffers; cnt++) sca_dump_rings()
590 port->txin = (port->txin + 1) % card->tx_ring_buffers; sca_xmit()
H A Dn2.c123 u16 tx_ring_buffers; member in struct:card_s
430 card->tx_ring_buffers = min(i / 2, MAX_TX_BUFFERS); n2_run()
431 card->rx_ring_buffers = i - card->tx_ring_buffers; n2_run()
434 (card->tx_ring_buffers + card->rx_ring_buffers); n2_run()
438 card->tx_ring_buffers, card->rx_ring_buffers); n2_run()
440 if (card->tx_ring_buffers < 1) { n2_run()
H A Dpc300too.c106 u16 tx_ring_buffers; member in struct:card_s
408 card->tx_ring_buffers = min(i / 2, MAX_TX_BUFFERS); pc300_pci_init_one()
409 card->rx_ring_buffers = i - card->tx_ring_buffers; pc300_pci_init_one()
412 (card->tx_ring_buffers + card->rx_ring_buffers); pc300_pci_init_one()
418 card->tx_ring_buffers, card->rx_ring_buffers); pc300_pci_init_one()
420 if (card->tx_ring_buffers < 1) { pc300_pci_init_one()
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 next_desc()
97 u16 tx_buffs = port_to_card(port)->tx_ring_buffers; desc_abs_number()
165 u16 buffs = transmit ? card->tx_ring_buffers sca_init_port()
593 for (cnt = 0; cnt < port_to_card(port)->tx_ring_buffers; cnt++) sca_dump_rings()
H A Dc101.c69 u16 tx_ring_buffers; member in struct:card_s
358 card->tx_ring_buffers = TX_RING_BUFFERS; c101_run()
393 card->irq, card->tx_ring_buffers, card->rx_ring_buffers); c101_run()

Completed in 73 milliseconds