Lines Matching +full:0 +full:x39
7 * IIO driver for VEML6070 (7-bit I2C slave addresses 0x38 and 0x39)
23 #define VEML6070_ADDR_CONFIG_DATA_MSB 0x38 /* read: MSB data, write: config */
24 #define VEML6070_ADDR_DATA_LSB 0x39 /* LSB data */
29 #define VEML6070_COMMAND_SD BIT(0) /* shutdown mode when set */
31 #define VEML6070_IT_10 0x04 /* integration time 1x */
50 if (ret < 0) in veml6070_read()
55 ret = i2c_smbus_read_byte(data->client2); /* read MSB, address 0x39 */ in veml6070_read()
56 if (ret < 0) in veml6070_read()
60 ret = i2c_smbus_read_byte(data->client1); /* read LSB, address 0x38 */ in veml6070_read()
61 if (ret < 0) in veml6070_read()
67 if (ret < 0) in veml6070_read()
104 for (i = 0; i < ARRAY_SIZE(uvi); i++) in veml6070_to_uv_index()
122 if (ret < 0) in veml6070_read_raw()
169 if (ret < 0) in veml6070_probe()
173 if (ret < 0) in veml6070_probe()
193 { "veml6070", 0 },