Searched refs:rx_bd (Results 1 – 13 of 13) sorted by relevance
/drivers/spi/ |
D | spi-fsl-cpm.c | 75 struct cpm_buf_desc __iomem *rx_bd = mspi->rx_bd; in fsl_spi_cpm_bufs_start() local 83 out_be32(&rx_bd->cbd_bufaddr, mspi->rx_dma); in fsl_spi_cpm_bufs_start() 85 out_be32(&rx_bd->cbd_bufaddr, mspi->rx_dma + xfer_ofs); in fsl_spi_cpm_bufs_start() 86 out_be16(&rx_bd->cbd_datlen, 0); in fsl_spi_cpm_bufs_start() 87 out_be16(&rx_bd->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT | BD_SC_WRAP); in fsl_spi_cpm_bufs_start() 208 in_be16(&mspi->rx_bd->cbd_datlen), mspi->count); in fsl_spi_cpm_irq() 210 len = in_be16(&mspi->rx_bd->cbd_datlen); in fsl_spi_cpm_irq() 353 sizeof(*mspi->rx_bd), 8); in fsl_spi_cpm_init() 374 mspi->rx_bd = cpm_muram_addr(bds_ofs + sizeof(*mspi->tx_bd)); in fsl_spi_cpm_init() 378 out_be16(&mspi->pram->rbase, cpm_muram_offset(mspi->rx_bd)); in fsl_spi_cpm_init()
|
D | spi-fsl-lib.h | 32 struct cpm_buf_desc __iomem *rx_bd; member
|
/drivers/net/ethernet/xilinx/ |
D | ll_temac_main.c | 967 int rx_bd; in ll_temac_recv() local 1027 rx_bd = lp->rx_bd_ci; in ll_temac_recv() 1030 } while (rx_bd != lp->rx_bd_tail); in ll_temac_recv() 1058 rx_bd = lp->rx_bd_tail + 1; in ll_temac_recv() 1059 if (rx_bd >= lp->rx_bd_num) in ll_temac_recv() 1060 rx_bd = 0; in ll_temac_recv() 1061 bd = &lp->rx_bd_v[rx_bd]; in ll_temac_recv() 1084 lp->rx_skb[rx_bd] = skb; in ll_temac_recv() 1086 lp->rx_bd_tail = rx_bd; in ll_temac_recv()
|
/drivers/net/ethernet/aeroflex/ |
D | greth.c | 235 struct greth_bd *rx_bd, *tx_bd; in greth_init_rings() local 239 rx_bd = greth->rx_bd_base; in greth_init_rings() 265 greth_write_bd(&rx_bd[i].addr, dma_addr); in greth_init_rings() 266 greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); in greth_init_rings() 292 greth_write_bd(&rx_bd[i].addr, dma_addr); in greth_init_rings() 293 greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); in greth_init_rings() 319 greth_write_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat, in greth_init_rings() 320 greth_read_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat) | GRETH_BD_WR); in greth_init_rings()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.h | 1032 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()
|
D | bnx2x_cmn.c | 833 struct eth_rx_bd *rx_bd = &fp->rx_desc_ring[index]; in bnx2x_alloc_rx_data() local 852 rx_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); in bnx2x_alloc_rx_data() 853 rx_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); in bnx2x_alloc_rx_data()
|
D | bnx2x_main.c | 1123 u32 *rx_bd = (u32 *)&fp->rx_desc_ring[j]; in bnx2x_panic_dump() local 1127 i, j, rx_bd[1], rx_bd[0], sw_bd->data); in bnx2x_panic_dump()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.h | 91 struct rx_bd { struct 597 #define RX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct rx_bd)) 602 #define HW_RXBD_RING_SIZE (sizeof(struct rx_bd) * RX_DESC_CNT) 891 struct rx_bd *rx_desc_ring[MAX_RX_PAGES]; 894 struct rx_bd *rx_agg_desc_ring[MAX_RX_AGG_PAGES];
|
D | bnxt.c | 770 struct rx_bd *rxbd = &rxr->rx_desc_ring[RX_RING(prod)][RX_IDX(prod)]; in bnxt_alloc_rx_data() 802 struct rx_bd *cons_bd, *prod_bd; in bnxt_reuse_rx_data() 832 struct rx_bd *rxbd = in bnxt_alloc_rx_page() 924 struct rx_bd *prod_bd; in bnxt_reuse_rx_agg_bufs() 1250 struct rx_bd *prod_bd; in bnxt_tpa_start() 3291 struct rx_bd **rx_buf_ring; in bnxt_init_rxbd_pages() 3293 rx_buf_ring = (struct rx_bd **)ring->ring_mem.pg_arr; in bnxt_init_rxbd_pages() 3296 struct rx_bd *rxbd; in bnxt_init_rxbd_pages()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 29 struct eth_rx_bd *rx_bd; in qede_alloc_rx_buffer() local 62 rx_bd = (struct eth_rx_bd *)qed_chain_produce(&rxq->rx_bd_ring); in qede_alloc_rx_buffer() 63 WARN_ON(!rx_bd); in qede_alloc_rx_buffer() 64 rx_bd->addr.hi = cpu_to_le32(upper_32_bits(mapping)); in qede_alloc_rx_buffer() 65 rx_bd->addr.lo = cpu_to_le32(lower_32_bits(mapping) + in qede_alloc_rx_buffer()
|
/drivers/soc/fsl/qe/ |
D | ucc_slow.c | 235 bd = uccs->rx_bd = qe_muram_addr(uccs->rx_base_offset); in ucc_slow_init()
|
/drivers/tty/serial/ |
D | ucc_uart.c | 1001 qe_port->rx_bd_base = uccs->rx_bd; in qe_uart_request_port()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_hsi.h | 185 struct core_rx_bd rx_bd; member
|