Lines Matching refs:frame
203 unsigned char *frame; in rose_decode() local
205 frame = skb->data; in rose_decode()
209 switch (frame[2]) { in rose_decode()
216 return frame[2]; in rose_decode()
221 if ((frame[2] & 0x1F) == ROSE_RR || in rose_decode()
222 (frame[2] & 0x1F) == ROSE_RNR) { in rose_decode()
223 *nr = (frame[2] >> 5) & 0x07; in rose_decode()
224 return frame[2] & 0x1F; in rose_decode()
227 if ((frame[2] & 0x01) == ROSE_DATA) { in rose_decode()
228 *q = (frame[0] & ROSE_Q_BIT) == ROSE_Q_BIT; in rose_decode()
229 *d = (frame[0] & ROSE_D_BIT) == ROSE_D_BIT; in rose_decode()
230 *m = (frame[2] & ROSE_M_BIT) == ROSE_M_BIT; in rose_decode()
231 *nr = (frame[2] >> 5) & 0x07; in rose_decode()
232 *ns = (frame[2] >> 1) & 0x07; in rose_decode()