Searched refs:pkt_desc (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/drivers/net/wan/ |
D | hd64570.c | 110 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 …]
|
D | hd64572.c | 93 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()
|
D | hd64570.h | 156 }__packed pkt_desc; typedef
|
D | pci200syn.c | 353 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()
|
D | n2.c | 427 i = card->ram_size / ((valid0 + valid1) * (sizeof(pkt_desc) + in n2_run() 433 card->buff_offset = (valid0 + valid1) * sizeof(pkt_desc) * in n2_run()
|
D | pc300too.c | 407 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()
|
D | hd64572.h | 189 }pkt_desc; typedef
|
D | c101.c | 49 (sizeof(pkt_desc) + HDLC_MAX_MRU) - TX_RING_BUFFERS)
|