Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.c692 static void cmdq_init_queue_ctxt(struct hinic_cmdq_ctxt *cmdq_ctxt, in cmdq_init_queue_ctxt() argument
696 struct hinic_cmdq_ctxt_info *ctxt_info = &cmdq_ctxt->ctxt_info; in cmdq_init_queue_ctxt()
724 cmdq_ctxt->func_idx = HINIC_HWIF_FUNC_IDX(cmdqs->hwif); in cmdq_init_queue_ctxt()
725 cmdq_ctxt->ppf_idx = HINIC_HWIF_PPF_IDX(cmdqs->hwif); in cmdq_init_queue_ctxt()
726 cmdq_ctxt->cmdq_type = cmdq->cmdq_type; in cmdq_init_queue_ctxt()
Dhinic_hw_mbox.c1259 struct hinic_cmdq_ctxt *cmdq_ctxt) in hinic_cmdq_check_vf_ctxt() argument
1261 struct hinic_cmdq_ctxt_info *ctxt_info = &cmdq_ctxt->ctxt_info; in hinic_cmdq_check_vf_ctxt()
1264 if (cmdq_ctxt->ppf_idx != HINIC_HWIF_PPF_IDX(hwdev->hwif) || in hinic_cmdq_check_vf_ctxt()
1265 cmdq_ctxt->cmdq_type > HINIC_MAX_CMDQ_TYPES) in hinic_cmdq_check_vf_ctxt()