Home
last modified time | relevance | path

Searched refs:qp_ctxt_hdr (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c83 void hinic_qp_prepare_header(struct hinic_qp_ctxt_header *qp_ctxt_hdr, in hinic_qp_prepare_header() argument
90 qp_ctxt_hdr->num_queues = num_queues; in hinic_qp_prepare_header()
91 qp_ctxt_hdr->queue_type = ctxt_type; in hinic_qp_prepare_header()
94 qp_ctxt_hdr->addr_offset = SQ_CTXT_OFFSET(max_sqs, max_rqs, 0); in hinic_qp_prepare_header()
96 qp_ctxt_hdr->addr_offset = RQ_CTXT_OFFSET(max_sqs, max_rqs, 0); in hinic_qp_prepare_header()
98 qp_ctxt_hdr->addr_offset = SIZE_16BYTES(qp_ctxt_hdr->addr_offset); in hinic_qp_prepare_header()
100 hinic_cpu_to_be32(qp_ctxt_hdr, sizeof(*qp_ctxt_hdr)); in hinic_qp_prepare_header()
Dhinic_hw_qp.h127 void hinic_qp_prepare_header(struct hinic_qp_ctxt_header *qp_ctxt_hdr,