Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.c57 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 …]
H 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);
H A Dhns3_enet.c327 static void hns3_tqp_enable(struct hnae3_queue *tqp) in hns3_tqp_enable() argument
331 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_tqp_enable()
333 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_tqp_enable()
336 static void hns3_tqp_disable(struct hnae3_queue *tqp) in hns3_tqp_disable() argument
340 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_tqp_disable()
342 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_tqp_disable()
398 hns3_tqp_enable(h->kinfo.tqp[j]); in hns3_nic_net_up()
405 hns3_tqp_disable(h->kinfo.tqp[j]); in hns3_nic_net_up()
427 ring->tqp->tqp_index); in hns3_config_xps()
505 hns3_tqp_disable(h->kinfo.tqp[i]); in hns3_nic_net_down()
[all …]
H A Dhns3_enet.h384 struct hnae3_queue *tqp; member
H A Dhnae3.h681 struct hnae3_queue **tqp; /* array base of all TQPs in this instance */ member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c106 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c549 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 …]
H A Dhclge_main.h961 struct hclge_tqp *tqp = container_of(queue, struct hclge_tqp, q); in hclge_get_queue_id() local
963 return tqp->index; in hclge_get_queue_id()
H A Dhclge_mbx.c197 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
213 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
H A Dhclge_tm.c817 struct hnae3_queue **tqp = kinfo->tqp; in hclge_vport_q_to_qs_map() local
825 struct hnae3_queue *q = tqp[v_tc_info->tqp_offset + j]; in hclge_vport_q_to_qs_map()
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dlan78xx.c3255 struct sk_buff_head *tqp = &dev->txq_pend; in lan78xx_tx_bh() local
3265 spin_lock_irqsave(&tqp->lock, flags); in lan78xx_tx_bh()
3266 skb_queue_walk(tqp, skb) { in lan78xx_tx_bh()
3268 if (!skb_queue_is_first(tqp, skb)) { in lan78xx_tx_bh()
3274 __skb_unlink(skb, tqp); in lan78xx_tx_bh()
3275 spin_unlock_irqrestore(&tqp->lock, flags); in lan78xx_tx_bh()
3284 spin_unlock_irqrestore(&tqp->lock, flags); in lan78xx_tx_bh()
3294 skb2 = skb_dequeue(tqp); in lan78xx_tx_bh()
/OK3568_Linux_fs/device/rockchip/common/images/userdata/userdata_normal/media/
H A Dyuv420_p352x288.yuv4638 …iihhihiknqtxywsplggfgfffeeeedb_WOF;2,+.023230.//./0.//.10.0201320,C?(AD!4��tqp{}pXC81*'-<Ts����…