Home
last modified time | relevance | path

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

/linux/drivers/iio/adc/
H A Dqcom-spmi-adc5-gen3.c41 struct adc5_channel_common_prop common_props; member
328 v_channel = ADC5_GEN3_V_CHAN(adc->chan_props[i].common_props); in adc5_gen3_fwnode_xlate()
345 prop = &adc->chan_props[chan->address].common_props; in adc5_gen3_read_raw()
371 return sprintf(label, "%s\n", prop->common_props.label); in adc5_gen3_read_label()
465 prop->common_props.channel = chan; in adc5_gen3_get_fw_channel_data()
466 prop->common_props.sid = sid; in adc5_gen3_get_fw_channel_data()
473 prop->common_props.label = channel_name; in adc5_gen3_get_fw_channel_data()
481 prop->common_props.decimation = ret; in adc5_gen3_get_fw_channel_data()
483 prop->common_props.prescale = adc->data->adc_chans[chan].prescale_index; in adc5_gen3_get_fw_channel_data()
491 prop->common_props.prescale = ret; in adc5_gen3_get_fw_channel_data()
[all …]
/linux/drivers/thermal/qcom/
H A Dqcom-spmi-adc-tm5-gen3.c40 struct adc5_channel_common_prop common_props; member
165 return adc5_gen3_get_scaled_reading(adc_tm5->dev, &prop->common_props, temp); in adc_tm5_gen3_get_temp()
229 buf[0] = FIELD_PREP(ADC5_GEN3_SID_MASK, prop->common_props.sid); in adc_tm5_gen3_configure()
237 adc5_gen3_update_dig_param(&prop->common_props, &buf[3]); in adc_tm5_gen3_configure()
241 prop->common_props.avg_samples) | ADC5_GEN3_FAST_AVG_CTL_EN; in adc_tm5_gen3_configure()
244 buf[5] = prop->common_props.channel; in adc_tm5_gen3_configure()
248 prop->common_props.hw_settle_time_us); in adc_tm5_gen3_configure()
290 prop->common_props.label, low_temp, high_temp); in adc_tm5_gen3_set_trip_temp()
309 channel = ADC5_GEN3_V_CHAN(adc_tm5->chan_props[i].common_props); in adc_tm5_register_tzd()
374 adc_tm5->chan_props[i].common_props = aux_dev_wrapper->tm_props[i]; in adc_tm5_probe()
/linux/include/linux/iio/adc/
H A Dqcom-adc5-gen3-common.h203 struct adc5_channel_common_prop *common_props,
206 struct adc5_channel_common_prop *common_props,