Searched refs:qp_ctxt_hdr (Results 1 – 3 of 3) sorted by relevance
72 void hinic_qp_prepare_header(struct hinic_qp_ctxt_header *qp_ctxt_hdr, in hinic_qp_prepare_header() argument79 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()
128 void hinic_qp_prepare_header(struct hinic_qp_ctxt_header *qp_ctxt_hdr,
497 static void hinic3_qp_prepare_cmdq_header(struct hinic3_qp_ctxt_hdr *qp_ctxt_hdr, in hinic3_qp_prepare_cmdq_header() argument501 qp_ctxt_hdr->queue_type = cpu_to_le16(ctxt_type); in hinic3_qp_prepare_cmdq_header()502 qp_ctxt_hdr->num_queues = cpu_to_le16(num_queues); in hinic3_qp_prepare_cmdq_header()503 qp_ctxt_hdr->start_qid = cpu_to_le16(q_id); in hinic3_qp_prepare_cmdq_header()504 qp_ctxt_hdr->rsvd = 0; in hinic3_qp_prepare_cmdq_header()