Lines Matching refs:handle

67 		       HNSV2_TXD_PORTID_S, ring->q->handle->dport_id);  in fill_v2_desc_hw()
741 bool coal_enable = ring->q->handle->coal_adapt_en; in hns_coal_rx_bdnum()
752 bool coal_enable = ring->q->handle->coal_adapt_en; in hns_update_rx_rate()
802 struct hnae_handle *handle = ring->q->handle; in hns_nic_adpt_coalesce() local
813 new_coal_param == handle->coal_param) in hns_nic_adpt_coalesce()
827 if (new_coal_param == handle->coal_param) { in hns_nic_adpt_coalesce()
828 handle->coal_last_jiffies = jiffies; in hns_nic_adpt_coalesce()
829 handle->coal_ring_idx = ring_data->queue_index; in hns_nic_adpt_coalesce()
830 } else if (new_coal_param > handle->coal_param || in hns_nic_adpt_coalesce()
831 handle->coal_ring_idx == ring_data->queue_index || in hns_nic_adpt_coalesce()
832 time_after(jiffies, handle->coal_last_jiffies + (HZ >> 4))) { in hns_nic_adpt_coalesce()
833 handle->dev->ops->set_coalesce_usecs(handle, in hns_nic_adpt_coalesce()
835 handle->dev->ops->set_coalesce_frames(handle, in hns_nic_adpt_coalesce()
837 handle->coal_param = new_coal_param; in hns_nic_adpt_coalesce()
838 handle->coal_ring_idx = ring_data->queue_index; in hns_nic_adpt_coalesce()
839 handle->coal_last_jiffies = jiffies; in hns_nic_adpt_coalesce()
904 ring_data->ring->q->handle->dev->ops->toggle_ring_irq(ring, 0); in hns_nic_rx_fini_pro()
908 if (ring->q->handle->coal_adapt_en) in hns_nic_rx_fini_pro()
913 ring_data->ring->q->handle->dev->ops->toggle_ring_irq( in hns_nic_rx_fini_pro()
931 if (ring->q->handle->coal_adapt_en) in hns_nic_rx_fini_pro_v2()
1031 ring_data->ring->q->handle->dev->ops->toggle_ring_irq(ring, 0); in hns_nic_tx_fini_pro()
1036 ring_data->ring->q->handle->dev->ops->toggle_ring_irq( in hns_nic_tx_fini_pro()
1088 ring->q->handle->dev->ops->toggle_ring_irq(ring, 0); in hns_nic_common_poll()
1101 ring_data->ring->q->handle->dev->ops->toggle_ring_irq( in hns_irq_handle()
1433 struct hnae_handle *handle = priv->ae_handle; in hns_nic_net_reset() local
1438 (void)hnae_reinit_handle(handle); in hns_nic_net_reset()