Lines Matching refs:rx_scrq
200 rxqs = adapter->rx_scrq; in ibmvnic_clean_affinity()
253 struct ibmvnic_sub_crq_queue **rxqs = adapter->rx_scrq; in ibmvnic_set_affinity()
264 if (!(adapter->rx_scrq && adapter->tx_scrq)) { in ibmvnic_set_affinity()
759 u64 handle = adapter->rx_scrq[pool->index]->handle; in replenish_rx_pool()
762 struct ibmvnic_sub_crq_queue *rx_scrq; in replenish_rx_pool() local
778 rx_scrq = adapter->rx_scrq[pool->index]; in replenish_rx_pool()
779 ind_bufp = &rx_scrq->ind_buf; in replenish_rx_pool()
1880 enable_irq(adapter->rx_scrq[i]->irq); in __ibmvnic_open()
1881 enable_scrq_irq(adapter, adapter->rx_scrq[i]); in __ibmvnic_open()
2072 if (adapter->rx_scrq) { in ibmvnic_disable_irqs()
2074 if (adapter->rx_scrq[i]->irq) { in ibmvnic_disable_irqs()
2077 disable_scrq_irq(adapter, adapter->rx_scrq[i]); in ibmvnic_disable_irqs()
2078 disable_irq(adapter->rx_scrq[i]->irq); in ibmvnic_disable_irqs()
3483 struct ibmvnic_sub_crq_queue *rx_scrq; in ibmvnic_poll() local
3493 rx_scrq = adapter->rx_scrq[scrq_num]; in ibmvnic_poll()
3506 enable_scrq_irq(adapter, rx_scrq); in ibmvnic_poll()
3511 if (!pending_scrq(adapter, rx_scrq)) in ibmvnic_poll()
3513 next = ibmvnic_next_scrq(adapter, rx_scrq); in ibmvnic_poll()
3577 enable_scrq_irq(adapter, rx_scrq); in ibmvnic_poll()
3578 if (pending_scrq(adapter, rx_scrq)) { in ibmvnic_poll()
3580 disable_scrq_irq(adapter, rx_scrq); in ibmvnic_poll()
3943 if (!adapter->tx_scrq || !adapter->rx_scrq) in reset_sub_crq_queues()
3957 rc = reset_one_sub_crq_queue(adapter, adapter->rx_scrq[i]); in reset_sub_crq_queues()
4116 if (adapter->rx_scrq) { in release_sub_crqs()
4118 if (!adapter->rx_scrq[i]) in release_sub_crqs()
4123 if (adapter->rx_scrq[i]->irq) { in release_sub_crqs()
4124 free_irq(adapter->rx_scrq[i]->irq, in release_sub_crqs()
4125 adapter->rx_scrq[i]); in release_sub_crqs()
4126 irq_dispose_mapping(adapter->rx_scrq[i]->irq); in release_sub_crqs()
4127 adapter->rx_scrq[i]->irq = 0; in release_sub_crqs()
4130 release_sub_crq_queue(adapter, adapter->rx_scrq[i], in release_sub_crqs()
4134 kfree(adapter->rx_scrq); in release_sub_crqs()
4135 adapter->rx_scrq = NULL; in release_sub_crqs()
4349 scrq = adapter->rx_scrq[i]; in init_sub_crq_irqs()
4376 free_irq(adapter->rx_scrq[j]->irq, adapter->rx_scrq[j]); in init_sub_crq_irqs()
4377 irq_dispose_mapping(adapter->rx_scrq[j]->irq); in init_sub_crq_irqs()
4450 adapter->rx_scrq = kcalloc(adapter->req_rx_queues, in init_sub_crqs()
4451 sizeof(*adapter->rx_scrq), GFP_KERNEL); in init_sub_crqs()
4452 if (!adapter->rx_scrq) in init_sub_crqs()
4456 adapter->rx_scrq[i] = allqueues[i + adapter->req_tx_queues]; in init_sub_crqs()
4457 adapter->rx_scrq[i]->scrq_num = i; in init_sub_crqs()
4847 if (!adapter->tx_scrq || !adapter->rx_scrq) { in send_login()
4924 if (adapter->rx_scrq[i]) { in send_login()
4926 cpu_to_be64(adapter->rx_scrq[i]->crq_num); in send_login()
5609 adapter->rx_scrq[i]->handle = rx_handle_array[i]; in handle_login_rsp()