Home
last modified time | relevance | path

Searched refs:venus_core (Results 1 – 20 of 20) sorted by relevance

/linux-5.19.10/drivers/media/platform/qcom/venus/
Dhfi.h92 struct venus_core;
96 void (*event_notify)(struct venus_core *core, u32 event);
109 int (*core_init)(struct venus_core *core);
110 int (*core_deinit)(struct venus_core *core);
111 int (*core_ping)(struct venus_core *core, u32 cookie);
112 int (*core_trigger_ssr)(struct venus_core *core, u32 trigger_type);
138 int (*resume)(struct venus_core *core);
139 int (*suspend)(struct venus_core *core);
142 irqreturn_t (*isr)(struct venus_core *core);
143 irqreturn_t (*isr_thread)(struct venus_core *core);
[all …]
Dfirmware.h10 int venus_firmware_init(struct venus_core *core);
11 void venus_firmware_deinit(struct venus_core *core);
12 int venus_boot(struct venus_core *core);
13 int venus_shutdown(struct venus_core *core);
14 int venus_set_hw_state(struct venus_core *core, bool suspend);
16 static inline int venus_set_hw_state_suspend(struct venus_core *core) in venus_set_hw_state_suspend()
21 static inline int venus_set_hw_state_resume(struct venus_core *core) in venus_set_hw_state_resume()
Dpm_helpers.h7 struct venus_core;
13 int (*core_get)(struct venus_core *core);
14 void (*core_put)(struct venus_core *core);
15 int (*core_power)(struct venus_core *core, int on);
34 struct venus_core *core = inst->core; in venus_pm_load_scale()
44 struct venus_core *core = inst->core; in venus_pm_acquire_core()
56 struct venus_core *core = inst->core; in venus_pm_release_core()
Dpm_helpers.c26 static int core_clks_get(struct venus_core *core) in core_clks_get()
41 static int core_clks_enable(struct venus_core *core) in core_clks_enable()
75 static void core_clks_disable(struct venus_core *core) in core_clks_disable()
84 static int core_clks_set_rate(struct venus_core *core, unsigned long freq) in core_clks_set_rate()
103 static int vcodec_clks_get(struct venus_core *core, struct device *dev, in vcodec_clks_get()
120 static int vcodec_clks_enable(struct venus_core *core, struct clk **clks) in vcodec_clks_enable()
140 static void vcodec_clks_disable(struct venus_core *core, struct clk **clks) in vcodec_clks_disable()
161 static u32 load_per_type(struct venus_core *core, u32 session_type) in load_per_type()
215 static int load_scale_bw(struct venus_core *core) in load_scale_bw()
245 struct venus_core *core = inst->core; in load_scale_v1()
[all …]
Dhfi_msgs.c22 static void event_seq_changed(struct venus_core *core, struct venus_inst *inst, in event_seq_changed()
130 static void event_release_buffer_ref(struct venus_core *core, in event_release_buffer_ref()
149 static void event_sys_error(struct venus_core *core, u32 event, in event_sys_error()
162 event_session_error(struct venus_core *core, struct venus_inst *inst, in event_session_error()
192 static void hfi_event_notify(struct venus_core *core, struct venus_inst *inst, in hfi_event_notify()
220 static void hfi_sys_init_done(struct venus_core *core, struct venus_inst *inst, in hfi_sys_init_done()
276 static void hfi_sys_property_info(struct venus_core *core, in hfi_sys_property_info()
297 static void hfi_sys_rel_resource_done(struct venus_core *core, in hfi_sys_rel_resource_done()
307 static void hfi_sys_ping_done(struct venus_core *core, struct venus_inst *inst, in hfi_sys_ping_done()
320 static void hfi_sys_idle_done(struct venus_core *core, struct venus_inst *inst, in hfi_sys_idle_done()
[all …]
Dhfi_venus.h9 struct venus_core;
11 void venus_hfi_destroy(struct venus_core *core);
12 int venus_hfi_create(struct venus_core *core);
13 void venus_hfi_queues_reinit(struct venus_core *core);
Dhfi.c50 int hfi_core_init(struct venus_core *core) in hfi_core_init()
84 int hfi_core_deinit(struct venus_core *core, bool blocking) in hfi_core_deinit()
120 int hfi_core_suspend(struct venus_core *core) in hfi_core_suspend()
128 int hfi_core_resume(struct venus_core *core, bool force) in hfi_core_resume()
136 int hfi_core_trigger_ssr(struct venus_core *core, u32 type) in hfi_core_trigger_ssr()
141 int hfi_core_ping(struct venus_core *core) in hfi_core_ping()
180 struct venus_core *core = inst->core; in hfi_session_create()
216 struct venus_core *core = inst->core; in hfi_session_init()
254 struct venus_core *core = inst->core; in hfi_session_destroy()
351 struct venus_core *core = inst->core; in hfi_session_continue()
[all …]
Ddbgfs.h7 struct venus_core;
9 void venus_dbgfs_init(struct venus_core *core);
10 void venus_dbgfs_deinit(struct venus_core *core);
Dfirmware.c27 static void venus_reset_cpu(struct venus_core *core) in venus_reset_cpu()
56 int venus_set_hw_state(struct venus_core *core, bool resume) in venus_set_hw_state()
79 static int venus_load_fw(struct venus_core *core, const char *fwname, in venus_load_fw()
144 static int venus_boot_no_tz(struct venus_core *core, phys_addr_t mem_phys, in venus_boot_no_tz()
170 static int venus_shutdown_no_tz(struct venus_core *core) in venus_shutdown_no_tz()
208 int venus_boot(struct venus_core *core) in venus_boot()
259 int venus_shutdown(struct venus_core *core) in venus_shutdown()
271 int venus_firmware_init(struct venus_core *core) in venus_firmware_init()
334 void venus_firmware_deinit(struct venus_core *core) in venus_firmware_deinit()
Dhfi_parser.c17 static void init_codecs(struct venus_core *core) in init_codecs()
63 parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_alloc_mode()
94 parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_profile_level()
119 parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_caps()
145 parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_raw_formats()
174 static void parse_codecs(struct venus_core *core, void *data) in parse_codecs()
188 static void parse_max_sessions(struct venus_core *core, const void *data) in parse_max_sessions()
231 static int hfi_platform_parser(struct venus_core *core, struct venus_inst *inst) in hfi_platform_parser()
264 u32 hfi_parser(struct venus_core *core, struct venus_inst *inst, void *buf, in hfi_parser()
Dcore.c28 static void venus_coredump(struct venus_core *core) in venus_coredump()
55 static void venus_event_notify(struct venus_core *core, u32 event) in venus_event_notify()
85 struct venus_core *core = in venus_sys_error_handler()
86 container_of(work, struct venus_core, work.work); in venus_sys_error_handler()
197 static int venus_enumerate_codecs(struct venus_core *core, u32 type) in venus_enumerate_codecs()
247 static void venus_assign_register_offsets(struct venus_core *core) in venus_assign_register_offsets()
271 struct venus_core *core; in venus_probe()
408 struct venus_core *core = platform_get_drvdata(pdev); in venus_remove()
443 struct venus_core *core = platform_get_drvdata(pdev); in venus_core_shutdown()
453 struct venus_core *core = dev_get_drvdata(dev); in venus_runtime_suspend()
[all …]
Ddbgfs.c10 void venus_dbgfs_init(struct venus_core *core) in venus_dbgfs_init()
16 void venus_dbgfs_deinit(struct venus_core *core) in venus_dbgfs_deinit()
Dhfi_venus.c115 struct venus_core *core;
423 static int venus_hfi_core_set_resource(struct venus_core *core, u32 id, in venus_hfi_core_set_resource()
1055 static irqreturn_t venus_isr_thread(struct venus_core *core) in venus_isr_thread()
1097 static irqreturn_t venus_isr(struct venus_core *core) in venus_isr()
1129 static int venus_core_init(struct venus_core *core) in venus_core_init()
1158 static int venus_core_deinit(struct venus_core *core) in venus_core_deinit()
1169 static int venus_core_ping(struct venus_core *core, u32 cookie) in venus_core_ping()
1179 static int venus_core_trigger_ssr(struct venus_core *core, u32 trigger_type) in venus_core_trigger_ssr()
1432 static int venus_resume(struct venus_core *core) in venus_resume()
1453 static int venus_suspend_1xx(struct venus_core *core) in venus_suspend_1xx()
[all …]
Dhfi_msgs.h270 struct venus_core;
273 void hfi_process_watchdog_timeout(struct venus_core *core);
274 u32 hfi_process_msg_packet(struct venus_core *core, struct hfi_pkt_hdr *hdr);
Dcore.h146 struct venus_core { struct
402 struct venus_core *core;
482 static inline void *to_hfi_priv(struct venus_core *core) in to_hfi_priv()
488 venus_caps_by_codec(struct venus_core *core, u32 codec, u32 domain) in venus_caps_by_codec()
Dhfi_parser.h8 u32 hfi_parser(struct venus_core *core, struct venus_inst *inst,
17 struct venus_core *core = inst->core; in get_cap()
Dvdec.c594 struct venus_core *core = inst->core; in vdec_pm_get()
607 struct venus_core *core = inst->core; in vdec_pm_put()
625 struct venus_core *core = inst->core; in vdec_pm_get_put()
701 struct venus_core *core = inst->core; in vdec_output_conf()
874 struct venus_core *core = inst->core; in vdec_queue_setup()
1255 struct venus_core *core = inst->core; in vdec_session_release()
1510 struct venus_core *core = inst->core; in vdec_event_notify()
1616 struct venus_core *core = video_drvdata(file); in vdec_open()
1726 struct venus_core *core; in vdec_probe()
1777 struct venus_core *core = dev_get_drvdata(pdev->dev.parent); in vdec_remove()
[all …]
Dvenc.c543 struct venus_core *core = inst->core; in venc_pm_get()
556 struct venus_core *core = inst->core; in venc_pm_put()
574 struct venus_core *core = inst->core; in venc_pm_get_put()
973 struct venus_core *core = inst->core; in venc_queue_setup()
1332 struct venus_core *core = video_drvdata(file); in venc_open()
1433 struct venus_core *core; in venc_probe()
1484 struct venus_core *core = dev_get_drvdata(pdev->dev.parent); in venc_remove()
1497 struct venus_core *core = dev_get_drvdata(dev); in venc_runtime_suspend()
1509 struct venus_core *core = dev_get_drvdata(dev); in venc_runtime_resume()
Dhelpers.c43 struct venus_core *core = inst->core; in venus_helper_check_codec()
164 struct venus_core *core = inst->core; in venus_helper_alloc_dpb_bufs()
235 struct venus_core *core = inst->core; in intbufs_set_buffer()
545 struct venus_core *core = inst->core; in is_dynamic_bufmode()
583 struct venus_core *core = inst->core; in session_register_bufs()
1547 struct venus_core *core = inst->core; in venus_helper_vb2_stop_streaming()
1755 struct venus_core *core = inst->core; in venus_helper_get_out_fmts()
1802 struct venus_core *core = inst->core; in venus_helper_check_format()
Dhelpers.h12 struct venus_core;