Home
last modified time | relevance | path

Searched full:ref_sel (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/iio/adc/
Dad7173.c189 u8 ref_sel;
628 config = FIELD_PREP(AD7173_SETUP_REF_SEL_MASK, cfg->ref_sel); in ad7173_load_config()
847 *val = ad7173_get_ref_voltage_milli(st, ch->cfg.ref_sel); in ad7173_read_raw()
854 *val = ad7173_get_ref_voltage_milli(st, ch->cfg.ref_sel); in ad7173_read_raw()
1160 static int ad7173_validate_reference(struct ad7173_state *st, int ref_sel) in ad7173_validate_reference() argument
1165 if (ref_sel == AD7173_SETUP_REF_SEL_INT_REF && !st->info->has_int_ref) in ad7173_validate_reference()
1169 if (ref_sel == AD7173_SETUP_REF_SEL_EXT_REF2 && !st->info->has_ref2) in ad7173_validate_reference()
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
[all …]
Dad4130.c232 u32 ref_sel; member
687 FIELD_PREP(AD4130_CONFIG_REF_SEL_MASK, setup_info->ref_sel) | in ad4130_write_slot_setup()
974 if (val == st->scale_tbls[setup_info->ref_sel][pga][0] && in ad4130_set_channel_pga()
975 val2 == st->scale_tbls[setup_info->ref_sel][pga][1]) in ad4130_set_channel_pga()
1085 *val = st->scale_tbls[setup_info->ref_sel][setup_info->pga][0]; in ad4130_read_raw()
1086 *val2 = st->scale_tbls[setup_info->ref_sel][setup_info->pga][1]; in ad4130_read_raw()
1118 *vals = (int *)st->scale_tbls[setup_info->ref_sel]; in ad4130_read_avail()
1119 *length = ARRAY_SIZE(st->scale_tbls[setup_info->ref_sel]) * 2; 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()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/usb/
Dsmsc,usb3503.yaml65 that clock signal is always available, its rate is specified by REF_SEL
75 Frequency of the REFCLK signal as defined by REF_SEL pins. If not
/linux-6.12.1/include/linux/mfd/
Dstmpe.h144 u8 ref_sel; member
/linux-6.12.1/drivers/input/touchscreen/
Dstmpe-ts.c271 ts->stmpe->ref_sel = val; in stmpe_ts_get_platform_info()
/linux-6.12.1/drivers/net/wireless/zydas/zd1211rw/
Dzd_rf_rf2959.c52 PDEBUG("reg0 CFG1 ref_sel %d hibernate %d rf_vco_reg_en %d"
/linux-6.12.1/drivers/mfd/
Dstmpe.c552 STMPE_REF_SEL(stmpe->ref_sel); in stmpe811_adc_common_init()
1396 stmpe->ref_sel = val; in stmpe_probe()