Searched refs:slave_count (Results 1 – 4 of 4) sorted by relevance
41 static struct w1_master * w1_alloc_dev(u32 id, int slave_count, int slave_ttl, in w1_alloc_dev() argument63 dev->max_slave_count = slave_count; in w1_alloc_dev()64 dev->slave_count = 0; in w1_alloc_dev()
94 sl->master->slave_count--; in w1_slave_release()342 count = sprintf(buf, "%d\n", md->slave_count); in w1_master_attribute_show_slave_count()355 if (md->slave_count == 0) in w1_master_attribute_show_slaves()515 static W1_MASTER_ATTR_RO(slave_count, S_IRUGO);716 dev->slave_count++; in w1_attach_slave_device()868 int i, slave_count = 0; in w1_search() local880 while ( !last_device && (slave_count++ < dev->max_slave_count) ) { in w1_search()
164 int max_slave_count, slave_count; member
384 if (sl->master->slave_count == 1) in w1_reset_select_slave()