Lines Matching refs:iosm_imem
25 static int ipc_imem_msg_send_device_sleep(struct iosm_imem *ipc_imem, u32 state) in ipc_imem_msg_send_device_sleep()
38 static bool ipc_imem_dl_skb_alloc(struct iosm_imem *ipc_imem, in ipc_imem_dl_skb_alloc()
51 static int ipc_imem_tq_td_alloc_timer(struct iosm_imem *ipc_imem, int arg, in ipc_imem_tq_td_alloc_timer()
88 struct iosm_imem *ipc_imem = in ipc_imem_td_alloc_timer_cb()
89 container_of(hr_timer, struct iosm_imem, td_alloc_timer); in ipc_imem_td_alloc_timer_cb()
97 static int ipc_imem_tq_fast_update_timer_cb(struct iosm_imem *ipc_imem, int arg, in ipc_imem_tq_fast_update_timer_cb()
109 struct iosm_imem *ipc_imem = in ipc_imem_fast_update_timer_cb()
110 container_of(hr_timer, struct iosm_imem, fast_update_timer); in ipc_imem_fast_update_timer_cb()
117 static int ipc_imem_tq_adb_timer_cb(struct iosm_imem *ipc_imem, int arg, in ipc_imem_tq_adb_timer_cb()
127 struct iosm_imem *ipc_imem = in ipc_imem_adb_timer_cb()
128 container_of(hr_timer, struct iosm_imem, adb_timer); in ipc_imem_adb_timer_cb()
135 static int ipc_imem_setup_cp_mux_cap_init(struct iosm_imem *ipc_imem, in ipc_imem_setup_cp_mux_cap_init()
159 void ipc_imem_msg_send_feature_set(struct iosm_imem *ipc_imem, in ipc_imem_msg_send_feature_set()
178 void ipc_imem_td_update_timer_start(struct iosm_imem *ipc_imem) in ipc_imem_td_update_timer_start()
208 void ipc_imem_adb_timer_start(struct iosm_imem *ipc_imem) in ipc_imem_adb_timer_start()
219 bool ipc_imem_ul_write_td(struct iosm_imem *ipc_imem) in ipc_imem_ul_write_td()
262 void ipc_imem_ipc_init_check(struct iosm_imem *ipc_imem) in ipc_imem_ipc_init_check()
298 static void ipc_imem_dl_skb_process(struct iosm_imem *ipc_imem, in ipc_imem_dl_skb_process()
334 static void ipc_imem_dl_pipe_process(struct iosm_imem *ipc_imem, in ipc_imem_dl_pipe_process()
394 static void ipc_imem_ul_pipe_process(struct iosm_imem *ipc_imem, in ipc_imem_ul_pipe_process()
450 static void ipc_imem_rom_irq_exec(struct iosm_imem *ipc_imem) in ipc_imem_rom_irq_exec()
460 static int ipc_imem_tq_td_update_timer_cb(struct iosm_imem *ipc_imem, int arg, in ipc_imem_tq_td_update_timer_cb()
469 static void ipc_imem_slp_control_exec(struct iosm_imem *ipc_imem) in ipc_imem_slp_control_exec()
484 static int ipc_imem_tq_startup_timer_cb(struct iosm_imem *ipc_imem, int arg, in ipc_imem_tq_startup_timer_cb()
522 struct iosm_imem *ipc_imem = in ipc_imem_startup_timer_cb()
523 container_of(hr_timer, struct iosm_imem, startup_timer); in ipc_imem_startup_timer_cb()
538 ipc_imem_get_exec_stage_buffered(struct iosm_imem *ipc_imem) in ipc_imem_get_exec_stage_buffered()
547 static int ipc_imem_send_mdm_rdy_cb(struct iosm_imem *ipc_imem, int arg, in ipc_imem_send_mdm_rdy_cb()
566 struct iosm_imem *ipc_imem; in ipc_imem_run_state_worker()
570 ipc_imem = container_of(instance, struct iosm_imem, run_state_worker); in ipc_imem_run_state_worker()
642 static void ipc_imem_handle_irq(struct iosm_imem *ipc_imem, int irq) in ipc_imem_handle_irq()
793 static int ipc_imem_tq_irq_cb(struct iosm_imem *ipc_imem, int arg, void *msg, in ipc_imem_tq_irq_cb()
801 void ipc_imem_ul_send(struct iosm_imem *ipc_imem) in ipc_imem_ul_send()
809 static enum ipc_phase ipc_imem_phase_update_check(struct iosm_imem *ipc_imem, in ipc_imem_phase_update_check()
863 static bool ipc_imem_pipe_open(struct iosm_imem *ipc_imem, in ipc_imem_pipe_open()
878 static int ipc_imem_tq_pipe_td_alloc(struct iosm_imem *ipc_imem, int arg, in ipc_imem_tq_pipe_td_alloc()
900 struct iosm_imem *ipc_imem = in ipc_imem_td_update_timer_cb()
901 container_of(hr_timer, struct iosm_imem, tdupdate_timer); in ipc_imem_td_update_timer_cb()
909 enum ipc_phase ipc_imem_phase_update(struct iosm_imem *ipc_imem) in ipc_imem_phase_update()
951 void ipc_imem_pipe_close(struct iosm_imem *ipc_imem, struct ipc_pipe *pipe) in ipc_imem_pipe_close()
962 void ipc_imem_channel_close(struct iosm_imem *ipc_imem, int channel_id) in ipc_imem_channel_close()
996 struct ipc_mem_channel *ipc_imem_channel_open(struct iosm_imem *ipc_imem, in ipc_imem_channel_open()
1034 void ipc_imem_pm_suspend(struct iosm_imem *ipc_imem) in ipc_imem_pm_suspend()
1039 void ipc_imem_pm_s2idle_sleep(struct iosm_imem *ipc_imem, bool sleep) in ipc_imem_pm_s2idle_sleep()
1044 void ipc_imem_pm_resume(struct iosm_imem *ipc_imem) in ipc_imem_pm_resume()
1060 int ipc_imem_channel_alloc(struct iosm_imem *ipc_imem, int index, in ipc_imem_channel_alloc()
1095 void ipc_imem_channel_init(struct iosm_imem *ipc_imem, enum ipc_ctype ctype, in ipc_imem_channel_init()
1128 void ipc_imem_channel_update(struct iosm_imem *ipc_imem, int id, in ipc_imem_channel_update()
1168 static void ipc_imem_channel_reset(struct iosm_imem *ipc_imem) in ipc_imem_channel_reset()
1184 void ipc_imem_pipe_cleanup(struct iosm_imem *ipc_imem, struct ipc_pipe *pipe) in ipc_imem_pipe_cleanup()
1201 static void ipc_imem_device_ipc_uninit(struct iosm_imem *ipc_imem) in ipc_imem_device_ipc_uninit()
1231 void ipc_imem_cleanup(struct iosm_imem *ipc_imem) in ipc_imem_cleanup()
1273 static int ipc_imem_config(struct iosm_imem *ipc_imem) in ipc_imem_config()
1334 struct iosm_imem *ipc_imem_init(struct iosm_pcie *pcie, unsigned int device_id, in ipc_imem_init()
1337 struct iosm_imem *ipc_imem = kzalloc(sizeof(*pcie->imem), GFP_KERNEL); in ipc_imem_init()
1442 void ipc_imem_irq_process(struct iosm_imem *ipc_imem, int irq) in ipc_imem_irq_process()
1452 void ipc_imem_td_update_timer_suspend(struct iosm_imem *ipc_imem, bool suspend) in ipc_imem_td_update_timer_suspend()
1460 static int ipc_imem_devlink_trigger_chip_info_cb(struct iosm_imem *ipc_imem, in ipc_imem_devlink_trigger_chip_info_cb()
1498 int ipc_imem_devlink_trigger_chip_info(struct iosm_imem *ipc_imem) in ipc_imem_devlink_trigger_chip_info()