Searched refs:RX_DESC_RINGN_SIZE (Results 1 – 2 of 2) sorted by relevance
2554 #define RX_DESC_RINGN_SIZE(x) RX_DESC_RING_SIZE macro2868 #define RX_DESC_ENTRY(r, x) ((x) & (RX_DESC_RINGN_SIZE(r) - 1))2891 #define RX_AE_FREEN_VAL(x) (RX_DESC_RINGN_SIZE(x) >> 1)
1197 writel(RX_DESC_RINGN_SIZE(0) - 4, cp->regs + REG_RX_KICK); in cas_init_rx_dma()1208 writel(RX_DESC_RINGN_SIZE(1) - 4, cp->regs + in cas_init_rx_dma()1384 size = RX_DESC_RINGN_SIZE(0); in cas_clean_rxds()1392 cp->rx_old[0] = RX_DESC_RINGN_SIZE(0) - 4; in cas_clean_rxds()2436 cas_post_rxds_ringN(cp, 1, RX_DESC_RINGN_SIZE(1) - in cas_handle_irq1()2488 cas_post_rxds_ringN(cp, 0, RX_DESC_RINGN_SIZE(0) - in cas_handle_irq()3470 writel(RX_DESC_RINGN_SIZE(0) - 4, cp->regs + REG_RX_KICK); in cas_start_dma()3475 writel(RX_DESC_RINGN_SIZE(1) - 4, in cas_start_dma()3883 size = RX_DESC_RINGN_SIZE(ring); in cas_free_rx_desc()3923 size = RX_DESC_RINGN_SIZE(ring); in cas_alloc_rx_desc()