Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_cmdq.c791 struct hinic_cmdq_ctxt *cmdq_ctxts; in init_cmdqs_ctxt() local
796 cmdq_ctxts = devm_kcalloc(&pdev->dev, HINIC_MAX_CMDQ_TYPES, in init_cmdqs_ctxt()
797 sizeof(*cmdq_ctxts), GFP_KERNEL); in init_cmdqs_ctxt()
798 if (!cmdq_ctxts) in init_cmdqs_ctxt()
814 cmdq_init_queue_ctxt(&cmdq_ctxts[cmdq_type], in init_cmdqs_ctxt()
824 &cmdq_ctxts[cmdq_type], in init_cmdqs_ctxt()
825 sizeof(cmdq_ctxts[cmdq_type]), in init_cmdqs_ctxt()
834 devm_kfree(&pdev->dev, cmdq_ctxts); in init_cmdqs_ctxt()
844 devm_kfree(&pdev->dev, cmdq_ctxts); in init_cmdqs_ctxt()