Searched refs:csq (Results 1 – 7 of 7) sorted by relevance
42 struct hclgevf_cmq_ring *csq = &hw->cmq.csq; in hclgevf_cmd_csq_clean() local49 if (!hclgevf_is_valid_csq_clean_head(csq, head)) { in hclgevf_cmd_csq_clean()51 csq->next_to_use, csq->next_to_clean); in hclgevf_cmd_csq_clean()58 clean = (head - csq->next_to_clean + csq->desc_num) % csq->desc_num; in hclgevf_cmd_csq_clean()59 csq->next_to_clean = head; in hclgevf_cmd_csq_clean()69 return head == hw->cmq.csq.next_to_use; in hclgevf_cmd_csq_done()120 hclgevf_cmd_config_regs(&hw->cmq.csq); in hclgevf_cmd_init_regs()151 (ring_type == HCLGEVF_TYPE_CSQ) ? &hw->cmq.csq : &hw->cmq.crq; in hclgevf_alloc_cmd_queue()222 struct hclgevf_cmq_ring *csq = &hw->cmq.csq; in hclgevf_cmd_send() local232 spin_lock_bh(&hw->cmq.csq.lock); in hclgevf_cmd_send()[all …]
70 struct hclgevf_cmq_ring csq; member
63 (ring_type == HCLGE_TYPE_CSQ) ? &hw->cmq.csq : &hw->cmq.crq; in hclge_alloc_cmd_queue()131 hclge_cmd_config_regs(&hw->cmq.csq); in hclge_cmd_init_regs()138 struct hclge_cmq_ring *csq = &hw->cmq.csq; in hclge_cmd_csq_clean() local145 if (!is_valid_csq_clean_head(csq, head)) { in hclge_cmd_csq_clean()147 csq->next_to_use, csq->next_to_clean); in hclge_cmd_csq_clean()156 clean = (head - csq->next_to_clean + csq->desc_num) % csq->desc_num; in hclge_cmd_csq_clean()157 csq->next_to_clean = head; in hclge_cmd_csq_clean()164 return head == hw->cmq.csq.next_to_use; in hclge_cmd_csq_done()232 desc[handle] = hw->cmq.csq.desc[ntc]; in hclge_cmd_check_retval()234 if (ntc >= hw->cmq.csq.desc_num) in hclge_cmd_check_retval()[all …]
71 struct hclge_cmq_ring csq; member
1100 &priv->cmq.csq : &priv->cmq.crq; in hns_roce_init_cmq_ring()1113 &priv->cmq.csq : &priv->cmq.crq; in hns_roce_cmq_init_regs()1141 priv->cmq.csq.desc_num = CMD_CSQ_DESC_NUM; in hns_roce_v2_cmq_init()1145 spin_lock_init(&priv->cmq.csq.lock); in hns_roce_v2_cmq_init()1174 hns_roce_free_cmq_desc(hr_dev, &priv->cmq.csq); in hns_roce_v2_cmq_init()1183 hns_roce_free_cmq_desc(hr_dev, &priv->cmq.csq); in hns_roce_v2_cmq_exit()1206 return head == priv->cmq.csq.next_to_use; in hns_roce_cmq_csq_done()1212 struct hns_roce_v2_cmq_ring *csq = &priv->cmq.csq; in hns_roce_cmq_csq_clean() local1214 u16 ntc = csq->next_to_clean; in hns_roce_cmq_csq_clean()1218 desc = &csq->desc[ntc]; in hns_roce_cmq_csq_clean()[all …]
1757 struct hns_roce_v2_cmq_ring csq; member
48 compatible = "csq,cs908", "allwinner,sun6i-a31s";