Searched refs:user_dma_pkt (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/misc/habanalabs/goya/ |
D | goya.c | 3154 struct packet_lin_dma *user_dma_pkt, in goya_pin_memory_before_cs() argument 3160 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs() 3168 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs() 3200 struct packet_lin_dma *user_dma_pkt) in goya_validate_dma_pkt_host() argument 3211 ctl = le32_to_cpu(user_dma_pkt->ctl); in goya_validate_dma_pkt_host() 3224 addr = le64_to_cpu(user_dma_pkt->src_addr); in goya_validate_dma_pkt_host() 3225 device_memory_addr = le64_to_cpu(user_dma_pkt->dst_addr); in goya_validate_dma_pkt_host() 3234 addr = le64_to_cpu(user_dma_pkt->dst_addr); in goya_validate_dma_pkt_host() 3235 device_memory_addr = le64_to_cpu(user_dma_pkt->src_addr); in goya_validate_dma_pkt_host() 3241 addr = le64_to_cpu(user_dma_pkt->src_addr); in goya_validate_dma_pkt_host() [all …]
|
/Linux-v5.10/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 3666 struct packet_lin_dma *user_dma_pkt, in gaudi_pin_memory_before_cs() argument 3672 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in gaudi_pin_memory_before_cs() 3680 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in gaudi_pin_memory_before_cs() 3712 struct packet_lin_dma *user_dma_pkt, in gaudi_validate_dma_pkt_host() argument 3720 user_memset = (le32_to_cpu(user_dma_pkt->ctl) & in gaudi_validate_dma_pkt_host() 3730 addr = le64_to_cpu(user_dma_pkt->src_addr); in gaudi_validate_dma_pkt_host() 3734 addr = (le64_to_cpu(user_dma_pkt->dst_addr) & in gaudi_validate_dma_pkt_host() 3740 parser->patched_cb_size += sizeof(*user_dma_pkt); in gaudi_validate_dma_pkt_host() 3742 rc = gaudi_pin_memory_before_cs(hdev, parser, user_dma_pkt, in gaudi_validate_dma_pkt_host() 3750 struct packet_lin_dma *user_dma_pkt) in gaudi_validate_dma_pkt_no_mmu() argument [all …]
|