Lines Matching refs:NS_STATE
278 #define NS_STATE(x) ((x) & ~ACTION_MASK)
1008 switch (NS_STATE(state)) {
1232 if (NS_STATE(ns->state) != NS_STATE(ops[i].states[ns->npstates]))
1237 if (NS_STATE(ops[i].states[j]) != NS_STATE(ns->pstates[j])
1790 if (NS_STATE(ns->nxstate) == STATE_READY) {
1827 switch (NS_STATE(ns->state)) {
1854 switch (NS_STATE(ns->nxstate)) {
1906 if (NS_STATE(ns->state) == STATE_DATAOUT_STATUS) {
1917 switch (NS_STATE(ns->state)) {
1943 if ((ns->options & OPT_AUTOINCR) && NS_STATE(ns->state) == STATE_DATAOUT) {
1950 else if (NS_STATE(ns->nxstate) == STATE_READY)
1989 if (NS_STATE(ns->state) == STATE_DATAOUT_STATUS
1990 || NS_STATE(ns->state) == STATE_DATAOUT_STATUS_M
1991 || NS_STATE(ns->state) == STATE_DATAOUT) {
2000 if (NS_STATE(ns->nxstate) != STATE_UNKNOWN && !(ns->nxstate & STATE_CMD_MASK)) {
2003 NS_STATE(ns->state) == STATE_DATAOUT_ID && ns->regs.count == 2)) {
2025 if (NS_STATE(ns->nxstate) == STATE_UNKNOWN) {
2038 switch (NS_STATE(ns->nxstate)) {
2186 if (NS_STATE(ns->state) != STATE_DATAOUT) {
2206 if ((ns->options & OPT_AUTOINCR) && NS_STATE(ns->state) == STATE_DATAOUT) {
2213 else if (NS_STATE(ns->nxstate) == STATE_READY)