Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.c697 static void cmdq_init_queue_ctxt(struct hinic_cmdq_ctxt *cmdq_ctxt, in cmdq_init_queue_ctxt() argument
701 struct hinic_cmdq_ctxt_info *ctxt_info = &cmdq_ctxt->ctxt_info; in cmdq_init_queue_ctxt()
729 cmdq_ctxt->func_idx = HINIC_HWIF_FUNC_IDX(cmdqs->hwif); in cmdq_init_queue_ctxt()
730 cmdq_ctxt->ppf_idx = HINIC_HWIF_PPF_IDX(cmdqs->hwif); in cmdq_init_queue_ctxt()
731 cmdq_ctxt->cmdq_type = cmdq->cmdq_type; in cmdq_init_queue_ctxt()
Dhinic_hw_mbox.c1264 struct hinic_cmdq_ctxt *cmdq_ctxt) in hinic_cmdq_check_vf_ctxt() argument
1266 struct hinic_cmdq_ctxt_info *ctxt_info = &cmdq_ctxt->ctxt_info; in hinic_cmdq_check_vf_ctxt()
1269 if (cmdq_ctxt->ppf_idx != HINIC_HWIF_PPF_IDX(hwdev->hwif) || in hinic_cmdq_check_vf_ctxt()
1270 cmdq_ctxt->cmdq_type > HINIC_MAX_CMDQ_TYPES) in hinic_cmdq_check_vf_ctxt()