Lines Matching refs:crq
121 hclgevf_cmd_config_regs(&hw->cmq.crq); in hclgevf_cmd_init_regs()
151 (ring_type == HCLGEVF_TYPE_CSQ) ? &hw->cmq.csq : &hw->cmq.crq; in hclgevf_alloc_cmd_queue()
411 spin_lock_init(&hdev->hw.cmq.crq.lock); in hclgevf_cmd_queue_init()
415 hdev->hw.cmq.crq.desc_num = HCLGEVF_NIC_CMQ_DESC_NUM; in hclgevf_cmd_queue_init()
462 spin_lock(&hdev->hw.cmq.crq.lock); in hclgevf_cmd_init()
471 hdev->hw.cmq.crq.next_to_clean = 0; in hclgevf_cmd_init()
472 hdev->hw.cmq.crq.next_to_use = 0; in hclgevf_cmd_init()
476 spin_unlock(&hdev->hw.cmq.crq.lock); in hclgevf_cmd_init()
549 spin_lock(&hdev->hw.cmq.crq.lock); in hclgevf_cmd_uninit()
551 spin_unlock(&hdev->hw.cmq.crq.lock); in hclgevf_cmd_uninit()
555 hclgevf_free_cmd_desc(&hdev->hw.cmq.crq); in hclgevf_cmd_uninit()