Lines Matching refs:ibuf

264 	static u8 *ibuf, *rbuf;  in lme2510_int_response()  local
288 ibuf = (u8 *)&rbuf[i*8]; in lme2510_int_response()
290 offset, i, ibuf[0], ibuf[1]); in lme2510_int_response()
292 switch (ibuf[0]) { in lme2510_int_response()
294 debug_data_snipet(1, "INT Remote data snipet", ibuf); in lme2510_int_response()
295 if ((ibuf[4] + ibuf[5]) == 0xff) { in lme2510_int_response()
296 key = RC_SCANCODE_NECX((ibuf[2] ^ 0xff) << 8 | in lme2510_int_response()
297 (ibuf[3] > 0) ? (ibuf[3] ^ 0xff) : 0, in lme2510_int_response()
298 ibuf[5]); in lme2510_int_response()
308 signal_lock = ibuf[2] & BIT(5); in lme2510_int_response()
309 st->signal_level = ibuf[4]; in lme2510_int_response()
310 st->signal_sn = ibuf[3]; in lme2510_int_response()
311 st->time_key = ibuf[7]; in lme2510_int_response()
316 if (ibuf[1] == 0x03) { in lme2510_int_response()
317 signal_lock = ibuf[2] & BIT(4); in lme2510_int_response()
318 st->signal_level = ibuf[3]; in lme2510_int_response()
319 st->signal_sn = ibuf[4]; in lme2510_int_response()
321 st->signal_level = ibuf[4]; in lme2510_int_response()
322 st->signal_sn = ibuf[5]; in lme2510_int_response()
326 signal_lock = ibuf[2] & 0xee; in lme2510_int_response()
327 st->signal_level = ibuf[5]; in lme2510_int_response()
328 st->signal_sn = ibuf[4]; in lme2510_int_response()
329 st->time_key = ibuf[7]; in lme2510_int_response()
335 signal_lock |= ibuf[2] & BIT(0); in lme2510_int_response()
340 debug_data_snipet(5, "INT Remote data snipet in", ibuf); in lme2510_int_response()
343 debug_data_snipet(1, "INT Control data snipet", ibuf); in lme2510_int_response()
346 debug_data_snipet(1, "INT Unknown data snipet", ibuf); in lme2510_int_response()
478 static u8 obuf[64], ibuf[64]; in lme2510_i2c_xfer() local
518 if (lme2510_msg(d, obuf, len, ibuf, 64) < 0) { in lme2510_i2c_xfer()
526 memcpy(msg[i].buf, &ibuf[1], msg[i].len); in lme2510_i2c_xfer()
528 memcpy(msg[i+1].buf, &ibuf[1], msg[i+1].len); in lme2510_i2c_xfer()