Lines Matching refs:deframer
190 struct rave_sp_deframer deframer; member
479 struct rave_sp_deframer *deframer = &sp->deframer; in rave_sp_receive_buf() local
486 switch (deframer->state) { in rave_sp_receive_buf()
489 deframer->state = RAVE_SP_EXPECT_DATA; in rave_sp_receive_buf()
499 deframer->data, in rave_sp_receive_buf()
500 deframer->length); in rave_sp_receive_buf()
527 deframer->state = RAVE_SP_EXPECT_ESCAPED_DATA; in rave_sp_receive_buf()
547 if (deframer->length == sizeof(deframer->data)) { in rave_sp_receive_buf()
561 deframer->data[deframer->length++] = byte; in rave_sp_receive_buf()
567 deframer->state = RAVE_SP_EXPECT_DATA; in rave_sp_receive_buf()
587 deframer->state = RAVE_SP_EXPECT_SOF; in rave_sp_receive_buf()
588 deframer->length = 0; in rave_sp_receive_buf()