Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/habanalabs/common/
Dhw_queue.c272 struct hl_cq_entry cq_pkt; in ext_queue_schedule_job() local
294 cq_pkt.data = cpu_to_le32( in ext_queue_schedule_job()
313 le32_to_cpu(cq_pkt.data), in ext_queue_schedule_job()
/linux-6.1.9/drivers/misc/habanalabs/goya/
Dgoya.c4151 struct packet_msg_prot *cq_pkt; in goya_add_end_of_cb_packets() local
4154 cq_pkt = kernel_address + len - (sizeof(struct packet_msg_prot) * 2); in goya_add_end_of_cb_packets()
4159 cq_pkt->ctl = cpu_to_le32(tmp); in goya_add_end_of_cb_packets()
4160 cq_pkt->value = cpu_to_le32(cq_val); in goya_add_end_of_cb_packets()
4161 cq_pkt->addr = cpu_to_le64(cq_addr); in goya_add_end_of_cb_packets()
4163 cq_pkt++; in goya_add_end_of_cb_packets()
4167 cq_pkt->ctl = cpu_to_le32(tmp); in goya_add_end_of_cb_packets()
4168 cq_pkt->value = cpu_to_le32(msix_vec & 0x7FF); in goya_add_end_of_cb_packets()
4169 cq_pkt->addr = cpu_to_le64(CFG_BASE + mmPCIE_DBI_MSIX_DOORBELL_OFF); in goya_add_end_of_cb_packets()
/linux-6.1.9/drivers/misc/habanalabs/gaudi/
Dgaudi.c5597 struct packet_msg_prot *cq_pkt; in gaudi_add_end_of_cb_packets() local
5603 cq_pkt = kernel_address + len - (sizeof(struct packet_msg_prot) * 2); in gaudi_add_end_of_cb_packets()
5605 while ((void *)cq_padding < (void *)cq_pkt) { in gaudi_add_end_of_cb_packets()
5616 cq_pkt->ctl = cpu_to_le32(tmp); in gaudi_add_end_of_cb_packets()
5617 cq_pkt->value = cpu_to_le32(cq_val); in gaudi_add_end_of_cb_packets()
5618 cq_pkt->addr = cpu_to_le64(cq_addr); in gaudi_add_end_of_cb_packets()
5620 cq_pkt++; in gaudi_add_end_of_cb_packets()
5624 cq_pkt->ctl = cpu_to_le32(tmp); in gaudi_add_end_of_cb_packets()
5625 cq_pkt->value = cpu_to_le32(1); in gaudi_add_end_of_cb_packets()
5632 cq_pkt->addr = cpu_to_le64(CFG_BASE + msi_addr); in gaudi_add_end_of_cb_packets()