Lines Matching refs:nic_dev
102 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_alloc_skb() local
103 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_alloc_skb()
139 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_unmap_skb() local
140 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_unmap_skb()
169 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_alloc_pkts() local
181 if (free_wqebbs > nic_dev->rx_weight) in rx_alloc_pkts()
182 free_wqebbs = nic_dev->rx_weight; in rx_alloc_pkts()
383 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_add_napi() local
385 netif_napi_add(rxq->netdev, &rxq->napi, rx_poll, nic_dev->rx_weight); in rx_add_napi()
399 struct hinic_dev *nic_dev; in rx_irq() local
404 nic_dev = netdev_priv(rxq->netdev); in rx_irq()
405 hinic_hwdev_msix_cnt_set(nic_dev->hwdev, rq->msix_entry); in rx_irq()
413 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_request_irq() local
414 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_request_irq()