Lines Matching refs:q_num
45 u16 q_num, in snic_wq_cmpl_handler_cont() argument
52 SNIC_BUG_ON(q_num != 0); in snic_wq_cmpl_handler_cont()
54 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont()
55 svnic_wq_service(&snic->wq[q_num], in snic_wq_cmpl_handler_cont()
60 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont()
128 snic_wqdesc_avail(struct snic *snic, int q_num, int req_type) in snic_wqdesc_avail() argument
132 if (q_num > 0) { in snic_wqdesc_avail()
138 SNIC_BUG_ON(q_num > 0); in snic_wqdesc_avail()
157 int q_num = 0; in snic_queue_wq_desc() local
171 q_num = snic_select_wq(snic); in snic_queue_wq_desc()
173 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_queue_wq_desc()
174 desc_avail = snic_wqdesc_avail(snic, q_num, req->hdr.type); in snic_queue_wq_desc()
178 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_queue_wq_desc()
185 snic_queue_wq_eth_desc(&snic->wq[q_num], os_buf, pa, len, 0, 0, 1); in snic_queue_wq_desc()
191 spin_unlock_irqrestore(&snic->wq_lock[q_num], flags); in snic_queue_wq_desc()