Searched refs:new_dma_pkt (Results 1 – 2 of 2) sorted by relevance
3760 struct packet_lin_dma *new_dma_pkt, in goya_patch_dma_packet() argument3786 memcpy(new_dma_pkt, user_dma_pkt, sizeof(*new_dma_pkt)); in goya_patch_dma_packet()3787 *new_dma_pkt_size = sizeof(*new_dma_pkt); in goya_patch_dma_packet()3813 memcpy(new_dma_pkt, user_dma_pkt, sizeof(*user_dma_pkt)); in goya_patch_dma_packet()3855 new_dma_pkt->ctl = cpu_to_le32(ctl); in goya_patch_dma_packet()3856 new_dma_pkt->tsize = cpu_to_le32((u32) len); in goya_patch_dma_packet()3859 new_dma_pkt->src_addr = cpu_to_le64(dma_addr); in goya_patch_dma_packet()3860 new_dma_pkt->dst_addr = cpu_to_le64(device_memory_addr); in goya_patch_dma_packet()3863 new_dma_pkt->dst_addr = cpu_to_le64(dma_addr); in goya_patch_dma_packet()3869 new_dma_pkt++; in goya_patch_dma_packet()[all …]
5129 struct packet_lin_dma *new_dma_pkt, in gaudi_patch_dma_packet() argument5174 memcpy(new_dma_pkt, user_dma_pkt, sizeof(*user_dma_pkt)); in gaudi_patch_dma_packet()5213 new_dma_pkt->ctl = cpu_to_le32(ctl); in gaudi_patch_dma_packet()5214 new_dma_pkt->tsize = cpu_to_le32(len); in gaudi_patch_dma_packet()5217 new_dma_pkt->src_addr = cpu_to_le64(dma_addr); in gaudi_patch_dma_packet()5218 new_dma_pkt->dst_addr = cpu_to_le64(device_memory_addr); in gaudi_patch_dma_packet()5220 new_dma_pkt->src_addr = cpu_to_le64(device_memory_addr); in gaudi_patch_dma_packet()5221 new_dma_pkt->dst_addr = cpu_to_le64(dma_addr); in gaudi_patch_dma_packet()5227 new_dma_pkt++; in gaudi_patch_dma_packet()5237 new_dma_pkt--; in gaudi_patch_dma_packet()[all …]