Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.c796 struct hinic_cmdq_ctxt *cmdq_ctxts; in init_cmdqs_ctxt() local
801 cmdq_ctxts = devm_kcalloc(&pdev->dev, HINIC_MAX_CMDQ_TYPES, in init_cmdqs_ctxt()
802 sizeof(*cmdq_ctxts), GFP_KERNEL); in init_cmdqs_ctxt()
803 if (!cmdq_ctxts) in init_cmdqs_ctxt()
819 cmdq_init_queue_ctxt(&cmdq_ctxts[cmdq_type], in init_cmdqs_ctxt()
829 &cmdq_ctxts[cmdq_type], in init_cmdqs_ctxt()
830 sizeof(cmdq_ctxts[cmdq_type]), in init_cmdqs_ctxt()
839 devm_kfree(&pdev->dev, cmdq_ctxts); in init_cmdqs_ctxt()
849 devm_kfree(&pdev->dev, cmdq_ctxts); in init_cmdqs_ctxt()