Lines Matching defs:state
816 int state = 0;
822 switch (state) {
827 state = 1;
833 state = 1;
837 state = 3;
844 state = 0;
847 state = 2;
851 state = 2;
855 state = 2;
860 state = 0;
866 state = 0;
870 if (state == 3)
873 if (src_cnt <= 1 || (state != 1 && state != 2)) {
874 pr_err("%s: src_cnt=%d, state=%d, addr_count=%d, order=%lld\n",
875 __func__, src_cnt, state, addr_count, order);
1139 * regardless of the XOR engine state at the moment of
1253 int i, order = 0, state = 0;
1273 switch (state) {
1278 state = 1;
1282 state = 1;
1290 state = 0;
1294 state = 2;
1297 state = 0;
1302 state = 0;
1308 if (state == 1 || state == 2)
3253 switch (cursor->state) {
3257 cursor->state = 1;
3268 cursor->state = 1;
3290 cursor->state = 0;
3299 cursor->state = 2;
3309 cursor->state = 2;
3319 cursor->state = 2;
3329 cursor->state = 0;
3340 cursor->state = 0;
3439 cursor->state = 2;
3571 * @txstate: a holder for the current state of the channel