Home
last modified time | relevance | path

Searched refs:w1_slave (Results 1 – 22 of 22) sorted by relevance

/linux-4.4.14/drivers/w1/slaves/
Dw1_ds2781.c30 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2781_do_io()
55 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2781_io()
73 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2781_eeprom_cmd()
98 static BIN_ATTR_RO(w1_slave, DS2781_DATA_SIZE);
116 static int w1_ds2781_add_slave(struct w1_slave *sl) in w1_ds2781_add_slave()
151 static void w1_ds2781_remove_slave(struct w1_slave *sl) in w1_ds2781_remove_slave()
Dw1_ds2780.c32 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_do_io()
57 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_io()
75 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_eeprom_cmd()
100 static BIN_ATTR_RO(w1_slave, DS2780_DATA_SIZE);
118 static int w1_ds2780_add_slave(struct w1_slave *sl) in w1_ds2780_add_slave()
153 static void w1_ds2780_remove_slave(struct w1_slave *sl) in w1_ds2780_remove_slave()
Dw1_ds2760.c29 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2760_io()
74 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2760_eeprom_cmd()
108 static BIN_ATTR_RO(w1_slave, DS2760_DATA_SIZE);
126 static int w1_ds2760_add_slave(struct w1_slave *sl) in w1_ds2760_add_slave()
162 static void w1_ds2760_remove_slave(struct w1_slave *sl) in w1_ds2760_remove_slave()
Dw1_ds28e04.c78 static int w1_f1C_refresh_block(struct w1_slave *sl, struct w1_f1C_data *data, in w1_f1C_refresh_block()
105 static int w1_f1C_read(struct w1_slave *sl, int addr, int len, char *data) in w1_f1C_read()
125 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_read()
167 static int w1_f1C_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f1C_write()
234 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write()
290 struct w1_slave *sl = kobj_to_w1_slave(kobj); in pio_read()
309 struct w1_slave *sl = kobj_to_w1_slave(kobj); in pio_write()
400 static int w1_f1C_add_slave(struct w1_slave *sl) in w1_f1C_add_slave()
414 static void w1_f1C_remove_slave(struct w1_slave *sl) in w1_f1C_remove_slave()
Dw1_bq27000.c32 struct w1_slave *sl = container_of(dev->parent, struct w1_slave, dev); in w1_bq27000_read()
48 static int w1_bq27000_add_slave(struct w1_slave *sl) in w1_bq27000_add_slave()
79 static void w1_bq27000_remove_slave(struct w1_slave *sl) in w1_bq27000_remove_slave()
Dw1_ds2433.c68 static int w1_f23_refresh_block(struct w1_slave *sl, struct w1_f23_data *data, in w1_f23_refresh_block()
100 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_read()
159 static int w1_f23_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f23_write()
214 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write()
276 static int w1_f23_add_slave(struct w1_slave *sl) in w1_f23_add_slave()
290 static void w1_f23_remove_slave(struct w1_slave *sl) in w1_f23_remove_slave()
Dw1_ds2406.c37 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f12_read_state()
73 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f12_write_output()
123 static int w1_f12_add_slave(struct w1_slave *sl) in w1_f12_add_slave()
139 static void w1_f12_remove_slave(struct w1_slave *sl) in w1_f12_remove_slave()
Dw1_ds2431.c66 static int w1_f2d_readblock(struct w1_slave *sl, int off, int count, char *buf) in w1_f2d_readblock()
103 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_read()
147 static int w1_f2d_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f2d_write()
209 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write()
Dw1_ds2408.c46 static int _read_reg(struct w1_slave *sl, u8 address, unsigned char* buf) in _read_reg()
151 struct w1_slave *sl = kobj_to_w1_slave(kobj); in output_write()
222 struct w1_slave *sl = kobj_to_w1_slave(kobj); in activity_write()
252 struct w1_slave *sl = kobj_to_w1_slave(kobj); in status_control_write()
297 static int w1_f29_disable_test_mode(struct w1_slave *sl) in w1_f29_disable_test_mode()
Dw1_therm.c71 static int w1_therm_add_slave(struct w1_slave *sl) in w1_therm_add_slave()
81 static void w1_therm_remove_slave(struct w1_slave *sl) in w1_therm_remove_slave()
98 static DEVICE_ATTR_RO(w1_slave);
227 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_show()
349 struct w1_slave *sl = dev_to_w1_slave(device); in w1_seq_show()
Dw1_ds2423.c46 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_show()
125 static DEVICE_ATTR_RO(w1_slave);
Dw1_ds2413.c37 struct w1_slave *sl = kobj_to_w1_slave(kobj); in state_read()
74 struct w1_slave *sl = kobj_to_w1_slave(kobj); in output_write()
DKconfig54 in the DS2423 chipset from the w1_slave file under the
/linux-4.4.14/drivers/w1/
Dw1.h86 struct w1_slave struct
281 struct w1_slave *w1_search_slave(struct w1_reg_num *id);
284 int w1_unref_slave(struct w1_slave *sl);
288 struct w1_slave *w1_slave_search_device(struct w1_master *dev,
300 int w1_slave_detach(struct w1_slave *sl);
310 int w1_reset_select_slave(struct w1_slave *sl);
314 static inline struct w1_slave* dev_to_w1_slave(struct device *dev) in dev_to_w1_slave()
316 return container_of(dev, struct w1_slave, dev); in dev_to_w1_slave()
319 static inline struct w1_slave* kobj_to_w1_slave(struct kobject *kobj) in kobj_to_w1_slave()
Dw1.c97 struct w1_slave *sl = dev_to_w1_slave(dev); in w1_slave_release()
107 struct w1_slave *sl = dev_to_w1_slave(dev); in name_show()
116 struct w1_slave *sl = dev_to_w1_slave(dev); in id_show()
129 ATTRIBUTE_GROUPS(w1_slave);
137 struct w1_slave *sl = kobj_to_w1_slave(kobj); in rw_write()
156 struct w1_slave *sl = kobj_to_w1_slave(kobj); in rw_read()
389 struct w1_slave *sl = NULL; in w1_master_attribute_show_slaves()
394 sl = list_entry(ent, struct w1_slave, w1_slave_entry); in w1_master_attribute_show_slaves()
457 struct w1_slave *w1_slave_search_device(struct w1_master *dev, in w1_slave_search_device()
460 struct w1_slave *sl; in w1_slave_search_device()
[all …]
Dw1_family.h51 struct w1_slave;
61 int (* add_slave)(struct w1_slave *);
62 void (* remove_slave)(struct w1_slave *);
Dw1_netlink.c62 struct w1_slave *sl;
286 struct w1_slave *sl; in w1_get_slaves()
335 struct w1_slave *sl; in w1_process_command_addremove()
406 static int w1_process_command_slave(struct w1_slave *sl, in w1_process_command_slave()
468 struct w1_slave *sl = node->sl; in w1_process_cb()
557 struct w1_slave *sl; in w1_cn_callback()
Dw1_int.c193 struct w1_slave *sl, *sln; in __w1_remove_master_device()
Dw1_io.c401 int w1_reset_select_slave(struct w1_slave *sl) in w1_reset_select_slave()
/linux-4.4.14/Documentation/w1/slaves/
Dw1_ds242315 Support is provided through the sysfs w1_slave file. Each opening and
16 read sequence of w1_slave file initiates the read of counters and ram
Dw1_therm23 Support is provided through the sysfs w1_slave file. Each open and
/linux-4.4.14/Documentation/w1/
Dw1.generic118 w1_slave - (optional) a binary file whose meaning depends on the