Home
last modified time | relevance | path

Searched refs:rx_bd (Results 1 – 11 of 11) sorted by relevance

/linux-2.6.39/drivers/spi/
Dspi_fsl_spi.c299 struct cpm_buf_desc __iomem *rx_bd = mspi->rx_bd; in fsl_spi_cpm_bufs_start() local
307 out_be32(&rx_bd->cbd_bufaddr, mspi->rx_dma); in fsl_spi_cpm_bufs_start()
309 out_be32(&rx_bd->cbd_bufaddr, mspi->rx_dma + xfer_ofs); in fsl_spi_cpm_bufs_start()
310 out_be16(&rx_bd->cbd_datlen, 0); in fsl_spi_cpm_bufs_start()
311 out_be16(&rx_bd->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT | BD_SC_WRAP); in fsl_spi_cpm_bufs_start()
575 in_be16(&mspi->rx_bd->cbd_datlen), mspi->count); in fsl_spi_cpm_irq()
577 len = in_be16(&mspi->rx_bd->cbd_datlen); in fsl_spi_cpm_irq()
775 sizeof(*mspi->rx_bd), 8); in fsl_spi_cpm_init()
798 mspi->rx_bd = cpm_muram_addr(bds_ofs + sizeof(*mspi->tx_bd)); in fsl_spi_cpm_init()
802 out_be16(&mspi->pram->rbase, cpm_muram_offset(mspi->rx_bd)); in fsl_spi_cpm_init()
Dspi_fsl_lib.h38 struct cpm_buf_desc __iomem *rx_bd; member
/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_cmn.h831 struct eth_rx_bd *rx_bd = &fp->rx_desc_ring[index]; in bnx2x_alloc_rx_skb() local
848 rx_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); in bnx2x_alloc_rx_skb()
849 rx_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); in bnx2x_alloc_rx_skb()
948 struct eth_rx_bd *rx_bd; in bnx2x_set_next_page_rx_bd() local
950 rx_bd = &fp->rx_desc_ring[RX_DESC_CNT * i - 2]; in bnx2x_set_next_page_rx_bd()
951 rx_bd->addr_hi = in bnx2x_set_next_page_rx_bd()
954 rx_bd->addr_lo = in bnx2x_set_next_page_rx_bd()
Dbnx2x_main.c1040 u32 *rx_bd = (u32 *)&fp->rx_desc_ring[j]; in bnx2x_panic_dump() local
1044 i, j, rx_bd[1], rx_bd[0], sw_bd->skb); in bnx2x_panic_dump()
/linux-2.6.39/drivers/net/
Dgreth.c232 struct greth_bd *rx_bd, *tx_bd; in greth_init_rings() local
236 rx_bd = greth->rx_bd_base; in greth_init_rings()
261 greth_write_bd(&rx_bd[i].addr, dma_addr); in greth_init_rings()
262 greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); in greth_init_rings()
288 greth_write_bd(&rx_bd[i].addr, dma_addr); in greth_init_rings()
289 greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); in greth_init_rings()
315 greth_write_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat, in greth_init_rings()
316 greth_read_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat) | GRETH_BD_WR); in greth_init_rings()
Dbnx2.h51 struct rx_bd { struct
6511 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct rx_bd))
6586 #define RXBD_RING_SIZE (sizeof(struct rx_bd) * RX_DESC_CNT)
6691 struct rx_bd *rx_desc_ring[MAX_RX_RINGS];
6693 struct rx_bd *rx_pg_desc_ring[MAX_RX_PG_RINGS];
Dbnx2.c2650 struct rx_bd *rxbd = in bnx2_alloc_rx_page()
2692 struct rx_bd *rxbd = &rxr->rx_desc_ring[RX_RING(index)][RX_IDX(index)]; in bnx2_alloc_rx_skb()
2866 struct rx_bd *cons_bd, *prod_bd; in bnx2_reuse_rx_skb_pages()
2922 struct rx_bd *cons_bd, *prod_bd; in bnx2_reuse_rx_skb()
5077 bnx2_init_rxbd_rings(struct rx_bd *rx_ring[], dma_addr_t dma[], u32 buf_size, in bnx2_init_rxbd_rings()
5081 struct rx_bd *rxbd; in bnx2_init_rxbd_rings()
Dcnic.c4292 struct rx_bd *rxbd; in cnic_init_bnx2_rx_ring()
4328 rxbd = (struct rx_bd *) (udev->l2_ring + BCM_PAGE_SIZE); in cnic_init_bnx2_rx_ring()
/linux-2.6.39/arch/powerpc/include/asm/
Ducc_slow.h205 struct qe_bd *rx_bd; /* next BD to collect after Rx */ member
/linux-2.6.39/arch/powerpc/sysdev/qe_lib/
Ducc_slow.c251 bd = uccs->rx_bd = qe_muram_addr(uccs->rx_base_offset); in ucc_slow_init()
/linux-2.6.39/drivers/tty/serial/
Ducc_uart.c1012 qe_port->rx_bd_base = uccs->rx_bd; in qe_uart_request_port()