Home
last modified time | relevance | path

Searched full:csq (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.c42 struct hclgevf_cmq_ring *csq = &hw->cmq.csq; in hclgevf_cmd_csq_clean() local
49 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()
157 /* allocate CSQ/CRQ descriptor */ in hclgevf_alloc_cmd_queue()
161 (ring_type == HCLGEVF_TYPE_CSQ) ? "CSQ" : "CRQ"); in hclgevf_alloc_cmd_queue()
[all …]
Dhclgevf_cmd.h71 struct hclgevf_cmq_ring csq; member
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.c63 (ring_type == HCLGE_TYPE_CSQ) ? &hw->cmq.csq : &hw->cmq.crq; in hclge_alloc_cmd_queue()
72 (ring_type == HCLGE_TYPE_CSQ) ? "CSQ" : "CRQ", ret); 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() local
145 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()
207 desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use]; in hclge_cmd_copy_desc()
[all …]
Dhclge_cmd.h72 struct hclge_cmq_ring csq; member
/Linux-v5.15/arch/arm/boot/dts/
Dsun6i-a31s-cs908.dts47 model = "CSQ CS908 top set box";
48 compatible = "csq,cs908", "allwinner,sun6i-a31s";
/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c1197 struct hns_roce_v2_cmq_ring *csq) in init_csq() argument
1202 csq->desc_num = CMD_CSQ_DESC_NUM; in init_csq()
1203 spin_lock_init(&csq->lock); in init_csq()
1204 csq->flag = TYPE_CSQ; in init_csq()
1205 csq->head = 0; in init_csq()
1207 ret = hns_roce_alloc_cmq_desc(hr_dev, csq); in init_csq()
1211 dma = csq->desc_dma_addr; in init_csq()
1215 (u32)csq->desc_num >> HNS_ROCE_CMQ_DESC_NUM_S); in init_csq()
1231 ret = init_csq(hr_dev, &priv->cmq.csq); in hns_roce_v2_cmq_init()
1233 dev_err(hr_dev->dev, "failed to init CSQ, ret = %d.\n", ret); in hns_roce_v2_cmq_init()
[all …]
Dhns_roce_hw_v2.h1423 struct hns_roce_v2_cmq_ring csq; member
/Linux-v5.15/Documentation/devicetree/bindings/arm/
Dsunxi.yaml164 - description: CSQ CS908 Set Top Box
166 - const: csq,cs908
/Linux-v5.15/Documentation/devicetree/bindings/
Dvendor-prefixes.yaml270 "^csq,.*":