Searched refs:ref_mode (Results 1 – 5 of 5) sorted by relevance
36 unsigned ref_mode; member104 inoutbuf[0] |= data->ref_mode << 3; in mcp4725_store_eeprom()305 outbuf[0] |= data->ref_mode << 3; in mcp4726_set_cfg()332 if (data->ref_mode == MCP472X_REF_VDD) in mcp4725_read_raw()430 data->ref_mode = MCP472X_REF_VDD; in mcp4725_probe()432 data->ref_mode = pdata->vref_buffered ? in mcp4725_probe()476 if (data->id == MCP4726 && ref != data->ref_mode) { in mcp4725_probe()479 data->ref_mode, ref, data->ref_mode); in mcp4725_probe()
66 enum vref_mode ref_mode; member133 outbuf[offset] = FIELD_PREP(MCP4728_VREF_MASK, ch->ref_mode); in mcp4728_store_eeprom()198 outbuf[1] = FIELD_PREP(MCP4728_VREF_MASK, ch->ref_mode); in mcp4728_program_channel_cfg()311 int ref_mode = data->chdata[channel].ref_mode; in mcp4728_get_scale() local314 if (ref_mode == MCP4728_VREF_EXTERNAL_VDD) { in mcp4728_get_scale()348 data->chdata[channel].ref_mode = MCP4728_VREF_EXTERNAL_VDD; in mcp4728_set_scale()351 data->chdata[channel].ref_mode = MCP4728_VREF_INTERNAL_2048mV; in mcp4728_set_scale()355 data->chdata[channel].ref_mode = MCP4728_VREF_INTERNAL_2048mV; in mcp4728_set_scale()525 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()
241 u8 ref_mode; member