Searched refs:npstates (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/tools/power/cpupower/debug/i386/
H A Ddump_psb.c61 decode_pst(char *p, int npstates) decode_pst() argument
66 for (i = 0; i < npstates; ++i) { decode_pst()
/linux-4.1.27/drivers/mtd/nand/
H A Dnandsim.c317 uint16_t npstates; /* number of previous states saved */ member in struct:nandsim
1202 ns->npstates = 0; switch_to_ready_state()
1218 * correspondent states chain. In this case ns->npstates = 0;
1226 * ns->pstates[0], ... ns->pstates[ns->npstates], ns->state
1239 * ns->pstates[0], ... ns->pstates[ns->npstates], <address input>
1268 if (!(ops[i].states[ns->npstates] & STATE_ADDR_MASK)) find_operation()
1271 if (NS_STATE(ns->state) != NS_STATE(ops[i].states[ns->npstates])) find_operation()
1275 for (j = 0; j < ns->npstates; j++) find_operation()
1299 ns->stateidx = ns->npstates - 1; find_operation()
1301 ns->stateidx = ns->npstates; find_operation()
1303 ns->npstates = 0; find_operation()
1313 if (ns->npstates != 0) { find_operation()
1316 ns->npstates = 0; find_operation()
1333 ns->pstates[ns->npstates++] = ns->state; find_operation()

Completed in 210 milliseconds