Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dhfi.h92 struct venus_core;
109 int (*core_init)(struct venus_core *core);
110 int (*core_deinit)(struct venus_core *core);
138 int (*resume)(struct venus_core *core);
139 int (*suspend)(struct venus_core *core);
142 irqreturn_t (*isr)(struct venus_core *core);
147 void hfi_destroy(struct venus_core *core);
148 void hfi_reinit(struct venus_core *core);
150 int hfi_core_init(struct venus_core *core);
152 int hfi_core_suspend(struct venus_core *core);
[all …]
H A 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()
H A 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()
H A 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()
245 struct venus_core *core = inst->core; in load_scale_v1()
294 static int core_get_v1(struct venus_core *core) in core_get_v1()
309 static void core_put_v1(struct venus_core *core) in core_put_v1()
572 struct venus_core *core = inst->core; in min_loaded_core()
624 struct venus_core *core = inst->core; in decide_core()
684 struct venus_core *core = inst->core; in acquire_core()
711 struct venus_core *core = inst->core; in release_core()
744 struct venus_core *core = inst->core; in coreid_power_v4()
[all …]
H A 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);
H A Dhfi_msgs.c130 static void event_release_buffer_ref(struct venus_core *core, in event_release_buffer_ref()
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()
411 static void hfi_session_prop_info(struct venus_core *core, in hfi_session_prop_info()
447 static void hfi_session_init_done(struct venus_core *core, in hfi_session_init_done()
482 static void hfi_session_flush_done(struct venus_core *core, in hfi_session_flush_done()
493 static void hfi_session_etb_done(struct venus_core *core, in hfi_session_etb_done()
503 static void hfi_session_ftb_done(struct venus_core *core, in hfi_session_ftb_done()
593 static void hfi_session_stop_done(struct venus_core *core, in hfi_session_stop_done()
620 static void hfi_session_end_done(struct venus_core *core, in hfi_session_end_done()
[all …]
H A Dhfi.c50 int hfi_core_init(struct venus_core *core) in hfi_core_init()
120 int hfi_core_suspend(struct venus_core *core) in hfi_core_suspend()
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()
558 struct venus_core *core = dev_id; in hfi_isr_thread()
565 struct venus_core *core = dev; in hfi_isr()
584 void hfi_destroy(struct venus_core *core) in hfi_destroy()
[all …]
H A Ddbgfs.h9 struct venus_core;
22 void venus_dbgfs_init(struct venus_core *core);
23 void venus_dbgfs_deinit(struct venus_core *core);
H A 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()
H A 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()
H A 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()
H A Dcore.c29 static void venus_coredump(struct venus_core *core) in venus_coredump()
56 static void venus_event_notify(struct venus_core *core, u32 event) in venus_event_notify()
86 struct venus_core *core = in venus_sys_error_handler()
87 container_of(work, struct venus_core, work.work); in venus_sys_error_handler()
248 static void venus_assign_register_offsets(struct venus_core *core) in venus_assign_register_offsets()
271 struct venus_core *core = dev_id; in venus_isr_thread()
285 struct venus_core *core; in venus_probe()
422 struct venus_core *core = platform_get_drvdata(pdev); in venus_remove()
456 struct venus_core *core = platform_get_drvdata(pdev); in venus_core_shutdown()
466 struct venus_core *core = dev_get_drvdata(dev); in venus_runtime_suspend()
[all …]
H A 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()
H A 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);
H A Dhfi_parser.h8 u32 hfi_parser(struct venus_core *core, struct venus_inst *inst,
17 struct venus_core *core = inst->core; in get_cap()
H A Dhfi_venus.c115 struct venus_core *core;
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()
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()
1563 static int venus_suspend_3xx(struct venus_core *core) in venus_suspend_3xx()
1631 static int venus_suspend(struct venus_core *core) in venus_suspend()
1670 void venus_hfi_destroy(struct venus_core *core) in venus_hfi_destroy()
1681 int venus_hfi_create(struct venus_core *core) in venus_hfi_create()
[all …]
H A 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()
1842 struct venus_core *core = dev_get_drvdata(dev); in vdec_runtime_suspend()
[all …]
H A Dhfi_platform.c72 hfi_platform_get_codecs(struct venus_core *core, u32 *enc_codecs, u32 *dec_codecs, u32 *count) in hfi_platform_get_codecs()
H A Dhfi_platform.h69 int hfi_platform_get_codecs(struct venus_core *core, u32 *enc_codecs, u32 *dec_codecs,
H A 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()
H A Dhelpers.h12 struct venus_core;
H A 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()