Home
last modified time | relevance | path

Searched refs:n_groups (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/qemu/
H A Dqdist.h53 char *qdist_pr_plain(const struct qdist *dist, size_t n_groups);
56 char *qdist_pr(const struct qdist *dist, size_t n_groups, uint32_t opt);
/openbmc/linux/net/netlink/
H A Dgenetlink.c395 static int genl_allocate_reserve_groups(int n_groups, int *first_id) in genl_allocate_reserve_groups() argument
415 i < min_t(int, id + n_groups, in genl_allocate_reserve_groups()
425 if (id + n_groups > mc_groups_longs * BITS_PER_LONG) { in genl_allocate_reserve_groups()
427 BITS_TO_LONGS(n_groups); in genl_allocate_reserve_groups()
442 for (i = 0; i < BITS_TO_LONGS(n_groups); i++) in genl_allocate_reserve_groups()
449 for (i = id; i < id + n_groups; i++) in genl_allocate_reserve_groups()
460 int n_groups = family->n_mcgrps; in genl_validate_assign_mc_groups() local
464 if (!n_groups) in genl_validate_assign_mc_groups()
467 for (i = 0; i < n_groups; i++) { in genl_validate_assign_mc_groups()
479 BUG_ON(n_groups != 1); in genl_validate_assign_mc_groups()
[all …]
/openbmc/linux/drivers/pinctrl/cirrus/
H A Dpinctrl-madera-core.c954 unsigned int n_groups = priv->chip->n_pin_groups; in madera_pin_conf_group_set() local
960 if (selector >= n_groups) { in madera_pin_conf_group_set()
963 selector - n_groups, in madera_pin_conf_group_set()