Lines Matching refs:xe_oa

50 	struct xe_oa *oa;
152 static struct xe_oa_config *xe_oa_get_oa_config(struct xe_oa *oa, int metrics_set) in xe_oa_get_oa_config()
1464 static int xe_oa_stream_open_ioctl_locked(struct xe_oa *oa, in xe_oa_stream_open_ioctl_locked()
1570 static int decode_oa_format(struct xe_oa *oa, u64 fmt, enum xe_oa_format_name *name) in decode_oa_format()
1603 static int xe_oa_assign_hwe(struct xe_oa *oa, struct xe_oa_open_param *param) in xe_oa_assign_hwe()
1637 static int xe_oa_set_prop_oa_unit_id(struct xe_oa *oa, u64 value, in xe_oa_set_prop_oa_unit_id()
1648 static int xe_oa_set_prop_sample_oa(struct xe_oa *oa, u64 value, in xe_oa_set_prop_sample_oa()
1655 static int xe_oa_set_prop_metric_set(struct xe_oa *oa, u64 value, in xe_oa_set_prop_metric_set()
1662 static int xe_oa_set_prop_oa_format(struct xe_oa *oa, u64 value, in xe_oa_set_prop_oa_format()
1674 static int xe_oa_set_prop_oa_exponent(struct xe_oa *oa, u64 value, in xe_oa_set_prop_oa_exponent()
1687 static int xe_oa_set_prop_disabled(struct xe_oa *oa, u64 value, in xe_oa_set_prop_disabled()
1694 static int xe_oa_set_prop_exec_queue_id(struct xe_oa *oa, u64 value, in xe_oa_set_prop_exec_queue_id()
1701 static int xe_oa_set_prop_engine_instance(struct xe_oa *oa, u64 value, in xe_oa_set_prop_engine_instance()
1708 static int xe_oa_set_no_preempt(struct xe_oa *oa, u64 value, in xe_oa_set_no_preempt()
1715 typedef int (*xe_oa_set_property_fn)(struct xe_oa *oa, u64 value,
1729 static int xe_oa_user_ext_set_property(struct xe_oa *oa, u64 extension, in xe_oa_user_ext_set_property()
1749 typedef int (*xe_oa_user_extension_fn)(struct xe_oa *oa, u64 extension,
1756 static int xe_oa_user_extensions(struct xe_oa *oa, u64 extension, int ext_number, in xe_oa_user_extensions()
1799 struct xe_oa *oa = &xe->oa; in xe_oa_stream_open_ioctl()
1888 static bool xe_oa_is_valid_flex_addr(struct xe_oa *oa, u32 addr) in xe_oa_is_valid_flex_addr()
1952 static bool xe_oa_is_valid_b_counter_addr(struct xe_oa *oa, u32 addr) in xe_oa_is_valid_b_counter_addr()
1989 static bool xe_oa_is_valid_mux_addr(struct xe_oa *oa, u32 addr) in xe_oa_is_valid_mux_addr()
1999 static bool xe_oa_is_valid_config_reg_addr(struct xe_oa *oa, u32 addr) in xe_oa_is_valid_config_reg_addr()
2007 xe_oa_alloc_regs(struct xe_oa *oa, bool (*is_valid)(struct xe_oa *oa, u32 addr), in xe_oa_alloc_regs()
2058 static int create_dynamic_oa_sysfs_entry(struct xe_oa *oa, in create_dynamic_oa_sysfs_entry()
2089 struct xe_oa *oa = &xe->oa; in xe_oa_add_config_ioctl()
2191 struct xe_oa *oa = &xe->oa; in xe_oa_remove_config_ioctl()
2247 struct xe_oa *oa = &xe->oa; in xe_oa_register()
2262 struct xe_oa *oa = &xe->oa; in xe_oa_unregister()
2397 static int xe_oa_init_oa_units(struct xe_oa *oa) in xe_oa_init_oa_units()
2411 static void oa_format_add(struct xe_oa *oa, enum xe_oa_format_name format) in oa_format_add()
2416 static void xe_oa_init_supported_formats(struct xe_oa *oa) in xe_oa_init_supported_formats()
2463 struct xe_oa *oa = &xe->oa; in xe_oa_init()
2504 struct xe_oa *oa = &xe->oa; in xe_oa_fini()