Home
last modified time | relevance | path

Searched refs:dev_to_w1_slave (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/w1/slaves/
Dw1_ds2405.c74 struct w1_slave *sl = dev_to_w1_slave(device); in state_show()
111 struct w1_slave *sl = dev_to_w1_slave(device); in output_show()
141 struct w1_slave *sl = dev_to_w1_slave(device); in output_store()
Dw1_therm.c251 struct w1_slave *sl = dev_to_w1_slave(device); in w1_therm_eeprom()
330 struct w1_slave *sl = dev_to_w1_slave(device); in w1_DS18B20_precision()
453 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_store()
570 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_show()
645 struct w1_slave *sl = dev_to_w1_slave(device); in w1_seq_show()
Dw1_ds28e17.c577 struct w1_slave *sl = dev_to_w1_slave(dev); in speed_show()
592 struct w1_slave *sl = dev_to_w1_slave(dev); in speed_store()
632 struct w1_slave *sl = dev_to_w1_slave(dev); in stretch_show()
642 struct w1_slave *sl = dev_to_w1_slave(dev); in stretch_store()
Dw1_ds2423.c33 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_show()
/Linux-v5.4/include/linux/
Dw1.h306 static inline struct w1_slave* dev_to_w1_slave(struct device *dev) in dev_to_w1_slave() function
313 return dev_to_w1_slave(container_of(kobj, struct device, kobj)); in kobj_to_w1_slave()
/Linux-v5.4/drivers/power/supply/
Dbq27xxx_battery_hdq.c50 struct w1_slave *sl = dev_to_w1_slave(di->dev); in bq27xxx_battery_hdq_read()
/Linux-v5.4/drivers/w1/
Dw1.c80 struct w1_slave *sl = dev_to_w1_slave(dev); in w1_slave_release()
90 struct w1_slave *sl = dev_to_w1_slave(dev); in name_show()
99 struct w1_slave *sl = dev_to_w1_slave(dev); in id_show()