Lines Matching refs:tqp
1639 struct hclge_comm_tqp *tqp; in hclge_alloc_tqps() local
1647 tqp = hdev->htqp; in hclge_alloc_tqps()
1650 tqp->dev = &hdev->pdev->dev; in hclge_alloc_tqps()
1651 tqp->index = i; in hclge_alloc_tqps()
1653 tqp->q.ae_algo = &ae_algo; in hclge_alloc_tqps()
1654 tqp->q.buf_size = hdev->rx_buf_len; in hclge_alloc_tqps()
1655 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclge_alloc_tqps()
1656 tqp->q.rx_desc_num = hdev->num_rx_desc; in hclge_alloc_tqps()
1662 tqp->q.io_base = hdev->hw.hw.io_base + in hclge_alloc_tqps()
1666 tqp->q.io_base = hdev->hw.hw.io_base + in hclge_alloc_tqps()
1677 tqp->q.mem_base = hdev->hw.hw.mem_base + in hclge_alloc_tqps()
1680 tqp++; in hclge_alloc_tqps()
1723 kinfo->tqp[alloced] = &hdev->htqp[i].q; in hclge_assign_tqp()
1754 kinfo->tqp = devm_kcalloc(&hdev->pdev->dev, num_tqps, in hclge_knic_setup()
1756 if (!kinfo->tqp) in hclge_knic_setup()
1776 container_of(kinfo->tqp[i], struct hclge_comm_tqp, q); in hclge_map_tqp_to_vport()
10792 struct hclge_comm_tqp *tqp; in hclge_covert_handle_qid_global() local
10795 queue = handle->kinfo.tqp[queue_id]; in hclge_covert_handle_qid_global()
10796 tqp = container_of(queue, struct hclge_comm_tqp, q); in hclge_covert_handle_qid_global()
10798 return tqp->index; in hclge_covert_handle_qid_global()