Searched refs:read_channel (Results 1 – 2 of 2) sorted by relevance
63 s32 (*read_channel)(const struct i2c_client *client, u8 command); member87 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()
129 static int read_channel(struct gab *adc_bat, enum power_supply_property psp, in read_channel() function173 ret = read_channel(adc_bat, psp, &result); in gab_get_property()