Searched refs:user_dma_pkt (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/goya/ |
D | goya.c | 3329 struct packet_lin_dma *user_dma_pkt, in goya_pin_memory_before_cs() argument 3335 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs() 3343 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs() 3375 struct packet_lin_dma *user_dma_pkt) in goya_validate_dma_pkt_host() argument 3386 ctl = le32_to_cpu(user_dma_pkt->ctl); in goya_validate_dma_pkt_host() 3399 addr = le64_to_cpu(user_dma_pkt->src_addr); in goya_validate_dma_pkt_host() 3400 device_memory_addr = le64_to_cpu(user_dma_pkt->dst_addr); in goya_validate_dma_pkt_host() 3409 addr = le64_to_cpu(user_dma_pkt->dst_addr); in goya_validate_dma_pkt_host() 3410 device_memory_addr = le64_to_cpu(user_dma_pkt->src_addr); in goya_validate_dma_pkt_host() 3416 addr = le64_to_cpu(user_dma_pkt->src_addr); in goya_validate_dma_pkt_host() [all …]
|
/linux-6.12.1/drivers/accel/habanalabs/gaudi/ |
D | gaudi.c | 4880 struct packet_lin_dma *user_dma_pkt, in gaudi_pin_memory_before_cs() argument 4886 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in gaudi_pin_memory_before_cs() 4894 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in gaudi_pin_memory_before_cs() 4926 struct packet_lin_dma *user_dma_pkt, in gaudi_validate_dma_pkt_host() argument 4934 user_memset = (le32_to_cpu(user_dma_pkt->ctl) & in gaudi_validate_dma_pkt_host() 4944 addr = le64_to_cpu(user_dma_pkt->src_addr); in gaudi_validate_dma_pkt_host() 4948 addr = (le64_to_cpu(user_dma_pkt->dst_addr) & in gaudi_validate_dma_pkt_host() 4954 parser->patched_cb_size += sizeof(*user_dma_pkt); in gaudi_validate_dma_pkt_host() 4956 rc = gaudi_pin_memory_before_cs(hdev, parser, user_dma_pkt, in gaudi_validate_dma_pkt_host() 4964 struct packet_lin_dma *user_dma_pkt) in gaudi_validate_dma_pkt_no_mmu() argument [all …]
|