Home
last modified time | relevance | path

Searched refs:slave_count (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/w1/
Dw1_int.c24 static struct w1_master *w1_alloc_dev(u32 id, int slave_count, int slave_ttl, in w1_alloc_dev() argument
45 dev->max_slave_count = slave_count; in w1_alloc_dev()
46 dev->slave_count = 0; in w1_alloc_dev()
Dw1.c85 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() local
970 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()
Dw1_io.c392 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()
Dw1_netlink.c528 (dev->slave_count + dev->max_slave_count); in w1_list_count_cmds()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dlag_conf.c513 unsigned int slave_count = 0; in nfp_fl_lag_changeupper_event() local
536 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()
/kernel/linux/linux-5.10/include/linux/
Dw1.h211 int max_slave_count, slave_count; member