Lines Matching refs:prop
827 u32 prop; in at91_adc_probe_dt_ts() local
829 ret = of_property_read_u32(node, "atmel,adc-ts-wires", &prop); in at91_adc_probe_dt_ts()
835 switch (prop) { in at91_adc_probe_dt_ts()
838 st->touchscreen_type = prop; in at91_adc_probe_dt_ts()
841 dev_err(dev, "Unsupported number of touchscreen wires (%d). Should be 4 or 5.\n", prop); in at91_adc_probe_dt_ts()
847 prop = 0; in at91_adc_probe_dt_ts()
848 of_property_read_u32(node, "atmel,adc-ts-pressure-threshold", &prop); in at91_adc_probe_dt_ts()
849 st->ts_pressure_threshold = prop; in at91_adc_probe_dt_ts()
865 u32 prop; in at91_adc_probe_dt() local
875 if (of_property_read_u32(node, "atmel,adc-channels-used", &prop)) { in at91_adc_probe_dt()
880 st->channels_mask = prop; in at91_adc_probe_dt()
884 if (of_property_read_u32(node, "atmel,adc-startup-time", &prop)) { in at91_adc_probe_dt()
889 st->startup_time = prop; in at91_adc_probe_dt()
891 prop = 0; in at91_adc_probe_dt()
892 of_property_read_u32(node, "atmel,adc-sample-hold-time", &prop); in at91_adc_probe_dt()
893 st->sample_hold_time = prop; in at91_adc_probe_dt()
895 if (of_property_read_u32(node, "atmel,adc-vref", &prop)) { in at91_adc_probe_dt()
900 st->vref_mv = prop; in at91_adc_probe_dt()
929 if (of_property_read_u32(trig_node, "trigger-value", &prop)) { in at91_adc_probe_dt()
934 trig->value = prop; in at91_adc_probe_dt()