Lines Matching refs:xe_oa_stream

117 static u32 xe_oa_circ_diff(struct xe_oa_stream *stream, u32 tail, u32 head)  in xe_oa_circ_diff()
123 static u32 xe_oa_circ_incr(struct xe_oa_stream *stream, u32 ptr, u32 n) in xe_oa_circ_incr()
172 static const struct xe_oa_regs *__oa_regs(struct xe_oa_stream *stream) in __oa_regs()
177 static u32 xe_oa_hw_tail_read(struct xe_oa_stream *stream) in xe_oa_hw_tail_read()
186 static u64 oa_report_id(struct xe_oa_stream *stream, void *report) in oa_report_id()
191 static void oa_report_id_clear(struct xe_oa_stream *stream, u32 *report) in oa_report_id_clear()
199 static u64 oa_timestamp(struct xe_oa_stream *stream, void *report) in oa_timestamp()
206 static void oa_timestamp_clear(struct xe_oa_stream *stream, u32 *report) in oa_timestamp_clear()
214 static bool xe_oa_buffer_check_unlocked(struct xe_oa_stream *stream) in xe_oa_buffer_check_unlocked()
275 struct xe_oa_stream *stream = in xe_oa_poll_check_timer_cb()
288 static int xe_oa_append_report(struct xe_oa_stream *stream, char __user *buf, in xe_oa_append_report()
320 static int xe_oa_append_reports(struct xe_oa_stream *stream, char __user *buf, in xe_oa_append_reports()
378 static void xe_oa_init_oa_buffer(struct xe_oa_stream *stream) in xe_oa_init_oa_buffer()
414 static u32 __oa_ccs_select(struct xe_oa_stream *stream) in __oa_ccs_select()
427 static void xe_oa_enable(struct xe_oa_stream *stream) in xe_oa_enable()
450 static void xe_oa_disable(struct xe_oa_stream *stream) in xe_oa_disable()
467 static int xe_oa_wait_unlocked(struct xe_oa_stream *stream) in xe_oa_wait_unlocked()
480 static int __xe_oa_read(struct xe_oa_stream *stream, char __user *buf, in __xe_oa_read()
499 struct xe_oa_stream *stream = file->private_data; in xe_oa_read()
539 static __poll_t xe_oa_poll_locked(struct xe_oa_stream *stream, in xe_oa_poll_locked()
560 struct xe_oa_stream *stream = file->private_data; in xe_oa_poll()
570 static int xe_oa_submit_bb(struct xe_oa_stream *stream, struct xe_bb *bb) in xe_oa_submit_bb()
628 static void xe_oa_free_oa_buffer(struct xe_oa_stream *stream) in xe_oa_free_oa_buffer()
633 static void xe_oa_free_configs(struct xe_oa_stream *stream) in xe_oa_free_configs()
642 static void xe_oa_store_flex(struct xe_oa_stream *stream, struct xe_lrc *lrc, in xe_oa_store_flex()
656 static int xe_oa_modify_ctx_image(struct xe_oa_stream *stream, struct xe_lrc *lrc, in xe_oa_modify_ctx_image()
676 static int xe_oa_load_with_lri(struct xe_oa_stream *stream, struct xe_oa_reg *reg_lri) in xe_oa_load_with_lri()
695 static int xe_oa_configure_oar_context(struct xe_oa_stream *stream, bool enable) in xe_oa_configure_oar_context()
728 static int xe_oa_configure_oac_context(struct xe_oa_stream *stream, bool enable) in xe_oa_configure_oac_context()
764 static int xe_oa_configure_oa_context(struct xe_oa_stream *stream, bool enable) in xe_oa_configure_oa_context()
779 static u32 oag_configure_mmio_trigger(const struct xe_oa_stream *stream, bool enable) in oag_configure_mmio_trigger()
786 static void xe_oa_disable_metric_set(struct xe_oa_stream *stream) in xe_oa_disable_metric_set()
818 static void xe_oa_stream_destroy(struct xe_oa_stream *stream) in xe_oa_stream_destroy()
845 static int xe_oa_alloc_oa_buffer(struct xe_oa_stream *stream) in xe_oa_alloc_oa_buffer()
866 __xe_oa_alloc_config_buffer(struct xe_oa_stream *stream, struct xe_oa_config *oa_config) in __xe_oa_alloc_config_buffer()
896 xe_oa_alloc_config_buffer(struct xe_oa_stream *stream, struct xe_oa_config *oa_config) in xe_oa_alloc_config_buffer()
913 static int xe_oa_emit_oa_config(struct xe_oa_stream *stream, struct xe_oa_config *config) in xe_oa_emit_oa_config()
933 static u32 oag_report_ctx_switches(const struct xe_oa_stream *stream) in oag_report_ctx_switches()
941 static int xe_oa_enable_metric_set(struct xe_oa_stream *stream) in xe_oa_enable_metric_set()
1000 static void xe_oa_stream_enable(struct xe_oa_stream *stream) in xe_oa_stream_enable()
1012 static void xe_oa_stream_disable(struct xe_oa_stream *stream) in xe_oa_stream_disable()
1020 static int xe_oa_enable_preempt_timeslice(struct xe_oa_stream *stream) in xe_oa_enable_preempt_timeslice()
1036 static int xe_oa_disable_preempt_timeslice(struct xe_oa_stream *stream) in xe_oa_disable_preempt_timeslice()
1057 static int xe_oa_enable_locked(struct xe_oa_stream *stream) in xe_oa_enable_locked()
1075 static int xe_oa_disable_locked(struct xe_oa_stream *stream) in xe_oa_disable_locked()
1091 static long xe_oa_config_locked(struct xe_oa_stream *stream, u64 arg) in xe_oa_config_locked()
1125 static long xe_oa_status_locked(struct xe_oa_stream *stream, unsigned long arg) in xe_oa_status_locked()
1146 static long xe_oa_info_locked(struct xe_oa_stream *stream, unsigned long arg) in xe_oa_info_locked()
1157 static long xe_oa_ioctl_locked(struct xe_oa_stream *stream, in xe_oa_ioctl_locked()
1181 struct xe_oa_stream *stream = file->private_data; in xe_oa_ioctl()
1191 static void xe_oa_destroy_locked(struct xe_oa_stream *stream) in xe_oa_destroy_locked()
1206 struct xe_oa_stream *stream = file->private_data; in xe_oa_release()
1223 struct xe_oa_stream *stream = file->private_data; in xe_oa_mmap()
1299 static u32 xe_oa_context_image_offset(struct xe_oa_stream *stream, u32 reg) in xe_oa_context_image_offset()
1329 static int xe_oa_set_ctx_ctrl_offset(struct xe_oa_stream *stream) in xe_oa_set_ctx_ctrl_offset()
1347 static int xe_oa_stream_init(struct xe_oa_stream *stream, in xe_oa_stream_init()
1467 struct xe_oa_stream *stream; in xe_oa_stream_open_ioctl_locked()