Home
last modified time | relevance | path

Searched refs:pkt_desc (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/net/wan/
Dhd64570.c110 return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc); in desc_offset()
114 static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc, in desc_address()
118 return (pkt_desc __iomem *)(win0base(port_to_card(port)) in desc_address()
121 return (pkt_desc __iomem *)(winbase(port_to_card(port)) in desc_address()
171 pkt_desc __iomem *desc = desc_address(port, i, transmit); in sca_init_port()
245 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx()
309 pkt_desc __iomem *desc; in sca_rx_intr()
312 if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc))) in sca_rx_intr()
360 pkt_desc __iomem *desc; in sca_tx_intr()
364 if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc))) in sca_tx_intr()
[all …]
Dhd64572.c93 return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc); in desc_offset()
97 static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc, in desc_address()
100 return (pkt_desc __iomem *)(port->card->rambase + in desc_address()
145 pkt_desc __iomem *desc = desc_address(port, i, transmit); in sca_init_port()
204 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx()
253 pkt_desc __iomem *desc; in sca_rx_done()
256 if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc))) in sca_rx_done()
307 pkt_desc __iomem *desc = desc_address(port, port->txlast, 1); in sca_tx_done()
571 pkt_desc __iomem *desc; in sca_xmit()
Dhd64570.h156 }__packed pkt_desc; typedef
Dpci200syn.c353 i = ramsize / (2 * (sizeof(pkt_desc) + HDLC_MAX_MRU)); in pci200_pci_init_one()
357 card->buff_offset = 2 * sizeof(pkt_desc) * (card->tx_ring_buffers + in pci200_pci_init_one()
Dn2.c427 i = card->ram_size / ((valid0 + valid1) * (sizeof(pkt_desc) + in n2_run()
433 card->buff_offset = (valid0 + valid1) * sizeof(pkt_desc) * in n2_run()
Dpc300too.c407 i = ramsize / (card->n_ports * (sizeof(pkt_desc) + HDLC_MAX_MRU)); in pc300_pci_init_one()
411 card->buff_offset = card->n_ports * sizeof(pkt_desc) * in pc300_pci_init_one()
Dhd64572.h189 }pkt_desc; typedef
Dc101.c49 (sizeof(pkt_desc) + HDLC_MAX_MRU) - TX_RING_BUFFERS)