Lines Matching refs:cmq
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()
1142 priv->cmq.crq.desc_num = CMD_CRQ_DESC_NUM; in hns_roce_v2_cmq_init()
1145 spin_lock_init(&priv->cmq.csq.lock); in hns_roce_v2_cmq_init()
1146 spin_lock_init(&priv->cmq.crq.lock); in hns_roce_v2_cmq_init()
1149 priv->cmq.tx_timeout = HNS_ROCE_CMQ_TX_TIMEOUT; 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()
1184 hns_roce_free_cmq_desc(hr_dev, &priv->cmq.crq); 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()
1237 struct hns_roce_v2_cmq_ring *csq = &priv->cmq.csq; in __hns_roce_cmq_send()
1282 } while (timeout < priv->cmq.tx_timeout); in __hns_roce_cmq_send()
1298 priv->cmq.last_status = desc_ret; in __hns_roce_cmq_send()