Home
last modified time | relevance | path

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

/linux-6.12.1/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()
251 sys_get_prop_image_version(struct venus_core *core, in sys_get_prop_image_version()
300 static void hfi_sys_property_info(struct venus_core *core, in hfi_sys_property_info()
321 static void hfi_sys_rel_resource_done(struct venus_core *core, in hfi_sys_rel_resource_done()
331 static void hfi_sys_ping_done(struct venus_core *core, struct venus_inst *inst, in hfi_sys_ping_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.h9 struct venus_core;
22 void venus_dbgfs_init(struct venus_core *core);
23 void venus_dbgfs_deinit(struct venus_core *core);
Dfirmware.c28 static void venus_reset_cpu(struct venus_core *core) in venus_reset_cpu()
57 int venus_set_hw_state(struct venus_core *core, bool resume) in venus_set_hw_state()
82 static int venus_load_fw(struct venus_core *core, const char *fwname, in venus_load_fw()
148 static int venus_boot_no_tz(struct venus_core *core, phys_addr_t mem_phys, in venus_boot_no_tz()
174 static int venus_shutdown_no_tz(struct venus_core *core) in venus_shutdown_no_tz()
210 int venus_boot(struct venus_core *core) in venus_boot()
271 int venus_shutdown(struct venus_core *core) in venus_shutdown()
283 int venus_firmware_init(struct venus_core *core) in venus_firmware_init()
346 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()
66 parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_alloc_mode()
100 parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_profile_level()
128 parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_caps()
157 parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_raw_formats()
189 static void parse_codecs(struct venus_core *core, void *data) in parse_codecs()
203 static void parse_max_sessions(struct venus_core *core, const void *data) in parse_max_sessions()
246 static int hfi_platform_parser(struct venus_core *core, struct venus_inst *inst) in hfi_platform_parser()
281 u32 hfi_parser(struct venus_core *core, struct venus_inst *inst, void *buf, in hfi_parser()
Dcore.c30 static void venus_coredump(struct venus_core *core) in venus_coredump()
57 static void venus_event_notify(struct venus_core *core, u32 event) in venus_event_notify()
88 struct venus_core *core = in venus_sys_error_handler()
89 container_of(work, struct venus_core, work.work); in venus_sys_error_handler()
204 static int venus_enumerate_codecs(struct venus_core *core, u32 type) in venus_enumerate_codecs()
254 static void venus_assign_register_offsets(struct venus_core *core) in venus_assign_register_offsets()
277 struct venus_core *core = dev_id; in venus_isr_thread()
291 struct venus_core *core; in venus_probe()
428 struct venus_core *core = platform_get_drvdata(pdev); in venus_remove()
462 struct venus_core *core = platform_get_drvdata(pdev); in venus_core_shutdown()
[all …]
Ddbgfs.c15 void venus_dbgfs_init(struct venus_core *core) in venus_dbgfs_init()
25 void venus_dbgfs_deinit(struct venus_core *core) in venus_dbgfs_deinit()
Dcore.h174 struct venus_core { struct
445 struct venus_core *core;
533 static inline void *to_hfi_priv(struct venus_core *core) in to_hfi_priv()
539 venus_caps_by_codec(struct venus_core *core, u32 codec, u32 domain) in venus_caps_by_codec()
553 is_fw_rev_or_newer(struct venus_core *core, u32 vmajor, u32 vminor, u32 vrev) in is_fw_rev_or_newer()
561 is_fw_rev_or_older(struct venus_core *core, u32 vmajor, u32 vminor, u32 vrev) in is_fw_rev_or_older()
Dhfi_venus.c115 struct venus_core *core;
432 static int venus_hfi_core_set_resource(struct venus_core *core, u32 id, in venus_hfi_core_set_resource()
1067 static irqreturn_t venus_isr_thread(struct venus_core *core) in venus_isr_thread()
1109 static irqreturn_t venus_isr(struct venus_core *core) in venus_isr()
1141 static int venus_core_init(struct venus_core *core) in venus_core_init()
1170 static int venus_core_deinit(struct venus_core *core) in venus_core_deinit()
1181 static int venus_core_ping(struct venus_core *core, u32 cookie) in venus_core_ping()
1191 static int venus_core_trigger_ssr(struct venus_core *core, u32 trigger_type) in venus_core_trigger_ssr()
1444 static int venus_resume(struct venus_core *core) in venus_resume()
1465 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);
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.c627 struct venus_core *core = inst->core; in vdec_pm_get()
640 struct venus_core *core = inst->core; in vdec_pm_put()
658 struct venus_core *core = inst->core; in vdec_pm_get_put()
745 struct venus_core *core = inst->core; in vdec_output_conf()
918 struct venus_core *core = inst->core; in vdec_queue_setup()
1299 struct venus_core *core = inst->core; in vdec_session_release()
1559 struct venus_core *core = inst->core; in vdec_event_notify()
1667 struct venus_core *core = video_drvdata(file); in vdec_open()
1780 struct venus_core *core; in vdec_probe()
1831 struct venus_core *core = dev_get_drvdata(pdev->dev.parent); in vdec_remove()
[all …]
Dhfi_platform.c72 hfi_platform_get_codecs(struct venus_core *core, u32 *enc_codecs, u32 *dec_codecs, u32 *count) in hfi_platform_get_codecs()
Dvenc.c606 struct venus_core *core = inst->core; in venc_pm_get()
619 struct venus_core *core = inst->core; in venc_pm_put()
637 struct venus_core *core = inst->core; in venc_pm_get_put()
1062 struct venus_core *core = inst->core; in venc_queue_setup()
1440 struct venus_core *core = video_drvdata(file); in venc_open()
1548 struct venus_core *core; in venc_probe()
1599 struct venus_core *core = dev_get_drvdata(pdev->dev.parent); in venc_remove()
1610 struct venus_core *core = dev_get_drvdata(dev); in venc_runtime_suspend()
1622 struct venus_core *core = dev_get_drvdata(dev); in venc_runtime_resume()
Dhfi_platform.h69 int hfi_platform_get_codecs(struct venus_core *core, u32 *enc_codecs, u32 *dec_codecs,
Dhelpers.h12 struct venus_core;
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()
540 struct venus_core *core = inst->core; in is_dynamic_bufmode()
578 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()
1818 struct venus_core *core = inst->core; in venus_helper_check_format()