Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/goya/
Dgoya.c4732 struct packet_lin_dma *lin_dma_pkt; in goya_memset_device_memory() local
4745 lin_dma_pkt = cb->kernel_address; in goya_memset_device_memory()
4748 memset(lin_dma_pkt, 0, sizeof(*lin_dma_pkt)); in goya_memset_device_memory()
4757 lin_dma_pkt->ctl = cpu_to_le32(ctl); in goya_memset_device_memory()
4759 lin_dma_pkt->src_addr = cpu_to_le64(val); in goya_memset_device_memory()
4760 lin_dma_pkt->dst_addr = cpu_to_le64(addr); in goya_memset_device_memory()
4762 lin_dma_pkt->tsize = cpu_to_le32(SZ_2G); in goya_memset_device_memory()
4764 lin_dma_pkt->tsize = cpu_to_le32(size); in goya_memset_device_memory()
4768 lin_dma_pkt++; in goya_memset_device_memory()
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c4330 struct packet_lin_dma *lin_dma_pkt; in gaudi_memset_device_memory() local
4340 lin_dma_pkt = cb->kernel_address; in gaudi_memset_device_memory()
4341 memset(lin_dma_pkt, 0, sizeof(*lin_dma_pkt)); in gaudi_memset_device_memory()
4342 cb_size = sizeof(*lin_dma_pkt); in gaudi_memset_device_memory()
4350 lin_dma_pkt->ctl = cpu_to_le32(ctl); in gaudi_memset_device_memory()
4351 lin_dma_pkt->src_addr = cpu_to_le64(val); in gaudi_memset_device_memory()
4352 lin_dma_pkt->dst_addr |= cpu_to_le64(addr); in gaudi_memset_device_memory()
4353 lin_dma_pkt->tsize = cpu_to_le32(size); in gaudi_memset_device_memory()