Home
last modified time | relevance | path

Searched refs:conv_mode (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/iio/dac/
H A Dvf610_dac.c38 enum vf610_conversion_mode_sel conv_mode; member
47 info->conv_mode = VF610_DAC_CONV_LOW_POWER; in vf610_dac_init()
70 info->conv_mode = mode; in vf610_set_conversion_mode()
87 return info->conv_mode; in vf610_get_conversion_mode()
/openbmc/linux/drivers/net/pcs/
H A Dpcs-rzn1-miic.c192 u32 speed, conv_mode, val, mask; in miic_config() local
197 conv_mode = CONV_MODE_RMII; in miic_config()
204 conv_mode = CONV_MODE_RGMII; in miic_config()
208 conv_mode = CONV_MODE_MII; in miic_config()
218 val = FIELD_PREP(MIIC_CONVCTRL_CONV_MODE, conv_mode); in miic_config()
/openbmc/linux/drivers/iio/adc/
H A Dvf610_adc.c143 enum conversion_mode_sel conv_mode; member
190 adck_rate = info->max_adck_rate[adc_feature->conv_mode]; in vf610_adc_calculate_rates()
247 adc_feature->conv_mode = VF610_ADC_CONV_LOW_POWER; in vf610_adc_cfg_init()
329 if (adc_feature->conv_mode == VF610_ADC_CONV_LOW_POWER) in vf610_adc_cfg_set()
333 if (adc_feature->conv_mode == VF610_ADC_CONV_HIGH_SPEED) in vf610_adc_cfg_set()
475 info->adc_feature.conv_mode = mode; in vf610_set_conversion_mode()
488 return info->adc_feature.conv_mode; in vf610_get_conversion_mode()