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() argument45 dev->max_slave_count = slave_count; in w1_alloc_dev()46 dev->slave_count = 0; in w1_alloc_dev()
85 sl->master->slave_count--; in w1_slave_release()361 count = sprintf(buf, "%d\n", md->slave_count); in w1_master_attribute_show_slave_count()537 static W1_MASTER_ATTR_RO(slave_count, S_IRUGO);742 dev->slave_count++; in w1_attach_slave_device()768 dev->slave_count--; in w1_attach_slave_device()957 int i, slave_count = 0; in w1_search() local970 while ( !last_device && (slave_count++ < dev->max_slave_count) ) { in w1_search()1045 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()
211 int max_slave_count, slave_count; member