Lines Matching refs:queues
562 (unsigned int)(queue - bp->queues), in macb_tx_error_task()
662 u16 queue_index = queue - bp->queues; in macb_tx_interrupt()
1056 (unsigned int)(queue - bp->queues), in macb_interrupt()
1154 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) in macb_poll_controller()
1293 struct macb_queue *queue = &bp->queues[queue_index]; in macb_start_xmit()
1420 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in macb_free_consistent()
1468 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in macb_alloc_consistent()
1511 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in gem_init_rings()
1541 bp->queues[0].tx_ring[i].addr = 0; in macb_init_rings()
1542 bp->queues[0].tx_ring[i].ctrl = MACB_BIT(TX_USED); in macb_init_rings()
1544 bp->queues[0].tx_head = 0; in macb_init_rings()
1545 bp->queues[0].tx_tail = 0; in macb_init_rings()
1546 bp->queues[0].tx_ring[TX_RING_SIZE - 1].ctrl |= MACB_BIT(TX_WRAP); in macb_init_rings()
1570 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in macb_reset_hw()
1714 for (q = 0, queue = bp->queues; q < bp->num_queues; ++q, ++queue) { in macb_init_hw()
2108 tail = macb_tx_ring_wrap(bp->queues[0].tx_tail); in macb_get_regs()
2109 head = macb_tx_ring_wrap(bp->queues[0].tx_head); in macb_get_regs()
2122 regs_buff[10] = macb_tx_dma(&bp->queues[0], tail); in macb_get_regs()
2123 regs_buff[11] = macb_tx_dma(&bp->queues[0], head); in macb_get_regs()
2339 queue = &bp->queues[q]; in macb_init()