Home
last modified time | relevance | path

Searched refs:MSK_RX_RING_CNT (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/MarvellYukonDxe/
Dif_mskreg.h2254 #define MSK_RX_RING_CNT 512 macro
2256 #define MSK_JUMBO_RX_RING_CNT MSK_RX_RING_CNT
2333 struct msk_rxdesc msk_rxdesc[MSK_RX_RING_CNT];
2362 #define MSK_RX_RING_SZ (sizeof (struct msk_rx_desc) * MSK_RX_RING_CNT)
2369 #define MSK_RX_BUF_CNT (MSK_RX_RING_CNT / 2)
2373 #define MSK_RX_BUF_CNT MSK_RX_RING_CNT
2381 #define MSK_PROC_DEFAULT (MSK_RX_RING_CNT / 2)
2383 #define MSK_PROC_MAX (MSK_RX_RING_CNT - 1)
Dif_msk.c525 for (i = prod = 0; i < MSK_RX_RING_CNT; i++) { in msk_init_rx_ring()
529 MSK_INC (prod, MSK_RX_RING_CNT); in msk_init_rx_ring()
539 MSK_RX_INC(prod, MSK_RX_RING_CNT); in msk_init_rx_ring()
543 sc_if->msk_cdata.msk_rx_prod = MSK_RX_RING_CNT - 1; in msk_init_rx_ring()
591 MSK_INC(idx, MSK_RX_RING_CNT); in msk_discard_rxbuf()
637 MSK_INC(idx, MSK_RX_RING_CNT); in msk_newbuf()
1623 for (i = 0; i < MSK_RX_RING_CNT; i++) { in msk_txrx_dma_alloc()
1675 for (i = 0; i < MSK_RX_RING_CNT; i++) { in msk_txrx_dma_free()
1958 rxd = &sc_if->msk_cdata.msk_rxdesc[(cons + 1) % MSK_RX_RING_CNT]; in msk_rxeof()
2001 MSK_RX_INC (sc_if->msk_cdata.msk_rx_cons, MSK_RX_RING_CNT); in msk_rxeof()
[all …]