Lines Matching refs:rx_scrq
199 rxqs = adapter->rx_scrq; in ibmvnic_clean_affinity()
252 struct ibmvnic_sub_crq_queue **rxqs = adapter->rx_scrq; in ibmvnic_set_affinity()
263 if (!(adapter->rx_scrq && adapter->tx_scrq)) { in ibmvnic_set_affinity()
758 u64 handle = adapter->rx_scrq[pool->index]->handle; in replenish_rx_pool()
761 struct ibmvnic_sub_crq_queue *rx_scrq; in replenish_rx_pool() local
777 rx_scrq = adapter->rx_scrq[pool->index]; in replenish_rx_pool()
778 ind_bufp = &rx_scrq->ind_buf; in replenish_rx_pool()
1879 enable_irq(adapter->rx_scrq[i]->irq); in __ibmvnic_open()
1880 enable_scrq_irq(adapter, adapter->rx_scrq[i]); in __ibmvnic_open()
2071 if (adapter->rx_scrq) { in ibmvnic_disable_irqs()
2073 if (adapter->rx_scrq[i]->irq) { in ibmvnic_disable_irqs()
2076 disable_scrq_irq(adapter, adapter->rx_scrq[i]); in ibmvnic_disable_irqs()
2077 disable_irq(adapter->rx_scrq[i]->irq); in ibmvnic_disable_irqs()
3425 struct ibmvnic_sub_crq_queue *rx_scrq; in ibmvnic_poll() local
3435 rx_scrq = adapter->rx_scrq[scrq_num]; in ibmvnic_poll()
3448 enable_scrq_irq(adapter, rx_scrq); in ibmvnic_poll()
3453 if (!pending_scrq(adapter, rx_scrq)) in ibmvnic_poll()
3455 next = ibmvnic_next_scrq(adapter, rx_scrq); in ibmvnic_poll()
3520 enable_scrq_irq(adapter, rx_scrq); in ibmvnic_poll()
3521 if (pending_scrq(adapter, rx_scrq)) { in ibmvnic_poll()
3523 disable_scrq_irq(adapter, rx_scrq); in ibmvnic_poll()
3893 if (!adapter->tx_scrq || !adapter->rx_scrq) in reset_sub_crq_queues()
3907 rc = reset_one_sub_crq_queue(adapter, adapter->rx_scrq[i]); in reset_sub_crq_queues()
4060 if (adapter->rx_scrq) { in release_sub_crqs()
4062 if (!adapter->rx_scrq[i]) in release_sub_crqs()
4067 if (adapter->rx_scrq[i]->irq) { in release_sub_crqs()
4068 free_irq(adapter->rx_scrq[i]->irq, in release_sub_crqs()
4069 adapter->rx_scrq[i]); in release_sub_crqs()
4070 irq_dispose_mapping(adapter->rx_scrq[i]->irq); in release_sub_crqs()
4071 adapter->rx_scrq[i]->irq = 0; in release_sub_crqs()
4074 release_sub_crq_queue(adapter, adapter->rx_scrq[i], in release_sub_crqs()
4078 kfree(adapter->rx_scrq); in release_sub_crqs()
4079 adapter->rx_scrq = NULL; in release_sub_crqs()
4295 scrq = adapter->rx_scrq[i]; in init_sub_crq_irqs()
4322 free_irq(adapter->rx_scrq[j]->irq, adapter->rx_scrq[j]); in init_sub_crq_irqs()
4323 irq_dispose_mapping(adapter->rx_scrq[j]->irq); in init_sub_crq_irqs()
4396 adapter->rx_scrq = kcalloc(adapter->req_rx_queues, in init_sub_crqs()
4397 sizeof(*adapter->rx_scrq), GFP_KERNEL); in init_sub_crqs()
4398 if (!adapter->rx_scrq) in init_sub_crqs()
4402 adapter->rx_scrq[i] = allqueues[i + adapter->req_tx_queues]; in init_sub_crqs()
4403 adapter->rx_scrq[i]->scrq_num = i; in init_sub_crqs()
4793 if (!adapter->tx_scrq || !adapter->rx_scrq) { in send_login()
4870 if (adapter->rx_scrq[i]) { in send_login()
4872 cpu_to_be64(adapter->rx_scrq[i]->crq_num); in send_login()
5554 adapter->rx_scrq[i]->handle = rx_handle_array[i]; in handle_login_rsp()