Home
last modified time | relevance | path

Searched refs:ts_buff (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dmemory.c2082 struct hl_ts_buff *ts_buff = buf->private; in ts_buff_release() local
2084 vfree(ts_buff->kernel_buff_address); in ts_buff_release()
2085 vfree(ts_buff->user_buff_address); in ts_buff_release()
2086 kfree(ts_buff); in ts_buff_release()
2091 struct hl_ts_buff *ts_buff = buf->private; in hl_ts_mmap() local
2094 return remap_vmalloc_range(vma, ts_buff->user_buff_address, 0); in hl_ts_mmap()
2099 struct hl_ts_buff *ts_buff = NULL; in hl_ts_alloc_buf() local
2106 ts_buff = kzalloc(sizeof(*ts_buff), gfp); in hl_ts_alloc_buf()
2107 if (!ts_buff) in hl_ts_alloc_buf()
2116 ts_buff->user_buff_address = p; in hl_ts_alloc_buf()
[all …]
H A Dcommand_submission.c3206 struct hl_ts_buff *ts_buff = buf->private; in ts_buff_get_kernel_ts_record() local
3208 (struct hl_user_pending_interrupt *)ts_buff->kernel_buff_address + in ts_buff_get_kernel_ts_record()
3211 (struct hl_user_pending_interrupt *)ts_buff->kernel_buff_address + in ts_buff_get_kernel_ts_record()
3212 (ts_buff->kernel_buff_size / sizeof(struct hl_user_pending_interrupt)); in ts_buff_get_kernel_ts_record()
3266 (u64 *) ts_buff->user_buff_address + ts_offset; in ts_buff_get_kernel_ts_record()