Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/spi/
Dspi-fsl-spi.c301 struct cpm_buf_desc __iomem *rx_bd = mspi->rx_bd; in fsl_spi_cpm_bufs_start() local
309 out_be32(&rx_bd->cbd_bufaddr, mspi->rx_dma); in fsl_spi_cpm_bufs_start()
311 out_be32(&rx_bd->cbd_bufaddr, mspi->rx_dma + xfer_ofs); in fsl_spi_cpm_bufs_start()
312 out_be16(&rx_bd->cbd_datlen, 0); in fsl_spi_cpm_bufs_start()
313 out_be16(&rx_bd->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT | BD_SC_WRAP); in fsl_spi_cpm_bufs_start()
577 in_be16(&mspi->rx_bd->cbd_datlen), mspi->count); in fsl_spi_cpm_irq()
579 len = in_be16(&mspi->rx_bd->cbd_datlen); in fsl_spi_cpm_irq()
771 sizeof(*mspi->rx_bd), 8); in fsl_spi_cpm_init()
794 mspi->rx_bd = cpm_muram_addr(bds_ofs + sizeof(*mspi->tx_bd)); in fsl_spi_cpm_init()
798 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-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h921 struct eth_rx_bd *rx_bd = &fp->rx_desc_ring[index]; in bnx2x_alloc_rx_data() local
940 rx_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); in bnx2x_alloc_rx_data()
941 rx_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); in bnx2x_alloc_rx_data()
1095 struct eth_rx_bd *rx_bd; in bnx2x_set_next_page_rx_bd() local
1097 rx_bd = &fp->rx_desc_ring[RX_DESC_CNT * i - 2]; in bnx2x_set_next_page_rx_bd()
1098 rx_bd->addr_hi = in bnx2x_set_next_page_rx_bd()
1101 rx_bd->addr_lo = in bnx2x_set_next_page_rx_bd()
Dbnx2x_main.c928 u32 *rx_bd = (u32 *)&fp->rx_desc_ring[j]; in bnx2x_panic_dump() local
932 i, j, rx_bd[1], rx_bd[0], sw_bd->data); in bnx2x_panic_dump()
/linux-3.4.99/drivers/net/ethernet/aeroflex/
Dgreth.c233 struct greth_bd *rx_bd, *tx_bd; in greth_init_rings() local
237 rx_bd = greth->rx_bd_base; in greth_init_rings()
262 greth_write_bd(&rx_bd[i].addr, dma_addr); in greth_init_rings()
263 greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); in greth_init_rings()
289 greth_write_bd(&rx_bd[i].addr, dma_addr); in greth_init_rings()
290 greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); in greth_init_rings()
316 greth_write_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat, in greth_init_rings()
317 greth_read_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat) | GRETH_BD_WR); in greth_init_rings()
/linux-3.4.99/arch/powerpc/include/asm/
Ducc_slow.h205 struct qe_bd *rx_bd; /* next BD to collect after Rx */ member
/linux-3.4.99/arch/powerpc/sysdev/qe_lib/
Ducc_slow.c251 bd = uccs->rx_bd = qe_muram_addr(uccs->rx_base_offset); in ucc_slow_init()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dbnx2.h51 struct rx_bd { struct
6511 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct rx_bd))
6599 #define RXBD_RING_SIZE (sizeof(struct rx_bd) * RX_DESC_CNT)
6704 struct rx_bd *rx_desc_ring[MAX_RX_RINGS];
6706 struct rx_bd *rx_pg_desc_ring[MAX_RX_PG_RINGS];
Dbnx2.c2689 struct rx_bd *rxbd = in bnx2_alloc_rx_page()
2731 struct rx_bd *rxbd = &rxr->rx_desc_ring[RX_RING(index)][RX_IDX(index)]; in bnx2_alloc_rx_data()
2904 struct rx_bd *cons_bd, *prod_bd; in bnx2_reuse_rx_skb_pages()
2960 struct rx_bd *cons_bd, *prod_bd; in bnx2_reuse_rx_data()
5141 bnx2_init_rxbd_rings(struct rx_bd *rx_ring[], dma_addr_t dma[], u32 buf_size, in bnx2_init_rxbd_rings()
5145 struct rx_bd *rxbd; in bnx2_init_rxbd_rings()
Dcnic.c4498 struct rx_bd *rxbd; in cnic_init_bnx2_rx_ring()
/linux-3.4.99/drivers/tty/serial/
Ducc_uart.c1017 qe_port->rx_bd_base = uccs->rx_bd; in qe_uart_request_port()