Home
last modified time | relevance | path

Searched refs:ring_no (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1711 static int mtk_rx_alloc(struct mtk_eth *eth, int ring_no, int rx_flag) in mtk_rx_alloc() argument
1719 if (ring_no) in mtk_rx_alloc()
1724 ring = &eth->rx_ring[ring_no]; in mtk_rx_alloc()
1774 ring->crx_idx_reg = MTK_PRX_CRX_IDX_CFG(ring_no); in mtk_rx_alloc()
1780 mtk_w32(eth, ring->phys, MTK_PRX_BASE_PTR_CFG(ring_no) + offset); in mtk_rx_alloc()
1781 mtk_w32(eth, rx_dma_size, MTK_PRX_MAX_CNT_CFG(ring_no) + offset); in mtk_rx_alloc()
1783 mtk_w32(eth, MTK_PST_DRX_IDX_CFG(ring_no), MTK_PDMA_RST_IDX + offset); in mtk_rx_alloc()
/drivers/net/ethernet/neterion/
Ds2io.c728 ring->ring_no = i; in init_shared_mem()
2660 static void free_rxd_blk(struct s2io_nic *sp, int ring_no, int blk) in free_rxd_blk() argument
2673 rxdp = mac_control->rings[ring_no]. in free_rxd_blk()
2702 mac_control->rings[ring_no].rx_bufs_left -= 1; in free_rxd_blk()
2781 addr += 7 - ring->ring_no; in s2io_poll_msix()
2782 val8 = (ring->ring_no == 0) ? 0x3f : 0xbf; in s2io_poll_msix()
4218 addr += (7 - ring->ring_no); in s2io_msix_ring_handle()
4219 val8 = (ring->ring_no == 0) ? 0x7f : 0xff; in s2io_msix_ring_handle()
7288 int ring_no = ring_data->ring_no; in rx_osm_handler() local
7446 skb_record_rx_queue(skb, ring_no); in rx_osm_handler()
[all …]
Ds2io.h694 int ring_no; member
/drivers/scsi/lpfc/
Dlpfc_hw.h2507 uint32_t ring_no; member