Searched refs:w1_master (Results 1 – 13 of 13) sorted by relevance
/linux-5.19.10/drivers/w1/ |
D | w1_internal.h | 28 void (*cb)(struct w1_master *dev, struct w1_async_cmd *async_cmd); 31 int w1_create_master_attributes(struct w1_master *master); 32 void w1_destroy_master_attributes(struct w1_master *master); 33 void w1_search(struct w1_master *dev, u8 search_type, 35 void w1_search_devices(struct w1_master *dev, u8 search_type, 44 void w1_slave_found(struct w1_master *dev, u64 rn); 45 void w1_search_process_cb(struct w1_master *dev, u8 search_type, 47 struct w1_slave *w1_slave_search_device(struct w1_master *dev, 49 struct w1_master *w1_search_master_id(u32 id); 57 int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn); [all …]
|
D | w1_io.c | 44 static void w1_write_bit(struct w1_master *dev, int bit); 45 static u8 w1_read_bit(struct w1_master *dev); 52 u8 w1_touch_bit(struct w1_master *dev, int bit) in w1_touch_bit() 72 static void w1_write_bit(struct w1_master *dev, int bit) in w1_write_bit() 101 static void w1_pre_write(struct w1_master *dev) in w1_pre_write() 118 static void w1_post_write(struct w1_master *dev) in w1_post_write() 134 void w1_write_8(struct w1_master *dev, u8 byte) in w1_write_8() 159 static u8 w1_read_bit(struct w1_master *dev) in w1_read_bit() 193 u8 w1_triplet(struct w1_master *dev, int bdir) in w1_triplet() 229 u8 w1_read_8(struct w1_master *dev) in w1_read_8() [all …]
|
D | w1.c | 73 struct w1_master *md = dev_to_w1_master(dev); in w1_master_release() 76 memset(md, 0, sizeof(struct w1_master) + sizeof(struct w1_bus_master)); in w1_master_release() 212 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_show_name() 227 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_store_search() 248 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_show_search() 263 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_store_pullup() 281 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_show_pullup() 293 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_show_pointer() 321 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_store_max_slave_count() 337 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_show_max_slave_count() [all …]
|
D | w1_int.c | 24 static struct w1_master *w1_alloc_dev(u32 id, int slave_count, int slave_ttl, in w1_alloc_dev() 28 struct w1_master *dev; in w1_alloc_dev() 34 dev = kzalloc(sizeof(struct w1_master) + sizeof(struct w1_bus_master), GFP_KERNEL); in w1_alloc_dev() 37 sizeof(struct w1_master)); in w1_alloc_dev() 84 static void w1_free_dev(struct w1_master *dev) in w1_free_dev() 95 struct w1_master *dev, *entry; in w1_add_master_device() 174 void __w1_remove_master_device(struct w1_master *dev) in __w1_remove_master_device() 226 struct w1_master *dev, *found = NULL; in w1_remove_master_device()
|
D | w1_netlink.c | 44 struct w1_master *dev; 214 void w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *msg) in w1_netlink_send() 234 static void w1_send_slave(struct w1_master *dev, u64 rn) in w1_send_slave() 256 static void w1_found_send_slave(struct w1_master *dev, u64 rn) in w1_found_send_slave() 265 static int w1_get_slaves(struct w1_master *dev, struct w1_netlink_cmd *req_cmd) in w1_get_slaves() 288 static int w1_process_command_io(struct w1_master *dev, in w1_process_command_io() 313 static int w1_process_command_addremove(struct w1_master *dev, in w1_process_command_addremove() 347 static int w1_process_command_master(struct w1_master *dev, in w1_process_command_master() 399 struct w1_master *dev; in w1_process_command_root() 442 static void w1_process_cb(struct w1_master *dev, struct w1_async_cmd *async_cmd) in w1_process_cb() [all …]
|
D | w1_netlink.h | 130 void w1_netlink_send(struct w1_master *, struct w1_netlink_msg *);
|
/linux-5.19.10/include/linux/ |
D | w1.h | 74 struct w1_master *master; 81 typedef void (*w1_slave_found_callback)(struct w1_master *, u64); 154 void (*search)(void *, struct w1_master *, 199 struct w1_master { struct 294 u8 w1_triplet(struct w1_master *dev, int bdir); 295 u8 w1_touch_bit(struct w1_master *dev, int bit); 296 void w1_write_8(struct w1_master *, u8); 297 u8 w1_read_8(struct w1_master *); 298 int w1_reset_bus(struct w1_master *); 300 void w1_write_block(struct w1_master *, const u8 *, int); [all …]
|
/linux-5.19.10/drivers/w1/slaves/ |
D | w1_ds2405.c | 28 struct w1_master *dev = sl->master; in w1_ds2405_select() 75 struct w1_master *dev = sl->master; in state_show() 112 struct w1_master *dev = sl->master; in output_show() 142 struct w1_master *dev = sl->master; in output_store()
|
D | w1_therm.c | 293 static int trigger_bulk_read(struct w1_master *dev_master); 1095 static int w1_poll_completion(struct w1_master *dev_master, int tout_ms) in w1_poll_completion() 1115 struct w1_master *dev_master = sl->master; in convert_t() 1219 struct w1_master *dev_master = sl->master; in conv_time_measure() 1287 struct w1_master *dev_master = sl->master; in read_scratchpad() 1341 struct w1_master *dev_master = sl->master; in write_scratchpad() 1374 struct w1_master *dev_master = sl->master; in copy_scratchpad() 1428 struct w1_master *dev_master = sl->master; in recall_eeprom() 1463 struct w1_master *dev_master = sl->master; in read_powermode() 1499 static int trigger_bulk_read(struct w1_master *dev_master) in trigger_bulk_read() [all …]
|
D | w1_ds2423.c | 34 struct w1_master *dev = sl->master; in w1_slave_show()
|
/linux-5.19.10/drivers/w1/masters/ |
D | ds1wm.c | 371 static void ds1wm_search(void *data, struct w1_master *master_dev, in ds1wm_search()
|
D | omap_hdq.c | 216 static void omap_w1_search_bus(void *_hdq, struct w1_master *master_dev, in omap_w1_search_bus()
|
D | ds2490.c | 667 static void ds9490r_search(void *data, struct w1_master *master, in ds9490r_search()
|