/Linux-v4.19/drivers/base/regmap/ |
D | regmap-w1.c | 28 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v8_read() 50 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v8_write() 77 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v16_read() 101 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a8_v16_write() 129 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a16_v16_read() 154 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_reg_a16_v16_write()
|
/Linux-v4.19/drivers/w1/slaves/ |
D | w1_ds2780.c | 33 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_do_io() 58 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_io() 76 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2780_eeprom_cmd() 101 static BIN_ATTR_RO(w1_slave, DS2780_DATA_SIZE); 117 static int w1_ds2780_add_slave(struct w1_slave *sl) in w1_ds2780_add_slave() 141 static void w1_ds2780_remove_slave(struct w1_slave *sl) in w1_ds2780_remove_slave()
|
D | w1_ds2781.c | 30 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); 114 static int w1_ds2781_add_slave(struct w1_slave *sl) in w1_ds2781_add_slave() 138 static void w1_ds2781_remove_slave(struct w1_slave *sl) in w1_ds2781_remove_slave()
|
D | w1_ds28e17.c | 87 static int w1_f19_i2c_busy_wait(struct w1_slave *sl, size_t count) in w1_f19_i2c_busy_wait() 124 static size_t w1_f19_error(struct w1_slave *sl, u8 w1_buf[]) in w1_f19_error() 151 static int __w1_f19_i2c_write(struct w1_slave *sl, in __w1_f19_i2c_write() 192 static int w1_f19_i2c_write(struct w1_slave *sl, u16 i2c_address, in w1_f19_i2c_write() 264 static int w1_f19_i2c_read(struct w1_slave *sl, u16 i2c_address, in w1_f19_i2c_read() 303 static int w1_f19_i2c_write_read(struct w1_slave *sl, u16 i2c_address, in w1_f19_i2c_write_read() 351 struct w1_slave *sl = (struct w1_slave *) adapter->algo_data; in w1_f19_i2c_master_transfer() 502 static int w1_f19_get_i2c_speed(struct w1_slave *sl) in w1_f19_get_i2c_speed() 534 static int __w1_f19_set_i2c_speed(struct w1_slave *sl, u8 speed) in __w1_f19_set_i2c_speed() 556 static int w1_f19_set_i2c_speed(struct w1_slave *sl, u8 speed) in w1_f19_set_i2c_speed() [all …]
|
D | w1_ds2438.c | 54 static int w1_ds2438_get_page(struct w1_slave *sl, int pageno, u8 *buf) in w1_ds2438_get_page() 88 static int w1_ds2438_get_temperature(struct w1_slave *sl, int16_t *temperature) in w1_ds2438_get_temperature() 130 static int w1_ds2438_change_config_bit(struct w1_slave *sl, u8 mask, u8 value) in w1_ds2438_change_config_bit() 189 static uint16_t w1_ds2438_get_voltage(struct w1_slave *sl, in w1_ds2438_get_voltage() 242 struct w1_slave *sl = kobj_to_w1_slave(kobj); in iad_write() 264 struct w1_slave *sl = kobj_to_w1_slave(kobj); in page0_read() 290 struct w1_slave *sl = kobj_to_w1_slave(kobj); in temperature_read() 313 struct w1_slave *sl = kobj_to_w1_slave(kobj); in vad_read() 336 struct w1_slave *sl = kobj_to_w1_slave(kobj); in vdd_read()
|
D | w1_ds28e04.c | 73 static int w1_f1C_refresh_block(struct w1_slave *sl, struct w1_f1C_data *data, in w1_f1C_refresh_block() 100 static int w1_f1C_read(struct w1_slave *sl, int addr, int len, char *data) in w1_f1C_read() 120 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_read() 162 static int w1_f1C_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f1C_write() 229 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write() 285 struct w1_slave *sl = kobj_to_w1_slave(kobj); in pio_read() 304 struct w1_slave *sl = kobj_to_w1_slave(kobj); in pio_write() 395 static int w1_f1C_add_slave(struct w1_slave *sl) in w1_f1C_add_slave() 409 static void w1_f1C_remove_slave(struct w1_slave *sl) in w1_f1C_remove_slave()
|
D | w1_ds2405.c | 36 static int w1_ds2405_select(struct w1_slave *sl, bool only_active) in w1_ds2405_select() 70 static int w1_ds2405_read_pio(struct w1_slave *sl) in w1_ds2405_read_pio() 84 struct w1_slave *sl = dev_to_w1_slave(device); in state_show() 121 struct w1_slave *sl = dev_to_w1_slave(device); in output_show() 151 struct w1_slave *sl = dev_to_w1_slave(device); in output_store()
|
D | w1_ds2805.c | 63 static int w1_f0d_readblock(struct w1_slave *sl, int off, int count, char *buf) in w1_f0d_readblock() 100 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f0d_read_bin() 146 static int w1_f0d_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f0d_write() 208 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f0d_write_bin() 276 static int w1_f0d_add_slave(struct w1_slave *sl) in w1_f0d_add_slave() 281 static void w1_f0d_remove_slave(struct w1_slave *sl) in w1_f0d_remove_slave()
|
D | w1_ds2433.c | 63 static int w1_f23_refresh_block(struct w1_slave *sl, struct w1_f23_data *data, in w1_f23_refresh_block() 95 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_read() 154 static int w1_f23_write(struct w1_slave *sl, int addr, int len, const u8 *data) in w1_f23_write() 209 struct w1_slave *sl = kobj_to_w1_slave(kobj); in eeprom_write() 271 static int w1_f23_add_slave(struct w1_slave *sl) in w1_f23_add_slave() 285 static void w1_f23_remove_slave(struct w1_slave *sl) in w1_f23_remove_slave()
|
D | w1_ds2406.c | 33 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f12_read_state() 69 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f12_write_output() 119 static int w1_f12_add_slave(struct w1_slave *sl) in w1_f12_add_slave() 135 static void w1_f12_remove_slave(struct w1_slave *sl) in w1_f12_remove_slave()
|
D | w1_therm.c | 73 static int w1_therm_add_slave(struct w1_slave *sl) in w1_therm_add_slave() 83 static void w1_therm_remove_slave(struct w1_slave *sl) in w1_therm_remove_slave() 104 static DEVICE_ATTR_RW(w1_slave); 265 struct w1_slave *sl = dev_to_w1_slave(device); in w1_therm_eeprom() 344 struct w1_slave *sl = dev_to_w1_slave(device); in w1_DS18B20_precision() 467 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_store() 488 struct w1_slave *sl, struct therm_info *info) in read_therm() 584 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_show() 618 struct w1_slave *sl = dev_get_drvdata(device); in w1_read_temp() 659 struct w1_slave *sl = dev_to_w1_slave(device); in w1_seq_show()
|
D | w1_ds2431.c | 66 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()
|
D | w1_ds2408.c | 40 static int _read_reg(struct w1_slave *sl, u8 address, unsigned char* buf) in _read_reg() 145 struct w1_slave *sl = kobj_to_w1_slave(kobj); in output_write() 216 struct w1_slave *sl = kobj_to_w1_slave(kobj); in activity_write() 246 struct w1_slave *sl = kobj_to_w1_slave(kobj); in status_control_write() 291 static int w1_f29_disable_test_mode(struct w1_slave *sl) in w1_f29_disable_test_mode()
|
D | w1_ds2423.c | 46 struct w1_slave *sl = dev_to_w1_slave(device); in w1_slave_show() 125 static DEVICE_ATTR_RO(w1_slave);
|
D | w1_ds2413.c | 32 struct w1_slave *sl = kobj_to_w1_slave(kobj); in state_read() 69 struct w1_slave *sl = kobj_to_w1_slave(kobj); in output_write()
|
/Linux-v4.19/include/linux/ |
D | w1.h | 74 struct w1_slave { struct 258 int (*add_slave)(struct w1_slave *sl); 259 void (*remove_slave)(struct w1_slave *sl); 306 int w1_reset_select_slave(struct w1_slave *sl); 310 static inline struct w1_slave* dev_to_w1_slave(struct device *dev) in dev_to_w1_slave() 312 return container_of(dev, struct w1_slave, dev); in dev_to_w1_slave() 315 static inline struct w1_slave* kobj_to_w1_slave(struct kobject *kobj) in kobj_to_w1_slave()
|
/Linux-v4.19/drivers/w1/ |
D | w1_internal.h | 47 struct w1_slave *w1_search_slave(struct w1_reg_num *id); 52 int w1_unref_slave(struct w1_slave *sl); 56 struct w1_slave *w1_slave_search_device(struct w1_master *dev, 68 int w1_slave_detach(struct w1_slave *sl);
|
D | w1.c | 89 struct w1_slave *sl = dev_to_w1_slave(dev); in w1_slave_release() 99 struct w1_slave *sl = dev_to_w1_slave(dev); in name_show() 108 struct w1_slave *sl = dev_to_w1_slave(dev); in id_show() 121 ATTRIBUTE_GROUPS(w1_slave); 129 struct w1_slave *sl = kobj_to_w1_slave(kobj); in rw_write() 148 struct w1_slave *sl = kobj_to_w1_slave(kobj); in rw_read() 381 struct w1_slave *sl = NULL; in w1_master_attribute_show_slaves() 386 sl = list_entry(ent, struct w1_slave, w1_slave_entry); in w1_master_attribute_show_slaves() 449 struct w1_slave *w1_slave_search_device(struct w1_master *dev, in w1_slave_search_device() 452 struct w1_slave *sl; in w1_slave_search_device() [all …]
|
D | w1_netlink.c | 52 struct w1_slave *sl; 276 struct w1_slave *sl; in w1_get_slaves() 325 struct w1_slave *sl; in w1_process_command_addremove() 396 static int w1_process_command_slave(struct w1_slave *sl, in w1_process_command_slave() 458 struct w1_slave *sl = node->sl; in w1_process_cb() 547 struct w1_slave *sl; in w1_cn_callback()
|
D | w1_int.c | 186 struct w1_slave *sl, *sln; in __w1_remove_master_device()
|
D | w1_io.c | 396 int w1_reset_select_slave(struct w1_slave *sl) in w1_reset_select_slave()
|
/Linux-v4.19/drivers/power/supply/ |
D | bq27xxx_battery_hdq.c | 35 static int w1_bq27000_read(struct w1_slave *sl, unsigned int reg) in w1_bq27000_read() 50 struct w1_slave *sl = dev_to_w1_slave(di->dev); in bq27xxx_battery_hdq_read() 82 static int bq27xxx_battery_hdq_add_slave(struct w1_slave *sl) in bq27xxx_battery_hdq_add_slave() 100 static void bq27xxx_battery_hdq_remove_slave(struct w1_slave *sl) in bq27xxx_battery_hdq_remove_slave()
|
D | ds2760_battery.c | 122 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2760_io() 171 struct w1_slave *sl = container_of(dev, struct w1_slave, dev); in w1_ds2760_eeprom_cmd() 205 static BIN_ATTR_RO(w1_slave, DS2760_DATA_SIZE); 677 static int w1_ds2760_add_slave(struct w1_slave *sl) in w1_ds2760_add_slave() 780 static void w1_ds2760_remove_slave(struct w1_slave *sl) in w1_ds2760_remove_slave()
|
/Linux-v4.19/Documentation/w1/slaves/ |
D | w1_therm | 23 Support is provided through the sysfs w1_slave file. Each open and 38 Writing a value between 9 and 12 to the sysfs w1_slave file will change the 43 has to be written to the sysfs w1_slave file. Since the EEPROM has a limited
|
D | w1_ds2423 | 15 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
|