Lines Matching full:mhi
13 #include <linux/mhi.h>
21 * Not all MHI state transitions are synchronous. Transitions like Linkdown,
154 dev_err(dev, "Failed to set MHI state to: %s\n", in mhi_set_mhi_state()
190 dev_err(dev, "Device failed to clear MHI Reset\n"); in mhi_ready_state_transition()
200 dev_err(dev, "Device failed to enter MHI Ready\n"); in mhi_ready_state_transition()
250 /* Set MHI to M0 state */ in mhi_ready_state_transition()
333 * After receiving the MHI state change event from the device indicating the
372 /* MHI M3 completion handler */
422 /* Force MHI to be in M0 state before continuing */ in mhi_pm_mission_mode_transition()
456 * The MHI devices are only created when the client device switches its in mhi_pm_mission_mode_transition()
487 /* Trigger MHI RESET so that the device will not access host memory */ in mhi_pm_disable_transition()
489 /* Skip MHI RESET if in RDDM state */ in mhi_pm_disable_transition()
493 dev_dbg(dev, "Triggering MHI Reset in device\n"); in mhi_pm_disable_transition()
500 dev_err(dev, "Device failed to clear MHI Reset\n"); in mhi_pm_disable_transition()
541 dev_dbg(dev, "Reset all active channels and remove MHI devices\n"); in mhi_pm_disable_transition()
588 dev_dbg(dev, "Exiting with PM state: %s, MHI state: %s\n", in mhi_pm_disable_transition()
611 /* We must notify MHI control driver so it can clean up first */ in mhi_pm_sys_error_transition()
633 /* Trigger MHI RESET so that the device will not access host memory */ in mhi_pm_sys_error_transition()
638 dev_dbg(dev, "Triggering MHI Reset in device\n"); in mhi_pm_sys_error_transition()
650 dev_err(dev, "Device failed to exit MHI Reset state\n"); in mhi_pm_sys_error_transition()
681 dev_dbg(dev, "Reset all active channels and remove MHI devices\n"); in mhi_pm_sys_error_transition()
737 dev_dbg(dev, "Exiting with PM state: %s, MHI state: %s\n", in mhi_pm_sys_error_transition()
809 * The MHI devices are only created when the client in mhi_pm_st_worker()
863 /* Take MHI out of M2 state */ in mhi_pm_suspend()
903 /* Set MHI to M3 and wait for completion */ in mhi_pm_suspend()
915 "Did not enter M3 state, MHI state: %s, PM state: %s\n", in mhi_pm_suspend()
940 dev_dbg(dev, "Entered with PM state: %s, MHI state: %s\n", in __mhi_pm_resume()
976 /* Set MHI to M0 and wait for completion */ in __mhi_pm_resume()
988 "Did not enter M0 state, MHI state: %s, PM state: %s\n", in __mhi_pm_resume()
1149 dev_info(dev, "Failed to reset MHI due to syserr state\n"); in mhi_async_power_up()
1205 /* If it's not a graceful shutdown, force MHI to linkdown state */ in __mhi_power_down()