Lines Matching refs:rxbuf
342 u8 rxbuf[2]; in max1363_read_single_chan() local
369 data = i2c_master_recv(client, rxbuf, 2); in max1363_read_single_chan()
374 data = (rxbuf[1] | rxbuf[0] << 8) & in max1363_read_single_chan()
378 data = i2c_master_recv(client, rxbuf, 1); in max1363_read_single_chan()
383 data = rxbuf[0]; in max1363_read_single_chan()
1440 __u8 *rxbuf; in max1363_trigger_handler() local
1463 rxbuf = kmalloc(d_size, GFP_KERNEL); in max1363_trigger_handler()
1464 if (rxbuf == NULL) in max1363_trigger_handler()
1467 b_sent = i2c_master_recv(st->client, rxbuf, numvals*2); in max1363_trigger_handler()
1469 b_sent = i2c_master_recv(st->client, rxbuf, numvals); in max1363_trigger_handler()
1476 memcpy(rxbuf + d_size - sizeof(s64), &time_ns, sizeof(time_ns)); in max1363_trigger_handler()
1477 iio_push_to_buffers(indio_dev, rxbuf); in max1363_trigger_handler()
1480 kfree(rxbuf); in max1363_trigger_handler()