Home
last modified time | relevance | path

Searched refs:new_dma_pkt (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/accel/habanalabs/goya/
Dgoya.c3749 struct packet_lin_dma *new_dma_pkt, in goya_patch_dma_packet() argument
3775 memcpy(new_dma_pkt, user_dma_pkt, sizeof(*new_dma_pkt)); in goya_patch_dma_packet()
3776 *new_dma_pkt_size = sizeof(*new_dma_pkt); in goya_patch_dma_packet()
3802 memcpy(new_dma_pkt, user_dma_pkt, sizeof(*user_dma_pkt)); in goya_patch_dma_packet()
3844 new_dma_pkt->ctl = cpu_to_le32(ctl); in goya_patch_dma_packet()
3845 new_dma_pkt->tsize = cpu_to_le32((u32) len); in goya_patch_dma_packet()
3848 new_dma_pkt->src_addr = cpu_to_le64(dma_addr); in goya_patch_dma_packet()
3849 new_dma_pkt->dst_addr = cpu_to_le64(device_memory_addr); in goya_patch_dma_packet()
3851 new_dma_pkt->src_addr = cpu_to_le64(device_memory_addr); in goya_patch_dma_packet()
3852 new_dma_pkt->dst_addr = cpu_to_le64(dma_addr); in goya_patch_dma_packet()
[all …]
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c5123 struct packet_lin_dma *new_dma_pkt, in gaudi_patch_dma_packet() argument
5168 memcpy(new_dma_pkt, user_dma_pkt, sizeof(*user_dma_pkt)); in gaudi_patch_dma_packet()
5207 new_dma_pkt->ctl = cpu_to_le32(ctl); in gaudi_patch_dma_packet()
5208 new_dma_pkt->tsize = cpu_to_le32(len); in gaudi_patch_dma_packet()
5211 new_dma_pkt->src_addr = cpu_to_le64(dma_addr); in gaudi_patch_dma_packet()
5212 new_dma_pkt->dst_addr = cpu_to_le64(device_memory_addr); in gaudi_patch_dma_packet()
5214 new_dma_pkt->src_addr = cpu_to_le64(device_memory_addr); in gaudi_patch_dma_packet()
5215 new_dma_pkt->dst_addr = cpu_to_le64(dma_addr); in gaudi_patch_dma_packet()
5221 new_dma_pkt++; in gaudi_patch_dma_packet()
5231 new_dma_pkt--; in gaudi_patch_dma_packet()
[all …]