Lines Matching refs:tqp
304 struct hclge_comm_tqp *tqp; in hclgevf_alloc_tqps() local
312 tqp = hdev->htqp; in hclgevf_alloc_tqps()
315 tqp->dev = &hdev->pdev->dev; in hclgevf_alloc_tqps()
316 tqp->index = i; in hclgevf_alloc_tqps()
318 tqp->q.ae_algo = &ae_algovf; in hclgevf_alloc_tqps()
319 tqp->q.buf_size = hdev->rx_buf_len; in hclgevf_alloc_tqps()
320 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclgevf_alloc_tqps()
321 tqp->q.rx_desc_num = hdev->num_rx_desc; in hclgevf_alloc_tqps()
327 tqp->q.io_base = hdev->hw.hw.io_base + in hclgevf_alloc_tqps()
331 tqp->q.io_base = hdev->hw.hw.io_base + in hclgevf_alloc_tqps()
342 tqp->q.mem_base = hdev->hw.hw.mem_base + in hclgevf_alloc_tqps()
345 tqp++; in hclgevf_alloc_tqps()
373 kinfo->tqp = devm_kcalloc(&hdev->pdev->dev, kinfo->num_tqps, in hclgevf_knic_setup()
375 if (!kinfo->tqp) in hclgevf_knic_setup()
381 kinfo->tqp[i] = &hdev->htqp[i].q; in hclgevf_knic_setup()