Lines Matching full:ref_sel
236 u32 ref_sel; member
612 u32 ref_sel; in ad4130_setup_info_eq()
623 a->ref_sel != b->ref_sel || in ad4130_setup_info_eq()
724 FIELD_PREP(AD4130_CONFIG_REF_SEL_MASK, setup_info->ref_sel) | in ad4130_write_slot_setup()
1011 if (val == st->scale_tbls[setup_info->ref_sel][pga][0] && in ad4130_set_channel_pga()
1012 val2 == st->scale_tbls[setup_info->ref_sel][pga][1]) in ad4130_set_channel_pga()
1122 *val = st->scale_tbls[setup_info->ref_sel][setup_info->pga][0]; in ad4130_read_raw()
1123 *val2 = st->scale_tbls[setup_info->ref_sel][setup_info->pga][1]; in ad4130_read_raw()
1155 *vals = (int *)st->scale_tbls[setup_info->ref_sel]; in ad4130_read_avail()
1156 *length = ARRAY_SIZE(st->scale_tbls[setup_info->ref_sel]) * 2; in ad4130_read_avail()
1417 enum ad4130_ref_sel ref_sel) in ad4130_get_ref_voltage() argument
1419 switch (ref_sel) { in ad4130_get_ref_voltage()
1468 setup_info->ref_sel = AD4130_REF_REFIN1; in ad4130_parse_fw_setup()
1470 &setup_info->ref_sel); in ad4130_parse_fw_setup()
1471 if (setup_info->ref_sel >= AD4130_REF_SEL_MAX) in ad4130_parse_fw_setup()
1474 setup_info->ref_sel); in ad4130_parse_fw_setup()
1476 if (setup_info->ref_sel == AD4130_REF_REFOUT_AVSS) in ad4130_parse_fw_setup()
1479 ret = ad4130_get_ref_voltage(st, setup_info->ref_sel); in ad4130_parse_fw_setup()
1482 setup_info->ref_sel); in ad4130_parse_fw_setup()