Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/dac/
Dmcp4725.c36 unsigned ref_mode; member
104 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()
Dmcp4728.c66 enum vref_mode ref_mode; member
133 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() local
314 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()
/Linux-v6.6/include/linux/iio/frequency/
Dad9523.h170 enum ref_sel_mode ref_mode; member
/Linux-v6.6/drivers/iio/frequency/
Dad9523.c832 AD9523_PLL1_REF_MODE(pdata->ref_mode)); in ad9523_setup()
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_vp9_req_lat_if.c241 u8 ref_mode; member