Home
last modified time | relevance | path

Searched refs:ref_sel (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/iio/adc/
A Dad7173.c189 u8 ref_sel;
847 *val = ad7173_get_ref_voltage_milli(st, ch->cfg.ref_sel); in ad7173_read_raw()
1173 ret = ad7173_get_ref_voltage_milli(st, ref_sel); in ad7173_validate_reference()
1176 ref_sel); in ad7173_validate_reference()
1188 int ref_sel, ret, num_channels; in ad7173_fw_parse_channel_config() local
1227 chan_st_priv->cfg.ref_sel = AD7173_SETUP_REF_SEL_INT_REF; in ad7173_fw_parse_channel_config()
1275 ref_sel = AD7173_SETUP_REF_SEL_INT_REF; in ad7173_fw_parse_channel_config()
1277 ref_sel = ret; in ad7173_fw_parse_channel_config()
1279 ret = ad7173_validate_reference(st, ref_sel); in ad7173_fw_parse_channel_config()
1283 if (ref_sel == AD7173_SETUP_REF_SEL_INT_REF) in ad7173_fw_parse_channel_config()
[all …]
A Dad4130.c232 u32 ref_sel; member
1118 *vals = (int *)st->scale_tbls[setup_info->ref_sel]; in ad4130_read_avail()
1380 enum ad4130_ref_sel ref_sel) in ad4130_get_ref_voltage() argument
1382 switch (ref_sel) { in ad4130_get_ref_voltage()
1431 setup_info->ref_sel = AD4130_REF_REFIN1; in ad4130_parse_fw_setup()
1433 &setup_info->ref_sel); in ad4130_parse_fw_setup()
1434 if (setup_info->ref_sel >= AD4130_REF_SEL_MAX) in ad4130_parse_fw_setup()
1437 setup_info->ref_sel); in ad4130_parse_fw_setup()
1439 if (setup_info->ref_sel == AD4130_REF_REFOUT_AVSS) in ad4130_parse_fw_setup()
1442 ret = ad4130_get_ref_voltage(st, setup_info->ref_sel); in ad4130_parse_fw_setup()
[all …]
/linux/include/linux/mfd/
A Dstmpe.h144 u8 ref_sel; member
/linux/drivers/input/touchscreen/
A Dstmpe-ts.c271 ts->stmpe->ref_sel = val; in stmpe_ts_get_platform_info()
/linux/drivers/mfd/
A Dstmpe.c552 STMPE_REF_SEL(stmpe->ref_sel); in stmpe811_adc_common_init()
1396 stmpe->ref_sel = val; in stmpe_probe()

Completed in 21 milliseconds