DESC_NUM 614 drivers/net/ethernet/socionext/netsec.c if (idx == DESC_NUM - 1) DESC_NUM 642 drivers/net/ethernet/socionext/netsec.c cnt < DESC_NUM) { DESC_NUM 677 drivers/net/ethernet/socionext/netsec.c dring->tail = (tail + 1) % DESC_NUM; DESC_NUM 752 drivers/net/ethernet/socionext/netsec.c if (idx >= DESC_NUM) DESC_NUM 793 drivers/net/ethernet/socionext/netsec.c if (idx == DESC_NUM - 1) DESC_NUM 809 drivers/net/ethernet/socionext/netsec.c dring->head = (dring->head + 1) % DESC_NUM; DESC_NUM 827 drivers/net/ethernet/socionext/netsec.c filled = tx_ring->head + DESC_NUM - tx_ring->tail; DESC_NUM 829 drivers/net/ethernet/socionext/netsec.c if (DESC_NUM - filled <= 1) DESC_NUM 973 drivers/net/ethernet/socionext/netsec.c dring->tail = (dring->tail + 1) % DESC_NUM; DESC_NUM 1044 drivers/net/ethernet/socionext/netsec.c dring->tail = (dring->tail + 1) % DESC_NUM; DESC_NUM 1083 drivers/net/ethernet/socionext/netsec.c used = dring->head + DESC_NUM - dring->tail; DESC_NUM 1093 drivers/net/ethernet/socionext/netsec.c if (DESC_NUM - used < 2) { DESC_NUM 1102 drivers/net/ethernet/socionext/netsec.c if (DESC_NUM - used < 2) DESC_NUM 1186 drivers/net/ethernet/socionext/netsec.c for (idx = 0; idx < DESC_NUM; idx++) { DESC_NUM 1209 drivers/net/ethernet/socionext/netsec.c memset(dring->desc, 0, sizeof(struct netsec_desc) * DESC_NUM); DESC_NUM 1210 drivers/net/ethernet/socionext/netsec.c memset(dring->vaddr, 0, DESC_SZ * DESC_NUM); DESC_NUM 1224 drivers/net/ethernet/socionext/netsec.c dma_free_coherent(priv->dev, DESC_SZ * DESC_NUM, DESC_NUM 1237 drivers/net/ethernet/socionext/netsec.c dring->vaddr = dma_alloc_coherent(priv->dev, DESC_SZ * DESC_NUM, DESC_NUM 1242 drivers/net/ethernet/socionext/netsec.c dring->desc = kcalloc(DESC_NUM, sizeof(*dring->desc), GFP_KERNEL); DESC_NUM 1258 drivers/net/ethernet/socionext/netsec.c for (i = 0; i < DESC_NUM; i++) { DESC_NUM 1280 drivers/net/ethernet/socionext/netsec.c pp_params.pool_size = DESC_NUM; DESC_NUM 1301 drivers/net/ethernet/socionext/netsec.c for (i = 0; i < DESC_NUM; i++) { DESC_NUM 1318 drivers/net/ethernet/socionext/netsec.c netsec_rx_fill(priv, 0, DESC_NUM); DESC_NUM 1685 drivers/net/ethernet/socionext/netsec.c BUILD_BUG_ON_NOT_POWER_OF_2(DESC_NUM);