Searched refs:tqp (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_debugfs.c | 57 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 59 base_add_l = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 64 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 68 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 72 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 76 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 80 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 84 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 89 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 91 base_add_l = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() [all …]
|
D | hns3_trace.h | 78 __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);
|
D | hns3_enet.c | 326 static void hns3_tqp_enable(struct hnae3_queue *tqp) in hns3_tqp_enable() argument 330 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_tqp_enable() 332 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_tqp_enable() 335 static void hns3_tqp_disable(struct hnae3_queue *tqp) in hns3_tqp_disable() argument 339 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_tqp_disable() 341 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_tqp_disable() 397 hns3_tqp_enable(h->kinfo.tqp[j]); in hns3_nic_net_up() 404 hns3_tqp_disable(h->kinfo.tqp[j]); in hns3_nic_net_up() 426 ring->tqp->tqp_index); in hns3_config_xps() 499 hns3_tqp_disable(h->kinfo.tqp[i]); in hns3_nic_net_down() [all …]
|
D | hns3_enet.h | 383 struct hnae3_queue *tqp; member
|
D | hnae3.h | 681 struct hnae3_queue **tqp; /* array base of all TQPs in this instance */ member
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 106 struct hclgevf_tqp *tqp; in hclgevf_tqps_update_stats() local 111 tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); in hclgevf_tqps_update_stats() 116 desc.data[0] = cpu_to_le32(tqp->index & 0x1ff); in hclgevf_tqps_update_stats() 124 tqp->tqp_stats.rcb_rx_ring_pktnum_rcd += in hclgevf_tqps_update_stats() 130 desc.data[0] = cpu_to_le32(tqp->index & 0x1ff); in hclgevf_tqps_update_stats() 138 tqp->tqp_stats.rcb_tx_ring_pktnum_rcd += in hclgevf_tqps_update_stats() 148 struct hclgevf_tqp *tqp; in hclgevf_tqps_get_stats() local 153 tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); in hclgevf_tqps_get_stats() 154 *buff++ = tqp->tqp_stats.rcb_tx_ring_pktnum_rcd; in hclgevf_tqps_get_stats() 157 tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); in hclgevf_tqps_get_stats() [all …]
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 549 struct hclge_tqp *tqp; in hclge_tqps_update_stats() local 553 queue = handle->kinfo.tqp[i]; in hclge_tqps_update_stats() 554 tqp = container_of(queue, struct hclge_tqp, q); in hclge_tqps_update_stats() 559 desc[0].data[0] = cpu_to_le32((tqp->index & 0x1ff)); in hclge_tqps_update_stats() 567 tqp->tqp_stats.rcb_rx_ring_pktnum_rcd += in hclge_tqps_update_stats() 572 queue = handle->kinfo.tqp[i]; in hclge_tqps_update_stats() 573 tqp = container_of(queue, struct hclge_tqp, q); in hclge_tqps_update_stats() 579 desc[0].data[0] = cpu_to_le32((tqp->index & 0x1ff)); in hclge_tqps_update_stats() 587 tqp->tqp_stats.rcb_tx_ring_pktnum_rcd += in hclge_tqps_update_stats() 597 struct hclge_tqp *tqp; in hclge_tqps_get_stats() local [all …]
|
D | hclge_main.h | 959 struct hclge_tqp *tqp = container_of(queue, struct hclge_tqp, q); in hclge_get_queue_id() local 961 return tqp->index; in hclge_get_queue_id()
|
D | hclge_mbx.c | 172 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx() 188 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
|
D | hclge_tm.c | 802 struct hnae3_queue **tqp = kinfo->tqp; in hclge_vport_q_to_qs_map() local 810 struct hnae3_queue *q = tqp[v_tc_info->tqp_offset + j]; in hclge_vport_q_to_qs_map()
|
/Linux-v5.10/drivers/net/usb/ |
D | lan78xx.c | 3245 struct sk_buff_head *tqp = &dev->txq_pend; in lan78xx_tx_bh() local 3255 spin_lock_irqsave(&tqp->lock, flags); in lan78xx_tx_bh() 3256 skb_queue_walk(tqp, skb) { in lan78xx_tx_bh() 3258 if (!skb_queue_is_first(tqp, skb)) { in lan78xx_tx_bh() 3264 __skb_unlink(skb, tqp); in lan78xx_tx_bh() 3265 spin_unlock_irqrestore(&tqp->lock, flags); in lan78xx_tx_bh() 3274 spin_unlock_irqrestore(&tqp->lock, flags); in lan78xx_tx_bh() 3284 skb2 = skb_dequeue(tqp); in lan78xx_tx_bh()
|