Home
last modified time | relevance | path

Searched refs:w1_master (Results 1 – 12 of 12) sorted by relevance

/drivers/w1/
Dw1.h98 struct w1_master *master;
104 typedef void (*w1_slave_found_callback)(struct w1_master *, u64);
176 void (*search)(void *, struct w1_master *,
219 struct w1_master struct
275 void (*cb)(struct w1_master *dev, struct w1_async_cmd *async_cmd);
278 int w1_create_master_attributes(struct w1_master *);
279 void w1_destroy_master_attributes(struct w1_master *master);
280 void w1_search(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb);
281 void w1_search_devices(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb);
287 void w1_slave_found(struct w1_master *dev, u64 rn);
[all …]
Dw1_io.c61 static void w1_write_bit(struct w1_master *dev, int bit);
62 static u8 w1_read_bit(struct w1_master *dev);
69 static u8 w1_touch_bit(struct w1_master *dev, int bit) in w1_touch_bit()
88 static void w1_write_bit(struct w1_master *dev, int bit) in w1_write_bit()
117 static void w1_pre_write(struct w1_master *dev) in w1_pre_write()
134 static void w1_post_write(struct w1_master *dev) in w1_post_write()
150 void w1_write_8(struct w1_master *dev, u8 byte) in w1_write_8()
175 static u8 w1_read_bit(struct w1_master *dev) in w1_read_bit()
208 u8 w1_triplet(struct w1_master *dev, int bdir) in w1_triplet()
243 u8 w1_read_8(struct w1_master *dev) in w1_read_8()
[all …]
Dw1.c88 struct w1_master *md = dev_to_w1_master(dev); in w1_master_release()
91 memset(md, 0, sizeof(struct w1_master) + sizeof(struct w1_bus_master)); in w1_master_release()
227 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_show_name()
242 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_store_search()
263 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_show_search()
278 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_store_pullup()
296 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_show_pullup()
308 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_show_pointer()
336 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_store_max_slave_count()
352 struct w1_master *md = dev_to_w1_master(dev); in w1_master_attribute_show_max_slave_count()
[all …]
Dw1_int.c41 static struct w1_master *w1_alloc_dev(u32 id, int slave_count, int slave_ttl, in w1_alloc_dev()
45 struct w1_master *dev; in w1_alloc_dev()
51 dev = kzalloc(sizeof(struct w1_master) + sizeof(struct w1_bus_master), GFP_KERNEL); in w1_alloc_dev()
54 sizeof(struct w1_master)); in w1_alloc_dev()
101 static void w1_free_dev(struct w1_master *dev) in w1_free_dev()
112 struct w1_master *dev, *entry; in w1_add_master_device()
190 void __w1_remove_master_device(struct w1_master *dev) in __w1_remove_master_device()
242 struct w1_master *dev, *found = NULL; in w1_remove_master_device()
Dw1_netlink.c63 struct w1_master *dev;
233 void w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *msg) in w1_netlink_send()
253 static void w1_send_slave(struct w1_master *dev, u64 rn) in w1_send_slave()
275 static void w1_found_send_slave(struct w1_master *dev, u64 rn) in w1_found_send_slave()
284 static int w1_get_slaves(struct w1_master *dev, struct w1_netlink_cmd *req_cmd) in w1_get_slaves()
307 static int w1_process_command_io(struct w1_master *dev, in w1_process_command_io()
332 static int w1_process_command_addremove(struct w1_master *dev, in w1_process_command_addremove()
366 static int w1_process_command_master(struct w1_master *dev, in w1_process_command_master()
418 struct w1_master *dev; in w1_process_command_root()
461 static void w1_process_cb(struct w1_master *dev, struct w1_async_cmd *async_cmd) in w1_process_cb()
[all …]
Dw1_int.h32 void __w1_remove_master_device(struct w1_master *);
Dw1_netlink.h142 void w1_netlink_send(struct w1_master *, struct w1_netlink_msg *);
/drivers/w1/slaves/
Dw1_therm.c211 struct w1_master *dev = sl->master; in w1_therm_eeprom()
289 struct w1_master *dev = sl->master; in w1_DS18B20_precision()
434 struct w1_master *dev = sl->master; in w1_slave_show()
Dw1_ds2423.c47 struct w1_master *dev = sl->master; in w1_slave_show()
/drivers/w1/masters/
Dds1wm.c318 static void ds1wm_search(void *data, struct w1_master *master_dev, in ds1wm_search()
Domap_hdq.c247 static void omap_w1_search_bus(void *_hdq, struct w1_master *master_dev, in omap_w1_search_bus()
Dds2490.c700 static void ds9490r_search(void *data, struct w1_master *master, in ds9490r_search()