Searched refs:slave_count (Results 1 – 6 of 6) sorted by relevance
24 static struct w1_master *w1_alloc_dev(u32 id, int slave_count, int slave_ttl, in w1_alloc_dev() argument41 dev->max_slave_count = slave_count; in w1_alloc_dev()42 dev->slave_count = 0; in w1_alloc_dev()
82 sl->master->slave_count--; in w1_slave_release()353 count = sprintf(buf, "%d\n", md->slave_count); in w1_master_attribute_show_slave_count()529 static W1_MASTER_ATTR_RO(slave_count, S_IRUGO);735 dev->slave_count++; in w1_attach_slave_device()761 dev->slave_count--; in w1_attach_slave_device()981 int i, slave_count = 0; in w1_search() local994 while ( !last_device && (slave_count++ < dev->max_slave_count) ) { in w1_search()1069 if (!last_device && slave_count == dev->max_slave_count && in w1_search()
392 if (sl->master->slave_count == 1) in w1_reset_select_slave()426 w1_write_8(dev, dev->slave_count > 1 ? W1_RESUME_CMD : W1_SKIP_ROM); in w1_reset_resume_command()
530 (dev->slave_count + dev->max_slave_count); in w1_list_count_cmds()
547 unsigned int slave_count = 0; in nfp_fl_lag_changeupper_event() local570 slave_count++; in nfp_fl_lag_changeupper_event()593 if (slave_count == 0 || !can_offload) { in nfp_fl_lag_changeupper_event()611 group->slave_cnt = slave_count; in nfp_fl_lag_changeupper_event()
212 int max_slave_count, slave_count; member