user_dma_pkt 3179 drivers/misc/habanalabs/goya/goya.c struct packet_lin_dma *user_dma_pkt, user_dma_pkt 3185 drivers/misc/habanalabs/goya/goya.c if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), user_dma_pkt 3193 drivers/misc/habanalabs/goya/goya.c rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), user_dma_pkt 3225 drivers/misc/habanalabs/goya/goya.c struct packet_lin_dma *user_dma_pkt) user_dma_pkt 3236 drivers/misc/habanalabs/goya/goya.c ctl = le32_to_cpu(user_dma_pkt->ctl); user_dma_pkt 3249 drivers/misc/habanalabs/goya/goya.c addr = le64_to_cpu(user_dma_pkt->src_addr); user_dma_pkt 3250 drivers/misc/habanalabs/goya/goya.c device_memory_addr = le64_to_cpu(user_dma_pkt->dst_addr); user_dma_pkt 3259 drivers/misc/habanalabs/goya/goya.c addr = le64_to_cpu(user_dma_pkt->dst_addr); user_dma_pkt 3260 drivers/misc/habanalabs/goya/goya.c device_memory_addr = le64_to_cpu(user_dma_pkt->src_addr); user_dma_pkt 3266 drivers/misc/habanalabs/goya/goya.c addr = le64_to_cpu(user_dma_pkt->src_addr); user_dma_pkt 3267 drivers/misc/habanalabs/goya/goya.c device_memory_addr = le64_to_cpu(user_dma_pkt->dst_addr); user_dma_pkt 3275 drivers/misc/habanalabs/goya/goya.c addr = le64_to_cpu(user_dma_pkt->dst_addr); user_dma_pkt 3276 drivers/misc/habanalabs/goya/goya.c device_memory_addr = le64_to_cpu(user_dma_pkt->src_addr); user_dma_pkt 3285 drivers/misc/habanalabs/goya/goya.c le32_to_cpu(user_dma_pkt->tsize), user_dma_pkt 3292 drivers/misc/habanalabs/goya/goya.c user_dma_pkt->tsize); user_dma_pkt 3297 drivers/misc/habanalabs/goya/goya.c le32_to_cpu(user_dma_pkt->tsize), user_dma_pkt 3304 drivers/misc/habanalabs/goya/goya.c user_dma_pkt->tsize); user_dma_pkt 3310 drivers/misc/habanalabs/goya/goya.c parser->patched_cb_size += sizeof(*user_dma_pkt); user_dma_pkt 3319 drivers/misc/habanalabs/goya/goya.c rc = goya_pin_memory_before_cs(hdev, parser, user_dma_pkt, user_dma_pkt 3328 drivers/misc/habanalabs/goya/goya.c struct packet_lin_dma *user_dma_pkt) user_dma_pkt 3334 drivers/misc/habanalabs/goya/goya.c ctl = le32_to_cpu(user_dma_pkt->ctl); user_dma_pkt 3340 drivers/misc/habanalabs/goya/goya.c dram_memory_addr = le64_to_cpu(user_dma_pkt->src_addr); user_dma_pkt 3341 drivers/misc/habanalabs/goya/goya.c sram_memory_addr = le64_to_cpu(user_dma_pkt->dst_addr); user_dma_pkt 3344 drivers/misc/habanalabs/goya/goya.c sram_memory_addr = le64_to_cpu(user_dma_pkt->src_addr); user_dma_pkt 3345 drivers/misc/habanalabs/goya/goya.c dram_memory_addr = le64_to_cpu(user_dma_pkt->dst_addr); user_dma_pkt 3349 drivers/misc/habanalabs/goya/goya.c le32_to_cpu(user_dma_pkt->tsize), user_dma_pkt 3353 drivers/misc/habanalabs/goya/goya.c sram_memory_addr, user_dma_pkt->tsize); user_dma_pkt 3358 drivers/misc/habanalabs/goya/goya.c le32_to_cpu(user_dma_pkt->tsize), user_dma_pkt 3362 drivers/misc/habanalabs/goya/goya.c dram_memory_addr, user_dma_pkt->tsize); user_dma_pkt 3366 drivers/misc/habanalabs/goya/goya.c parser->patched_cb_size += sizeof(*user_dma_pkt); user_dma_pkt 3373 drivers/misc/habanalabs/goya/goya.c struct packet_lin_dma *user_dma_pkt) user_dma_pkt 3381 drivers/misc/habanalabs/goya/goya.c le64_to_cpu(user_dma_pkt->src_addr)); user_dma_pkt 3383 drivers/misc/habanalabs/goya/goya.c le64_to_cpu(user_dma_pkt->dst_addr)); user_dma_pkt 3384 drivers/misc/habanalabs/goya/goya.c dev_dbg(hdev->dev, "size == %u\n", le32_to_cpu(user_dma_pkt->tsize)); user_dma_pkt 3386 drivers/misc/habanalabs/goya/goya.c ctl = le32_to_cpu(user_dma_pkt->ctl); user_dma_pkt 3394 drivers/misc/habanalabs/goya/goya.c if (user_dma_pkt->tsize == 0) { user_dma_pkt 3401 drivers/misc/habanalabs/goya/goya.c rc = goya_validate_dma_pkt_no_host(hdev, parser, user_dma_pkt); user_dma_pkt 3403 drivers/misc/habanalabs/goya/goya.c rc = goya_validate_dma_pkt_host(hdev, parser, user_dma_pkt); user_dma_pkt 3410 drivers/misc/habanalabs/goya/goya.c struct packet_lin_dma *user_dma_pkt) user_dma_pkt 3414 drivers/misc/habanalabs/goya/goya.c le64_to_cpu(user_dma_pkt->src_addr)); user_dma_pkt 3416 drivers/misc/habanalabs/goya/goya.c le64_to_cpu(user_dma_pkt->dst_addr)); user_dma_pkt 3417 drivers/misc/habanalabs/goya/goya.c dev_dbg(hdev->dev, "size == %u\n", le32_to_cpu(user_dma_pkt->tsize)); user_dma_pkt 3424 drivers/misc/habanalabs/goya/goya.c hl_mem_area_inside_range(le64_to_cpu(user_dma_pkt->src_addr), user_dma_pkt 3425 drivers/misc/habanalabs/goya/goya.c le32_to_cpu(user_dma_pkt->tsize), user_dma_pkt 3433 drivers/misc/habanalabs/goya/goya.c if (user_dma_pkt->tsize == 0) { user_dma_pkt 3439 drivers/misc/habanalabs/goya/goya.c parser->patched_cb_size += sizeof(*user_dma_pkt); user_dma_pkt 3591 drivers/misc/habanalabs/goya/goya.c struct packet_lin_dma *user_dma_pkt, user_dma_pkt 3608 drivers/misc/habanalabs/goya/goya.c ctl = le32_to_cpu(user_dma_pkt->ctl); user_dma_pkt 3617 drivers/misc/habanalabs/goya/goya.c (user_dma_pkt->tsize == 0)) { user_dma_pkt 3618 drivers/misc/habanalabs/goya/goya.c memcpy(new_dma_pkt, user_dma_pkt, sizeof(*new_dma_pkt)); user_dma_pkt 3624 drivers/misc/habanalabs/goya/goya.c addr = le64_to_cpu(user_dma_pkt->src_addr); user_dma_pkt 3625 drivers/misc/habanalabs/goya/goya.c device_memory_addr = le64_to_cpu(user_dma_pkt->dst_addr); user_dma_pkt 3630 drivers/misc/habanalabs/goya/goya.c addr = le64_to_cpu(user_dma_pkt->dst_addr); user_dma_pkt 3631 drivers/misc/habanalabs/goya/goya.c device_memory_addr = le64_to_cpu(user_dma_pkt->src_addr); user_dma_pkt 3637 drivers/misc/habanalabs/goya/goya.c le32_to_cpu(user_dma_pkt->tsize), user_dma_pkt 3640 drivers/misc/habanalabs/goya/goya.c addr, user_dma_pkt->tsize); user_dma_pkt 3645 drivers/misc/habanalabs/goya/goya.c memcpy(new_dma_pkt, user_dma_pkt, sizeof(*user_dma_pkt)); user_dma_pkt 3646 drivers/misc/habanalabs/goya/goya.c *new_dma_pkt_size = sizeof(*user_dma_pkt); user_dma_pkt 3682 drivers/misc/habanalabs/goya/goya.c ctl = le32_to_cpu(user_dma_pkt->ctl);