Searched refs:tqp (Results 1 – 10 of 10) sorted by relevance
129 struct hnae3_queue *tqp; in hclgevf_get_regs() local150 tqp = &hdev->htqp[j].q; in hclgevf_get_regs()152 *reg++ = readl_relaxed(tqp->io_base - in hclgevf_get_regs()
515 struct hnae3_queue *tqp; in hclge_fetch_pf_reg() local536 tqp = kinfo->tqp[j]; in hclge_fetch_pf_reg()538 *reg++ = readl_relaxed(tqp->io_base - in hclge_fetch_pf_reg()
1135 struct hclge_comm_tqp *tqp = in hclge_get_queue_id() local1138 return tqp->index; in hclge_get_queue_id()
1562 struct hclge_comm_tqp *tqp; in hclge_alloc_tqps() local1570 tqp = hdev->htqp; in hclge_alloc_tqps()1573 tqp->dev = &hdev->pdev->dev; in hclge_alloc_tqps()1574 tqp->index = i; in hclge_alloc_tqps()1576 tqp->q.ae_algo = &ae_algo; in hclge_alloc_tqps()1577 tqp->q.buf_size = hdev->rx_buf_len; in hclge_alloc_tqps()1578 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclge_alloc_tqps()1579 tqp->q.rx_desc_num = hdev->num_rx_desc; in hclge_alloc_tqps()1585 tqp->q.io_base = hdev->hw.hw.io_base + in hclge_alloc_tqps()1589 tqp->q.io_base = hdev->hw.hw.io_base + in hclge_alloc_tqps()[all …]
207 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()223 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
954 struct hnae3_queue **tqp = kinfo->tqp; in hclge_vport_q_to_qs_map() local960 struct hnae3_queue *q = tqp[tc_info->tqp_offset[i] + j]; in hclge_vport_q_to_qs_map()
668 static void hns3_tqp_enable(struct hnae3_queue *tqp) in hns3_tqp_enable() argument672 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_tqp_enable()674 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_tqp_enable()677 static void hns3_tqp_disable(struct hnae3_queue *tqp) in hns3_tqp_disable() argument681 rcb_reg = hns3_read_dev(tqp, HNS3_RING_EN_REG); in hns3_tqp_disable()683 hns3_write_dev(tqp, HNS3_RING_EN_REG, rcb_reg); in hns3_tqp_disable()733 hns3_tqp_enable(h->kinfo.tqp[i]); in hns3_enable_irqs_and_tqps()743 hns3_tqp_disable(h->kinfo.tqp[i]); in hns3_disable_irqs_and_tqps()789 ring->tqp->tqp_index); in hns3_config_xps()1057 u32 alloc_size = ring->tqp->handle->kinfo.tx_spare_buf_size; in hns3_init_tx_spare_buffer()[all …]
471 struct hnae3_queue *tqp; member640 return readl_relaxed(ring->tqp->io_base + reg); in hns3_tqp_read_reg()
877 struct hnae3_queue **tqp; /* array base of all TQPs in this instance */ member
1190 h->kinfo.tqp[i]->buf_size = rx_buf_len; in hns3_change_rx_buf_len()