Searched refs:ref_mode (Results 1 – 5 of 5) sorted by relevance
41 unsigned ref_mode; member109 inoutbuf[0] |= data->ref_mode << 3; in mcp4725_store_eeprom()310 outbuf[0] |= data->ref_mode << 3; in mcp4726_set_cfg()337 if (data->ref_mode == MCP472X_REF_VDD) in mcp4725_read_raw()433 data->ref_mode = MCP472X_REF_VDD; in mcp4725_probe()435 data->ref_mode = pdata->vref_buffered ? in mcp4725_probe()479 if (!info->use_ext_ref_voltage && ref != data->ref_mode) { in mcp4725_probe()482 data->ref_mode, ref, data->ref_mode); in mcp4725_probe()
66 enum vref_mode ref_mode; member132 outbuf[offset] = FIELD_PREP(MCP4728_VREF_MASK, ch->ref_mode); in mcp4728_store_eeprom()197 outbuf[1] = FIELD_PREP(MCP4728_VREF_MASK, ch->ref_mode); in mcp4728_program_channel_cfg()310 int ref_mode = data->chdata[channel].ref_mode; in mcp4728_get_scale() local313 if (ref_mode == MCP4728_VREF_EXTERNAL_VDD) { in mcp4728_get_scale()347 data->chdata[channel].ref_mode = MCP4728_VREF_EXTERNAL_VDD; in mcp4728_set_scale()350 data->chdata[channel].ref_mode = MCP4728_VREF_INTERNAL_2048mV; in mcp4728_set_scale()354 data->chdata[channel].ref_mode = MCP4728_VREF_INTERNAL_2048mV; in mcp4728_set_scale()518 ch->ref_mode = FIELD_GET(MCP4728_VREF_MASK, r2); in mcp4728_init_channels_data()
170 enum ref_sel_mode ref_mode; member
832 AD9523_PLL1_REF_MODE(pdata->ref_mode)); in ad9523_setup()
240 u8 ref_mode; member