Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/spi/
Dspi-fsl-cpm.c74 struct cpm_buf_desc __iomem *rx_bd = mspi->rx_bd; in fsl_spi_cpm_bufs_start() local
82 out_be32(&rx_bd->cbd_bufaddr, mspi->rx_dma); in fsl_spi_cpm_bufs_start()
84 out_be32(&rx_bd->cbd_bufaddr, mspi->rx_dma + xfer_ofs); in fsl_spi_cpm_bufs_start()
85 out_be16(&rx_bd->cbd_datlen, 0); in fsl_spi_cpm_bufs_start()
86 out_be16(&rx_bd->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT | BD_SC_WRAP); in fsl_spi_cpm_bufs_start()
185 in_be16(&mspi->rx_bd->cbd_datlen), mspi->count); in fsl_spi_cpm_irq()
187 len = in_be16(&mspi->rx_bd->cbd_datlen); in fsl_spi_cpm_irq()
330 sizeof(*mspi->rx_bd), 8); in fsl_spi_cpm_init()
351 mspi->rx_bd = cpm_muram_addr(bds_ofs + sizeof(*mspi->tx_bd)); in fsl_spi_cpm_init()
355 out_be16(&mspi->pram->rbase, cpm_muram_offset(mspi->rx_bd)); in fsl_spi_cpm_init()
Dspi-fsl-lib.h32 struct cpm_buf_desc __iomem *rx_bd; member
/linux-5.19.10/drivers/net/ethernet/xilinx/
Dll_temac_main.c968 int rx_bd; in ll_temac_recv() local
1028 rx_bd = lp->rx_bd_ci; in ll_temac_recv()
1031 } while (rx_bd != lp->rx_bd_tail); in ll_temac_recv()
1059 rx_bd = lp->rx_bd_tail + 1; in ll_temac_recv()
1060 if (rx_bd >= lp->rx_bd_num) in ll_temac_recv()
1061 rx_bd = 0; in ll_temac_recv()
1062 bd = &lp->rx_bd_v[rx_bd]; in ll_temac_recv()
1085 lp->rx_skb[rx_bd] = skb; in ll_temac_recv()
1087 lp->rx_bd_tail = rx_bd; in ll_temac_recv()
/linux-5.19.10/drivers/net/ethernet/aeroflex/
Dgreth.c235 struct greth_bd *rx_bd, *tx_bd; in greth_init_rings() local
239 rx_bd = greth->rx_bd_base; in greth_init_rings()
264 greth_write_bd(&rx_bd[i].addr, dma_addr); in greth_init_rings()
265 greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); in greth_init_rings()
291 greth_write_bd(&rx_bd[i].addr, dma_addr); in greth_init_rings()
292 greth_write_bd(&rx_bd[i].stat, GRETH_BD_EN | GRETH_BD_IE); in greth_init_rings()
318 greth_write_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat, in greth_init_rings()
319 greth_read_bd(&rx_bd[GRETH_RXBD_NUM - 1].stat) | GRETH_BD_WR); in greth_init_rings()
/linux-5.19.10/include/soc/fsl/qe/
Ducc_slow.h201 struct qe_bd __iomem *rx_bd; /* next BD to collect after Rx */ member
/linux-5.19.10/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.c833 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()
Dbnx2x_main.c1123 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()
/linux-5.19.10/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c30 struct eth_rx_bd *rx_bd; in qede_alloc_rx_buffer() local
63 rx_bd = (struct eth_rx_bd *)qed_chain_produce(&rxq->rx_bd_ring); in qede_alloc_rx_buffer()
64 WARN_ON(!rx_bd); in qede_alloc_rx_buffer()
65 rx_bd->addr.hi = cpu_to_le32(upper_32_bits(mapping)); in qede_alloc_rx_buffer()
66 rx_bd->addr.lo = cpu_to_le32(lower_32_bits(mapping) + in qede_alloc_rx_buffer()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h95 struct rx_bd { struct
625 #define RX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct rx_bd))
630 #define HW_RXBD_RING_SIZE (sizeof(struct rx_bd) * RX_DESC_CNT)
904 struct rx_bd *rx_desc_ring[MAX_RX_PAGES];
907 struct rx_bd *rx_agg_desc_ring[MAX_RX_AGG_PAGES];
Dbnxt.c772 struct rx_bd *rxbd = &rxr->rx_desc_ring[RX_RING(prod)][RX_IDX(prod)]; in bnxt_alloc_rx_data()
805 struct rx_bd *cons_bd, *prod_bd; in bnxt_reuse_rx_data()
835 struct rx_bd *rxbd = in bnxt_alloc_rx_page()
935 struct rx_bd *prod_bd; in bnxt_reuse_rx_agg_bufs()
1335 struct rx_bd *prod_bd; in bnxt_tpa_start()
3643 struct rx_bd **rx_buf_ring; in bnxt_init_rxbd_pages()
3645 rx_buf_ring = (struct rx_bd **)ring->ring_mem.pg_arr; in bnxt_init_rxbd_pages()
3648 struct rx_bd *rxbd; in bnxt_init_rxbd_pages()
/linux-5.19.10/drivers/soc/fsl/qe/
Ducc_slow.c235 bd = uccs->rx_bd = qe_muram_addr(uccs->rx_base_offset); in ucc_slow_init()
/linux-5.19.10/drivers/net/wireless/realtek/rtw89/
Dpci.c2759 struct rtw89_pci_rx_bd_32 *rx_bd; in rtw89_pci_init_rx_bd() local
2770 rx_bd = RTW89_PCI_RX_BD(rx_ring, idx); in rtw89_pci_init_rx_bd()
2772 memset(rx_bd, 0, sizeof(*rx_bd)); in rtw89_pci_init_rx_bd()
2773 rx_bd->buf_size = cpu_to_le16(buf_sz); in rtw89_pci_init_rx_bd()
2774 rx_bd->dma = cpu_to_le32(dma); in rtw89_pci_init_rx_bd()
/linux-5.19.10/drivers/tty/serial/
Ducc_uart.c1001 qe_port->rx_bd_base = uccs->rx_bd; in qe_uart_request_port()
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_hsi.h211 struct core_rx_bd rx_bd; member