• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/

Lines Matching defs:states

204 /* After a command is input, the simulator goes to one of the following states */
219 #define STATE_CMD_MASK 0x0000000F /* command states mask */
221 /* After an address is input, the simulator goes to one of these states */
226 #define STATE_ADDR_MASK 0x00000070 /* address states mask */
228 /* Durind data input/output the simulator is in these states */
230 #define STATE_DATAIN_MASK 0x00000100 /* data input states mask */
236 #define STATE_DATAOUT_MASK 0x00007000 /* data output states mask */
254 #define NS_OPER_STATES 6 /* Maximum number of states in operation */
271 * Maximum previous states which need to be saved. Currently saving is
302 uint32_t pstates[NS_MAX_PREVSTATES]; /* previous states */
303 uint16_t npstates; /* number of previous states saved */
363 * through the correspondent states chain.
367 uint32_t states[NS_OPER_STATES]; /* operation's states */
1170 * correspondent states chain. In this case ns->npstates = 0;
1174 * case the ns->pstates[] array contains previous states.
1177 * states (if the 'flag' parameter is 0):
1197 * 1. if there are saved states present, try to ignore them and search
1200 * 2. if there are no saved states, switch to the STATE_READY state.
1220 if (!(ops[i].states[ns->npstates] & STATE_ADDR_MASK))
1223 if (NS_STATE(ns->state) != NS_STATE(ops[i].states[ns->npstates]))
1228 if (NS_STATE(ops[i].states[j]) != NS_STATE(ns->pstates[j])
1242 ns->op = &ops[idx].states[0];
1735 * Just follow the states chain.
1788 /* In case of data states, see if all bytes were input/output */
2001 "ignore previous states\n", (uint)byte, get_state_name(ns->nxstate));