Home
last modified time | relevance | path

Searched refs:iris_core (Results 1 – 25 of 37) sorted by relevance

12

/drivers/media/platform/qcom/iris/
A Diris_vpu_common.h9 struct iris_core;
16 void (*power_off_hw)(struct iris_core *core);
17 int (*power_off_controller)(struct iris_core *core);
21 int iris_vpu_boot_firmware(struct iris_core *core);
22 void iris_vpu_raise_interrupt(struct iris_core *core);
23 void iris_vpu_clear_interrupt(struct iris_core *core);
25 int iris_vpu_prepare_pc(struct iris_core *core);
26 int iris_vpu_power_on(struct iris_core *core);
27 int iris_vpu_power_off_controller(struct iris_core *core);
28 void iris_vpu_power_off_hw(struct iris_core *core);
[all …]
A Diris_resources.h9 struct iris_core;
11 int iris_enable_power_domains(struct iris_core *core, struct device *pd_dev);
12 int iris_disable_power_domains(struct iris_core *core, struct device *pd_dev);
13 int iris_unset_icc_bw(struct iris_core *core);
14 int iris_set_icc_bw(struct iris_core *core, unsigned long icc_bw);
15 int iris_disable_unprepare_clock(struct iris_core *core, enum platform_clk_type clk_type);
16 int iris_prepare_enable_clock(struct iris_core *core, enum platform_clk_type clk_type);
A Diris_hfi_queue.h9 struct iris_core;
174 int iris_hfi_queues_init(struct iris_core *core);
175 void iris_hfi_queues_deinit(struct iris_core *core);
177 int iris_hfi_queue_cmd_write_locked(struct iris_core *core, void *pkt, u32 pkt_size);
178 int iris_hfi_queue_cmd_write(struct iris_core *core, void *pkt, u32 pkt_size);
179 int iris_hfi_queue_msg_read(struct iris_core *core, void *pkt);
180 int iris_hfi_queue_dbg_read(struct iris_core *core, void *pkt);
A Diris_hfi_common.h15 struct iris_core;
109 int (*sys_init)(struct iris_core *core);
110 int (*sys_image_version)(struct iris_core *core);
111 int (*sys_interframe_powercollapse)(struct iris_core *core);
112 int (*sys_pc_prep)(struct iris_core *core);
130 void (*hfi_response_handler)(struct iris_core *core);
149 int iris_hfi_core_init(struct iris_core *core);
150 int iris_hfi_pm_suspend(struct iris_core *core);
151 int iris_hfi_pm_resume(struct iris_core *core);
A Diris_probe.c18 static int iris_init_icc(struct iris_core *core) in iris_init_icc()
41 static int iris_init_power_domains(struct iris_core *core) in iris_init_power_domains()
81 static int iris_init_clocks(struct iris_core *core) in iris_init_clocks()
94 static int iris_init_reset_table(struct iris_core *core, in iris_init_reset_table()
112 static int iris_init_resets(struct iris_core *core) in iris_init_resets()
130 static int iris_init_resources(struct iris_core *core) in iris_init_resources()
183 struct iris_core *core; in iris_remove()
200 struct iris_core *core = in iris_sys_error_handler()
210 struct iris_core *core; in iris_probe()
294 struct iris_core *core; in iris_pm_suspend()
[all …]
A Diris_vpu_common.c74 static void iris_vpu_interrupt_init(struct iris_core *core) in iris_vpu_interrupt_init()
110 int iris_vpu_boot_firmware(struct iris_core *core) in iris_vpu_boot_firmware()
141 void iris_vpu_raise_interrupt(struct iris_core *core) in iris_vpu_raise_interrupt()
146 void iris_vpu_clear_interrupt(struct iris_core *core) in iris_vpu_clear_interrupt()
161 int iris_vpu_watchdog(struct iris_core *core, u32 intr_status) in iris_vpu_watchdog()
171 int iris_vpu_prepare_pc(struct iris_core *core) in iris_vpu_prepare_pc()
214 int iris_vpu_power_off_controller(struct iris_core *core) in iris_vpu_power_off_controller()
256 void iris_vpu_power_off_hw(struct iris_core *core) in iris_vpu_power_off_hw()
263 void iris_vpu_power_off(struct iris_core *core) in iris_vpu_power_off()
305 static int iris_vpu_power_on_hw(struct iris_core *core) in iris_vpu_power_on_hw()
[all …]
A Diris_resources.c18 int iris_set_icc_bw(struct iris_core *core, unsigned long icc_bw) in iris_set_icc_bw()
47 int iris_unset_icc_bw(struct iris_core *core) in iris_unset_icc_bw()
61 int iris_enable_power_domains(struct iris_core *core, struct device *pd_dev) in iris_enable_power_domains()
76 int iris_disable_power_domains(struct iris_core *core, struct device *pd_dev) in iris_disable_power_domains()
89 static struct clk *iris_get_clk_by_type(struct iris_core *core, enum platform_clk_type clk_type) in iris_get_clk_by_type()
109 int iris_prepare_enable_clock(struct iris_core *core, enum platform_clk_type clk_type) in iris_prepare_enable_clock()
120 int iris_disable_unprepare_clock(struct iris_core *core, enum platform_clk_type clk_type) in iris_disable_unprepare_clock()
A Diris_firmware.h9 struct iris_core;
11 int iris_fw_load(struct iris_core *core);
12 int iris_fw_unload(struct iris_core *core);
13 int iris_set_hw_state(struct iris_core *core, bool resume);
A Diris_hfi_gen2_packet.h11 struct iris_core;
112 void iris_hfi_gen2_packet_sys_init(struct iris_core *core, struct iris_hfi_header *hdr);
113 void iris_hfi_gen2_packet_image_version(struct iris_core *core, struct iris_hfi_header *hdr);
121 void iris_hfi_gen2_packet_sys_interframe_powercollapse(struct iris_core *core,
123 void iris_hfi_gen2_packet_sys_pc_prep(struct iris_core *core, struct iris_hfi_header *hdr);
A Diris_hfi_queue.c112 int iris_hfi_queue_cmd_write_locked(struct iris_core *core, void *pkt, u32 pkt_size) in iris_hfi_queue_cmd_write_locked()
129 int iris_hfi_queue_cmd_write(struct iris_core *core, void *pkt, u32 pkt_size) in iris_hfi_queue_cmd_write()
156 int iris_hfi_queue_msg_read(struct iris_core *core, void *pkt) in iris_hfi_queue_msg_read()
178 int iris_hfi_queue_dbg_read(struct iris_core *core, void *pkt) in iris_hfi_queue_dbg_read()
200 static void iris_hfi_queue_set_header(struct iris_core *core, u32 queue_id, in iris_hfi_queue_set_header()
227 iris_hfi_queue_init(struct iris_core *core, u32 queue_id, struct iris_iface_q_info *iface_q) in iris_hfi_queue_init()
247 int iris_hfi_queues_init(struct iris_core *core) in iris_hfi_queues_init()
293 void iris_hfi_queues_deinit(struct iris_core *core) in iris_hfi_queues_deinit()
A Diris_hfi_gen1.h9 struct iris_core;
12 void iris_hfi_gen1_command_ops_init(struct iris_core *core);
13 void iris_hfi_gen1_response_ops_init(struct iris_core *core);
A Diris_hfi_gen2.h11 struct iris_core;
37 void iris_hfi_gen2_command_ops_init(struct iris_core *core);
38 void iris_hfi_gen2_response_ops_init(struct iris_core *core);
A Diris_firmware.c17 static int iris_load_fw_to_memory(struct iris_core *core, const char *fw_name) in iris_load_fw_to_memory()
80 int iris_fw_load(struct iris_core *core) in iris_fw_load()
110 int iris_fw_unload(struct iris_core *core) in iris_fw_unload()
115 int iris_set_hw_state(struct iris_core *core, bool resume) in iris_set_hw_state()
A Diris_hfi_gen2_packet.c121 void iris_hfi_gen2_packet_sys_init(struct iris_core *core, struct iris_hfi_header *hdr) in iris_hfi_gen2_packet_sys_init()
210 void iris_hfi_gen2_packet_image_version(struct iris_core *core, struct iris_hfi_header *hdr) in iris_hfi_gen2_packet_image_version()
231 struct iris_core *core = inst->core; in iris_hfi_gen2_packet_session_command()
250 struct iris_core *core = inst->core; in iris_hfi_gen2_packet_session_property()
264 void iris_hfi_gen2_packet_sys_interframe_powercollapse(struct iris_core *core, in iris_hfi_gen2_packet_sys_interframe_powercollapse()
281 void iris_hfi_gen2_packet_sys_pc_prep(struct iris_core *core, struct iris_hfi_header *hdr) in iris_hfi_gen2_packet_sys_pc_prep()
A Diris_hfi_common.c77 int iris_hfi_core_init(struct iris_core *core) in iris_hfi_core_init()
102 struct iris_core *core = data; in iris_hfi_isr_handler()
120 int iris_hfi_pm_suspend(struct iris_core *core) in iris_hfi_pm_suspend()
145 int iris_hfi_pm_resume(struct iris_core *core) in iris_hfi_pm_resume()
A Diris_hfi_gen2_response.c18 int (*handle)(struct iris_core *core, struct iris_hfi_packet *pkt);
190 struct iris_core *core = inst->core; in iris_hfi_gen2_handle_session_info()
228 struct iris_core *core = inst->core; in iris_hfi_gen2_handle_session_error()
265 static int iris_hfi_gen2_handle_system_error(struct iris_core *core, in iris_hfi_gen2_handle_system_error()
285 static int iris_hfi_gen2_handle_system_init(struct iris_core *core, in iris_hfi_gen2_handle_system_init()
514 struct iris_core *core = inst->core; in iris_hfi_gen2_read_input_subcr_params()
735 static int iris_hfi_gen2_handle_system_property(struct iris_core *core, in iris_hfi_gen2_handle_system_property()
746 static int iris_hfi_gen2_handle_system_response(struct iris_core *core, in iris_hfi_gen2_handle_system_response()
843 static int iris_hfi_gen2_handle_session_response(struct iris_core *core, in iris_hfi_gen2_handle_session_response()
944 static void iris_hfi_gen2_response_handler(struct iris_core *core) in iris_hfi_gen2_response_handler()
[all …]
A Diris_core.h70 struct iris_core { struct
110 int iris_core_init(struct iris_core *core); argument
111 void iris_core_deinit(struct iris_core *core);
A Diris_power.c19 struct iris_core *core = inst->core; in iris_calc_bw()
44 struct iris_core *core = inst->core; in iris_set_interconnects()
80 struct iris_core *core = inst->core; in iris_set_clocks()
124 struct iris_core *core = inst->core; in iris_scale_power()
A Diris_platform_common.h11 struct iris_core;
149 void (*init_hfi_command_ops)(struct iris_core *core);
150 void (*init_hfi_response_ops)(struct iris_core *core);
153 void (*set_preset_registers)(struct iris_core *core);
A Diris_core.c13 void iris_core_deinit(struct iris_core *core) in iris_core_deinit()
27 static int iris_wait_for_system_response(struct iris_core *core) in iris_wait_for_system_response()
45 int iris_core_init(struct iris_core *core) in iris_core_init()
A Diris_hfi_gen1_response.c28 struct iris_core *core = inst->core; in iris_hfi_gen1_read_changed_params()
218 iris_hfi_gen1_sys_event_notify(struct iris_core *core, void *packet) in iris_hfi_gen1_sys_event_notify()
282 static void iris_hfi_gen1_sys_init_done(struct iris_core *core, void *packet) in iris_hfi_gen1_sys_init_done()
295 iris_hfi_gen1_sys_get_prop_image_version(struct iris_core *core, in iris_hfi_gen1_sys_get_prop_image_version()
324 static void iris_hfi_gen1_sys_property_info(struct iris_core *core, void *packet) in iris_hfi_gen1_sys_property_info()
396 struct iris_core *core = inst->core; in iris_hfi_gen1_session_ftb_done()
572 static void iris_hfi_gen1_handle_response(struct iris_core *core, void *response) in iris_hfi_gen1_handle_response()
651 static void iris_hfi_gen1_flush_debug_queue(struct iris_core *core, u8 *packet) in iris_hfi_gen1_flush_debug_queue()
667 static void iris_hfi_gen1_response_handler(struct iris_core *core) in iris_hfi_gen1_response_handler()
682 void iris_hfi_gen1_response_ops_init(struct iris_core *core) in iris_hfi_gen1_response_ops_init()
A Diris_vidc.h9 struct iris_core;
11 void iris_init_ops(struct iris_core *core);
A Diris_ctrls.h11 struct iris_core;
15 void iris_session_init_caps(struct iris_core *core);
A Diris_utils.h9 struct iris_core;
48 struct iris_inst *iris_get_instance(struct iris_core *core, u32 session_id);
A Diris_vpu3x.c56 static bool iris_vpu3x_hw_power_collapsed(struct iris_core *core) in iris_vpu3x_hw_power_collapsed()
66 static void iris_vpu3_power_off_hardware(struct iris_core *core) in iris_vpu3_power_off_hardware()
110 static void iris_vpu33_power_off_hardware(struct iris_core *core) in iris_vpu33_power_off_hardware()
148 static int iris_vpu33_power_off_controller(struct iris_core *core) in iris_vpu33_power_off_controller()

Completed in 32 milliseconds

12