struct w1_slave — holds a single slave device on the bus
struct w1_slave { struct module * owner; unsigned char name[W1_MAXNAMELEN]; struct list_head w1_slave_entry; struct w1_reg_num reg_num; atomic_t refcnt; int ttl; unsigned long flags; struct w1_master * master; struct w1_family * family; void * family_data; struct device dev; };
Points to the one wire “wire” kernel module.
Device id is ascii.
data for the linked list
the slave id in binary
reference count, delete when 0
decrement per search this slave isn't found, deatch at 0
bit flags for W1_SLAVE_ACTIVE W1_SLAVE_DETACH
bus which this slave is on
module for device family type
pointer for use by the family module
kernel device identifier