Searched refs:slave_count (Results 1 – 5 of 5) sorted by relevance
24 static struct w1_master *w1_alloc_dev(u32 id, int slave_count, int slave_ttl, in w1_alloc_dev() argument45 dev->max_slave_count = slave_count; in w1_alloc_dev()46 dev->slave_count = 0; in w1_alloc_dev()
87 sl->master->slave_count--; in w1_slave_release()363 count = sprintf(buf, "%d\n", md->slave_count); in w1_master_attribute_show_slave_count()539 static W1_MASTER_ATTR_RO(slave_count, S_IRUGO);744 dev->slave_count++; in w1_attach_slave_device()770 dev->slave_count--; in w1_attach_slave_device()992 int i, slave_count = 0; in w1_search() local1005 while ( !last_device && (slave_count++ < dev->max_slave_count) ) { in w1_search()1080 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()
528 (dev->slave_count + dev->max_slave_count); in w1_list_count_cmds()
513 unsigned int slave_count = 0; in nfp_fl_lag_changeupper_event() local536 slave_count++; in nfp_fl_lag_changeupper_event()559 if (slave_count == 0 || !can_offload) { in nfp_fl_lag_changeupper_event()577 group->slave_cnt = slave_count; in nfp_fl_lag_changeupper_event()