Lines Matching refs:state
33 * state if it crashes. This is useful for debugging purposes;
37 * remote processor is in a crashed state, without changing
38 * or checking the recovery state (enabled/disabled).
110 if (rproc->state == RPROC_CRASHED) {
142 if (rproc->state == RPROC_ATTACHED)
163 * A state-to-string lookup table, for exposing a human readable state
177 /* Expose the state of the remote processor via sysfs */
182 unsigned int state;
184 state = rproc->state > RPROC_LAST ? RPROC_LAST : rproc->state;
185 return sprintf(buf, "%s\n", rproc_state_string[state]);
188 /* Change remote processor state via sysfs */
210 static DEVICE_ATTR_RW(state);