Lines Matching refs:vl6180_read_byte
234 static int vl6180_read_byte(struct i2c_client *client, u16 cmd) in vl6180_read_byte() function
311 ret = vl6180_read_byte(client, VL6180_INTR_STATUS); in vl6180_measure()
328 vl6180_read_byte(client, vl6180_chan_regs_table[addr].value_reg); in vl6180_measure()
635 ret = vl6180_read_byte(client, VL6180_RANGE_RANGE_IGNORE_THRESHOLD); in vl6180_range_init()
643 ret = vl6180_read_byte(client, 0x027); in vl6180_range_init()
651 ret = vl6180_read_byte(client, 0x028); in vl6180_range_init()
659 ret = vl6180_read_byte(client, 0x029); in vl6180_range_init()
671 ret = vl6180_read_byte(client, VL6180_RANGE_RANGE_CHECK_ENABLES); in vl6180_range_init()
715 ret = vl6180_read_byte(client, VL6180_RANGE_PART_TO_PART_RANGE_OFFSET); in vl6180_range_init()
756 ret = vl6180_read_byte(client, VL6180_MODEL_ID); in vl6180_init()
769 ret = vl6180_read_byte(client, VL6180_OUT_OF_RESET); in vl6180_init()
820 ret = vl6180_read_byte(client, VL6180_INTR_STATUS); in vl6180_irq_thread()
840 ret = vl6180_read_byte(client, VL6180_RANGE_VALUE); in vl6180_irq_thread()
863 ret = vl6180_read_byte(data->client, VL6180_INTR_CONFIG); in vl6180_buffer_preenable()
880 ret = vl6180_read_byte(data->client, VL6180_INTR_CONFIG); in vl6180_buffer_postdisable()