Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-fsl-cpm.c78 struct cpm_buf_desc __iomem *rx_bd = mspi->rx_bd; in fsl_spi_cpm_bufs_start() local
86 out_be32(&rx_bd->cbd_bufaddr, mspi->rx_dma); in fsl_spi_cpm_bufs_start()
88 out_be32(&rx_bd->cbd_bufaddr, mspi->rx_dma + xfer_ofs); in fsl_spi_cpm_bufs_start()
89 out_be16(&rx_bd->cbd_datlen, 0); in fsl_spi_cpm_bufs_start()
90 out_be16(&rx_bd->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT | BD_SC_WRAP); in fsl_spi_cpm_bufs_start()
189 in_be16(&mspi->rx_bd->cbd_datlen), mspi->count); in fsl_spi_cpm_irq()
191 len = in_be16(&mspi->rx_bd->cbd_datlen); in fsl_spi_cpm_irq()
336 sizeof(*mspi->rx_bd), 8); in fsl_spi_cpm_init()
357 mspi->rx_bd = cpm_muram_addr(bds_ofs + sizeof(*mspi->tx_bd)); in fsl_spi_cpm_init()
361 out_be16(&mspi->pram->rbase, cpm_muram_offset(mspi->rx_bd)); in fsl_spi_cpm_init()
Dspi-fsl-lib.h39 struct cpm_buf_desc __iomem *rx_bd; member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h73 struct rx_bd { struct
424 #define RX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct rx_bd))
429 #define HW_RXBD_RING_SIZE (sizeof(struct rx_bd) * RX_DESC_CNT)
567 struct rx_bd *rx_desc_ring[MAX_RX_PAGES];
570 struct rx_bd *rx_agg_desc_ring[MAX_RX_AGG_PAGES];
Dbnxt.c515 struct rx_bd *rxbd = &rxr->rx_desc_ring[RX_RING(prod)][RX_IDX(prod)]; in bnxt_alloc_rx_data()
537 struct rx_bd *cons_bd, *prod_bd; in bnxt_reuse_rx_data()
567 struct rx_bd *rxbd = in bnxt_alloc_rx_page()
614 struct rx_bd *prod_bd; in bnxt_reuse_rx_agg_bufs()
793 struct rx_bd *prod_bd; in bnxt_tpa_start()
1935 struct rx_bd **rx_buf_ring; in bnxt_init_rxbd_pages()
1937 rx_buf_ring = (struct rx_bd **)ring->pg_arr; in bnxt_init_rxbd_pages()
1940 struct rx_bd *rxbd; in bnxt_init_rxbd_pages()
/drivers/net/ethernet/aeroflex/
Dgreth.c238 struct greth_bd *rx_bd, *tx_bd; in greth_init_rings() local
242 rx_bd = greth->rx_bd_base; in greth_init_rings()
267 greth_write_bd(&rx_bd[i].addr, dma_addr); in greth_init_rings()
268 greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); in greth_init_rings()
294 greth_write_bd(&rx_bd[i].addr, dma_addr); in greth_init_rings()
295 greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); in greth_init_rings()
321 greth_write_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat, in greth_init_rings()
322 greth_read_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat) | GRETH_BD_WR); in greth_init_rings()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h1032 struct eth_rx_bd *rx_bd; in bnx2x_set_next_page_rx_bd() local
1034 rx_bd = &fp->rx_desc_ring[RX_DESC_CNT * i - 2]; in bnx2x_set_next_page_rx_bd()
1035 rx_bd->addr_hi = in bnx2x_set_next_page_rx_bd()
1038 rx_bd->addr_lo = in bnx2x_set_next_page_rx_bd()
Dbnx2x_cmn.c840 struct eth_rx_bd *rx_bd = &fp->rx_desc_ring[index]; in bnx2x_alloc_rx_data() local
859 rx_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); in bnx2x_alloc_rx_data()
860 rx_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); in bnx2x_alloc_rx_data()
Dbnx2x_main.c1112 u32 *rx_bd = (u32 *)&fp->rx_desc_ring[j]; in bnx2x_panic_dump() local
1116 i, j, rx_bd[1], rx_bd[0], sw_bd->data); in bnx2x_panic_dump()
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c1606 struct eth_rx_bd *rx_bd; in qede_alloc_rx_buffer() local
1633 rx_bd = (struct eth_rx_bd *)qed_chain_produce(&rxq->rx_bd_ring); in qede_alloc_rx_buffer()
1634 WARN_ON(!rx_bd); in qede_alloc_rx_buffer()
1635 rx_bd->addr.hi = cpu_to_le32(upper_32_bits(mapping)); in qede_alloc_rx_buffer()
1636 rx_bd->addr.lo = cpu_to_le32(lower_32_bits(mapping)); in qede_alloc_rx_buffer()
/drivers/tty/serial/
Ducc_uart.c1009 qe_port->rx_bd_base = uccs->rx_bd; in qe_uart_request_port()