Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/common/
Dhw_queue.c272 struct hl_cq_entry cq_pkt; in ext_queue_schedule_job() local
290 cq_pkt.data = cpu_to_le32( in ext_queue_schedule_job()
308 le32_to_cpu(cq_pkt.data), in ext_queue_schedule_job()
/Linux-v5.10/drivers/misc/habanalabs/goya/
Dgoya.c3978 struct packet_msg_prot *cq_pkt; in goya_add_end_of_cb_packets() local
3981 cq_pkt = kernel_address + len - (sizeof(struct packet_msg_prot) * 2); in goya_add_end_of_cb_packets()
3986 cq_pkt->ctl = cpu_to_le32(tmp); in goya_add_end_of_cb_packets()
3987 cq_pkt->value = cpu_to_le32(cq_val); in goya_add_end_of_cb_packets()
3988 cq_pkt->addr = cpu_to_le64(cq_addr); in goya_add_end_of_cb_packets()
3990 cq_pkt++; in goya_add_end_of_cb_packets()
3994 cq_pkt->ctl = cpu_to_le32(tmp); in goya_add_end_of_cb_packets()
3995 cq_pkt->value = cpu_to_le32(msix_vec & 0x7FF); in goya_add_end_of_cb_packets()
3996 cq_pkt->addr = cpu_to_le64(CFG_BASE + mmPCIE_DBI_MSIX_DOORBELL_OFF); in goya_add_end_of_cb_packets()
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c4294 struct packet_msg_prot *cq_pkt; in gaudi_add_end_of_cb_packets() local
4297 cq_pkt = kernel_address + len - (sizeof(struct packet_msg_prot) * 2); in gaudi_add_end_of_cb_packets()
4305 cq_pkt->ctl = cpu_to_le32(tmp); in gaudi_add_end_of_cb_packets()
4306 cq_pkt->value = cpu_to_le32(cq_val); in gaudi_add_end_of_cb_packets()
4307 cq_pkt->addr = cpu_to_le64(cq_addr); in gaudi_add_end_of_cb_packets()
4309 cq_pkt++; in gaudi_add_end_of_cb_packets()
4313 cq_pkt->ctl = cpu_to_le32(tmp); in gaudi_add_end_of_cb_packets()
4314 cq_pkt->value = cpu_to_le32(1); in gaudi_add_end_of_cb_packets()
4319 cq_pkt->addr = cpu_to_le64(CFG_BASE + mmPCIE_MSI_INTR_0 + msi_vec * 4); in gaudi_add_end_of_cb_packets()