Lines Matching defs:hdev
138 static void venus_set_state(struct venus_hfi_device *hdev, in venus_set_state()
146 static bool venus_is_valid_state(struct venus_hfi_device *hdev) in venus_is_valid_state()
151 static void venus_dump_packet(struct venus_hfi_device *hdev, const void *packet) in venus_dump_packet()
162 static int venus_write_queue(struct venus_hfi_device *hdev, in venus_write_queue()
236 static int venus_read_queue(struct venus_hfi_device *hdev, in venus_read_queue()
334 static int venus_alloc(struct venus_hfi_device *hdev, struct mem_desc *desc, in venus_alloc()
350 static void venus_free(struct venus_hfi_device *hdev, struct mem_desc *mem) in venus_free()
357 static void venus_set_registers(struct venus_hfi_device *hdev) in venus_set_registers()
368 static void venus_soft_int(struct venus_hfi_device *hdev) in venus_soft_int()
381 static int venus_iface_cmdq_write_nolock(struct venus_hfi_device *hdev, in venus_iface_cmdq_write_nolock()
421 static int venus_iface_cmdq_write(struct venus_hfi_device *hdev, void *pkt, bool sync) in venus_iface_cmdq_write()
435 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_hfi_core_set_resource() local
456 static int venus_boot_core(struct venus_hfi_device *hdev) in venus_boot_core()
502 static u32 venus_hwversion(struct venus_hfi_device *hdev) in venus_hwversion()
521 static int venus_run(struct venus_hfi_device *hdev) in venus_run()
551 static int venus_halt_axi(struct venus_hfi_device *hdev) in venus_halt_axi()
631 static int venus_power_off(struct venus_hfi_device *hdev) in venus_power_off()
651 static int venus_power_on(struct venus_hfi_device *hdev) in venus_power_on()
677 static int venus_iface_msgq_read_nolock(struct venus_hfi_device *hdev, in venus_iface_msgq_read_nolock()
699 static int venus_iface_msgq_read(struct venus_hfi_device *hdev, void *pkt) in venus_iface_msgq_read()
710 static int venus_iface_dbgq_read_nolock(struct venus_hfi_device *hdev, in venus_iface_dbgq_read_nolock()
733 static int venus_iface_dbgq_read(struct venus_hfi_device *hdev, void *pkt) in venus_iface_dbgq_read()
763 static void venus_interface_queues_release(struct venus_hfi_device *hdev) in venus_interface_queues_release()
777 static int venus_interface_queues_init(struct venus_hfi_device *hdev) in venus_interface_queues_init()
845 static int venus_sys_set_debug(struct venus_hfi_device *hdev, u32 debug) in venus_sys_set_debug()
857 static int venus_sys_set_coverage(struct venus_hfi_device *hdev, u32 mode) in venus_sys_set_coverage()
869 static int venus_sys_set_idle_message(struct venus_hfi_device *hdev, in venus_sys_set_idle_message()
885 static int venus_sys_set_power_control(struct venus_hfi_device *hdev, in venus_sys_set_power_control()
898 static int venus_sys_set_ubwc_config(struct venus_hfi_device *hdev) in venus_sys_set_ubwc_config()
916 static int venus_get_queue_size(struct venus_hfi_device *hdev, in venus_get_queue_size()
931 static int venus_sys_set_default_properties(struct venus_hfi_device *hdev) in venus_sys_set_default_properties()
965 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_cmd() local
973 static void venus_flush_debug_queue(struct venus_hfi_device *hdev) in venus_flush_debug_queue()
989 static int venus_prepare_power_collapse(struct venus_hfi_device *hdev, in venus_prepare_power_collapse()
1016 static int venus_are_queues_empty(struct venus_hfi_device *hdev) in venus_are_queues_empty()
1034 static void venus_sfr_print(struct venus_hfi_device *hdev) in venus_sfr_print()
1054 static void venus_process_msg_sys_error(struct venus_hfi_device *hdev, in venus_process_msg_sys_error()
1069 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_isr_thread() local
1111 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_isr() local
1143 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_core_init() local
1172 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_core_deinit() local
1183 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_core_ping() local
1193 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_core_trigger_ssr() local
1207 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_init() local
1232 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_end() local
1245 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_abort() local
1254 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_flush() local
1283 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_etb() local
1313 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_ftb() local
1327 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_set_buffers() local
1347 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_unset_buffers() local
1377 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_parse_seq_hdr() local
1398 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_get_seq_hdr() local
1415 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_set_property() local
1433 struct venus_hfi_device *hdev = to_hfi_priv(inst->core); in venus_session_get_property() local
1446 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_resume() local
1467 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_suspend_1xx() local
1523 static bool venus_cpu_and_video_core_idle(struct venus_hfi_device *hdev) in venus_cpu_and_video_core_idle()
1543 static bool venus_cpu_idle_and_pc_ready(struct venus_hfi_device *hdev) in venus_cpu_idle_and_pc_ready()
1565 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_suspend_3xx() local
1672 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_hfi_destroy() local
1683 struct venus_hfi_device *hdev; in venus_hfi_create() local
1712 struct venus_hfi_device *hdev = to_hfi_priv(core); in venus_hfi_queues_reinit() local