• Home
  • Raw
  • Download

Lines Matching refs:attr

175 	struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr);  in powr1220_voltage_show()  local
176 int adc_val = powr1220_read_adc(dev, attr->index); in powr1220_voltage_show()
188 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in powr1220_max_show() local
191 return sprintf(buf, "%d\n", data->adc_maxes[attr->index]); in powr1220_max_show()
199 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in powr1220_label_show() local
201 return sprintf(buf, "%s\n", input_names[attr->index]); in powr1220_label_show()
250 &sensor_dev_attr_in0_input.dev_attr.attr,
251 &sensor_dev_attr_in1_input.dev_attr.attr,
252 &sensor_dev_attr_in2_input.dev_attr.attr,
253 &sensor_dev_attr_in3_input.dev_attr.attr,
254 &sensor_dev_attr_in4_input.dev_attr.attr,
255 &sensor_dev_attr_in5_input.dev_attr.attr,
256 &sensor_dev_attr_in6_input.dev_attr.attr,
257 &sensor_dev_attr_in7_input.dev_attr.attr,
258 &sensor_dev_attr_in8_input.dev_attr.attr,
259 &sensor_dev_attr_in9_input.dev_attr.attr,
260 &sensor_dev_attr_in10_input.dev_attr.attr,
261 &sensor_dev_attr_in11_input.dev_attr.attr,
262 &sensor_dev_attr_in12_input.dev_attr.attr,
263 &sensor_dev_attr_in13_input.dev_attr.attr,
265 &sensor_dev_attr_in0_highest.dev_attr.attr,
266 &sensor_dev_attr_in1_highest.dev_attr.attr,
267 &sensor_dev_attr_in2_highest.dev_attr.attr,
268 &sensor_dev_attr_in3_highest.dev_attr.attr,
269 &sensor_dev_attr_in4_highest.dev_attr.attr,
270 &sensor_dev_attr_in5_highest.dev_attr.attr,
271 &sensor_dev_attr_in6_highest.dev_attr.attr,
272 &sensor_dev_attr_in7_highest.dev_attr.attr,
273 &sensor_dev_attr_in8_highest.dev_attr.attr,
274 &sensor_dev_attr_in9_highest.dev_attr.attr,
275 &sensor_dev_attr_in10_highest.dev_attr.attr,
276 &sensor_dev_attr_in11_highest.dev_attr.attr,
277 &sensor_dev_attr_in12_highest.dev_attr.attr,
278 &sensor_dev_attr_in13_highest.dev_attr.attr,
280 &sensor_dev_attr_in0_label.dev_attr.attr,
281 &sensor_dev_attr_in1_label.dev_attr.attr,
282 &sensor_dev_attr_in2_label.dev_attr.attr,
283 &sensor_dev_attr_in3_label.dev_attr.attr,
284 &sensor_dev_attr_in4_label.dev_attr.attr,
285 &sensor_dev_attr_in5_label.dev_attr.attr,
286 &sensor_dev_attr_in6_label.dev_attr.attr,
287 &sensor_dev_attr_in7_label.dev_attr.attr,
288 &sensor_dev_attr_in8_label.dev_attr.attr,
289 &sensor_dev_attr_in9_label.dev_attr.attr,
290 &sensor_dev_attr_in10_label.dev_attr.attr,
291 &sensor_dev_attr_in11_label.dev_attr.attr,
292 &sensor_dev_attr_in12_label.dev_attr.attr,
293 &sensor_dev_attr_in13_label.dev_attr.attr,