Lines Matching refs:state
200 * @state: State of the SDFEC device
211 * This structure contains necessary state for SDFEC driver to operate
222 enum xsdfec_state state;
289 xsdfec->state = XSDFEC_STARTED;
291 xsdfec->state = XSDFEC_STOPPED;
301 status.state = xsdfec->state;
670 if (xsdfec->state == XSDFEC_STARTED) {
747 if (xsdfec->state == XSDFEC_STARTED)
767 if (xsdfec->state == XSDFEC_STARTED)
876 xsdfec->state = XSDFEC_STARTED;
884 if (xsdfec->state != XSDFEC_STARTED)
891 xsdfec->state = XSDFEC_STOPPED;
944 /* In failed state allow only reset and get status IOCTLs */
945 if (xsdfec->state == XSDFEC_NEEDS_RESET &&
1158 /* Update state/stats flag */
1161 xsdfec->state = XSDFEC_NEEDS_RESET;
1163 xsdfec->state = XSDFEC_PL_RECONFIGURE;
1172 xsdfec->state = XSDFEC_NEEDS_RESET;
1178 dev_dbg(xsdfec->dev, "state=%x, stats=%x", xsdfec->state_updated,