Home
last modified time | relevance | path

Searched refs:tqp (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_trace.h78 __string(devname, ring->tqp->handle->kinfo.netdev->name)
82 __entry->index = ring->tqp->tqp_index;
88 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name);
110 __string(devname, ring->tqp->handle->kinfo.netdev->name)
114 __entry->index = ring->tqp->tqp_index;
121 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name);
A Dhns3_debugfs.c603 sprintf(result[j++], "%6u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
606 sprintf(result[j++], "%6u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
609 sprintf(result[j++], "%4u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
612 sprintf(result[j++], "%4u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
615 sprintf(result[j++], "%6u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
618 sprintf(result[j++], "%6u", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
622 sprintf(result[j++], "%7s", readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
631 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
633 base_add_l = readl_relaxed(ring->tqp->io_base + in hns3_dump_rx_queue_info()
734 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dump_tx_queue_info()
[all …]
A Dhns3_enet.c662 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_tqp_enable()
664 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_tqp_enable()
729 hns3_tqp_enable(h->kinfo.tqp[j]); in hns3_nic_net_up()
736 hns3_tqp_disable(h->kinfo.tqp[j]); in hns3_nic_net_up()
758 ring->tqp->tqp_index); in hns3_config_xps()
836 hns3_tqp_disable(h->kinfo.tqp[i]); in hns3_nic_net_down()
3516 writel(i, ring->tqp->io_base + in hns3_nic_alloc_rx_buffers()
4358 chain->tqp_index = rx_ring->tqp->tqp_index; in hns3_get_vector_ring_chain()
4690 ring->tqp = q; in hns3_ring_get_cfg()
4722 hns3_queue_to_ring(h->kinfo.tqp[i], priv); in hns3_get_ring_config()
[all …]
A Dhns3_enet.h459 struct hnae3_queue *tqp; member
A Dhnae3.h780 struct hnae3_queue **tqp; /* array base of all TQPs in this instance */ member
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_main.c115 tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); in hclgevf_tqps_update_stats()
157 tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); in hclgevf_tqps_get_stats()
161 tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); in hclgevf_tqps_get_stats()
182 struct hclgevf_tqp *tqp = container_of(kinfo->tqp[i], in hclgevf_tqps_get_strings() local
185 tqp->index); in hclgevf_tqps_get_strings()
190 struct hclgevf_tqp *tqp = container_of(kinfo->tqp[i], in hclgevf_tqps_get_strings() local
193 tqp->index); in hclgevf_tqps_get_strings()
412 tqp->index = i; in hclgevf_alloc_tqps()
433 tqp++; in hclgevf_alloc_tqps()
1312 tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); in hclgevf_reset_tqp_stats()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.c667 tqp = container_of(kinfo->tqp[i], struct hclge_tqp, q); in hclge_tqps_get_stats()
672 tqp = container_of(kinfo->tqp[i], struct hclge_tqp, q); in hclge_tqps_get_stats()
694 struct hclge_tqp *tqp = container_of(handle->kinfo.tqp[i], in hclge_tqps_get_strings() local
697 tqp->index); in hclge_tqps_get_strings()
702 struct hclge_tqp *tqp = container_of(kinfo->tqp[i], in hclge_tqps_get_strings() local
705 tqp->index); in hclge_tqps_get_strings()
1747 tqp = hdev->htqp; in hclge_alloc_tqps()
1751 tqp->index = i; in hclge_alloc_tqps()
1772 tqp++; in hclge_alloc_tqps()
1848 if (!kinfo->tqp) in hclge_knic_setup()
[all …]
A Dhclge_main.h1114 struct hclge_tqp *tqp = container_of(queue, struct hclge_tqp, q); in hclge_get_queue_id() local
1116 return tqp->index; in hclge_get_queue_id()
A Dhclge_mbx.c192 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
208 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
A Dhclge_tm.c900 struct hnae3_queue **tqp = kinfo->tqp; in hclge_vport_q_to_qs_map() local
906 struct hnae3_queue *q = tqp[tc_info->tqp_offset[i] + j]; in hclge_vport_q_to_qs_map()
/linux/drivers/net/usb/
A Dlan78xx.c3611 struct sk_buff_head *tqp = &dev->txq_pend; in lan78xx_tx_bh() local
3621 spin_lock_irqsave(&tqp->lock, flags); in lan78xx_tx_bh()
3622 skb_queue_walk(tqp, skb) { in lan78xx_tx_bh()
3624 if (!skb_queue_is_first(tqp, skb)) { in lan78xx_tx_bh()
3630 __skb_unlink(skb, tqp); in lan78xx_tx_bh()
3631 spin_unlock_irqrestore(&tqp->lock, flags); in lan78xx_tx_bh()
3640 spin_unlock_irqrestore(&tqp->lock, flags); in lan78xx_tx_bh()
3650 skb2 = skb_dequeue(tqp); in lan78xx_tx_bh()

Completed in 79 milliseconds