Lines Matching +full:use +full:- +full:case
5 * Permission to use, copy, modify, and/or distribute this software
15 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
17 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
82 switch (handle->state) { in qcafrm_fsm_decode()
83 case QCAFRM_HW_LEN0: in qcafrm_fsm_decode()
84 case QCAFRM_HW_LEN1: in qcafrm_fsm_decode()
86 handle->state--; in qcafrm_fsm_decode()
90 handle->state = handle->init; in qcafrm_fsm_decode()
93 case QCAFRM_HW_LEN2: in qcafrm_fsm_decode()
94 case QCAFRM_HW_LEN3: in qcafrm_fsm_decode()
95 handle->state--; in qcafrm_fsm_decode()
98 case QCAFRM_WAIT_AA1: in qcafrm_fsm_decode()
99 case QCAFRM_WAIT_AA2: in qcafrm_fsm_decode()
100 case QCAFRM_WAIT_AA3: in qcafrm_fsm_decode()
101 case QCAFRM_WAIT_AA4: in qcafrm_fsm_decode()
104 handle->state = handle->init; in qcafrm_fsm_decode()
106 handle->state--; in qcafrm_fsm_decode()
111 case QCAFRM_WAIT_LEN_BYTE0: in qcafrm_fsm_decode()
112 handle->offset = recv_byte; in qcafrm_fsm_decode()
113 handle->state = QCAFRM_WAIT_LEN_BYTE1; in qcafrm_fsm_decode()
115 case QCAFRM_WAIT_LEN_BYTE1: in qcafrm_fsm_decode()
116 handle->offset = handle->offset | (recv_byte << 8); in qcafrm_fsm_decode()
117 handle->state = QCAFRM_WAIT_RSVD_BYTE1; in qcafrm_fsm_decode()
119 case QCAFRM_WAIT_RSVD_BYTE1: in qcafrm_fsm_decode()
120 handle->state = QCAFRM_WAIT_RSVD_BYTE2; in qcafrm_fsm_decode()
122 case QCAFRM_WAIT_RSVD_BYTE2: in qcafrm_fsm_decode()
123 len = handle->offset; in qcafrm_fsm_decode()
126 handle->state = handle->init; in qcafrm_fsm_decode()
128 handle->state = (enum qcafrm_state)(len + 1); in qcafrm_fsm_decode()
130 handle->offset = 0; in qcafrm_fsm_decode()
135 buf[handle->offset] = recv_byte; in qcafrm_fsm_decode()
136 handle->offset++; in qcafrm_fsm_decode()
137 handle->state--; in qcafrm_fsm_decode()
139 case QCAFRM_WAIT_551: in qcafrm_fsm_decode()
142 handle->state = handle->init; in qcafrm_fsm_decode()
144 handle->state = QCAFRM_WAIT_552; in qcafrm_fsm_decode()
147 case QCAFRM_WAIT_552: in qcafrm_fsm_decode()
150 handle->state = handle->init; in qcafrm_fsm_decode()
152 ret = handle->offset; in qcafrm_fsm_decode()
154 handle->state = handle->init; in qcafrm_fsm_decode()