Searched refs:adc_conf (Results 1 – 2 of 2) sorted by relevance
21 uint8_t adc_conf[2] = {TCN75A_CONFIG_REG, 0x0}; in tcn75a_sample_fetch() local29 adc_conf[1] = TCN75A_CONFIG_ONEDOWN; in tcn75a_sample_fetch()30 ret = i2c_write_dt(&config->i2c_spec, adc_conf, 2); in tcn75a_sample_fetch()79 uint8_t adc_conf[2] = {TCN75A_CONFIG_REG, 0x0}; in tcn75a_init() local87 adc_conf[1] |= TCN75A_CONFIG_RES(config->resolution); in tcn75a_init()90 if (adc_conf[1] != 0) { in tcn75a_init()95 adc_conf[1] |= TCN75A_CONFIG_SHUTDOWN; in tcn75a_init()115 return i2c_write_dt(&config->i2c_spec, adc_conf, 2); in tcn75a_init()
37 uint8_t adc_conf; member58 data->adc_conf |= BIT(channel_cfg->channel_id); in adc_ad559x_channel_setup()60 return mfd_ad559x_write_reg(config->mfd_dev, AD559X_REG_ADC_CONFIG, data->adc_conf); in adc_ad559x_channel_setup()