Lines Matching refs:byte
58 static inline int stuff_byte(__u8 byte, __u8 *buf) in stuff_byte() argument
60 switch (byte) { in stuff_byte()
66 buf[1] = byte^IRDA_TRANS; /* Complement bit 5 */ in stuff_byte()
71 buf[0] = byte; in stuff_byte()
282 iobuff_t *rx_buff, __u8 byte) in async_unwrap_bof() argument
322 iobuff_t *rx_buff, __u8 byte) in async_unwrap_eof() argument
380 iobuff_t *rx_buff, __u8 byte) in async_unwrap_ce() argument
410 iobuff_t *rx_buff, __u8 byte) in async_unwrap_other() argument
418 rx_buff->data[rx_buff->len++] = byte; in async_unwrap_other()
420 rx_buff->fcs = irda_fcs(rx_buff->fcs, byte); in async_unwrap_other()
434 byte ^= IRDA_TRANS; in async_unwrap_other()
436 rx_buff->data[rx_buff->len++] = byte; in async_unwrap_other()
438 rx_buff->fcs = irda_fcs(rx_buff->fcs, byte); in async_unwrap_other()
450 if(byte != XBOF) in async_unwrap_other()
456 rx_buff->data[rx_buff->len++] = byte; in async_unwrap_other()
458 rx_buff->fcs = irda_fcs(rx_buff->fcs, byte); in async_unwrap_other()
474 iobuff_t *rx_buff, __u8 byte) in async_unwrap_char() argument
476 switch(byte) { in async_unwrap_char()
478 async_unwrap_ce(dev, stats, rx_buff, byte); in async_unwrap_char()
481 async_unwrap_bof(dev, stats, rx_buff, byte); in async_unwrap_char()
484 async_unwrap_eof(dev, stats, rx_buff, byte); in async_unwrap_char()
487 async_unwrap_other(dev, stats, rx_buff, byte); in async_unwrap_char()