Home
last modified time | relevance | path

Searched refs:read_channel (Results 1 – 2 of 2) sorted by relevance

/drivers/hwmon/
Dads7828.c63 s32 (*read_channel)(const struct i2c_client *client, u8 command); member
87 data->adc_input[ch] = data->read_channel(client, cmd); in ads7828_update_device()
163 data->read_channel = i2c_smbus_read_word_swapped; in ads7828_probe()
166 data->read_channel = i2c_smbus_read_byte_data; in ads7828_probe()
/drivers/power/
Dgeneric-adc-battery.c129 static int read_channel(struct gab *adc_bat, enum power_supply_property psp, in read_channel() function
173 ret = read_channel(adc_bat, psp, &result); in gab_get_property()