Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp.c72 void hinic_qp_prepare_header(struct hinic_qp_ctxt_header *qp_ctxt_hdr, in hinic_qp_prepare_header() argument
79 qp_ctxt_hdr->num_queues = num_queues; in hinic_qp_prepare_header()
80 qp_ctxt_hdr->queue_type = ctxt_type; in hinic_qp_prepare_header()
83 qp_ctxt_hdr->addr_offset = SQ_CTXT_OFFSET(max_sqs, max_rqs, 0); in hinic_qp_prepare_header()
85 qp_ctxt_hdr->addr_offset = RQ_CTXT_OFFSET(max_sqs, max_rqs, 0); in hinic_qp_prepare_header()
87 qp_ctxt_hdr->addr_offset = SIZE_16BYTES(qp_ctxt_hdr->addr_offset); in hinic_qp_prepare_header()
89 hinic_cpu_to_be32(qp_ctxt_hdr, sizeof(*qp_ctxt_hdr)); in hinic_qp_prepare_header()
H A Dhinic_hw_qp.h128 void hinic_qp_prepare_header(struct hinic_qp_ctxt_header *qp_ctxt_hdr,