Lines Matching refs:NUM_IR_DESC
158 for (i=0; i<NUM_IR_DESC; i++) { in setup_hw_rings()
162 for (i=0; i<NUM_IR_DESC; i++) { in setup_hw_rings()
265 (void *)dma_alloc(MAX_BUF_SIZE * 2*NUM_IR_DESC, &temp); in au1k_irda_net_init()
275 for (i=0; i<(2*NUM_IR_DESC); i++) { in au1k_irda_net_init()
286 for (i=0; i<NUM_IR_DESC; i++) { in au1k_irda_net_init()
295 for (i=0; i<NUM_IR_DESC; i++) { in au1k_irda_net_init()
320 MAX_BUF_SIZE * 2*NUM_IR_DESC); in au1k_irda_net_init()
351 for (i=0; i<NUM_IR_DESC; i++) { in au1k_init()
454 MAX_BUF_SIZE * 2*NUM_IR_DESC); in au1k_irda_exit()
498 aup->tx_tail = (aup->tx_tail + 1) & (NUM_IR_DESC - 1); in au1k_tx_ack()
560 else if (((aup->tx_head + 1) & (NUM_IR_DESC - 1)) == aup->tx_tail) { in au1k_irda_hard_xmit()
599 aup->tx_head = (aup->tx_head + 1) & (NUM_IR_DESC - 1); in au1k_irda_hard_xmit()
665 aup->rx_head = (aup->rx_head + 1) & (NUM_IR_DESC - 1); in au1k_irda_rx()
758 for (i=0; i<NUM_IR_DESC; i++) { in au1k_irda_set_speed()
765 for (i=0; i<NUM_IR_DESC; i++) { in au1k_irda_set_speed()