Lines Matching refs:state

92  * states.  IP blocks start out in an UNKNOWN state, then once they
93 * are registered via the hwmod code, proceed to the REGISTERED state.
95 * enters the CLKS_INITED state; and finally, once the module has been
96 * reset and the integration registers programmed, the INITIALIZED state
98 * the IDLE state to save power, or in the case of a critical system
99 * module, the ENABLED state.
121 * in the appropriate state
541 pr_warn("omap_hwmod: %s: dma can be disabled only from enabled state\n", oh->name);
1551 * previous state was HW_AUTO.
1562 * _read_hardreset - read the HW reset line state of submodules
1567 * Return the state of the reset line. Returns -EINVAL if @oh is
1682 * reset this way, -EINVAL if the hwmod is in the wrong state,
1704 pr_warn("omap_hwmod: %s: reset can only be entered from enabled state\n",
1783 * cannot be reset this way or if the hwmod is in the wrong state,
1863 * state or passes along the return value of _wait_target_ready().
1873 * state at init.
1883 WARN(1, "omap_hwmod: %s: enabled state can only be entered from initialized, idle, or disabled state\n",
1960 * state or returns 0.
1975 WARN(1, "omap_hwmod: %s: idle state can only be entered from enabled state\n",
2021 * state or returns 0.
2033 WARN(1, "omap_hwmod: %s: disabled state can only be entered from idle, or enabled state\n",
2458 * _setup_postsetup - transition to the appropriate state after _setup
2461 * Place an IP block represented by @oh into a "post-setup" state --
2464 * state for an IP block can be changed by calling
2469 * The IP block stays in this state until a PM runtime-based driver is
2470 * loaded for that IP block. A post-setup state of IDLE is
2473 * post-setup state of ENABLED is appropriate for kernels with PM
2474 * runtime disabled. The DISABLED state is appropriate for unusual IP
2519 WARN(1, "hwmod: %s: unknown postsetup state %d! defaulting to enabled\n",
2532 * post-setup state, depending on the type of IP block and applicable
2569 WARN(1, "hwmod: %s: unknown postsetup state %d! defaulting to enabled\n",
2582 * omap_hwmod is in the wrong state, if @oh is NULL, if the
3942 * omap_hwmod_set_postsetup_state - set the post-_setup() state for this hwmod
3944 * @state: state that _setup() should leave the hwmod in
3946 * Sets the hwmod state that @oh will enter at the end of _setup()
3950 * in the wrong state.
3952 int omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state)
3960 if (state != _HWMOD_STATE_DISABLED &&
3961 state != _HWMOD_STATE_ENABLED &&
3962 state != _HWMOD_STATE_IDLE)
3972 oh->_postsetup_state = state;