Home
last modified time | relevance | path

Searched refs:kernel_address (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/accel/habanalabs/common/
Dirq.c146 cq_base = cq->kernel_address; in hl_irq_handler_cq()
421 eq_base = eq->kernel_address; in hl_irq_handler_eq()
518 q->kernel_address = p; in hl_cq_init()
538 hl_asic_dma_free_coherent(hdev, HL_CQ_SIZE_IN_BYTES, q->kernel_address, q->bus_address); in hl_cq_fini()
555 memset(q->kernel_address, 0, HL_CQ_SIZE_IN_BYTES); in hl_cq_reset()
576 q->kernel_address = p; in hl_eq_init()
595 hl_cpu_accessible_dma_pool_free(hdev, HL_EQ_SIZE_IN_BYTES, q->kernel_address); in hl_eq_fini()
610 memset(q->kernel_address, 0, HL_EQ_SIZE_IN_BYTES); in hl_eq_reset()
Dhw_queue.c88 bd = q->kernel_address; in hl_hw_queue_submit_bd()
310 hdev->asic_funcs->add_end_of_cb_packets(hdev, cb->kernel_address, len, in ext_queue_schedule_job()
351 pi = q->kernel_address + (q->pi & (q->int_queue_len - 1)) * sizeof(bd); in int_queue_schedule_job()
827 q->kernel_address = p; in ext_and_cpu_queue_init()
846 hl_cpu_accessible_dma_pool_free(hdev, HL_QUEUE_SIZE_IN_BYTES, q->kernel_address); in ext_and_cpu_queue_init()
848 hl_asic_dma_free_coherent(hdev, HL_QUEUE_SIZE_IN_BYTES, q->kernel_address, in ext_and_cpu_queue_init()
867 q->kernel_address = p; in int_queue_init()
893 q->kernel_address = p; in hw_queue_init()
1062 hl_cpu_accessible_dma_pool_free(hdev, HL_QUEUE_SIZE_IN_BYTES, q->kernel_address); in queue_fini()
1064 hl_asic_dma_free_coherent(hdev, HL_QUEUE_SIZE_IN_BYTES, q->kernel_address, in queue_fini()
Dcommand_buffer.c84 (uintptr_t)cb->kernel_address, cb->size); in cb_fini()
86 hl_asic_dma_free_coherent(hdev, cb->size, cb->kernel_address, cb->bus_address); in cb_fini()
154 cb->kernel_address = p; in hl_cb_alloc()
254 return cb->hdev->asic_funcs->mmap(cb->hdev, vma, cb->kernel_address, in hl_cb_mmap()
Dhabanalabs.h960 void *kernel_address; member
1059 void *kernel_address; member
1084 void *kernel_address; member
1194 void *kernel_address; member
1620 void *kernel_address, u32 len,
Dcommand_submission.c3268 (u64 *) cq_cb->kernel_address + cq_offset; in ts_buff_get_kernel_ts_record()
3306 if (((u64 *) cq_cb->kernel_address + cq_counters_offset) >= in _hl_interrupt_wait_ioctl()
3307 ((u64 *) cq_cb->kernel_address + (cq_cb->size / sizeof(u64)))) { in _hl_interrupt_wait_ioctl()
3334 pend->cq_kernel_addr = (u64 *) cq_cb->kernel_address + cq_counters_offset; in _hl_interrupt_wait_ioctl()
Dfirmware_if.c476 sent_bd = queue->kernel_address; in hl_fw_send_cpu_message()
/linux-6.6.21/drivers/mtd/parsers/
Dparser_imagetag.c90 STR_NULL_TERMINATE(buf->kernel_address); in bcm963xx_parse_imagetag_partitions()
91 if (kstrtouint(buf->kernel_address, 10, &kerneladdr) || in bcm963xx_parse_imagetag_partitions()
94 (int)sizeof(buf->kernel_address), in bcm963xx_parse_imagetag_partitions()
95 buf->kernel_address); in bcm963xx_parse_imagetag_partitions()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c54 uint64_t *kernel_address; member
61 return page->kernel_address; in page_slots()
82 page->kernel_address = backing_store; in allocate_signal_page()
302 free_pages((unsigned long)page->kernel_address, in shutdown_signal_page()
325 static int kfd_event_page_set(struct kfd_process *p, void *kernel_address, in kfd_event_page_set() argument
338 memset(kernel_address, (uint8_t) UNSIGNALED_EVENT_SLOT, in kfd_event_page_set()
341 page->kernel_address = kernel_address; in kfd_event_page_set()
1070 pfn = __pa(page->kernel_address); in kfd_event_mmap()
/linux-6.6.21/include/linux/
Dbcm963xx_tag.h72 char kernel_address[ADDRESS_LEN]; member
/linux-6.6.21/drivers/accel/habanalabs/goya/
DgoyaP.h232 void goya_add_end_of_cb_packets(struct hl_device *hdev, void *kernel_address,
Dgoya.c3106 fence_pkt = cb->kernel_address + in goya_send_job_on_qman0()
3664 user_pkt = parser->user_cb->kernel_address + cb_parsed_length; in goya_validate_cb()
3901 user_pkt = parser->user_cb->kernel_address + cb_parsed_length; in goya_patch_cb()
3902 kernel_pkt = parser->patched_cb->kernel_address + in goya_patch_cb()
4024 memcpy(parser->patched_cb->kernel_address, in goya_parse_cb_mmu()
4025 parser->user_cb->kernel_address, in goya_parse_cb_mmu()
4152 void goya_add_end_of_cb_packets(struct hl_device *hdev, void *kernel_address, in goya_add_end_of_cb_packets() argument
4159 cq_pkt = kernel_address + len - (sizeof(struct packet_msg_prot) * 2); in goya_add_end_of_cb_packets()
4781 lin_dma_pkt = cb->kernel_address; in goya_memset_device_memory()
/linux-6.6.21/drivers/accel/habanalabs/gaudi/
Dgaudi.c978 init_tpc_mem_pkt = cb->kernel_address; in _gaudi_init_tpc_mem()
5033 user_pkt = parser->user_cb->kernel_address + cb_parsed_length; in gaudi_validate_cb()
5259 user_pkt = parser->user_cb->kernel_address + cb_parsed_length; in gaudi_patch_cb()
5260 kernel_pkt = parser->patched_cb->kernel_address + in gaudi_patch_cb()
5384 memcpy(parser->patched_cb->kernel_address, in gaudi_parse_cb_mmu()
5385 parser->user_cb->kernel_address, in gaudi_parse_cb_mmu()
5526 static void gaudi_add_end_of_cb_packets(struct hl_device *hdev, void *kernel_address, in gaudi_add_end_of_cb_packets() argument
5535 cq_padding = kernel_address + original_len; in gaudi_add_end_of_cb_packets()
5536 cq_pkt = kernel_address + len - (sizeof(struct packet_msg_prot) * 2); in gaudi_add_end_of_cb_packets()
5581 lin_dma_pkt = cb->kernel_address; in gaudi_memset_device_memory()
[all …]
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c6813 cq_base = cq->kernel_address; in gaudi2_send_job_to_kdma()
10597 pkt = (struct packet_msg_short *) (uintptr_t) (cb->kernel_address + size); in gaudi2_gen_signal_cb()
10687 void *buf = (void *) (uintptr_t) (cb->kernel_address); in gaudi2_gen_wait_cb()