Lines Matching refs:ibuf
271 u8 *ibuf, *rbuf; in lme2510_int_response() local
295 ibuf = (u8 *)&rbuf[i*8]; in lme2510_int_response()
297 offset, i, ibuf[0], ibuf[1]); in lme2510_int_response()
299 switch (ibuf[0]) { in lme2510_int_response()
301 debug_data_snipet(1, "INT Remote data snippet", ibuf); in lme2510_int_response()
305 key = RC_SCANCODE_NEC32(ibuf[2] << 24 | in lme2510_int_response()
306 ibuf[3] << 16 | in lme2510_int_response()
307 ibuf[4] << 8 | in lme2510_int_response()
308 ibuf[5]); in lme2510_int_response()
317 signal_lock = ibuf[2] & BIT(5); in lme2510_int_response()
318 st->signal_level = ibuf[4]; in lme2510_int_response()
319 st->signal_sn = ibuf[3]; in lme2510_int_response()
320 st->time_key = ibuf[7]; in lme2510_int_response()
325 if (ibuf[1] == 0x03) { in lme2510_int_response()
326 signal_lock = ibuf[2] & BIT(4); in lme2510_int_response()
327 st->signal_level = ibuf[3]; in lme2510_int_response()
328 st->signal_sn = ibuf[4]; in lme2510_int_response()
330 st->signal_level = ibuf[4]; in lme2510_int_response()
331 st->signal_sn = ibuf[5]; in lme2510_int_response()
335 signal_lock = ibuf[2] & 0xee; in lme2510_int_response()
336 st->signal_level = ibuf[5]; in lme2510_int_response()
337 st->signal_sn = ibuf[4]; in lme2510_int_response()
338 st->time_key = ibuf[7]; in lme2510_int_response()
345 signal_lock |= ibuf[2] & BIT(0); in lme2510_int_response()
352 debug_data_snipet(5, "INT Remote data snippet in", ibuf); in lme2510_int_response()
355 debug_data_snipet(1, "INT Control data snippet", ibuf); in lme2510_int_response()
358 debug_data_snipet(1, "INT Unknown data snippet", ibuf); in lme2510_int_response()
487 static u8 obuf[64], ibuf[64]; in lme2510_i2c_xfer() local
524 if (lme2510_msg(d, obuf, len, ibuf, 64) < 0) { in lme2510_i2c_xfer()
532 memcpy(msg[i].buf, &ibuf[1], msg[i].len); in lme2510_i2c_xfer()
534 memcpy(msg[i+1].buf, &ibuf[1], msg[i+1].len); in lme2510_i2c_xfer()