Searched refs:user_dma_pkt (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/accel/habanalabs/goya/ |
D | goya.c | 3340 struct packet_lin_dma *user_dma_pkt, in goya_pin_memory_before_cs() argument 3346 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs() 3354 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs() 3386 struct packet_lin_dma *user_dma_pkt) in goya_validate_dma_pkt_host() argument 3397 ctl = le32_to_cpu(user_dma_pkt->ctl); in goya_validate_dma_pkt_host() 3410 addr = le64_to_cpu(user_dma_pkt->src_addr); in goya_validate_dma_pkt_host() 3411 device_memory_addr = le64_to_cpu(user_dma_pkt->dst_addr); in goya_validate_dma_pkt_host() 3420 addr = le64_to_cpu(user_dma_pkt->dst_addr); in goya_validate_dma_pkt_host() 3421 device_memory_addr = le64_to_cpu(user_dma_pkt->src_addr); in goya_validate_dma_pkt_host() 3427 addr = le64_to_cpu(user_dma_pkt->src_addr); in goya_validate_dma_pkt_host() [all …]
|
/Linux-v6.6/drivers/accel/habanalabs/gaudi/ |
D | gaudi.c | 4886 struct packet_lin_dma *user_dma_pkt, in gaudi_pin_memory_before_cs() argument 4892 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in gaudi_pin_memory_before_cs() 4900 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in gaudi_pin_memory_before_cs() 4932 struct packet_lin_dma *user_dma_pkt, in gaudi_validate_dma_pkt_host() argument 4940 user_memset = (le32_to_cpu(user_dma_pkt->ctl) & in gaudi_validate_dma_pkt_host() 4950 addr = le64_to_cpu(user_dma_pkt->src_addr); in gaudi_validate_dma_pkt_host() 4954 addr = (le64_to_cpu(user_dma_pkt->dst_addr) & in gaudi_validate_dma_pkt_host() 4960 parser->patched_cb_size += sizeof(*user_dma_pkt); in gaudi_validate_dma_pkt_host() 4962 rc = gaudi_pin_memory_before_cs(hdev, parser, user_dma_pkt, in gaudi_validate_dma_pkt_host() 4970 struct packet_lin_dma *user_dma_pkt) in gaudi_validate_dma_pkt_no_mmu() argument [all …]
|