Searched refs:als_data (Results 1 – 6 of 6) sorted by relevance
28 struct als_data { struct70 struct als_data *data = i2c_get_clientdata(client); in als_lux0_input_data_show()112 struct als_data *data = i2c_get_clientdata(client); in als_sensing_range_store()162 struct als_data *data = i2c_get_clientdata(client); in als_set_power_state()218 struct als_data *data; in apds9802als_probe()220 data = kzalloc(sizeof(struct als_data), GFP_KERNEL); in apds9802als_probe()246 struct als_data *data = i2c_get_clientdata(client); in apds9802als_remove()
165 __le16 als_data; in jsa1212_read_als_data() local175 ret = regmap_bulk_read(data->regmap, JSA1212_ALS_DT1_REG, &als_data, 2); in jsa1212_read_als_data()181 *val = le16_to_cpu(als_data); in jsa1212_read_als_data()
438 u8 als_data[TSL2591_NUM_DATA_REGISTERS]; in tsl2591_read_channel_data() local451 sizeof(als_data), als_data); in tsl2591_read_channel_data()457 als_ch0 = get_unaligned_le16(&als_data[0]); in tsl2591_read_channel_data()458 als_ch1 = get_unaligned_le16(&als_data[2]); in tsl2591_read_channel_data()
289 static int isl29028_als_get(struct isl29028_chip *chip, int *als_data) in isl29028_als_get() argument316 *als_data = als_ir_data; in isl29028_als_get()
189 struct sfh_als_data als_data; in get_input_rep() local235 memcpy_fromio(&als_data, sensoraddr, sizeof(struct sfh_als_data)); in get_input_rep()237 als_input.illuminance_value = float_to_int(als_data.lux); in get_input_rep()
167 struct lm3532_als_data *als_data; member449 struct lm3532_als_data *als = priv->als_data; in lm3532_als_configure()540 priv->als_data = als; in lm3532_parse_als()