Home
last modified time | relevance | path

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

/openbmc/qemu/hw/misc/
H A Dgrlib_ahb_apb_pnp.c62 uint8_t slave_count; member
100 assert(dev->slave_count < GRLIB_AHB_MAX_DEV); in grlib_ahb_pnp_add_entry()
102 + (dev->slave_count * GRLIB_AHB_ENTRY_SIZE)) >> 2; in grlib_ahb_pnp_add_entry()
103 dev->slave_count++; in grlib_ahb_pnp_add_entry()
/openbmc/linux/drivers/w1/
H A 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()
H A Dw1.c82 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() local
994 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()
H A 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()
H A Dw1_netlink.c530 (dev->slave_count + dev->max_slave_count); in w1_list_count_cmds()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c548 unsigned int slave_count = 0; in nfp_fl_lag_changeupper_event() local
571 slave_count++; in nfp_fl_lag_changeupper_event()
594 if (slave_count == 0 || !can_offload) { in nfp_fl_lag_changeupper_event()
612 group->slave_cnt = slave_count; in nfp_fl_lag_changeupper_event()
/openbmc/linux/include/linux/
H A Dw1.h211 int max_slave_count, slave_count; member