Lines Matching refs:MAX_QUEUE
1489 if (qidx >= MAX_QUEUE*2) qidx = 0;
1582 if ((i = i+2) >= MAX_QUEUE*2)
1698 for (i = 0; i < MAX_QUEUE*2; i += 2) {
1702 np->squeue[MAX_QUEUE*2-1] = cpu_to_scr(phys);
1713 for (i = 0; i < MAX_QUEUE*2; i += 2) {
1717 np->dqueue[MAX_QUEUE*2-1] = cpu_to_scr(phys);
2937 assert((i >= 0) && (i < 2*MAX_QUEUE));
2961 if ((j += 2) >= MAX_QUEUE*2) j = 0;
2963 if ((i += 2) >= MAX_QUEUE*2) i = 0;
5558 np->squeue = sym_calloc_dma(sizeof(u32)*(MAX_QUEUE*2),"SQUEUE");
5566 np->dqueue = sym_calloc_dma(sizeof(u32)*(MAX_QUEUE*2),"DQUEUE");
5745 sym_mfree_dma(np->squeue, sizeof(u32)*(MAX_QUEUE*2), "SQUEUE");
5747 sym_mfree_dma(np->dqueue, sizeof(u32)*(MAX_QUEUE*2), "DQUEUE");