grp                63 arch/arm/mach-s3c64xx/irq-pm.c 	struct irq_grp_save *grp = eint_grp_save;
grp                73 arch/arm/mach-s3c64xx/irq-pm.c 	for (i = 0; i < ARRAY_SIZE(eint_grp_save); i++, grp++) {
grp                74 arch/arm/mach-s3c64xx/irq-pm.c 		grp->con = __raw_readl(S3C64XX_EINT12CON + (i * 4));
grp                75 arch/arm/mach-s3c64xx/irq-pm.c 		grp->mask = __raw_readl(S3C64XX_EINT12MASK + (i * 4));
grp                76 arch/arm/mach-s3c64xx/irq-pm.c 		grp->fltcon = __raw_readl(S3C64XX_EINT12FLTCON + (i * 4));
grp                84 arch/arm/mach-s3c64xx/irq-pm.c 	struct irq_grp_save *grp = eint_grp_save;
grp                94 arch/arm/mach-s3c64xx/irq-pm.c 	for (i = 0; i < ARRAY_SIZE(eint_grp_save); i++, grp++) {
grp                95 arch/arm/mach-s3c64xx/irq-pm.c 		__raw_writel(grp->con, S3C64XX_EINT12CON + (i * 4));
grp                96 arch/arm/mach-s3c64xx/irq-pm.c 		__raw_writel(grp->mask, S3C64XX_EINT12MASK + (i * 4));
grp                97 arch/arm/mach-s3c64xx/irq-pm.c 		__raw_writel(grp->fltcon, S3C64XX_EINT12FLTCON + (i * 4));
grp               400 arch/mips/cavium-octeon/executive/cvmx-helper.c 	tag_config.s.grp = 0;
grp               299 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:6;
grp               309 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:6;
grp               328 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp               338 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp              1791 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp              1793 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp              1854 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp              1856 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp              1909 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp              1911 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp              1986 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:6;
grp              1998 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:6;
grp              2009 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp              2021 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp              2032 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp              2044 arch/mips/include/asm/octeon/cvmx-pip-defs.h 		uint64_t grp:4;
grp               269 arch/mips/include/asm/octeon/cvmx-pip.h 		uint64_t grp:4;
grp               206 arch/mips/include/asm/octeon/cvmx-pow.h 		uint64_t grp:4;
grp               224 arch/mips/include/asm/octeon/cvmx-pow.h 		uint64_t grp:4;
grp               663 arch/mips/include/asm/octeon/cvmx-pow.h 		uint64_t grp:4;
grp               693 arch/mips/include/asm/octeon/cvmx-pow.h 	        uint64_t grp:4;
grp               719 arch/mips/include/asm/octeon/cvmx-pow.h 		uint64_t grp:4;
grp               748 arch/mips/include/asm/octeon/cvmx-pow.h 	        uint64_t grp:4;
grp               773 arch/mips/include/asm/octeon/cvmx-pow.h 		uint64_t grp:4;
grp               781 arch/mips/include/asm/octeon/cvmx-pow.h 	        uint64_t grp:4;
grp               808 arch/mips/include/asm/octeon/cvmx-pow.h 		uint64_t grp:4;
grp               816 arch/mips/include/asm/octeon/cvmx-pow.h 	        uint64_t grp:4;
grp               836 arch/mips/include/asm/octeon/cvmx-pow.h 		uint64_t grp:4;
grp               853 arch/mips/include/asm/octeon/cvmx-pow.h 	        uint64_t grp:4;
grp               872 arch/mips/include/asm/octeon/cvmx-pow.h 		uint64_t grp:4;
grp               877 arch/mips/include/asm/octeon/cvmx-pow.h 	        uint64_t grp:4;
grp               895 arch/mips/include/asm/octeon/cvmx-pow.h 		uint64_t grp:4;
grp               915 arch/mips/include/asm/octeon/cvmx-pow.h 	        uint64_t grp:4;
grp              1273 arch/mips/include/asm/octeon/cvmx-pow.h 	result.s.grp = load_resp.s_sstatus2.grp;
grp              1680 arch/mips/include/asm/octeon/cvmx-pow.h 	tag_req.s.grp = group;
grp              1808 arch/mips/include/asm/octeon/cvmx-pow.h 					uint64_t qos, uint64_t grp)
grp              1817 arch/mips/include/asm/octeon/cvmx-pow.h 	cvmx_wqe_set_grp(wqp, grp);
grp              1824 arch/mips/include/asm/octeon/cvmx-pow.h 	tag_req.s.grp = grp;
grp              1980 arch/mips/include/asm/octeon/cvmx-pow.h 	tag_req.s.grp = group;
grp               489 arch/mips/include/asm/octeon/cvmx-wqe.h 		uint64_t grp:6;
grp               497 arch/mips/include/asm/octeon/cvmx-wqe.h 		uint64_t grp:6;
grp               524 arch/mips/include/asm/octeon/cvmx-wqe.h 		uint64_t grp:4;
grp               537 arch/mips/include/asm/octeon/cvmx-wqe.h 		uint64_t grp:4;
grp               620 arch/mips/include/asm/octeon/cvmx-wqe.h 	int grp;
grp               623 arch/mips/include/asm/octeon/cvmx-wqe.h 		grp = work->word1.cn68xx.grp;
grp               625 arch/mips/include/asm/octeon/cvmx-wqe.h 		grp = work->word1.cn38xx.grp;
grp               627 arch/mips/include/asm/octeon/cvmx-wqe.h 	return grp;
grp               630 arch/mips/include/asm/octeon/cvmx-wqe.h static inline void cvmx_wqe_set_grp(cvmx_wqe_t *work, int grp)
grp               633 arch/mips/include/asm/octeon/cvmx-wqe.h 		work->word1.cn68xx.grp = grp;
grp               635 arch/mips/include/asm/octeon/cvmx-wqe.h 		work->word1.cn38xx.grp = grp;
grp               174 arch/powerpc/include/asm/kvm_ppc.h 		struct iommu_group *grp);
grp               176 arch/powerpc/include/asm/kvm_ppc.h 		struct iommu_group *grp);
grp               942 arch/powerpc/kernel/iommu.c 	struct iommu_group *grp;
grp               945 arch/powerpc/kernel/iommu.c 	grp = iommu_group_alloc();
grp               946 arch/powerpc/kernel/iommu.c 	if (IS_ERR(grp)) {
grp               948 arch/powerpc/kernel/iommu.c 				PTR_ERR(grp));
grp               951 arch/powerpc/kernel/iommu.c 	table_group->group = grp;
grp               952 arch/powerpc/kernel/iommu.c 	iommu_group_set_iommudata(grp, table_group, group_release);
grp               957 arch/powerpc/kernel/iommu.c 	iommu_group_set_name(grp, name);
grp                70 arch/powerpc/kvm/book3s_64_vio.c 		struct iommu_group *grp)
grp                79 arch/powerpc/kvm/book3s_64_vio.c 		table_group = iommu_group_get_iommudata(grp);
grp                95 arch/powerpc/kvm/book3s_64_vio.c 		struct iommu_group *grp)
grp               121 arch/powerpc/kvm/book3s_64_vio.c 	table_group = iommu_group_get_iommudata(grp);
grp               142 arch/powerpc/perf/power5-pmu.c 	int grp = -1;
grp               152 arch/powerpc/perf/power5-pmu.c 			grp = (pmc - 1) >> 1;
grp               185 arch/powerpc/perf/power5-pmu.c 			grp = byte & 1;
grp               190 arch/powerpc/perf/power5-pmu.c 	if (grp == 0) {
grp               194 arch/powerpc/perf/power5-pmu.c 	} else if (grp == 1) {
grp               387 arch/powerpc/perf/power5-pmu.c 	unsigned int ttm, grp;
grp               498 arch/powerpc/perf/power5-pmu.c 				grp = (pmc >> 1) & 1;
grp               500 arch/powerpc/perf/power5-pmu.c 					if (grp == (byte & 1))
grp               502 arch/powerpc/perf/power5-pmu.c 				} else if (pmc_grp_use[grp] < 2) {
grp               503 arch/powerpc/perf/power5-pmu.c 					++pmc_grp_use[grp];
grp               195 arch/powerpc/perf/ppc970-pmu.c 	int grp = -1;
grp               204 arch/powerpc/perf/ppc970-pmu.c 		grp = ((pmc - 1) >> 1) & 1;
grp               218 arch/powerpc/perf/ppc970-pmu.c 			grp = byte & 1;
grp               223 arch/powerpc/perf/ppc970-pmu.c 	if (grp == 0) {
grp               227 arch/powerpc/perf/ppc970-pmu.c 	} else if (grp == 1) {
grp               260 arch/powerpc/perf/ppc970-pmu.c 	unsigned int ttm, grp;
grp               359 arch/powerpc/perf/ppc970-pmu.c 				grp = (pmc >> 1) & 1;
grp               361 arch/powerpc/perf/ppc970-pmu.c 					if (grp == (byte & 1))
grp               363 arch/powerpc/perf/ppc970-pmu.c 				} else if (pmc_grp_use[grp] < 4) {
grp               364 arch/powerpc/perf/ppc970-pmu.c 					++pmc_grp_use[grp];
grp                47 arch/sparc/kernel/signal_64.c 	mc_gregset_t __user *grp;
grp                58 arch/sparc/kernel/signal_64.c 	grp  = &ucp->uc_mcontext.mc_gregs;
grp                59 arch/sparc/kernel/signal_64.c 	err  = __get_user(pc, &((*grp)[MC_PC]));
grp                60 arch/sparc/kernel/signal_64.c 	err |= __get_user(npc, &((*grp)[MC_NPC]));
grp                81 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->y, &((*grp)[MC_Y]));
grp                82 arch/sparc/kernel/signal_64.c 	err |= __get_user(tstate, &((*grp)[MC_TSTATE]));
grp                85 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G1], (&(*grp)[MC_G1]));
grp                86 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G2], (&(*grp)[MC_G2]));
grp                87 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G3], (&(*grp)[MC_G3]));
grp                88 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G4], (&(*grp)[MC_G4]));
grp                89 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G5], (&(*grp)[MC_G5]));
grp                90 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G6], (&(*grp)[MC_G6]));
grp                94 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I0], (&(*grp)[MC_O0]));
grp                95 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I1], (&(*grp)[MC_O1]));
grp                96 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I2], (&(*grp)[MC_O2]));
grp                97 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I3], (&(*grp)[MC_O3]));
grp                98 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I4], (&(*grp)[MC_O4]));
grp                99 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I5], (&(*grp)[MC_O5]));
grp               100 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I6], (&(*grp)[MC_O6]));
grp               101 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I7], (&(*grp)[MC_O7]));
grp               146 arch/sparc/kernel/signal_64.c 	mc_gregset_t __user *grp;
grp               163 arch/sparc/kernel/signal_64.c 	grp = &mcp->mc_gregs;
grp               181 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->tstate, &((*grp)[MC_TSTATE]));
grp               182 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->tpc, &((*grp)[MC_PC]));
grp               183 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->tnpc, &((*grp)[MC_NPC]));
grp               184 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->y, &((*grp)[MC_Y]));
grp               185 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G1], &((*grp)[MC_G1]));
grp               186 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G2], &((*grp)[MC_G2]));
grp               187 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G3], &((*grp)[MC_G3]));
grp               188 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G4], &((*grp)[MC_G4]));
grp               189 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G5], &((*grp)[MC_G5]));
grp               190 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G6], &((*grp)[MC_G6]));
grp               191 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G7], &((*grp)[MC_G7]));
grp               192 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I0], &((*grp)[MC_O0]));
grp               193 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I1], &((*grp)[MC_O1]));
grp               194 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I2], &((*grp)[MC_O2]));
grp               195 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I3], &((*grp)[MC_O3]));
grp               196 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I4], &((*grp)[MC_O4]));
grp               197 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I5], &((*grp)[MC_O5]));
grp               198 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I6], &((*grp)[MC_O6]));
grp               199 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I7], &((*grp)[MC_O7]));
grp              1154 arch/sparc/mm/init_64.c static int scan_arcs_for_cfg_handle(struct mdesc_handle *md, u64 grp,
grp              1160 arch/sparc/mm/init_64.c 	mdesc_for_each_arc(arc, md, grp, MDESC_ARC_TYPE_FWD) {
grp              1190 arch/sparc/mm/init_64.c 	u64 grp;
grp              1209 arch/sparc/mm/init_64.c 	mdesc_for_each_node_by_name(md, grp, "group") {
grp              1210 arch/sparc/mm/init_64.c 		if (!scan_arcs_for_cfg_handle(md, grp, cfg_handle)) {
grp              1343 arch/sparc/mm/init_64.c 					       u64 grp, cpumask_t *mask)
grp              1349 arch/sparc/mm/init_64.c 	mdesc_for_each_arc(arc, md, grp, MDESC_ARC_TYPE_BACK) {
grp              1385 arch/sparc/mm/init_64.c static int __init find_best_numa_node_for_mlgroup(struct mdesc_mlgroup *grp)
grp              1392 arch/sparc/mm/init_64.c 		if ((grp->mask == n->mask) && (grp->match == n->match))
grp              1399 arch/sparc/mm/init_64.c 						 u64 grp, int index)
grp              1403 arch/sparc/mm/init_64.c 	mdesc_for_each_arc(arc, md, grp, MDESC_ARC_TYPE_FWD) {
grp              1417 arch/sparc/mm/init_64.c static int __init numa_attach_mlgroup(struct mdesc_handle *md, u64 grp,
grp              1424 arch/sparc/mm/init_64.c 	mdesc_for_each_arc(arc, md, grp, MDESC_ARC_TYPE_FWD) {
grp              1455 arch/sparc/mm/init_64.c static int __init numa_parse_mdesc_group(struct mdesc_handle *md, u64 grp,
grp              1461 arch/sparc/mm/init_64.c 	numa_parse_mdesc_group_cpus(md, grp, &mask);
grp              1474 arch/sparc/mm/init_64.c 	return numa_attach_mlgroup(md, grp, index);
grp                25 arch/x86/events/probe.c 			struct attribute_group *grp = msr[bit].grp;
grp                27 arch/x86/events/probe.c 			grp->is_visible = not_visible;
grp                38 arch/x86/events/probe.c 			grp->is_visible = NULL;
grp                 8 arch/x86/events/probe.h 	struct attribute_group	 *grp;
grp                83 arch/x86/include/asm/inat.h #define INAT_MAKE_GROUP(grp)	((grp << INAT_GRP_OFFS) | INAT_MODRM)
grp               321 drivers/base/attribute_container.c 	BUG_ON(attrs && cont->grp);
grp               323 drivers/base/attribute_container.c 	if (!attrs && !cont->grp)
grp               326 drivers/base/attribute_container.c 	if (cont->grp)
grp               327 drivers/base/attribute_container.c 		return sysfs_create_group(&classdev->kobj, cont->grp);
grp               386 drivers/base/attribute_container.c 	if (!attrs && !cont->grp)
grp               389 drivers/base/attribute_container.c 	if (cont->grp) {
grp               390 drivers/base/attribute_container.c 		sysfs_remove_group(&classdev->kobj, cont->grp);
grp              1374 drivers/base/core.c int devm_device_add_group(struct device *dev, const struct attribute_group *grp)
grp              1384 drivers/base/core.c 	error = sysfs_create_group(&dev->kobj, grp);
grp              1390 drivers/base/core.c 	devres->group = grp;
grp              1405 drivers/base/core.c 			      const struct attribute_group *grp)
grp              1409 drivers/base/core.c 			       /* cast away const */ (void *)grp));
grp               434 drivers/base/devres.c 		struct devres_group *grp;
grp               439 drivers/base/devres.c 		grp = node_to_group(node);
grp               440 drivers/base/devres.c 		if (grp) {
grp               442 drivers/base/devres.c 			grp->color = 0;
grp               465 drivers/base/devres.c 		struct devres_group *grp;
grp               470 drivers/base/devres.c 		grp = node_to_group(node);
grp               471 drivers/base/devres.c 		BUG_ON(!grp || list_empty(&grp->node[0].entry));
grp               473 drivers/base/devres.c 		grp->color++;
grp               474 drivers/base/devres.c 		if (list_empty(&grp->node[1].entry))
grp               475 drivers/base/devres.c 			grp->color++;
grp               477 drivers/base/devres.c 		BUG_ON(grp->color <= 0 || grp->color > 2);
grp               478 drivers/base/devres.c 		if (grp->color == 2) {
grp               482 drivers/base/devres.c 			list_move_tail(&grp->node[0].entry, todo);
grp               483 drivers/base/devres.c 			list_del_init(&grp->node[1].entry);
grp               548 drivers/base/devres.c 	struct devres_group *grp;
grp               551 drivers/base/devres.c 	grp = kmalloc(sizeof(*grp), gfp);
grp               552 drivers/base/devres.c 	if (unlikely(!grp))
grp               555 drivers/base/devres.c 	grp->node[0].release = &group_open_release;
grp               556 drivers/base/devres.c 	grp->node[1].release = &group_close_release;
grp               557 drivers/base/devres.c 	INIT_LIST_HEAD(&grp->node[0].entry);
grp               558 drivers/base/devres.c 	INIT_LIST_HEAD(&grp->node[1].entry);
grp               559 drivers/base/devres.c 	set_node_dbginfo(&grp->node[0], "grp<", 0);
grp               560 drivers/base/devres.c 	set_node_dbginfo(&grp->node[1], "grp>", 0);
grp               561 drivers/base/devres.c 	grp->id = grp;
grp               563 drivers/base/devres.c 		grp->id = id;
grp               566 drivers/base/devres.c 	add_dr(dev, &grp->node[0]);
grp               568 drivers/base/devres.c 	return grp->id;
grp               578 drivers/base/devres.c 		struct devres_group *grp;
grp               583 drivers/base/devres.c 		grp = container_of(node, struct devres_group, node[0]);
grp               586 drivers/base/devres.c 			if (grp->id == id)
grp               587 drivers/base/devres.c 				return grp;
grp               588 drivers/base/devres.c 		} else if (list_empty(&grp->node[1].entry))
grp               589 drivers/base/devres.c 			return grp;
grp               605 drivers/base/devres.c 	struct devres_group *grp;
grp               610 drivers/base/devres.c 	grp = find_group(dev, id);
grp               611 drivers/base/devres.c 	if (grp)
grp               612 drivers/base/devres.c 		add_dr(dev, &grp->node[1]);
grp               631 drivers/base/devres.c 	struct devres_group *grp;
grp               636 drivers/base/devres.c 	grp = find_group(dev, id);
grp               637 drivers/base/devres.c 	if (grp) {
grp               638 drivers/base/devres.c 		list_del_init(&grp->node[0].entry);
grp               639 drivers/base/devres.c 		list_del_init(&grp->node[1].entry);
grp               640 drivers/base/devres.c 		devres_log(dev, &grp->node[0], "REM");
grp               646 drivers/base/devres.c 	kfree(grp);
grp               664 drivers/base/devres.c 	struct devres_group *grp;
grp               670 drivers/base/devres.c 	grp = find_group(dev, id);
grp               671 drivers/base/devres.c 	if (grp) {
grp               672 drivers/base/devres.c 		struct list_head *first = &grp->node[0].entry;
grp               675 drivers/base/devres.c 		if (!list_empty(&grp->node[1].entry))
grp               676 drivers/base/devres.c 			end = grp->node[1].entry.next;
grp                88 drivers/crypto/cavium/cpt/cpt_hw_types.h 		u64 grp:10;
grp                94 drivers/crypto/cavium/cpt/cpt_hw_types.h 		u64 grp:10;
grp               298 drivers/crypto/cavium/cpt/cpt_hw_types.h 		u64 grp:3;
grp               302 drivers/crypto/cavium/cpt/cpt_hw_types.h 		u64 grp:3;
grp                28 drivers/crypto/cavium/cpt/cptpf_main.c 			      u8 type, u8 grp)
grp                39 drivers/crypto/cavium/cpt/cptpf_main.c 	grpmask = cpt_read_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp));
grp                40 drivers/crypto/cavium/cpt/cptpf_main.c 	cpt_write_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp),
grp                43 drivers/crypto/cavium/cpt/cptpf_main.c 	grp = cpt_read_csr64(cpt->reg_base, CPTX_PF_EXEC_BUSY(0));
grp                44 drivers/crypto/cavium/cpt/cptpf_main.c 	while (grp & coremask) {
grp                46 drivers/crypto/cavium/cpt/cptpf_main.c 		grp = cpt_read_csr64(cpt->reg_base,
grp                78 drivers/crypto/cavium/cpt/cptpf_main.c static void cpt_configure_group(struct cpt_device *cpt, u8 grp,
grp                86 drivers/crypto/cavium/cpt/cptpf_main.c 	pf_gx_en = cpt_read_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp));
grp                87 drivers/crypto/cavium/cpt/cptpf_main.c 	cpt_write_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp),
grp               382 drivers/crypto/cavium/cpt/cptpf_main.c 	u32 grp, timeout = 100;
grp               386 drivers/crypto/cavium/cpt/cptpf_main.c 	for (grp = 0; grp < CPT_MAX_CORE_GROUPS; grp++) {
grp               387 drivers/crypto/cavium/cpt/cptpf_main.c 		cpt_write_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp), 0);
grp               391 drivers/crypto/cavium/cpt/cptpf_main.c 	grp = cpt_read_csr64(cpt->reg_base, CPTX_PF_EXEC_BUSY(0));
grp               392 drivers/crypto/cavium/cpt/cptpf_main.c 	while (grp) {
grp               394 drivers/crypto/cavium/cpt/cptpf_main.c 		grp = cpt_read_csr64(cpt->reg_base,
grp               412 drivers/crypto/cavium/cpt/cptpf_main.c 	u32 grp = 0, core;
grp               415 drivers/crypto/cavium/cpt/cptpf_main.c 	for (grp = 0; grp < CPT_MAX_CORE_GROUPS; grp++) {
grp               416 drivers/crypto/cavium/cpt/cptpf_main.c 		struct microcode *mcode = &cpt->mcode[grp];
grp               418 drivers/crypto/cavium/cpt/cptpf_main.c 		if (cpt->mcode[grp].code)
grp                59 drivers/crypto/cavium/cpt/cptpf_mbox.c static int cpt_bind_vq_to_grp(struct cpt_device *cpt, u8 q, u8 grp)
grp                69 drivers/crypto/cavium/cpt/cptpf_mbox.c 	if (grp >= CPT_MAX_CORE_GROUPS) {
grp                73 drivers/crypto/cavium/cpt/cptpf_mbox.c 	if (grp >= cpt->next_mc_idx) {
grp                78 drivers/crypto/cavium/cpt/cptpf_mbox.c 	pf_qx_ctl.s.grp = mcode[grp].group;
grp                80 drivers/crypto/cavium/cpt/cptpf_mbox.c 	dev_dbg(dev, "VF %d TYPE %s", q, (mcode[grp].is_ae ? "AE" : "SE"));
grp                82 drivers/crypto/cavium/cpt/cptpf_mbox.c 	return mcode[grp].is_ae ? AE_TYPES : SE_TYPES;
grp               107 drivers/crypto/cavium/cpt/cptvf_algs.c 	req_info->ctrl.s.grp = 0;
grp               434 drivers/crypto/cavium/cpt/cptvf_reqmanager.c 	group = ctrl->s.grp;
grp               478 drivers/crypto/cavium/cpt/cptvf_reqmanager.c 	vq_cmd.cptr.s.grp = group;
grp               523 drivers/crypto/cavium/cpt/cptvf_reqmanager.c 	cptinst.s.grp = 0;
grp                25 drivers/crypto/cavium/cpt/request_manager.h 		u32 grp:3; /* Group bits */
grp                31 drivers/crypto/cavium/cpt/request_manager.h 		u32 grp:3; /* Group bits */
grp               126 drivers/crypto/cavium/cpt/request_manager.h 		u64 grp:3;
grp               130 drivers/crypto/cavium/cpt/request_manager.h 		u64 grp:3;
grp               335 drivers/crypto/cavium/nitrox/nitrox_req.h 		u64 grp	: 3;
grp               343 drivers/crypto/cavium/nitrox/nitrox_req.h 		u64 grp	: 3;
grp               423 drivers/crypto/cavium/nitrox/nitrox_req.h 		u64 grp : 3;
grp               427 drivers/crypto/cavium/nitrox/nitrox_req.h 		u64 grp : 3;
grp               245 drivers/crypto/cavium/zip/zip_regs.h 		u64 grp                         : 10;
grp               249 drivers/crypto/cavium/zip/zip_regs.h 		u64 grp                         : 10;
grp                41 drivers/dma/acpi-dma.c static int acpi_dma_parse_resource_group(const struct acpi_csrt_group *grp,
grp                50 drivers/dma/acpi-dma.c 	if (grp->shared_info_length != sizeof(struct acpi_csrt_shared_info))
grp                71 drivers/dma/acpi-dma.c 	si = (const struct acpi_csrt_shared_info *)&grp[1];
grp                80 drivers/dma/acpi-dma.c 		(char *)&grp->vendor_id, grp->device_id, grp->revision);
grp               117 drivers/dma/acpi-dma.c 	struct acpi_csrt_group *grp, *end;
grp               130 drivers/dma/acpi-dma.c 	grp = (struct acpi_csrt_group *)(csrt + 1);
grp               133 drivers/dma/acpi-dma.c 	while (grp < end) {
grp               134 drivers/dma/acpi-dma.c 		ret = acpi_dma_parse_resource_group(grp, adev, adma);
grp               141 drivers/dma/acpi-dma.c 		grp = (struct acpi_csrt_group *)((void *)grp + grp->length);
grp              1081 drivers/hwmon/applesmc.c 	struct applesmc_node_group *grp;
grp              1084 drivers/hwmon/applesmc.c 	for (grp = groups; grp->nodes; grp++) {
grp              1085 drivers/hwmon/applesmc.c 		for (node = grp->nodes; node->sda.dev_attr.attr.name; node++)
grp              1088 drivers/hwmon/applesmc.c 		kfree(grp->nodes);
grp              1089 drivers/hwmon/applesmc.c 		grp->nodes = NULL;
grp              1098 drivers/hwmon/applesmc.c 	struct applesmc_node_group *grp;
grp              1103 drivers/hwmon/applesmc.c 	for (grp = groups; grp->format; grp++) {
grp              1104 drivers/hwmon/applesmc.c 		grp->nodes = kcalloc(num + 1, sizeof(*node), GFP_KERNEL);
grp              1105 drivers/hwmon/applesmc.c 		if (!grp->nodes) {
grp              1110 drivers/hwmon/applesmc.c 			node = &grp->nodes[i];
grp              1111 drivers/hwmon/applesmc.c 			scnprintf(node->name, sizeof(node->name), grp->format,
grp              1113 drivers/hwmon/applesmc.c 			node->sda.index = (grp->option << 16) | (i & 0xffff);
grp              1114 drivers/hwmon/applesmc.c 			node->sda.dev_attr.show = grp->show;
grp              1115 drivers/hwmon/applesmc.c 			node->sda.dev_attr.store = grp->store;
grp              1119 drivers/hwmon/applesmc.c 			attr->mode = 0444 | (grp->store ? 0200 : 0);
grp                80 drivers/infiniband/hw/hfi1/exp_rcv.c 	struct tid_group *grp;
grp                92 drivers/infiniband/hw/hfi1/exp_rcv.c 		grp = &rcd->groups[i];
grp                93 drivers/infiniband/hw/hfi1/exp_rcv.c 		grp->size = dd->rcv_entries.group_size;
grp                94 drivers/infiniband/hw/hfi1/exp_rcv.c 		grp->base = tidbase;
grp                95 drivers/infiniband/hw/hfi1/exp_rcv.c 		tid_group_add_tail(grp, &rcd->tid_group_list);
grp               147 drivers/infiniband/hw/hfi1/exp_rcv.h static inline void tid_group_add_tail(struct tid_group *grp,
grp               150 drivers/infiniband/hw/hfi1/exp_rcv.h 	list_add_tail(&grp->list, &set->list);
grp               154 drivers/infiniband/hw/hfi1/exp_rcv.h static inline void tid_group_remove(struct tid_group *grp,
grp               157 drivers/infiniband/hw/hfi1/exp_rcv.h 	list_del_init(&grp->list);
grp               171 drivers/infiniband/hw/hfi1/exp_rcv.h 	struct tid_group *grp =
grp               173 drivers/infiniband/hw/hfi1/exp_rcv.h 	list_del_init(&grp->list);
grp               175 drivers/infiniband/hw/hfi1/exp_rcv.h 	return grp;
grp               192 drivers/infiniband/hw/hfi1/exp_rcv.h hfi1_tid_group_to_idx(struct hfi1_ctxtdata *rcd, struct tid_group *grp)
grp               194 drivers/infiniband/hw/hfi1/exp_rcv.h 	return grp - &rcd->groups[0];
grp              1199 drivers/infiniband/hw/hfi1/tid_rdma.c 				     struct tid_group *grp, u8 cnt)
grp              1208 drivers/infiniband/hw/hfi1/tid_rdma.c 			   cnt, grp->map, grp->used);
grp              1210 drivers/infiniband/hw/hfi1/tid_rdma.c 	node->grp = grp;
grp              1211 drivers/infiniband/hw/hfi1/tid_rdma.c 	node->map = grp->map;
grp              1214 drivers/infiniband/hw/hfi1/tid_rdma.c 				grp->base, grp->map, grp->used, cnt);
grp              1299 drivers/infiniband/hw/hfi1/tid_rdma.c 	struct tid_group *grp = node->grp;
grp              1305 drivers/infiniband/hw/hfi1/tid_rdma.c 	for (i = 0; i < grp->size; i++) {
grp              1306 drivers/infiniband/hw/hfi1/tid_rdma.c 		rcventry = grp->base + i;
grp              1348 drivers/infiniband/hw/hfi1/tid_rdma.c 		if (grp->used == grp->size - 1)
grp              1349 drivers/infiniband/hw/hfi1/tid_rdma.c 			tid_group_move(grp, &rcd->tid_used_list,
grp              1351 drivers/infiniband/hw/hfi1/tid_rdma.c 		else if (!grp->used)
grp              1352 drivers/infiniband/hw/hfi1/tid_rdma.c 			tid_group_move(grp, &rcd->tid_group_list,
grp              1355 drivers/infiniband/hw/hfi1/tid_rdma.c 		grp->used++;
grp              1356 drivers/infiniband/hw/hfi1/tid_rdma.c 		grp->map |= BIT(i);
grp              1366 drivers/infiniband/hw/hfi1/tid_rdma.c 	struct tid_group *grp = node->grp;
grp              1370 drivers/infiniband/hw/hfi1/tid_rdma.c 	for (i = 0; i < grp->size; i++) {
grp              1371 drivers/infiniband/hw/hfi1/tid_rdma.c 		rcventry = grp->base + i;
grp              1380 drivers/infiniband/hw/hfi1/tid_rdma.c 		grp->used--;
grp              1381 drivers/infiniband/hw/hfi1/tid_rdma.c 		grp->map &= ~BIT(i);
grp              1384 drivers/infiniband/hw/hfi1/tid_rdma.c 		if (grp->used == grp->size - 1)
grp              1385 drivers/infiniband/hw/hfi1/tid_rdma.c 			tid_group_move(grp, &rcd->tid_full_list,
grp              1387 drivers/infiniband/hw/hfi1/tid_rdma.c 		else if (!grp->used)
grp              1388 drivers/infiniband/hw/hfi1/tid_rdma.c 			tid_group_move(grp, &rcd->tid_used_list,
grp              1396 drivers/infiniband/hw/hfi1/tid_rdma.c 			   cnt, grp->map, grp->used);
grp               165 drivers/infiniband/hw/hfi1/tid_rdma.h 	struct tid_group *grp;
grp                60 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			      u32 rcventry, struct tid_group *grp,
grp                68 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			    struct tid_group *grp,
grp                73 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			      struct tid_group **grp);
grp               386 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		struct tid_group *grp =
grp               389 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		ret = program_rcvarray(fd, tidbuf, grp,
grp               398 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			tid_group_add_tail(grp, &uctxt->tid_group_list);
grp               404 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		tid_group_add_tail(grp, &uctxt->tid_full_list);
grp               411 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		struct tid_group *grp, *ptr;
grp               421 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			grp = tid_group_pop(&uctxt->tid_group_list);
grp               422 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			tid_group_add_tail(grp, &uctxt->tid_used_list);
grp               430 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		list_for_each_entry_safe(grp, ptr, &uctxt->tid_used_list.list,
grp               433 drivers/infiniband/hw/hfi1/user_exp_rcv.c 					     grp->size - grp->used);
grp               435 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			ret = program_rcvarray(fd, tidbuf, grp,
grp               444 drivers/infiniband/hw/hfi1/user_exp_rcv.c 				if (grp->used == grp->size)
grp               445 drivers/infiniband/hw/hfi1/user_exp_rcv.c 					tid_group_move(grp,
grp               681 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			    struct tid_group *grp,
grp               693 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	if (count > grp->size)
grp               697 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	for (idx = 0; idx < grp->size; idx++) {
grp               698 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		if (!(grp->map & (1 << idx))) {
grp               702 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		rcv_array_wc_fill(dd, grp->base + idx);
grp               714 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		if (useidx >= grp->size) {
grp               716 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		} else if (grp->map & (1 << useidx)) {
grp               717 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			rcv_array_wc_fill(dd, grp->base + useidx);
grp               722 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		rcventry = grp->base + useidx;
grp               727 drivers/infiniband/hw/hfi1/user_exp_rcv.c 					 rcventry, grp, pageidx,
grp               736 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		grp->used++;
grp               737 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		grp->map |= 1 << useidx++;
grp               742 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	for (; useidx < grp->size; useidx++)
grp               743 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		rcv_array_wc_fill(dd, grp->base + useidx);
grp               750 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			      u32 rcventry, struct tid_group *grp,
grp               785 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	node->grp = grp;
grp               809 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			      struct tid_group **grp)
grp               832 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	if (grp)
grp               833 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		*grp = node->grp;
grp               860 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	node->grp->used--;
grp               861 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	node->grp->map &= ~(1 << (node->rcventry - node->grp->base));
grp               863 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	if (node->grp->used == node->grp->size - 1)
grp               864 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		tid_group_move(node->grp, &uctxt->tid_full_list,
grp               866 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	else if (!node->grp->used)
grp               867 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		tid_group_move(node->grp, &uctxt->tid_used_list,
grp               880 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	struct tid_group *grp, *ptr;
grp               883 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	list_for_each_entry_safe(grp, ptr, &set->list, list) {
grp               884 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		list_del_init(&grp->list);
grp               886 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		for (i = 0; i < grp->size; i++) {
grp               887 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			if (grp->map & (1 << i)) {
grp               888 drivers/infiniband/hw/hfi1/user_exp_rcv.c 				u16 rcventry = grp->base + i;
grp                70 drivers/infiniband/hw/hfi1/user_exp_rcv.h 	struct tid_group *grp;
grp               248 drivers/infiniband/hw/hfi1/vnic_main.c static inline void update_len_counters(struct opa_vnic_grp_stats *grp,
grp               253 drivers/infiniband/hw/hfi1/vnic_main.c 		grp->s_1519_max++;
grp               255 drivers/infiniband/hw/hfi1/vnic_main.c 		grp->s_1024_1518++;
grp               257 drivers/infiniband/hw/hfi1/vnic_main.c 		grp->s_512_1023++;
grp               259 drivers/infiniband/hw/hfi1/vnic_main.c 		grp->s_256_511++;
grp               261 drivers/infiniband/hw/hfi1/vnic_main.c 		grp->s_128_255++;
grp               263 drivers/infiniband/hw/hfi1/vnic_main.c 		grp->s_65_127++;
grp               265 drivers/infiniband/hw/hfi1/vnic_main.c 		grp->s_64++;
grp               196 drivers/infiniband/hw/mlx5/cmd.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_ETHERNET_EXTENDED_COUNTERS_GROUP);
grp                74 drivers/infiniband/sw/rxe/rxe_loc.h 			   struct rxe_mc_grp *grp);
grp                41 drivers/infiniband/sw/rxe/rxe_mcast.c 	struct rxe_mc_grp *grp;
grp                48 drivers/infiniband/sw/rxe/rxe_mcast.c 	grp = rxe_pool_get_key(&rxe->mc_grp_pool, mgid);
grp                49 drivers/infiniband/sw/rxe/rxe_mcast.c 	if (grp)
grp                52 drivers/infiniband/sw/rxe/rxe_mcast.c 	grp = rxe_alloc(&rxe->mc_grp_pool);
grp                53 drivers/infiniband/sw/rxe/rxe_mcast.c 	if (!grp) {
grp                58 drivers/infiniband/sw/rxe/rxe_mcast.c 	INIT_LIST_HEAD(&grp->qp_list);
grp                59 drivers/infiniband/sw/rxe/rxe_mcast.c 	spin_lock_init(&grp->mcg_lock);
grp                60 drivers/infiniband/sw/rxe/rxe_mcast.c 	grp->rxe = rxe;
grp                62 drivers/infiniband/sw/rxe/rxe_mcast.c 	rxe_add_key(grp, mgid);
grp                69 drivers/infiniband/sw/rxe/rxe_mcast.c 	*grp_p = grp;
grp                73 drivers/infiniband/sw/rxe/rxe_mcast.c 	rxe_drop_ref(grp);
grp                79 drivers/infiniband/sw/rxe/rxe_mcast.c 			   struct rxe_mc_grp *grp)
grp                86 drivers/infiniband/sw/rxe/rxe_mcast.c 	spin_lock_bh(&grp->mcg_lock);
grp                87 drivers/infiniband/sw/rxe/rxe_mcast.c 	list_for_each_entry(elem, &grp->qp_list, qp_list) {
grp                94 drivers/infiniband/sw/rxe/rxe_mcast.c 	if (grp->num_qp >= rxe->attr.max_mcast_qp_attach) {
grp               106 drivers/infiniband/sw/rxe/rxe_mcast.c 	rxe_add_ref(grp);
grp               108 drivers/infiniband/sw/rxe/rxe_mcast.c 	grp->num_qp++;
grp               110 drivers/infiniband/sw/rxe/rxe_mcast.c 	elem->grp = grp;
grp               112 drivers/infiniband/sw/rxe/rxe_mcast.c 	list_add(&elem->qp_list, &grp->qp_list);
grp               117 drivers/infiniband/sw/rxe/rxe_mcast.c 	spin_unlock_bh(&grp->mcg_lock);
grp               125 drivers/infiniband/sw/rxe/rxe_mcast.c 	struct rxe_mc_grp *grp;
grp               128 drivers/infiniband/sw/rxe/rxe_mcast.c 	grp = rxe_pool_get_key(&rxe->mc_grp_pool, mgid);
grp               129 drivers/infiniband/sw/rxe/rxe_mcast.c 	if (!grp)
grp               133 drivers/infiniband/sw/rxe/rxe_mcast.c 	spin_lock_bh(&grp->mcg_lock);
grp               135 drivers/infiniband/sw/rxe/rxe_mcast.c 	list_for_each_entry_safe(elem, tmp, &grp->qp_list, qp_list) {
grp               139 drivers/infiniband/sw/rxe/rxe_mcast.c 			grp->num_qp--;
grp               141 drivers/infiniband/sw/rxe/rxe_mcast.c 			spin_unlock_bh(&grp->mcg_lock);
grp               144 drivers/infiniband/sw/rxe/rxe_mcast.c 			rxe_drop_ref(grp);	/* ref held by QP */
grp               145 drivers/infiniband/sw/rxe/rxe_mcast.c 			rxe_drop_ref(grp);	/* ref from get_key */
grp               150 drivers/infiniband/sw/rxe/rxe_mcast.c 	spin_unlock_bh(&grp->mcg_lock);
grp               152 drivers/infiniband/sw/rxe/rxe_mcast.c 	rxe_drop_ref(grp);			/* ref from get_key */
grp               159 drivers/infiniband/sw/rxe/rxe_mcast.c 	struct rxe_mc_grp *grp;
grp               173 drivers/infiniband/sw/rxe/rxe_mcast.c 		grp = elem->grp;
grp               174 drivers/infiniband/sw/rxe/rxe_mcast.c 		spin_lock_bh(&grp->mcg_lock);
grp               176 drivers/infiniband/sw/rxe/rxe_mcast.c 		grp->num_qp--;
grp               177 drivers/infiniband/sw/rxe/rxe_mcast.c 		spin_unlock_bh(&grp->mcg_lock);
grp               178 drivers/infiniband/sw/rxe/rxe_mcast.c 		rxe_drop_ref(grp);
grp               185 drivers/infiniband/sw/rxe/rxe_mcast.c 	struct rxe_mc_grp *grp = container_of(arg, typeof(*grp), pelem);
grp               186 drivers/infiniband/sw/rxe/rxe_mcast.c 	struct rxe_dev *rxe = grp->rxe;
grp               188 drivers/infiniband/sw/rxe/rxe_mcast.c 	rxe_drop_key(grp);
grp               189 drivers/infiniband/sw/rxe/rxe_mcast.c 	rxe_mcast_delete(rxe, &grp->mgid);
grp              1051 drivers/infiniband/sw/rxe/rxe_verbs.c 	struct rxe_mc_grp *grp;
grp              1054 drivers/infiniband/sw/rxe/rxe_verbs.c 	err = rxe_mcast_get_grp(rxe, mgid, &grp);
grp              1058 drivers/infiniband/sw/rxe/rxe_verbs.c 	err = rxe_mcast_add_grp_elem(rxe, qp, grp);
grp              1060 drivers/infiniband/sw/rxe/rxe_verbs.c 	rxe_drop_ref(grp);
grp               369 drivers/infiniband/sw/rxe/rxe_verbs.h 	struct rxe_mc_grp	*grp;
grp               156 drivers/input/mouse/cyapa_gen3.c #define SMBUS_GROUP_CMD(grp) (0x80 | (((grp) & 0x07) << 3))
grp               157 drivers/lightnvm/pblk-core.c 	int ch_off = ppa.m.grp * geo->num_chk * geo->num_lun;
grp                59 drivers/lightnvm/pblk-trace.h 			(u64)(((struct ppa_addr *)(&__entry->ppa))->m.grp),
grp                85 drivers/lightnvm/pblk-trace.h 			(u64)(((struct ppa_addr *)(&__entry->ppa))->m.grp),
grp              1005 drivers/lightnvm/pblk.h 		ppa.m.grp = chnls;
grp              1055 drivers/lightnvm/pblk.h 		paddr = (u64)p.m.grp * uaddrf->sec_stripe;
grp              1208 drivers/lightnvm/pblk.h 			p->m.grp, p->m.pu, p->m.chk, p->m.sec);
grp              1251 drivers/lightnvm/pblk.h 					ppa->m.grp < geo->num_ch &&
grp                34 drivers/media/platform/ti-vpe/vpdma_priv.h #define VPDMA_INT_CHAN_STAT(grp)	(0x40 + grp * 8)
grp                35 drivers/media/platform/ti-vpe/vpdma_priv.h #define VPDMA_INT_CHAN_MASK(grp)	(VPDMA_INT_CHAN_STAT(grp) + 4)
grp                15 drivers/media/platform/vivid/vivid-rds-gen.c static u8 vivid_get_di(const struct vivid_rds_gen *rds, unsigned grp)
grp                17 drivers/media/platform/vivid/vivid-rds-gen.c 	switch (grp) {
grp                19 drivers/media/platform/vivid/vivid-rds-gen.c 		return (rds->dyn_pty << 2) | (grp & 3);
grp                21 drivers/media/platform/vivid/vivid-rds-gen.c 		return (rds->compressed << 2) | (grp & 3);
grp                23 drivers/media/platform/vivid/vivid-rds-gen.c 		return (rds->art_head << 2) | (grp & 3);
grp                25 drivers/media/platform/vivid/vivid-rds-gen.c 		return (rds->mono_stereo << 2) | (grp & 3);
grp                45 drivers/media/platform/vivid/vivid-rds-gen.c 	unsigned grp;
grp                52 drivers/media/platform/vivid/vivid-rds-gen.c 	for (grp = 0; grp < VIVID_RDS_GEN_GROUPS; grp++, data += VIVID_RDS_GEN_BLKS_PER_GRP) {
grp                61 drivers/media/platform/vivid/vivid-rds-gen.c 		switch (grp) {
grp                65 drivers/media/platform/vivid/vivid-rds-gen.c 			idx = (grp % 22) % 4;
grp                77 drivers/media/platform/vivid/vivid-rds-gen.c 			idx = ((grp - 4) % 22) % 16;
grp               114 drivers/media/platform/vivid/vivid-rds-gen.c 			data[1].lsb |= vivid_get_di(rds, grp % 22);
grp               121 drivers/media/platform/vivid/vivid-rds-gen.c 			data[3].lsb |= vivid_get_di(rds, grp % 22);
grp                64 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	struct attribute_group grp;
grp               392 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	cip->grp.name = cip->name;
grp               393 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	cip->grp.attrs = cip->attr_gen;
grp               395 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	ret = sysfs_create_group(&sfp->class_dev->kobj,&cip->grp);
grp               482 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 			sysfs_remove_group(&sfp->class_dev->kobj,&cip1->grp);
grp               377 drivers/mfd/twl4030-power.c 	u8 grp;
grp               389 drivers/mfd/twl4030-power.c 	err = twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &grp,
grp               398 drivers/mfd/twl4030-power.c 		grp &= ~DEV_GRP_MASK;
grp               399 drivers/mfd/twl4030-power.c 		grp |= rconfig->devgroup << DEV_GRP_SHIFT;
grp               401 drivers/mfd/twl4030-power.c 				       grp, rconfig_addr + DEV_GRP_OFFSET);
grp              5864 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int bnxt_hwrm_reserve_rings(struct bnxt *bp, int tx, int rx, int grp,
grp              5868 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		return bnxt_hwrm_reserve_pf_rings(bp, tx, rx, grp, cp, stat,
grp              5871 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		return bnxt_hwrm_reserve_vf_rings(bp, tx, rx, grp, cp, stat,
grp              5921 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	int vnic = 1, grp = rx;
grp              5937 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	     (hw_resc->resv_hw_ring_grps != grp &&
grp              5952 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	int grp, rx_rings, rc;
grp              5965 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	grp = bp->rx_nr_rings;
grp              5968 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	rc = bnxt_hwrm_reserve_rings(bp, tx, rx, grp, cp, stat, vnic);
grp              5976 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		grp = hw_resc->resv_hw_ring_grps;
grp              5996 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	rx_rings = min_t(int, rx_rings, grp);
grp              6009 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (!tx || !rx || !cp || !grp || !vnic || !stat)
grp               506 drivers/net/ethernet/cavium/liquidio/liquidio_common.h 	u64 grp:4;
grp               527 drivers/net/ethernet/cavium/liquidio/liquidio_common.h 	u64 grp:4;
grp               138 drivers/net/ethernet/cavium/liquidio/octeon_nic.h 	ih2->grp = DEFAULT_POW_GRP;
grp               658 drivers/net/ethernet/cavium/liquidio/request_manager.c 		ih2->grp     = CFG_GET_CTRL_Q_GRP(oct_cfg);
grp               494 drivers/net/ethernet/freescale/gianfar.c 	struct gfar_priv_grp *grp = &priv->gfargrp[priv->num_grps];
grp               498 drivers/net/ethernet/freescale/gianfar.c 		grp->irqinfo[i] = kzalloc(sizeof(struct gfar_irqinfo),
grp               500 drivers/net/ethernet/freescale/gianfar.c 		if (!grp->irqinfo[i])
grp               504 drivers/net/ethernet/freescale/gianfar.c 	grp->regs = of_iomap(np, 0);
grp               505 drivers/net/ethernet/freescale/gianfar.c 	if (!grp->regs)
grp               508 drivers/net/ethernet/freescale/gianfar.c 	gfar_irq(grp, TX)->irq = irq_of_parse_and_map(np, 0);
grp               512 drivers/net/ethernet/freescale/gianfar.c 		gfar_irq(grp, RX)->irq = irq_of_parse_and_map(np, 1);
grp               513 drivers/net/ethernet/freescale/gianfar.c 		gfar_irq(grp, ER)->irq = irq_of_parse_and_map(np, 2);
grp               514 drivers/net/ethernet/freescale/gianfar.c 		if (!gfar_irq(grp, TX)->irq ||
grp               515 drivers/net/ethernet/freescale/gianfar.c 		    !gfar_irq(grp, RX)->irq ||
grp               516 drivers/net/ethernet/freescale/gianfar.c 		    !gfar_irq(grp, ER)->irq)
grp               520 drivers/net/ethernet/freescale/gianfar.c 	grp->priv = priv;
grp               521 drivers/net/ethernet/freescale/gianfar.c 	spin_lock_init(&grp->grplock);
grp               526 drivers/net/ethernet/freescale/gianfar.c 		grp->rx_bit_map = (DEFAULT_MAPPING >> priv->num_grps);
grp               527 drivers/net/ethernet/freescale/gianfar.c 		grp->tx_bit_map = (DEFAULT_MAPPING >> priv->num_grps);
grp               531 drivers/net/ethernet/freescale/gianfar.c 			grp->rx_bit_map = rxq_mask ?
grp               537 drivers/net/ethernet/freescale/gianfar.c 			grp->tx_bit_map = txq_mask ?
grp               543 drivers/net/ethernet/freescale/gianfar.c 			grp->rx_bit_map = (DEFAULT_MAPPING >> priv->num_grps);
grp               544 drivers/net/ethernet/freescale/gianfar.c 			grp->tx_bit_map = (DEFAULT_MAPPING >> priv->num_grps);
grp               547 drivers/net/ethernet/freescale/gianfar.c 		grp->rx_bit_map = 0xFF;
grp               548 drivers/net/ethernet/freescale/gianfar.c 		grp->tx_bit_map = 0xFF;
grp               554 drivers/net/ethernet/freescale/gianfar.c 	grp->rx_bit_map = bitrev8(grp->rx_bit_map);
grp               555 drivers/net/ethernet/freescale/gianfar.c 	grp->tx_bit_map = bitrev8(grp->tx_bit_map);
grp               560 drivers/net/ethernet/freescale/gianfar.c 	for_each_set_bit(i, &grp->rx_bit_map, priv->num_rx_queues) {
grp               561 drivers/net/ethernet/freescale/gianfar.c 		if (!grp->rx_queue)
grp               562 drivers/net/ethernet/freescale/gianfar.c 			grp->rx_queue = priv->rx_queue[i];
grp               563 drivers/net/ethernet/freescale/gianfar.c 		grp->num_rx_queues++;
grp               564 drivers/net/ethernet/freescale/gianfar.c 		grp->rstat |= (RSTAT_CLEAR_RHALT >> i);
grp               566 drivers/net/ethernet/freescale/gianfar.c 		priv->rx_queue[i]->grp = grp;
grp               569 drivers/net/ethernet/freescale/gianfar.c 	for_each_set_bit(i, &grp->tx_bit_map, priv->num_tx_queues) {
grp               570 drivers/net/ethernet/freescale/gianfar.c 		if (!grp->tx_queue)
grp               571 drivers/net/ethernet/freescale/gianfar.c 			grp->tx_queue = priv->tx_queue[i];
grp               572 drivers/net/ethernet/freescale/gianfar.c 		grp->num_tx_queues++;
grp               573 drivers/net/ethernet/freescale/gianfar.c 		grp->tstat |= (TSTAT_CLEAR_THALT >> i);
grp               575 drivers/net/ethernet/freescale/gianfar.c 		priv->tx_queue[i]->grp = grp;
grp              1812 drivers/net/ethernet/freescale/gianfar.c 	regs = tx_queue->grp->regs;
grp              2332 drivers/net/ethernet/freescale/gianfar.c 	struct gfar_priv_grp *grp = (struct gfar_priv_grp *)grp_id;
grp              2336 drivers/net/ethernet/freescale/gianfar.c 	ievent = gfar_read(&grp->regs->ievent);
grp              2339 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&grp->regs->ievent, IEVENT_FGPI);
grp              2343 drivers/net/ethernet/freescale/gianfar.c 	if (likely(napi_schedule_prep(&grp->napi_rx))) {
grp              2344 drivers/net/ethernet/freescale/gianfar.c 		spin_lock_irqsave(&grp->grplock, flags);
grp              2345 drivers/net/ethernet/freescale/gianfar.c 		imask = gfar_read(&grp->regs->imask);
grp              2347 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&grp->regs->imask, imask);
grp              2348 drivers/net/ethernet/freescale/gianfar.c 		spin_unlock_irqrestore(&grp->grplock, flags);
grp              2349 drivers/net/ethernet/freescale/gianfar.c 		__napi_schedule(&grp->napi_rx);
grp              2354 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&grp->regs->ievent, IEVENT_RX_MASK);
grp              2363 drivers/net/ethernet/freescale/gianfar.c 	struct gfar_priv_grp *grp = (struct gfar_priv_grp *)grp_id;
grp              2367 drivers/net/ethernet/freescale/gianfar.c 	if (likely(napi_schedule_prep(&grp->napi_tx))) {
grp              2368 drivers/net/ethernet/freescale/gianfar.c 		spin_lock_irqsave(&grp->grplock, flags);
grp              2369 drivers/net/ethernet/freescale/gianfar.c 		imask = gfar_read(&grp->regs->imask);
grp              2371 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&grp->regs->imask, imask);
grp              2372 drivers/net/ethernet/freescale/gianfar.c 		spin_unlock_irqrestore(&grp->grplock, flags);
grp              2373 drivers/net/ethernet/freescale/gianfar.c 		__napi_schedule(&grp->napi_tx);
grp              2378 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&grp->regs->ievent, IEVENT_TX_MASK);
grp              2600 drivers/net/ethernet/freescale/gianfar.c 		napi_gro_receive(&rx_queue->grp->napi_rx, skb);
grp              2889 drivers/net/ethernet/freescale/gianfar.c 			struct gfar_priv_grp *grp = &priv->gfargrp[i];
grp              2891 drivers/net/ethernet/freescale/gianfar.c 			disable_irq(gfar_irq(grp, TX)->irq);
grp              2892 drivers/net/ethernet/freescale/gianfar.c 			disable_irq(gfar_irq(grp, RX)->irq);
grp              2893 drivers/net/ethernet/freescale/gianfar.c 			disable_irq(gfar_irq(grp, ER)->irq);
grp              2894 drivers/net/ethernet/freescale/gianfar.c 			gfar_interrupt(gfar_irq(grp, TX)->irq, grp);
grp              2895 drivers/net/ethernet/freescale/gianfar.c 			enable_irq(gfar_irq(grp, ER)->irq);
grp              2896 drivers/net/ethernet/freescale/gianfar.c 			enable_irq(gfar_irq(grp, RX)->irq);
grp              2897 drivers/net/ethernet/freescale/gianfar.c 			enable_irq(gfar_irq(grp, TX)->irq);
grp              2901 drivers/net/ethernet/freescale/gianfar.c 			struct gfar_priv_grp *grp = &priv->gfargrp[i];
grp              2903 drivers/net/ethernet/freescale/gianfar.c 			disable_irq(gfar_irq(grp, TX)->irq);
grp              2904 drivers/net/ethernet/freescale/gianfar.c 			gfar_interrupt(gfar_irq(grp, TX)->irq, grp);
grp              2905 drivers/net/ethernet/freescale/gianfar.c 			enable_irq(gfar_irq(grp, TX)->irq);
grp              2911 drivers/net/ethernet/freescale/gianfar.c static void free_grp_irqs(struct gfar_priv_grp *grp)
grp              2913 drivers/net/ethernet/freescale/gianfar.c 	free_irq(gfar_irq(grp, TX)->irq, grp);
grp              2914 drivers/net/ethernet/freescale/gianfar.c 	free_irq(gfar_irq(grp, RX)->irq, grp);
grp              2915 drivers/net/ethernet/freescale/gianfar.c 	free_irq(gfar_irq(grp, ER)->irq, grp);
grp              2918 drivers/net/ethernet/freescale/gianfar.c static int register_grp_irqs(struct gfar_priv_grp *grp)
grp              2920 drivers/net/ethernet/freescale/gianfar.c 	struct gfar_private *priv = grp->priv;
grp              2931 drivers/net/ethernet/freescale/gianfar.c 		err = request_irq(gfar_irq(grp, ER)->irq, gfar_error, 0,
grp              2932 drivers/net/ethernet/freescale/gianfar.c 				  gfar_irq(grp, ER)->name, grp);
grp              2935 drivers/net/ethernet/freescale/gianfar.c 				  gfar_irq(grp, ER)->irq);
grp              2939 drivers/net/ethernet/freescale/gianfar.c 		enable_irq_wake(gfar_irq(grp, ER)->irq);
grp              2941 drivers/net/ethernet/freescale/gianfar.c 		err = request_irq(gfar_irq(grp, TX)->irq, gfar_transmit, 0,
grp              2942 drivers/net/ethernet/freescale/gianfar.c 				  gfar_irq(grp, TX)->name, grp);
grp              2945 drivers/net/ethernet/freescale/gianfar.c 				  gfar_irq(grp, TX)->irq);
grp              2948 drivers/net/ethernet/freescale/gianfar.c 		err = request_irq(gfar_irq(grp, RX)->irq, gfar_receive, 0,
grp              2949 drivers/net/ethernet/freescale/gianfar.c 				  gfar_irq(grp, RX)->name, grp);
grp              2952 drivers/net/ethernet/freescale/gianfar.c 				  gfar_irq(grp, RX)->irq);
grp              2955 drivers/net/ethernet/freescale/gianfar.c 		enable_irq_wake(gfar_irq(grp, RX)->irq);
grp              2958 drivers/net/ethernet/freescale/gianfar.c 		err = request_irq(gfar_irq(grp, TX)->irq, gfar_interrupt, 0,
grp              2959 drivers/net/ethernet/freescale/gianfar.c 				  gfar_irq(grp, TX)->name, grp);
grp              2962 drivers/net/ethernet/freescale/gianfar.c 				  gfar_irq(grp, TX)->irq);
grp              2965 drivers/net/ethernet/freescale/gianfar.c 		enable_irq_wake(gfar_irq(grp, TX)->irq);
grp              2971 drivers/net/ethernet/freescale/gianfar.c 	free_irq(gfar_irq(grp, TX)->irq, grp);
grp              2973 drivers/net/ethernet/freescale/gianfar.c 	free_irq(gfar_irq(grp, ER)->irq, grp);
grp              3428 drivers/net/ethernet/freescale/gianfar.c 		struct gfar_priv_grp *grp = &priv->gfargrp[i];
grp              3430 drivers/net/ethernet/freescale/gianfar.c 			sprintf(gfar_irq(grp, TX)->name, "%s%s%c%s",
grp              3432 drivers/net/ethernet/freescale/gianfar.c 			sprintf(gfar_irq(grp, RX)->name, "%s%s%c%s",
grp              3434 drivers/net/ethernet/freescale/gianfar.c 			sprintf(gfar_irq(grp, ER)->name, "%s%s%c%s",
grp              3437 drivers/net/ethernet/freescale/gianfar.c 			strcpy(gfar_irq(grp, TX)->name, dev->name);
grp               966 drivers/net/ethernet/freescale/gianfar.h 	struct gfar_priv_grp *grp;
grp              1014 drivers/net/ethernet/freescale/gianfar.h 	struct	gfar_priv_grp *grp;
grp              1065 drivers/net/ethernet/freescale/gianfar.h #define gfar_irq(grp, ID) \
grp              1066 drivers/net/ethernet/freescale/gianfar.h 	((grp)->irqinfo[GFAR_##ID])
grp              1220 drivers/net/ethernet/freescale/gianfar.h 		struct gfar_priv_grp *grp = &priv->gfargrp[grp_idx];
grp              1222 drivers/net/ethernet/freescale/gianfar.h 		for_each_set_bit(i, &grp->rx_bit_map, priv->num_rx_queues) {
grp              1226 drivers/net/ethernet/freescale/gianfar.h 		for_each_set_bit(i, &grp->tx_bit_map, priv->num_tx_queues) {
grp              1262 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 			u8 grp, sub_grp;
grp              1264 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 			grp = hnae3_get_field(qs_id, HCLGE_BP_GRP_ID_M,
grp              1268 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 			if (i == grp)
grp               387 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	int err, grp, num_indices;
grp               407 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	for (grp = 0; grp < rss_grps; grp++)
grp               408 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		rvu_write64(rvu, blkaddr, NIX_AF_LFX_RSS_GRPX(nixlf, grp),
grp               409 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			    ((ilog2(rss_sz) - 1) << 16) | (rss_sz * grp));
grp               600 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_IEEE_802_3_COUNTERS_GROUP);
grp               651 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_RFC_2863_COUNTERS_GROUP);
grp               715 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_RFC_2819_COUNTERS_GROUP);
grp               816 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_PHYSICAL_LAYER_COUNTERS_GROUP);
grp               823 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_PHYSICAL_LAYER_STATISTICAL_GROUP);
grp               882 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_ETHERNET_EXTENDED_COUNTERS_GROUP);
grp               985 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	MLX5_SET(mpcnt_reg, in, grp, MLX5_PCIE_PERFORMANCE_COUNTERS_GROUP);
grp              1079 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_PER_TRAFFIC_CLASS_COUNTERS_GROUP);
grp              1110 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_PER_TRAFFIC_CLASS_CONGESTION_GROUP);
grp              1333 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_PER_PRIORITY_COUNTERS_GROUP);
grp               414 drivers/net/ethernet/mellanox/mlx5/core/port.c 	MLX5_SET(ppcnt_reg, in, grp, MLX5_INFINIBAND_PORT_COUNTERS_GROUP);
grp              4639 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ppcnt, grp, 0x00, 0, 6);
grp              5067 drivers/net/ethernet/mellanox/mlxsw/reg.h 					enum mlxsw_reg_ppcnt_grp grp,
grp              5074 drivers/net/ethernet/mellanox/mlxsw/reg.h 	mlxsw_reg_ppcnt_grp_set(payload, grp);
grp              1066 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static int mlxsw_sp_port_get_stats_raw(struct net_device *dev, int grp,
grp              1072 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, grp, prio);
grp              2405 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			       int *p_len, enum mlxsw_reg_ppcnt_grp grp)
grp              2407 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	switch (grp) {
grp              2444 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 				      enum mlxsw_reg_ppcnt_grp grp, int prio,
grp              2454 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	err = mlxsw_sp_get_hw_stats_by_group(&hw_stats, &len, grp);
grp              2457 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_get_stats_raw(dev, grp, prio, ppcnt_pl);
grp               564 drivers/net/ethernet/mscc/ocelot.c 	u8 grp = 0; /* Send everything on CPU group 0 */
grp               568 drivers/net/ethernet/mscc/ocelot.c 	if (!(val & QS_INJ_STATUS_FIFO_RDY(BIT(grp))) ||
grp               569 drivers/net/ethernet/mscc/ocelot.c 	    (val & QS_INJ_STATUS_WMARK_REACHED(BIT(grp))))
grp               573 drivers/net/ethernet/mscc/ocelot.c 			 QS_INJ_CTRL_SOF, QS_INJ_CTRL, grp);
grp               590 drivers/net/ethernet/mscc/ocelot.c 				 QS_INJ_WR, grp);
grp               595 drivers/net/ethernet/mscc/ocelot.c 		ocelot_write_rix(ocelot, ((u32 *)skb->data)[i], QS_INJ_WR, grp);
grp               600 drivers/net/ethernet/mscc/ocelot.c 		ocelot_write_rix(ocelot, 0, QS_INJ_WR, grp);
grp               608 drivers/net/ethernet/mscc/ocelot.c 			 QS_INJ_CTRL, grp);
grp               611 drivers/net/ethernet/mscc/ocelot.c 	ocelot_write_rix(ocelot, 0, QS_INJ_WR, grp);
grp                44 drivers/net/ethernet/mscc/ocelot_board.c static int ocelot_rx_frame_word(struct ocelot *ocelot, u8 grp, bool ifh,
grp                50 drivers/net/ethernet/mscc/ocelot_board.c 	val = ocelot_read_rix(ocelot, QS_XTR_RD, grp);
grp                56 drivers/net/ethernet/mscc/ocelot_board.c 			val = ocelot_read_rix(ocelot, QS_XTR_RD, grp);
grp                69 drivers/net/ethernet/mscc/ocelot_board.c 		val = ocelot_read_rix(ocelot, QS_XTR_RD, grp);
grp                71 drivers/net/ethernet/mscc/ocelot_board.c 			*rval = ocelot_read_rix(ocelot, QS_XTR_RD, grp);
grp                77 drivers/net/ethernet/mscc/ocelot_board.c 		*rval = ocelot_read_rix(ocelot, QS_XTR_RD, grp);
grp                90 drivers/net/ethernet/mscc/ocelot_board.c 	int i = 0, grp = 0;
grp                93 drivers/net/ethernet/mscc/ocelot_board.c 	if (!(ocelot_read(ocelot, QS_XTR_DATA_PRESENT) & BIT(grp)))
grp               107 drivers/net/ethernet/mscc/ocelot_board.c 			err = ocelot_rx_frame_word(ocelot, grp, true, &ifh[i]);
grp               139 drivers/net/ethernet/mscc/ocelot_board.c 			sz = ocelot_rx_frame_word(ocelot, grp, false, &val);
grp               145 drivers/net/ethernet/mscc/ocelot_board.c 		sz = ocelot_rx_frame_word(ocelot, grp, false, &val);
grp               185 drivers/net/ethernet/mscc/ocelot_board.c 	} while (ocelot_read(ocelot, QS_XTR_DATA_PRESENT) & BIT(grp));
grp               188 drivers/net/ethernet/mscc/ocelot_board.c 		while (ocelot_read(ocelot, QS_XTR_DATA_PRESENT) & BIT(grp))
grp               189 drivers/net/ethernet/mscc/ocelot_board.c 			ocelot_read_rix(ocelot, QS_XTR_RD, grp);
grp              8712 drivers/net/ethernet/sun/niu.c 		int grp, num_channels = parent->rxchan_per_port[i];
grp              8718 drivers/net/ethernet/sun/niu.c 		for (grp = 0; grp < tp->num_tables; grp++) {
grp              8719 drivers/net/ethernet/sun/niu.c 			struct rdc_table *rt = &tp->tables[grp];
grp              8723 drivers/net/ethernet/sun/niu.c 				parent->index, i, tp->first_table_num + grp);
grp               640 drivers/net/hyperv/hyperv_net.h 	u16 grp;
grp               106 drivers/net/wireless/intel/iwlwifi/fw/api/cmdhdr.h #define WIDE_ID(grp, opcode) (((grp) << 8) | (opcode))
grp               167 drivers/net/wireless/intel/iwlwifi/iwl-trans.c 	u8 grp, cmd;
grp               172 drivers/net/wireless/intel/iwlwifi/iwl-trans.c 	grp = iwl_cmd_groupid(id);
grp               175 drivers/net/wireless/intel/iwlwifi/iwl-trans.c 	if (!trans->command_groups || grp >= trans->command_groups_size ||
grp               176 drivers/net/wireless/intel/iwlwifi/iwl-trans.c 	    !trans->command_groups[grp].arr)
grp               179 drivers/net/wireless/intel/iwlwifi/iwl-trans.c 	arr = &trans->command_groups[grp];
grp               734 drivers/net/wireless/intersil/p54/fwio.c 	struct p54_group_address_table *grp;
grp               738 drivers/net/wireless/intersil/p54/fwio.c 	skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*grp),
grp               743 drivers/net/wireless/intersil/p54/fwio.c 	grp = skb_put(skb, sizeof(*grp));
grp               750 drivers/net/wireless/intersil/p54/fwio.c 		grp->filter_enable = cpu_to_le16(1);
grp               751 drivers/net/wireless/intersil/p54/fwio.c 		grp->num_address = cpu_to_le16(priv->mc_maclist_num);
grp               752 drivers/net/wireless/intersil/p54/fwio.c 		memcpy(grp->mac_list, priv->mc_maclist, sizeof(grp->mac_list));
grp               754 drivers/net/wireless/intersil/p54/fwio.c 		grp->filter_enable = cpu_to_le16(0);
grp               755 drivers/net/wireless/intersil/p54/fwio.c 		grp->num_address = cpu_to_le16(0);
grp               756 drivers/net/wireless/intersil/p54/fwio.c 		memset(grp->mac_list, 0, sizeof(grp->mac_list));
grp                51 drivers/net/wireless/marvell/libertas/defs.h #define LBS_DEB_LL(grp, grpnam, fmt, args...) \
grp                52 drivers/net/wireless/marvell/libertas/defs.h do { if ((lbs_debug & (grp)) == (grp)) \
grp                56 drivers/net/wireless/marvell/libertas/defs.h #define LBS_DEB_LL(grp, grpnam, fmt, args...) do {} while (0)
grp                85 drivers/net/wireless/marvell/libertas/defs.h static inline void lbs_deb_hex(unsigned int grp, const char *prompt,
grp                92 drivers/net/wireless/marvell/libertas/defs.h 	    (lbs_debug & grp))
grp               107 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_hex(grp,prompt,buf,len)	do {} while (0)
grp                49 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define LBTF_DEB_LL(grp, grpnam, fmt, args...) \
grp                50 drivers/net/wireless/marvell/libertas_tf/deb_defs.h do { if ((lbtf_debug & (grp)) == (grp)) \
grp                54 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0)
grp                57 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_enter(grp) \
grp                58 drivers/net/wireless/marvell/libertas_tf/deb_defs.h   LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s()\n", __func__);
grp                59 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_enter_args(grp, fmt, args...) \
grp                60 drivers/net/wireless/marvell/libertas_tf/deb_defs.h   LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args);
grp                61 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_leave(grp) \
grp                62 drivers/net/wireless/marvell/libertas_tf/deb_defs.h   LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s()\n", __func__);
grp                63 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_leave_args(grp, fmt, args...) \
grp                64 drivers/net/wireless/marvell/libertas_tf/deb_defs.h   LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s(), " fmt "\n", \
grp                90 drivers/net/wireless/marvell/libertas_tf/deb_defs.h static inline void lbtf_deb_hex(unsigned int grp, const char *prompt, u8 *buf, int len)
grp                96 drivers/net/wireless/marvell/libertas_tf/deb_defs.h 	    (lbtf_debug & grp))	{
grp               102 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_hex(grp, prompt, buf, len)	do {} while (0)
grp                38 drivers/net/wireless/mediatek/mt7601u/debugfs.c #define stat_printf(grp, off, name)					\
grp                39 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	seq_printf(file, #name ":\t%llu\n", dev->stats.grp[off])
grp               159 drivers/nvme/host/lightnvm.c 	struct nvme_nvm_id12_grp grp;
grp               294 drivers/nvme/host/lightnvm.c 	src = &id->grp;
grp               585 drivers/nvme/host/lightnvm.c 	log_pos += ppa.m.grp * geo->num_lun * geo->num_chk;
grp              1030 drivers/nvme/target/configfs.c 	struct nvmet_ana_group *grp = to_ana_group(item);
grp              1031 drivers/nvme/target/configfs.c 	enum nvme_ana_state state = grp->port->ana_state[grp->grpid];
grp              1046 drivers/nvme/target/configfs.c 	struct nvmet_ana_group *grp = to_ana_group(item);
grp              1059 drivers/nvme/target/configfs.c 	grp->port->ana_state[grp->grpid] = nvmet_ana_state_names[i].state;
grp              1063 drivers/nvme/target/configfs.c 	nvmet_port_send_ana_event(grp->port);
grp              1076 drivers/nvme/target/configfs.c 	struct nvmet_ana_group *grp = to_ana_group(item);
grp              1078 drivers/nvme/target/configfs.c 	if (grp == &grp->port->ana_default_group)
grp              1082 drivers/nvme/target/configfs.c 	grp->port->ana_state[grp->grpid] = NVME_ANA_INACCESSIBLE;
grp              1083 drivers/nvme/target/configfs.c 	nvmet_ana_group_enabled[grp->grpid]--;
grp              1086 drivers/nvme/target/configfs.c 	nvmet_port_send_ana_event(grp->port);
grp              1087 drivers/nvme/target/configfs.c 	kfree(grp);
grp              1104 drivers/nvme/target/configfs.c 	struct nvmet_ana_group *grp;
grp              1117 drivers/nvme/target/configfs.c 	grp = kzalloc(sizeof(*grp), GFP_KERNEL);
grp              1118 drivers/nvme/target/configfs.c 	if (!grp)
grp              1120 drivers/nvme/target/configfs.c 	grp->port = port;
grp              1121 drivers/nvme/target/configfs.c 	grp->grpid = grpid;
grp              1127 drivers/nvme/target/configfs.c 	nvmet_port_send_ana_event(grp->port);
grp              1129 drivers/nvme/target/configfs.c 	config_group_init_type_name(&grp->group, name, &nvmet_ana_group_type);
grp              1130 drivers/nvme/target/configfs.c 	return &grp->group;
grp               315 drivers/pci/controller/pcie-iproc-msi.c 	struct iproc_msi_grp *grp;
grp               323 drivers/pci/controller/pcie-iproc-msi.c 	grp = irq_desc_get_handler_data(desc);
grp               324 drivers/pci/controller/pcie-iproc-msi.c 	msi = grp->msi;
grp               325 drivers/pci/controller/pcie-iproc-msi.c 	eq = grp->eq;
grp               777 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 			     const struct cygnus_pin_group *grp,
grp               780 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 	const struct cygnus_mux *mux = &grp->mux;
grp               804 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 				func->name, grp->name);
grp               820 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 	val = readl(pinctrl->base0 + grp->mux.offset);
grp               821 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 	val &= ~(mask << grp->mux.shift);
grp               822 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 	val |= grp->mux.alt << grp->mux.shift;
grp               823 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 	writel(val, pinctrl->base0 + grp->mux.offset);
grp               836 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 	const struct cygnus_pin_group *grp = &pinctrl->groups[grp_select];
grp               839 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 		func_select, func->name, grp_select, grp->name);
grp               842 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 		grp->mux.offset, grp->mux.shift, grp->mux.alt);
grp               844 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 	return cygnus_pinmux_set(pinctrl, func, grp, pinctrl->mux_log);
grp               573 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 			  const struct ns2_pin_group *grp,
grp               576 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	const struct ns2_mux *mux = &grp->mux;
grp               600 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 				func->name, grp->name);
grp               627 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	val = readl(base_address + grp->mux.offset);
grp               628 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	val &= ~(mask << grp->mux.shift);
grp               629 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	val |= grp->mux.alt << grp->mux.shift;
grp               630 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	writel(val, (base_address + grp->mux.offset));
grp               641 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	const struct ns2_pin_group *grp;
grp               648 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	grp = &pinctrl->groups[grp_select];
grp               651 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 		func_select, func->name, grp_select, grp->name);
grp               654 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 		grp->mux.offset, grp->mux.shift, grp->mux.alt);
grp               656 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	return ns2_pinmux_set(pinctrl, func, grp, pinctrl->mux_log);
grp               390 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 			  const struct nsp_pin_group *grp,
grp               393 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 	const struct nsp_mux *mux = &grp->mux;
grp               416 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 				func->name, grp->name);
grp               448 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 	val &= ~(mask << grp->mux.shift);
grp               449 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 	val |= grp->mux.alt << grp->mux.shift;
grp               461 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 	const struct nsp_pin_group *grp;
grp               468 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 	grp = &pinctrl->groups[grp_select];
grp               471 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 		func_select, func->name, grp_select, grp->name);
grp               473 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 	dev_dbg(pctrl_dev->dev, "shift:%u alt:%u\n", grp->mux.shift,
grp               474 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 		grp->mux.alt);
grp               476 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 	return nsp_pinmux_set(pinctrl, func, grp, pinctrl->mux_log);
grp                37 drivers/pinctrl/freescale/pinctrl-imx.c 	const struct group_desc *grp = NULL;
grp                41 drivers/pinctrl/freescale/pinctrl-imx.c 		grp = pinctrl_generic_get_group(pctldev, i);
grp                42 drivers/pinctrl/freescale/pinctrl-imx.c 		if (grp && !strcmp(grp->name, name))
grp                46 drivers/pinctrl/freescale/pinctrl-imx.c 	return grp;
grp                61 drivers/pinctrl/freescale/pinctrl-imx.c 	const struct group_desc *grp;
grp                72 drivers/pinctrl/freescale/pinctrl-imx.c 	grp = imx_pinctrl_find_group_by_name(pctldev, np->name);
grp                73 drivers/pinctrl/freescale/pinctrl-imx.c 	if (!grp) {
grp                79 drivers/pinctrl/freescale/pinctrl-imx.c 		map_num += grp->num_pins;
grp                81 drivers/pinctrl/freescale/pinctrl-imx.c 		for (i = 0; i < grp->num_pins; i++) {
grp                82 drivers/pinctrl/freescale/pinctrl-imx.c 			pin = &((struct imx_pin *)(grp->data))[i];
grp               109 drivers/pinctrl/freescale/pinctrl-imx.c 	for (i = j = 0; i < grp->num_pins; i++) {
grp               110 drivers/pinctrl/freescale/pinctrl-imx.c 		pin = &((struct imx_pin *)(grp->data))[i];
grp               246 drivers/pinctrl/freescale/pinctrl-imx.c 	struct group_desc *grp;
grp               255 drivers/pinctrl/freescale/pinctrl-imx.c 	grp = pinctrl_generic_get_group(pctldev, group);
grp               256 drivers/pinctrl/freescale/pinctrl-imx.c 	if (!grp)
grp               263 drivers/pinctrl/freescale/pinctrl-imx.c 	npins = grp->num_pins;
grp               266 drivers/pinctrl/freescale/pinctrl-imx.c 		func->name, grp->name);
grp               274 drivers/pinctrl/freescale/pinctrl-imx.c 		pin = &((struct imx_pin *)(grp->data))[i];
grp               466 drivers/pinctrl/freescale/pinctrl-imx.c 	struct group_desc *grp;
grp               475 drivers/pinctrl/freescale/pinctrl-imx.c 	grp = pinctrl_generic_get_group(pctldev, group);
grp               476 drivers/pinctrl/freescale/pinctrl-imx.c 	if (!grp)
grp               479 drivers/pinctrl/freescale/pinctrl-imx.c 	for (i = 0; i < grp->num_pins; i++) {
grp               480 drivers/pinctrl/freescale/pinctrl-imx.c 		struct imx_pin *pin = &((struct imx_pin *)(grp->data))[i];
grp               568 drivers/pinctrl/freescale/pinctrl-imx.c 				    struct group_desc *grp,
grp               591 drivers/pinctrl/freescale/pinctrl-imx.c 	grp->name = np->name;
grp               619 drivers/pinctrl/freescale/pinctrl-imx.c 	grp->num_pins = size / pin_size;
grp               620 drivers/pinctrl/freescale/pinctrl-imx.c 	grp->data = devm_kcalloc(ipctl->dev,
grp               621 drivers/pinctrl/freescale/pinctrl-imx.c 				 grp->num_pins, sizeof(struct imx_pin),
grp               623 drivers/pinctrl/freescale/pinctrl-imx.c 	grp->pins = devm_kcalloc(ipctl->dev,
grp               624 drivers/pinctrl/freescale/pinctrl-imx.c 				 grp->num_pins, sizeof(unsigned int),
grp               626 drivers/pinctrl/freescale/pinctrl-imx.c 	if (!grp->pins || !grp->data)
grp               629 drivers/pinctrl/freescale/pinctrl-imx.c 	for (i = 0; i < grp->num_pins; i++) {
grp               630 drivers/pinctrl/freescale/pinctrl-imx.c 		pin = &((struct imx_pin *)(grp->data))[i];
grp               632 drivers/pinctrl/freescale/pinctrl-imx.c 			imx_pinctrl_parse_pin_scu(ipctl, &grp->pins[i],
grp               635 drivers/pinctrl/freescale/pinctrl-imx.c 			imx_pinctrl_parse_pin_mmio(ipctl, &grp->pins[i],
grp               649 drivers/pinctrl/freescale/pinctrl-imx.c 	struct group_desc *grp;
grp               673 drivers/pinctrl/freescale/pinctrl-imx.c 		grp = devm_kzalloc(ipctl->dev, sizeof(struct group_desc),
grp               675 drivers/pinctrl/freescale/pinctrl-imx.c 		if (!grp) {
grp               682 drivers/pinctrl/freescale/pinctrl-imx.c 				  ipctl->group_index++, grp);
grp               685 drivers/pinctrl/freescale/pinctrl-imx.c 		imx_pinctrl_parse_groups(child, grp, ipctl, i++);
grp               158 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	const struct imx1_pin_group *grp = NULL;
grp               163 drivers/pinctrl/freescale/pinctrl-imx1-core.c 			grp = &info->groups[i];
grp               168 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	return grp;
grp               224 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	const struct imx1_pin_group *grp;
grp               234 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	grp = imx1_pinctrl_find_group_by_name(info, np->name);
grp               235 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	if (!grp) {
grp               241 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	for (i = 0; i < grp->npins; i++)
grp               265 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	for (i = j = 0; i < grp->npins; i++) {
grp               268 drivers/pinctrl/freescale/pinctrl-imx1-core.c 				pin_get_name(pctldev, grp->pins[i].pin_id);
grp               269 drivers/pinctrl/freescale/pinctrl-imx1-core.c 		new_map[j].data.configs.configs = &grp->pins[i].config;
grp               427 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	struct imx1_pin_group *grp;
grp               436 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	grp = &info->groups[group];
grp               437 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	for (i = 0; i < grp->npins; i++) {
grp               438 drivers/pinctrl/freescale/pinctrl-imx1-core.c 		name = pin_get_name(pctldev, grp->pins[i].pin_id);
grp               439 drivers/pinctrl/freescale/pinctrl-imx1-core.c 		ret = imx1_pinconf_get(pctldev, grp->pins[i].pin_id, &config);
grp               461 drivers/pinctrl/freescale/pinctrl-imx1-core.c 				    struct imx1_pin_group *grp,
grp               472 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	grp->name = np->name;
grp               485 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	grp->npins = size / 12;
grp               486 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	grp->pins = devm_kcalloc(info->dev,
grp               487 drivers/pinctrl/freescale/pinctrl-imx1-core.c 			grp->npins, sizeof(struct imx1_pin), GFP_KERNEL);
grp               488 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	grp->pin_ids = devm_kcalloc(info->dev,
grp               489 drivers/pinctrl/freescale/pinctrl-imx1-core.c 			grp->npins, sizeof(unsigned int), GFP_KERNEL);
grp               491 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	if (!grp->pins || !grp->pin_ids)
grp               494 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	for (i = 0; i < grp->npins; i++) {
grp               495 drivers/pinctrl/freescale/pinctrl-imx1-core.c 		grp->pins[i].pin_id = be32_to_cpu(*list++);
grp               496 drivers/pinctrl/freescale/pinctrl-imx1-core.c 		grp->pins[i].mux_id = be32_to_cpu(*list++);
grp               497 drivers/pinctrl/freescale/pinctrl-imx1-core.c 		grp->pins[i].config = be32_to_cpu(*list++);
grp               499 drivers/pinctrl/freescale/pinctrl-imx1-core.c 		grp->pin_ids[i] = grp->pins[i].pin_id;
grp               511 drivers/pinctrl/freescale/pinctrl-imx1-core.c 	struct imx1_pin_group *grp;
grp               534 drivers/pinctrl/freescale/pinctrl-imx1-core.c 		grp = &info->groups[grp_index++];
grp               535 drivers/pinctrl/freescale/pinctrl-imx1-core.c 		ret = imx1_pinctrl_parse_groups(child, grp, info, i++);
grp               790 drivers/pinctrl/intel/pinctrl-cherryview.c 	const struct chv_pingroup *grp;
grp               794 drivers/pinctrl/intel/pinctrl-cherryview.c 	grp = &pctrl->community->groups[group];
grp               799 drivers/pinctrl/intel/pinctrl-cherryview.c 	for (i = 0; i < grp->npins; i++) {
grp               800 drivers/pinctrl/intel/pinctrl-cherryview.c 		if (chv_pad_locked(pctrl, grp->pins[i])) {
grp               802 drivers/pinctrl/intel/pinctrl-cherryview.c 				 grp->pins[i]);
grp               808 drivers/pinctrl/intel/pinctrl-cherryview.c 	for (i = 0; i < grp->npins; i++) {
grp               809 drivers/pinctrl/intel/pinctrl-cherryview.c 		const struct chv_alternate_function *altfunc = &grp->altfunc;
grp               810 drivers/pinctrl/intel/pinctrl-cherryview.c 		int pin = grp->pins[i];
grp               815 drivers/pinctrl/intel/pinctrl-cherryview.c 		if (grp->overrides) {
grp               818 drivers/pinctrl/intel/pinctrl-cherryview.c 			for (j = 0; j < grp->noverrides; j++) {
grp               819 drivers/pinctrl/intel/pinctrl-cherryview.c 				if (grp->overrides[j].pin == pin) {
grp               820 drivers/pinctrl/intel/pinctrl-cherryview.c 					altfunc = &grp->overrides[j];
grp               407 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_pingroup *grp = &pctrl->soc->groups[group];
grp               417 drivers/pinctrl/intel/pinctrl-intel.c 	for (i = 0; i < grp->npins; i++) {
grp               418 drivers/pinctrl/intel/pinctrl-intel.c 		if (!intel_pad_usable(pctrl, grp->pins[i])) {
grp               425 drivers/pinctrl/intel/pinctrl-intel.c 	for (i = 0; i < grp->npins; i++) {
grp               429 drivers/pinctrl/intel/pinctrl-intel.c 		padcfg0 = intel_get_padcfg(pctrl, grp->pins[i], PADCFG0);
grp               434 drivers/pinctrl/intel/pinctrl-intel.c 		if (grp->modes)
grp               435 drivers/pinctrl/intel/pinctrl-intel.c 			value |= grp->modes[i] << PADCFG0_PMODE_SHIFT;
grp               437 drivers/pinctrl/intel/pinctrl-intel.c 			value |= grp->mode << PADCFG0_PMODE_SHIFT;
grp               593 drivers/pinctrl/intel/pinctrl-merrifield.c 	const struct intel_pingroup *grp = &mp->groups[group];
grp               594 drivers/pinctrl/intel/pinctrl-merrifield.c 	u32 bits = grp->mode << BUFCFG_PINMODE_SHIFT;
grp               603 drivers/pinctrl/intel/pinctrl-merrifield.c 	for (i = 0; i < grp->npins; i++) {
grp               604 drivers/pinctrl/intel/pinctrl-merrifield.c 		if (!mrfld_buf_available(mp, grp->pins[i]))
grp               610 drivers/pinctrl/intel/pinctrl-merrifield.c 	for (i = 0; i < grp->npins; i++)
grp               611 drivers/pinctrl/intel/pinctrl-merrifield.c 		mrfld_update_bufcfg(mp, grp->pins[i], bits, mask);
grp                43 drivers/pinctrl/mediatek/pinctrl-moore.c 	struct group_desc *grp;
grp                50 drivers/pinctrl/mediatek/pinctrl-moore.c 	grp = pinctrl_generic_get_group(pctldev, group);
grp                51 drivers/pinctrl/mediatek/pinctrl-moore.c 	if (!grp)
grp                55 drivers/pinctrl/mediatek/pinctrl-moore.c 		func->name, grp->name);
grp                57 drivers/pinctrl/mediatek/pinctrl-moore.c 	for (i = 0; i < grp->num_pins; i++) {
grp                59 drivers/pinctrl/mediatek/pinctrl-moore.c 		int *pin_modes = grp->data;
grp                60 drivers/pinctrl/mediatek/pinctrl-moore.c 		int pin = grp->pins[i];
grp               206 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 	if (!pin_drv || pin_drv->grp > pctl->devdata->n_grp_cls)
grp               209 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 	drv_grp = pctl->devdata->grp_desc + pin_drv->grp;
grp               415 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 		struct mtk_pinctrl_group *grp = pctl->groups + i;
grp               417 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 		if (grp->pin == pin)
grp               418 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 			return grp;
grp               465 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 		u32 pin, u32 fnum, struct mtk_pinctrl_group *grp,
grp               475 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 	(*map)[*num_maps].data.mux.group = grp->name;
grp               504 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 	struct mtk_pinctrl_group *grp;
grp               558 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 		grp = mtk_pctrl_find_group_by_pin(pctl, pin);
grp               559 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 		if (!grp) {
grp               566 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 		err = mtk_pctrl_dt_node_to_map_func(pctl, pin, func, grp, map,
grp               573 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 					reserved_maps, num_maps, grp->name,
grp               106 drivers/pinctrl/mediatek/pinctrl-mtk-common.h 	unsigned char grp;
grp               114 drivers/pinctrl/mediatek/pinctrl-mtk-common.h 		.grp = _grp,	\
grp               349 drivers/pinctrl/mediatek/pinctrl-paris.c 		struct mtk_pinctrl_group *grp = hw->groups + i;
grp               351 drivers/pinctrl/mediatek/pinctrl-paris.c 		if (grp->pin == pin)
grp               352 drivers/pinctrl/mediatek/pinctrl-paris.c 			return grp;
grp               399 drivers/pinctrl/mediatek/pinctrl-paris.c 					 struct mtk_pinctrl_group *grp,
grp               410 drivers/pinctrl/mediatek/pinctrl-paris.c 	(*map)[*num_maps].data.mux.group = grp->name;
grp               433 drivers/pinctrl/mediatek/pinctrl-paris.c 	struct mtk_pinctrl_group *grp;
grp               491 drivers/pinctrl/mediatek/pinctrl-paris.c 		grp = mtk_pctrl_find_group_by_pin(hw, pin);
grp               492 drivers/pinctrl/mediatek/pinctrl-paris.c 		if (!grp) {
grp               499 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_pctrl_dt_node_to_map_func(hw, pin, func, grp, map,
grp               508 drivers/pinctrl/mediatek/pinctrl-paris.c 							    grp->name,
grp               615 drivers/pinctrl/mediatek/pinctrl-paris.c 	struct mtk_pinctrl_group *grp = hw->groups + group;
grp               620 drivers/pinctrl/mediatek/pinctrl-paris.c 	ret = mtk_pctrl_is_function_valid(hw, grp->pin, function);
grp               627 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc_func = mtk_pctrl_find_function_by_pin(hw, grp->pin, function);
grp               631 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[grp->pin];
grp               660 drivers/pinctrl/mediatek/pinctrl-paris.c 	struct mtk_pinctrl_group *grp = &hw->groups[group];
grp               664 drivers/pinctrl/mediatek/pinctrl-paris.c 		ret = mtk_pinconf_set(pctldev, grp->pin,
grp               670 drivers/pinctrl/mediatek/pinctrl-paris.c 		grp->config = configs[i];
grp                42 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.h #define GROUP(grp, f)							\
grp                44 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.h 		.name = #grp,						\
grp                45 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.h 		.pins = grp ## _pins,                                   \
grp                46 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.h 		.num_pins = ARRAY_SIZE(grp ## _pins),			\
grp                22 drivers/pinctrl/meson/pinctrl-meson8-pmx.h #define GROUP(grp, r, b)						\
grp                24 drivers/pinctrl/meson/pinctrl-meson8-pmx.h 		.name = #grp,						\
grp                25 drivers/pinctrl/meson/pinctrl-meson8-pmx.h 		.pins = grp ## _pins,					\
grp                26 drivers/pinctrl/meson/pinctrl-meson8-pmx.h 		.num_pins = ARRAY_SIZE(grp ## _pins),			\
grp               234 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	struct armada_37xx_pinctrl *info, int pin, int *grp)
grp               236 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	while (*grp < info->ngroups) {
grp               237 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		struct armada_37xx_pin_group *group = &info->groups[*grp];
grp               240 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		*grp = *grp + 1;
grp               341 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 				       struct armada_37xx_pin_group *grp)
grp               345 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	unsigned int mask = grp->reg_mask;
grp               349 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		name, grp->name);
grp               351 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	func = match_string(grp->funcs, NB_FUNCS, name);
grp               355 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	val = grp->val[func];
grp               368 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	struct armada_37xx_pin_group *grp = &info->groups[group];
grp               371 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	return armada_37xx_pmx_set_by_name(pctldev, name, grp);
grp               483 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	int grp = 0;
grp               487 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	while ((group = armada_37xx_find_next_grp_by_pin(info, offset, &grp)))
grp               872 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		struct armada_37xx_pin_group *grp = &info->groups[n];
grp               875 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		grp->pins = devm_kcalloc(info->dev,
grp               876 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 					 grp->npins + grp->extra_npins,
grp               877 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 					 sizeof(*grp->pins),
grp               879 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		if (!grp->pins)
grp               882 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		for (i = 0; i < grp->npins; i++)
grp               883 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 			grp->pins[i] = grp->start_pin + i;
grp               885 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		for (j = 0; j < grp->extra_npins; j++)
grp               886 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 			grp->pins[i+j] = grp->extra_pin + j;
grp               888 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		for (f = 0; (f < NB_FUNCS) && grp->funcs[f]; f++) {
grp               892 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 					    grp->funcs[f]);
grp               107 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp,
grp               111 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	for (n = 0; n < grp->num_settings; n++) {
grp               112 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		if (config == grp->settings[n].val) {
grp               114 drivers/pinctrl/mvebu/pinctrl-mvebu.c 					       grp->settings[n].variant))
grp               115 drivers/pinctrl/mvebu/pinctrl-mvebu.c 				return &grp->settings[n];
grp               122 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp,
grp               126 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	for (n = 0; n < grp->num_settings; n++) {
grp               127 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		if (strcmp(name, grp->settings[n].name) == 0) {
grp               129 drivers/pinctrl/mvebu/pinctrl-mvebu.c 					       grp->settings[n].variant))
grp               130 drivers/pinctrl/mvebu/pinctrl-mvebu.c 				return &grp->settings[n];
grp               137 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp)
grp               140 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	for (n = 0; n < grp->num_settings; n++) {
grp               141 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		if (grp->settings[n].flags &
grp               144 drivers/pinctrl/mvebu/pinctrl-mvebu.c 						grp->settings[n].variant))
grp               145 drivers/pinctrl/mvebu/pinctrl-mvebu.c 				return &grp->settings[n];
grp               166 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	struct mvebu_pinctrl_group *grp = &pctl->groups[gid];
grp               168 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	if (!grp->ctrl)
grp               171 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	return grp->ctrl->mpp_get(grp->data, grp->pins[0], config);
grp               179 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	struct mvebu_pinctrl_group *grp = &pctl->groups[gid];
grp               182 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	if (!grp->ctrl)
grp               186 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		ret = grp->ctrl->mpp_set(grp->data, grp->pins[0], configs[i]);
grp               198 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	struct mvebu_pinctrl_group *grp = &pctl->groups[gid];
grp               206 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	curr = mvebu_pinctrl_find_setting_by_val(pctl, grp, config);
grp               224 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	if (grp->num_settings > 1) {
grp               226 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		for (n = 0; n < grp->num_settings; n++) {
grp               227 drivers/pinctrl/mvebu/pinctrl-mvebu.c 			if (curr == &grp->settings[n])
grp               232 drivers/pinctrl/mvebu/pinctrl-mvebu.c 			    !(pctl->variant & grp->settings[n].variant))
grp               235 drivers/pinctrl/mvebu/pinctrl-mvebu.c 			seq_printf(s, " %s", grp->settings[n].name);
grp               236 drivers/pinctrl/mvebu/pinctrl-mvebu.c 			if (grp->settings[n].subname)
grp               237 drivers/pinctrl/mvebu/pinctrl-mvebu.c 				seq_printf(s, "(%s)", grp->settings[n].subname);
grp               238 drivers/pinctrl/mvebu/pinctrl-mvebu.c 			if (grp->settings[n].flags &
grp               241 drivers/pinctrl/mvebu/pinctrl-mvebu.c 				if (grp->settings[n].flags & MVEBU_SETTING_GPI)
grp               243 drivers/pinctrl/mvebu/pinctrl-mvebu.c 				if (grp->settings[n].flags & MVEBU_SETTING_GPO)
grp               289 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	struct mvebu_pinctrl_group *grp = &pctl->groups[gid];
grp               294 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	setting = mvebu_pinctrl_find_setting_by_name(pctl, grp,
grp               304 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	ret = mvebu_pinconf_group_set(pctldev, grp->gid, &config, 1);
grp               318 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	struct mvebu_pinctrl_group *grp;
grp               322 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	grp = mvebu_pinctrl_find_group_by_pid(pctl, offset);
grp               323 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	if (!grp)
grp               326 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	if (grp->ctrl->mpp_gpio_req)
grp               327 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		return grp->ctrl->mpp_gpio_req(grp->data, offset);
grp               329 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	setting = mvebu_pinctrl_find_gpio_setting(pctl, grp);
grp               335 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	return mvebu_pinconf_group_set(pctldev, grp->gid, &config, 1);
grp               342 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	struct mvebu_pinctrl_group *grp;
grp               345 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	grp = mvebu_pinctrl_find_group_by_pid(pctl, offset);
grp               346 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	if (!grp)
grp               349 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	if (grp->ctrl->mpp_gpio_dir)
grp               350 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		return grp->ctrl->mpp_gpio_dir(grp->data, offset, input);
grp               352 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	setting = mvebu_pinctrl_find_gpio_setting(pctl, grp);
grp               429 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		struct mvebu_pinctrl_group *grp =
grp               432 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		if (!grp) {
grp               437 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		if (!mvebu_pinctrl_find_setting_by_name(pctl, grp, function)) {
grp               507 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		struct mvebu_pinctrl_group *grp = &pctl->groups[n];
grp               508 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		for (s = 0; s < grp->num_settings; s++) {
grp               513 drivers/pinctrl/mvebu/pinctrl-mvebu.c 			    !(pctl->variant & grp->settings[s].variant))
grp               518 drivers/pinctrl/mvebu/pinctrl-mvebu.c 					    grp->settings[s].name);
grp               534 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		struct mvebu_pinctrl_group *grp = &pctl->groups[n];
grp               535 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		for (s = 0; s < grp->num_settings; s++) {
grp               541 drivers/pinctrl/mvebu/pinctrl-mvebu.c 			    !(pctl->variant & grp->settings[s].variant))
grp               545 drivers/pinctrl/mvebu/pinctrl-mvebu.c 							grp->settings[s].name);
grp               561 drivers/pinctrl/mvebu/pinctrl-mvebu.c 			*groups = grp->name;
grp               689 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		struct mvebu_pinctrl_group *grp;
grp               719 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		grp = mvebu_pinctrl_find_group_by_pid(pctl, mode->pid);
grp               720 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		if (!grp) {
grp               726 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		grp->settings = mode->settings;
grp               727 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		grp->num_settings = num_settings;
grp               436 drivers/pinctrl/pinctrl-at91-pio4.c 		struct atmel_group *grp = atmel_pioctrl->groups + i;
grp               438 drivers/pinctrl/pinctrl-at91-pio4.c 		if (grp->pin == pin)
grp               439 drivers/pinctrl/pinctrl-at91-pio4.c 			return grp;
grp               452 drivers/pinctrl/pinctrl-at91-pio4.c 	struct atmel_group *grp;
grp               462 drivers/pinctrl/pinctrl-at91-pio4.c 	grp = atmel_pctl_find_group_by_pin(pctldev, pin_id);
grp               463 drivers/pinctrl/pinctrl-at91-pio4.c 	if (!grp)
grp               465 drivers/pinctrl/pinctrl-at91-pio4.c 	*grp_name = grp->name;
grp               658 drivers/pinctrl/pinctrl-at91-pio4.c 	struct atmel_group *grp = atmel_pioctrl->groups + group;
grp               659 drivers/pinctrl/pinctrl-at91-pio4.c 	unsigned pin_id = grp->pin;
grp               711 drivers/pinctrl/pinctrl-at91-pio4.c 	struct atmel_group *grp = atmel_pioctrl->groups + group;
grp               712 drivers/pinctrl/pinctrl-at91-pio4.c 	unsigned bank, pin, pin_id = grp->pin;
grp               214 drivers/pinctrl/pinctrl-at91.c 	const struct at91_pin_group *grp = NULL;
grp               221 drivers/pinctrl/pinctrl-at91.c 		grp = &info->groups[i];
grp               222 drivers/pinctrl/pinctrl-at91.c 		dev_dbg(info->dev, "%s: %d 0:%d\n", name, grp->npins, grp->pins[0]);
grp               226 drivers/pinctrl/pinctrl-at91.c 	return grp;
grp               270 drivers/pinctrl/pinctrl-at91.c 	const struct at91_pin_group *grp;
grp               280 drivers/pinctrl/pinctrl-at91.c 	grp = at91_pinctrl_find_group_by_name(info, np->name);
grp               281 drivers/pinctrl/pinctrl-at91.c 	if (!grp) {
grp               287 drivers/pinctrl/pinctrl-at91.c 	map_num += grp->npins;
grp               309 drivers/pinctrl/pinctrl-at91.c 	for (i = 0; i < grp->npins; i++) {
grp               312 drivers/pinctrl/pinctrl-at91.c 				pin_get_name(pctldev, grp->pins[i]);
grp               313 drivers/pinctrl/pinctrl-at91.c 		new_map[i].data.configs.configs = &grp->pins_conf[i].conf;
grp              1173 drivers/pinctrl/pinctrl-at91.c 				     struct at91_pin_group *grp,
grp              1184 drivers/pinctrl/pinctrl-at91.c 	grp->name = np->name;
grp              1198 drivers/pinctrl/pinctrl-at91.c 	grp->npins = size / 4;
grp              1199 drivers/pinctrl/pinctrl-at91.c 	pin = grp->pins_conf = devm_kcalloc(info->dev,
grp              1200 drivers/pinctrl/pinctrl-at91.c 					    grp->npins,
grp              1203 drivers/pinctrl/pinctrl-at91.c 	grp->pins = devm_kcalloc(info->dev, grp->npins, sizeof(unsigned int),
grp              1205 drivers/pinctrl/pinctrl-at91.c 	if (!grp->pins_conf || !grp->pins)
grp              1211 drivers/pinctrl/pinctrl-at91.c 		grp->pins[j] = pin->bank * MAX_NB_GPIO_PER_BANK + pin->pin;
grp              1227 drivers/pinctrl/pinctrl-at91.c 	struct at91_pin_group *grp;
grp              1250 drivers/pinctrl/pinctrl-at91.c 		grp = &info->groups[grp_index++];
grp              1251 drivers/pinctrl/pinctrl-at91.c 		ret = at91_pinctrl_parse_groups(child, grp, info, i++);
grp              2193 drivers/pinctrl/pinctrl-gemini.c 	const struct gemini_pin_group *grp;
grp              2202 drivers/pinctrl/pinctrl-gemini.c 		grp = &gemini_3512_pin_groups[group];
grp              2204 drivers/pinctrl/pinctrl-gemini.c 		grp = &gemini_3516_pin_groups[group];
grp              2212 drivers/pinctrl/pinctrl-gemini.c 		func->name, grp->name);
grp              2216 drivers/pinctrl/pinctrl-gemini.c 			   grp->mask | grp->value,
grp              2217 drivers/pinctrl/pinctrl-gemini.c 			   grp->value);
grp              2223 drivers/pinctrl/pinctrl-gemini.c 	expected = before &= ~grp->mask;
grp              2224 drivers/pinctrl/pinctrl-gemini.c 	expected |= grp->value;
grp              2228 drivers/pinctrl/pinctrl-gemini.c 	tmp = grp->mask;
grp              2250 drivers/pinctrl/pinctrl-gemini.c 	tmp = grp->value;
grp              2447 drivers/pinctrl/pinctrl-gemini.c 	const struct gemini_pin_group *grp = NULL;
grp              2454 drivers/pinctrl/pinctrl-gemini.c 		grp = &gemini_3512_pin_groups[selector];
grp              2456 drivers/pinctrl/pinctrl-gemini.c 		grp = &gemini_3516_pin_groups[selector];
grp              2459 drivers/pinctrl/pinctrl-gemini.c 	if (!grp->driving_mask) {
grp              2462 drivers/pinctrl/pinctrl-gemini.c 			grp->name);
grp              2491 drivers/pinctrl/pinctrl-gemini.c 			val <<= (ffs(grp->driving_mask) - 1);
grp              2493 drivers/pinctrl/pinctrl-gemini.c 					   grp->driving_mask,
grp              2497 drivers/pinctrl/pinctrl-gemini.c 				grp->name, arg, grp->driving_mask, val);
grp              1697 drivers/pinctrl/pinctrl-ingenic.c 	struct group_desc *grp;
grp              1704 drivers/pinctrl/pinctrl-ingenic.c 	grp = pinctrl_generic_get_group(pctldev, group);
grp              1705 drivers/pinctrl/pinctrl-ingenic.c 	if (!grp)
grp              1709 drivers/pinctrl/pinctrl-ingenic.c 		func->name, grp->name);
grp              1711 drivers/pinctrl/pinctrl-ingenic.c 	for (i = 0; i < grp->num_pins; i++) {
grp              1712 drivers/pinctrl/pinctrl-ingenic.c 		int *pin_modes = grp->data;
grp              1714 drivers/pinctrl/pinctrl-ingenic.c 		ingenic_pinmux_set_pin_fn(jzpc, grp->pins[i], pin_modes[i]);
grp               236 drivers/pinctrl/pinctrl-lantiq.c static int match_group_mux(const struct ltq_pin_group *grp,
grp               241 drivers/pinctrl/pinctrl-lantiq.c 	for (i = 0; i < grp->npins; i++) {
grp               242 drivers/pinctrl/pinctrl-lantiq.c 		pin = match_mfp(info, grp->pins[i]);
grp               245 drivers/pinctrl/pinctrl-lantiq.c 				grp->pins[i]);
grp               491 drivers/pinctrl/pinctrl-rockchip.c 	const struct rockchip_pin_group *grp;
grp               501 drivers/pinctrl/pinctrl-rockchip.c 	grp = pinctrl_name_to_group(info, np->name);
grp               502 drivers/pinctrl/pinctrl-rockchip.c 	if (!grp) {
grp               508 drivers/pinctrl/pinctrl-rockchip.c 	map_num += grp->npins;
grp               530 drivers/pinctrl/pinctrl-rockchip.c 	for (i = 0; i < grp->npins; i++) {
grp               533 drivers/pinctrl/pinctrl-rockchip.c 				pin_get_name(pctldev, grp->pins[i]);
grp               534 drivers/pinctrl/pinctrl-rockchip.c 		new_map[i].data.configs.configs = grp->data[i].configs;
grp               535 drivers/pinctrl/pinctrl-rockchip.c 		new_map[i].data.configs.num_configs = grp->data[i].nconfigs;
grp              2478 drivers/pinctrl/pinctrl-rockchip.c 					      struct rockchip_pin_group *grp,
grp              2492 drivers/pinctrl/pinctrl-rockchip.c 	grp->name = np->name;
grp              2506 drivers/pinctrl/pinctrl-rockchip.c 	grp->npins = size / 4;
grp              2508 drivers/pinctrl/pinctrl-rockchip.c 	grp->pins = devm_kcalloc(info->dev, grp->npins, sizeof(unsigned int),
grp              2510 drivers/pinctrl/pinctrl-rockchip.c 	grp->data = devm_kcalloc(info->dev,
grp              2511 drivers/pinctrl/pinctrl-rockchip.c 					grp->npins,
grp              2514 drivers/pinctrl/pinctrl-rockchip.c 	if (!grp->pins || !grp->data)
grp              2526 drivers/pinctrl/pinctrl-rockchip.c 		grp->pins[j] = bank->pin_base + be32_to_cpu(*list++);
grp              2527 drivers/pinctrl/pinctrl-rockchip.c 		grp->data[j].func = be32_to_cpu(*list++);
grp              2535 drivers/pinctrl/pinctrl-rockchip.c 				&grp->data[j].configs, &grp->data[j].nconfigs);
grp              2549 drivers/pinctrl/pinctrl-rockchip.c 	struct rockchip_pin_group *grp;
grp              2571 drivers/pinctrl/pinctrl-rockchip.c 		grp = &info->groups[grp_index++];
grp              2572 drivers/pinctrl/pinctrl-rockchip.c 		ret = rockchip_pinctrl_parse_groups(child, grp, info, i++);
grp              1123 drivers/pinctrl/pinctrl-rza1.c 	struct group_desc *grp;
grp              1126 drivers/pinctrl/pinctrl-rza1.c 	grp = pinctrl_generic_get_group(pctldev, group);
grp              1127 drivers/pinctrl/pinctrl-rza1.c 	if (!grp)
grp              1135 drivers/pinctrl/pinctrl-rza1.c 	for (i = 0; i < grp->num_pins; ++i) {
grp               427 drivers/pinctrl/pinctrl-rza2.c 	struct group_desc *grp;
grp               429 drivers/pinctrl/pinctrl-rza2.c 	grp = pinctrl_generic_get_group(pctldev, group);
grp               430 drivers/pinctrl/pinctrl-rza2.c 	if (!grp)
grp               439 drivers/pinctrl/pinctrl-rza2.c 	for (i = 0; i < grp->num_pins; ++i) {
grp               441 drivers/pinctrl/pinctrl-rza2.c 			port_names[RZA2_PIN_ID_TO_PORT(grp->pins[i])],
grp               442 drivers/pinctrl/pinctrl-rza2.c 			RZA2_PIN_ID_TO_PIN(grp->pins[i]),
grp               446 drivers/pinctrl/pinctrl-rza2.c 			RZA2_PIN_ID_TO_PORT(grp->pins[i]),
grp               447 drivers/pinctrl/pinctrl-rza2.c 			RZA2_PIN_ID_TO_PIN(grp->pins[i]),
grp               339 drivers/pinctrl/pinctrl-rzn1.c 	const struct rzn1_pin_group *grp;
grp               348 drivers/pinctrl/pinctrl-rzn1.c 	grp = rzn1_pinctrl_find_group_by_name(ipctl, np->name);
grp               349 drivers/pinctrl/pinctrl-rzn1.c 	if (!grp) {
grp               375 drivers/pinctrl/pinctrl-rzn1.c 					grp->name, grp->func);
grp               382 drivers/pinctrl/pinctrl-rzn1.c 				&reserved_maps, num_maps, grp->name,
grp               390 drivers/pinctrl/pinctrl-rzn1.c 		grp->func, grp->name, grp->npins);
grp               464 drivers/pinctrl/pinctrl-rzn1.c 	struct rzn1_pin_group *grp = &ipctl->groups[group];
grp               465 drivers/pinctrl/pinctrl-rzn1.c 	unsigned int i, grp_pins = grp->npins;
grp               468 drivers/pinctrl/pinctrl-rzn1.c 		ipctl->functions[selector].name, selector, grp->name, group);
grp               472 drivers/pinctrl/pinctrl-rzn1.c 		rzn1_set_hw_pin_func(ipctl, grp->pins[i], grp->pin_ids[i], 0);
grp               624 drivers/pinctrl/pinctrl-rzn1.c 	struct rzn1_pin_group *grp = &ipctl->groups[selector];
grp               628 drivers/pinctrl/pinctrl-rzn1.c 	dev_dbg(ipctl->dev, "group get %s selector:%u\n", grp->name, selector);
grp               630 drivers/pinctrl/pinctrl-rzn1.c 	for (i = 0; i < grp->npins; i++) {
grp               631 drivers/pinctrl/pinctrl-rzn1.c 		if (rzn1_pinconf_get(pctldev, grp->pins[i], config))
grp               650 drivers/pinctrl/pinctrl-rzn1.c 	struct rzn1_pin_group *grp = &ipctl->groups[selector];
grp               655 drivers/pinctrl/pinctrl-rzn1.c 		grp->name, selector, configs, num_configs);
grp               657 drivers/pinctrl/pinctrl-rzn1.c 	for (i = 0; i < grp->npins; i++) {
grp               658 drivers/pinctrl/pinctrl-rzn1.c 		unsigned int pin = grp->pins[i];
grp               685 drivers/pinctrl/pinctrl-rzn1.c 				     struct rzn1_pin_group *grp,
grp               695 drivers/pinctrl/pinctrl-rzn1.c 	grp->name = np->name;
grp               717 drivers/pinctrl/pinctrl-rzn1.c 	grp->npins = size / sizeof(list[0]);
grp               718 drivers/pinctrl/pinctrl-rzn1.c 	grp->pin_ids = devm_kmalloc_array(ipctl->dev,
grp               719 drivers/pinctrl/pinctrl-rzn1.c 					  grp->npins, sizeof(grp->pin_ids[0]),
grp               721 drivers/pinctrl/pinctrl-rzn1.c 	grp->pins = devm_kmalloc_array(ipctl->dev,
grp               722 drivers/pinctrl/pinctrl-rzn1.c 				       grp->npins, sizeof(grp->pins[0]),
grp               724 drivers/pinctrl/pinctrl-rzn1.c 	if (!grp->pin_ids || !grp->pins)
grp               727 drivers/pinctrl/pinctrl-rzn1.c 	for (i = 0; i < grp->npins; i++) {
grp               730 drivers/pinctrl/pinctrl-rzn1.c 		grp->pins[i] = pin_id & 0xff;
grp               731 drivers/pinctrl/pinctrl-rzn1.c 		grp->pin_ids[i] = (pin_id >> 8) & 0x7f;
grp               734 drivers/pinctrl/pinctrl-rzn1.c 	return grp->npins;
grp               758 drivers/pinctrl/pinctrl-rzn1.c 	struct rzn1_pin_group *grp;
grp               783 drivers/pinctrl/pinctrl-rzn1.c 		grp = &ipctl->groups[ipctl->ngroups];
grp               784 drivers/pinctrl/pinctrl-rzn1.c 		grp->func = func->name;
grp               785 drivers/pinctrl/pinctrl-rzn1.c 		ret = rzn1_pinctrl_parse_groups(np, grp, ipctl);
grp               794 drivers/pinctrl/pinctrl-rzn1.c 		grp = &ipctl->groups[ipctl->ngroups];
grp               795 drivers/pinctrl/pinctrl-rzn1.c 		grp->func = func->name;
grp               796 drivers/pinctrl/pinctrl-rzn1.c 		ret = rzn1_pinctrl_parse_groups(child, grp, ipctl);
grp               811 drivers/pinctrl/pinctrl-st.c 	const struct st_pctl_group *grp;
grp               816 drivers/pinctrl/pinctrl-st.c 	grp = st_pctl_find_group_by_name(info, np->name);
grp               817 drivers/pinctrl/pinctrl-st.c 	if (!grp) {
grp               823 drivers/pinctrl/pinctrl-st.c 	map_num = grp->npins + 1;
grp               844 drivers/pinctrl/pinctrl-st.c 	for (i = 0; i < grp->npins; i++) {
grp               847 drivers/pinctrl/pinctrl-st.c 				pin_get_name(pctldev, grp->pins[i]);
grp               848 drivers/pinctrl/pinctrl-st.c 		new_map[i].data.configs.configs = &grp->pin_conf[i].config;
grp               852 drivers/pinctrl/pinctrl-st.c 		(*map)->data.mux.function, grp->name, map_num);
grp              1164 drivers/pinctrl/pinctrl-st.c 	struct st_pctl_group *grp, struct st_pinctrl *info, int idx)
grp              1191 drivers/pinctrl/pinctrl-st.c 	grp->npins = npins;
grp              1192 drivers/pinctrl/pinctrl-st.c 	grp->name = np->name;
grp              1193 drivers/pinctrl/pinctrl-st.c 	grp->pins = devm_kcalloc(info->dev, npins, sizeof(u32), GFP_KERNEL);
grp              1194 drivers/pinctrl/pinctrl-st.c 	grp->pin_conf = devm_kcalloc(info->dev,
grp              1197 drivers/pinctrl/pinctrl-st.c 	if (!grp->pins || !grp->pin_conf) {
grp              1208 drivers/pinctrl/pinctrl-st.c 		conf = &grp->pin_conf[i];
grp              1215 drivers/pinctrl/pinctrl-st.c 		grp->pins[i] = conf->pin;
grp              1245 drivers/pinctrl/pinctrl-st.c 	struct st_pctl_group *grp;
grp              1263 drivers/pinctrl/pinctrl-st.c 		grp = &info->groups[*grp_index];
grp              1265 drivers/pinctrl/pinctrl-st.c 		ret = st_pctl_dt_parse_groups(child, grp, info, i++);
grp               692 drivers/pinctrl/pinctrl-tb10x.c 	const struct tb10x_pinfuncgrp *grp = &state->pingroups[group_selector];
grp               695 drivers/pinctrl/pinctrl-tb10x.c 	if (grp->port < 0)
grp               704 drivers/pinctrl/pinctrl-tb10x.c 	if (state->ports[grp->port].count
grp               705 drivers/pinctrl/pinctrl-tb10x.c 			&& (state->ports[grp->port].mode != grp->mode)) {
grp               714 drivers/pinctrl/pinctrl-tb10x.c 	for (i = 0; i < grp->pincnt; i++)
grp               715 drivers/pinctrl/pinctrl-tb10x.c 		if (test_bit(grp->pins[i], state->gpios)) {
grp               720 drivers/pinctrl/pinctrl-tb10x.c 	tb10x_pinctrl_set_config(state, grp->port, grp->mode);
grp               722 drivers/pinctrl/pinctrl-tb10x.c 	state->ports[grp->port].count++;
grp               386 drivers/pinctrl/samsung/pinctrl-samsung.c 	const struct samsung_pin_group *grp;
grp               390 drivers/pinctrl/samsung/pinctrl-samsung.c 	grp = &drvdata->pin_groups[group];
grp               392 drivers/pinctrl/samsung/pinctrl-samsung.c 	pin_to_reg_bank(drvdata, grp->pins[0] - drvdata->pin_base,
grp               674 drivers/pinctrl/samsung/pinctrl-samsung.c 	struct samsung_pin_group *groups, *grp;
grp               682 drivers/pinctrl/samsung/pinctrl-samsung.c 	grp = groups;
grp               685 drivers/pinctrl/samsung/pinctrl-samsung.c 	for (i = 0; i < ctrldesc->npins; ++i, ++pdesc, ++grp) {
grp               686 drivers/pinctrl/samsung/pinctrl-samsung.c 		grp->name = pdesc->name;
grp               687 drivers/pinctrl/samsung/pinctrl-samsung.c 		grp->pins = &pdesc->number;
grp               688 drivers/pinctrl/samsung/pinctrl-samsung.c 		grp->num_pins = 1;
grp               347 drivers/pinctrl/sh-pfc/pinctrl.c 	const struct sh_pfc_pin_group *grp = &pfc->info->groups[group];
grp               352 drivers/pinctrl/sh-pfc/pinctrl.c 	dev_dbg(pctldev->dev, "Configuring pin group %s\n", grp->name);
grp               356 drivers/pinctrl/sh-pfc/pinctrl.c 	for (i = 0; i < grp->nr_pins; ++i) {
grp               357 drivers/pinctrl/sh-pfc/pinctrl.c 		int idx = sh_pfc_get_pin_index(pfc, grp->pins[i]);
grp               369 drivers/pinctrl/sh-pfc/pinctrl.c 		ret = sh_pfc_config_mux(pfc, grp->mux[i], PINMUX_TYPE_FUNCTION);
grp               375 drivers/pinctrl/sh-pfc/pinctrl.c 	for (i = 0; i < grp->nr_pins; ++i) {
grp               376 drivers/pinctrl/sh-pfc/pinctrl.c 		int idx = sh_pfc_get_pin_index(pfc, grp->pins[i]);
grp               380 drivers/pinctrl/sh-pfc/pinctrl.c 		cfg->mux_mark = grp->mux[i];
grp               193 drivers/pinctrl/sprd/pinctrl-sprd.c 	const struct sprd_pin_group *grp = NULL;
grp               198 drivers/pinctrl/sprd/pinctrl-sprd.c 			grp = &info->groups[i];
grp               203 drivers/pinctrl/sprd/pinctrl-sprd.c 	return grp;
grp               246 drivers/pinctrl/sprd/pinctrl-sprd.c 	const struct sprd_pin_group *grp;
grp               255 drivers/pinctrl/sprd/pinctrl-sprd.c 	grp = sprd_pinctrl_find_group_by_name(pctl, np->name);
grp               256 drivers/pinctrl/sprd/pinctrl-sprd.c 	if (!grp) {
grp               304 drivers/pinctrl/sprd/pinctrl-sprd.c 						grp->name, function);
grp               314 drivers/pinctrl/sprd/pinctrl-sprd.c 			pin_id = grp->pins[0];
grp               317 drivers/pinctrl/sprd/pinctrl-sprd.c 			group_or_pin = grp->name;
grp               388 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pin_group *grp = &info->groups[group_selector];
grp               389 drivers/pinctrl/sprd/pinctrl-sprd.c 	unsigned int i, grp_pins = grp->npins;
grp               414 drivers/pinctrl/sprd/pinctrl-sprd.c 		unsigned int pin_id = grp->pins[i];
grp               709 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pin_group *grp;
grp               715 drivers/pinctrl/sprd/pinctrl-sprd.c 	grp = &info->groups[selector];
grp               716 drivers/pinctrl/sprd/pinctrl-sprd.c 	pin_id = grp->pins[0];
grp               728 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pin_group *grp;
grp               734 drivers/pinctrl/sprd/pinctrl-sprd.c 	grp = &info->groups[selector];
grp               736 drivers/pinctrl/sprd/pinctrl-sprd.c 	for (i = 0; i < grp->npins; i++) {
grp               737 drivers/pinctrl/sprd/pinctrl-sprd.c 		unsigned int pin_id = grp->pins[i];
grp               786 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pin_group *grp;
grp               794 drivers/pinctrl/sprd/pinctrl-sprd.c 	grp = &info->groups[selector];
grp               797 drivers/pinctrl/sprd/pinctrl-sprd.c 	for (i = 0; i < grp->npins; i++, config++) {
grp               798 drivers/pinctrl/sprd/pinctrl-sprd.c 		unsigned int pin_id = grp->pins[i];
grp               845 drivers/pinctrl/sprd/pinctrl-sprd.c 				     struct sprd_pin_group *grp)
grp               855 drivers/pinctrl/sprd/pinctrl-sprd.c 	grp->name = np->name;
grp               856 drivers/pinctrl/sprd/pinctrl-sprd.c 	grp->npins = ret;
grp               857 drivers/pinctrl/sprd/pinctrl-sprd.c 	grp->pins = devm_kcalloc(sprd_pctl->dev,
grp               858 drivers/pinctrl/sprd/pinctrl-sprd.c 				 grp->npins, sizeof(unsigned int),
grp               860 drivers/pinctrl/sprd/pinctrl-sprd.c 	if (!grp->pins)
grp               866 drivers/pinctrl/sprd/pinctrl-sprd.c 			grp->pins[i++] = ret;
grp               869 drivers/pinctrl/sprd/pinctrl-sprd.c 	for (i = 0; i < grp->npins; i++) {
grp               872 drivers/pinctrl/sprd/pinctrl-sprd.c 			grp->name, grp->npins, grp->pins[i]);
grp               899 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pin_group *grp;
grp               924 drivers/pinctrl/sprd/pinctrl-sprd.c 	grp = info->groups;
grp               927 drivers/pinctrl/sprd/pinctrl-sprd.c 		ret = sprd_pinctrl_parse_groups(child, sprd_pctl, grp);
grp               933 drivers/pinctrl/sprd/pinctrl-sprd.c 		*temp++ = grp->name;
grp               934 drivers/pinctrl/sprd/pinctrl-sprd.c 		grp++;
grp               939 drivers/pinctrl/sprd/pinctrl-sprd.c 								sprd_pctl, grp);
grp               946 drivers/pinctrl/sprd/pinctrl-sprd.c 				*temp++ = grp->name;
grp               947 drivers/pinctrl/sprd/pinctrl-sprd.c 				grp++;
grp               449 drivers/pinctrl/stm32/pinctrl-stm32.c 		struct stm32_pinctrl_group *grp = pctl->groups + i;
grp               451 drivers/pinctrl/stm32/pinctrl-stm32.c 		if (grp->pin == pin)
grp               452 drivers/pinctrl/stm32/pinctrl-stm32.c 			return grp;
grp               483 drivers/pinctrl/stm32/pinctrl-stm32.c 		u32 pin, u32 fnum, struct stm32_pinctrl_group *grp,
grp               491 drivers/pinctrl/stm32/pinctrl-stm32.c 	(*map)[*num_maps].data.mux.group = grp->name;
grp               512 drivers/pinctrl/stm32/pinctrl-stm32.c 	struct stm32_pinctrl_group *grp;
grp               573 drivers/pinctrl/stm32/pinctrl-stm32.c 		grp = stm32_pctrl_find_group_by_pin(pctl, pin);
grp               574 drivers/pinctrl/stm32/pinctrl-stm32.c 		if (!grp) {
grp               581 drivers/pinctrl/stm32/pinctrl-stm32.c 		err = stm32_pctrl_dt_node_to_map_func(pctl, pin, func, grp, map,
grp               588 drivers/pinctrl/stm32/pinctrl-stm32.c 					reserved_maps, num_maps, grp->name,
grp                47 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		struct sunxi_pinctrl_group *grp = pctl->groups + i;
grp                49 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		if (!strcmp(grp->name, group))
grp                50 drivers/pinctrl/sunxi/pinctrl-sunxi.c 			return grp;
grp               367 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		struct sunxi_pinctrl_group *grp =
grp               370 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		if (!grp) {
grp               376 drivers/pinctrl/sunxi/pinctrl-sunxi.c 							      grp->name,
grp               646 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	const struct uniphier_pinctrl_group *grp =
grp               651 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	for (i = 0; i < grp->num_pins; i++) {
grp               652 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 		ret = uniphier_pmx_set_one_mux(pctldev, grp->pins[i],
grp               653 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 					       grp->muxvals[i]);
grp               159 drivers/pinctrl/uniphier/pinctrl-uniphier.h #define __UNIPHIER_PINCTRL_GROUP(grp, mux)				\
grp               161 drivers/pinctrl/uniphier/pinctrl-uniphier.h 		.name = #grp,						\
grp               162 drivers/pinctrl/uniphier/pinctrl-uniphier.h 		.pins = grp##_pins,					\
grp               163 drivers/pinctrl/uniphier/pinctrl-uniphier.h 		.num_pins = ARRAY_SIZE(grp##_pins),			\
grp               167 drivers/pinctrl/uniphier/pinctrl-uniphier.h #define UNIPHIER_PINCTRL_GROUP(grp)					\
grp               168 drivers/pinctrl/uniphier/pinctrl-uniphier.h 	__UNIPHIER_PINCTRL_GROUP(grp,					\
grp               169 drivers/pinctrl/uniphier/pinctrl-uniphier.h 			grp##_muxvals +					\
grp               170 drivers/pinctrl/uniphier/pinctrl-uniphier.h 			BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) !=	\
grp               171 drivers/pinctrl/uniphier/pinctrl-uniphier.h 					  ARRAY_SIZE(grp##_muxvals)))
grp               173 drivers/pinctrl/uniphier/pinctrl-uniphier.h #define UNIPHIER_PINCTRL_GROUP_GPIO(grp)				\
grp               174 drivers/pinctrl/uniphier/pinctrl-uniphier.h 	__UNIPHIER_PINCTRL_GROUP(grp, NULL)
grp               198 drivers/regulator/twl-regulator.c 	int			grp;
grp               201 drivers/regulator/twl-regulator.c 	grp = twlreg_grp(rdev);
grp               202 drivers/regulator/twl-regulator.c 	if (grp < 0)
grp               203 drivers/regulator/twl-regulator.c 		return grp;
grp               205 drivers/regulator/twl-regulator.c 	grp |= P1_GRP_4030;
grp               207 drivers/regulator/twl-regulator.c 	ret = twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_GRP, grp);
grp               215 drivers/regulator/twl-regulator.c 	int			grp;
grp               218 drivers/regulator/twl-regulator.c 	grp = twlreg_grp(rdev);
grp               219 drivers/regulator/twl-regulator.c 	if (grp < 0)
grp               220 drivers/regulator/twl-regulator.c 		return grp;
grp               222 drivers/regulator/twl-regulator.c 	grp &= ~(P1_GRP_4030 | P2_GRP_4030 | P3_GRP_4030);
grp               224 drivers/regulator/twl-regulator.c 	ret = twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_GRP, grp);
grp               124 drivers/regulator/twl6030-regulator.c 	int			grp = 0, val;
grp               127 drivers/regulator/twl6030-regulator.c 		grp = twlreg_grp(rdev);
grp               128 drivers/regulator/twl6030-regulator.c 		if (grp < 0)
grp               129 drivers/regulator/twl6030-regulator.c 			return grp;
grp               130 drivers/regulator/twl6030-regulator.c 		grp &= P1_GRP_6030;
grp               132 drivers/regulator/twl6030-regulator.c 		grp = 1;
grp               138 drivers/regulator/twl6030-regulator.c 	return grp && (val == TWL6030_CFG_STATE_ON);
grp               148 drivers/regulator/twl6030-regulator.c 	int			grp = 0;
grp               152 drivers/regulator/twl6030-regulator.c 		grp = twlreg_grp(rdev);
grp               153 drivers/regulator/twl6030-regulator.c 	if (grp < 0)
grp               154 drivers/regulator/twl6030-regulator.c 		return grp;
grp               157 drivers/regulator/twl6030-regulator.c 			grp << TWL6030_CFG_STATE_GRP_SHIFT |
grp               165 drivers/regulator/twl6030-regulator.c 	int			grp = 0;
grp               169 drivers/regulator/twl6030-regulator.c 		grp = P1_GRP_6030 | P2_GRP_6030 | P3_GRP_6030;
grp               173 drivers/regulator/twl6030-regulator.c 			(grp) << TWL6030_CFG_STATE_GRP_SHIFT |
grp               209 drivers/regulator/twl6030-regulator.c 	int grp = 0;
grp               213 drivers/regulator/twl6030-regulator.c 		grp = twlreg_grp(rdev);
grp               215 drivers/regulator/twl6030-regulator.c 	if (grp < 0)
grp               216 drivers/regulator/twl6030-regulator.c 		return grp;
grp               219 drivers/regulator/twl6030-regulator.c 	val = grp << TWL6030_CFG_STATE_GRP_SHIFT;
grp               347 drivers/rtc/sysfs.c int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp)
grp               349 drivers/rtc/sysfs.c 	const struct attribute_group *groups[] = { grp, NULL };
grp              1215 drivers/s390/net/ctcm_fsms.c 	struct mpc_group	*grp = priv->mpcg;
grp              1251 drivers/s390/net/ctcm_fsms.c 	if ((ch->collect_len <= 0) || (grp->in_sweep != 0)) {
grp              1270 drivers/s390/net/ctcm_fsms.c 	data_space = grp->group_max_buflen - TH_HEADER_LENGTH;
grp              1384 drivers/s390/net/ctcm_fsms.c 	struct mpc_group	*grp = priv->mpcg;
grp              1421 drivers/s390/net/ctcm_fsms.c 		switch (fsm_getstate(grp->fsm)) {
grp              1441 drivers/s390/net/ctcm_fsms.c 	switch (fsm_getstate(grp->fsm)) {
grp              1539 drivers/s390/net/ctcm_fsms.c 	struct mpc_group  *grp = priv->mpcg;
grp              1546 drivers/s390/net/ctcm_fsms.c 				fsm_getstate(fi), fsm_getstate(grp->fsm));
grp              1551 drivers/s390/net/ctcm_fsms.c 	switch (fsm_getstate(grp->fsm)) {
grp              1593 drivers/s390/net/ctcm_fsms.c 	struct mpc_group  *grp = priv->mpcg;
grp              1597 drivers/s390/net/ctcm_fsms.c 			fsm_getstate_str(ch->fsm), fsm_getstate_str(grp->fsm));
grp              1599 drivers/s390/net/ctcm_fsms.c 	switch (fsm_getstate(grp->fsm)) {
grp              1605 drivers/s390/net/ctcm_fsms.c 			fsm_deltimer(&grp->timer);
grp              1606 drivers/s390/net/ctcm_fsms.c 			fsm_addtimer(&grp->timer,
grp              1609 drivers/s390/net/ctcm_fsms.c 			fsm_event(grp->fsm, MPCG_EVENT_XID0DO, ch);
grp              1635 drivers/s390/net/ctcm_fsms.c 		fsm_event(grp->fsm, MPCG_EVENT_XID7DONE, dev);
grp              1652 drivers/s390/net/ctcm_fsms.c 	struct mpc_group  *grp    = priv->mpcg;
grp              1656 drivers/s390/net/ctcm_fsms.c 			fsm_getstate_str(ch->fsm), fsm_getstate_str(grp->fsm));
grp              1660 drivers/s390/net/ctcm_fsms.c 	switch (fsm_getstate(grp->fsm)) {
grp              1665 drivers/s390/net/ctcm_fsms.c 		grp->changed_side = 1;
grp              1666 drivers/s390/net/ctcm_fsms.c 		fsm_newstate(grp->fsm, MPCG_STATE_XID2INITW);
grp              1669 drivers/s390/net/ctcm_fsms.c 		if (grp->changed_side == 1) {
grp              1670 drivers/s390/net/ctcm_fsms.c 			grp->changed_side = 2;
grp              1676 drivers/s390/net/ctcm_fsms.c 		if (grp->estconnfunc)
grp              1685 drivers/s390/net/ctcm_fsms.c 			fsm_deltimer(&grp->timer);
grp              1688 drivers/s390/net/ctcm_fsms.c 		fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1694 drivers/s390/net/ctcm_fsms.c 		if (grp->changed_side == 1) {
grp              1695 drivers/s390/net/ctcm_fsms.c 			grp->changed_side = 2;
grp              1708 drivers/s390/net/ctcm_fsms.c 		fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1712 drivers/s390/net/ctcm_fsms.c 	if (grp->changed_side == 1) {
grp              1713 drivers/s390/net/ctcm_fsms.c 		fsm_deltimer(&grp->timer);
grp              1714 drivers/s390/net/ctcm_fsms.c 		fsm_addtimer(&grp->timer, MPC_XID_TIMEOUT_VALUE,
grp              1718 drivers/s390/net/ctcm_fsms.c 		fsm_event(grp->fsm, MPCG_EVENT_XID0DO, ch);
grp              1738 drivers/s390/net/ctcm_fsms.c 	struct mpc_group   *grp    = priv->mpcg;
grp              1740 drivers/s390/net/ctcm_fsms.c 	fsm_event(grp->fsm, MPCG_EVENT_XID0DO, ch);
grp              1754 drivers/s390/net/ctcm_fsms.c 	struct mpc_group *grp = priv->mpcg;
grp              1765 drivers/s390/net/ctcm_fsms.c 	if (grp->in_sweep == 0)
grp              1785 drivers/s390/net/ctcm_fsms.c 		grp->in_sweep = 0;
grp              1788 drivers/s390/net/ctcm_fsms.c 		fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1801 drivers/s390/net/ctcm_fsms.c 		grp->sweep_req_pend_num--;
grp              1804 drivers/s390/net/ctcm_fsms.c 		grp->sweep_rsp_pend_num--;
grp              1822 drivers/s390/net/ctcm_fsms.c 	if ((grp->sweep_req_pend_num == 0) &&
grp              1823 drivers/s390/net/ctcm_fsms.c 	   (grp->sweep_rsp_pend_num == 0)) {
grp              1824 drivers/s390/net/ctcm_fsms.c 		grp->in_sweep = 0;
grp               601 drivers/s390/net/ctcm_main.c 	struct mpc_group *grp;
grp               608 drivers/s390/net/ctcm_main.c 	grp = priv->mpcg;
grp               613 drivers/s390/net/ctcm_main.c 	if (grp->in_sweep == 0) {
grp               614 drivers/s390/net/ctcm_main.c 		grp->in_sweep = 1;
grp               615 drivers/s390/net/ctcm_main.c 		grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ];
grp               616 drivers/s390/net/ctcm_main.c 		grp->sweep_req_pend_num = grp->active_channels[CTCM_READ];
grp               653 drivers/s390/net/ctcm_main.c 	grp->in_sweep = 0;
grp               655 drivers/s390/net/ctcm_main.c 	fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp               668 drivers/s390/net/ctcm_main.c 	struct mpc_group *grp = priv->mpcg;
grp               680 drivers/s390/net/ctcm_main.c 	if ((fsm_getstate(ch->fsm) != CTC_STATE_TXIDLE) || grp->in_sweep) {
grp               924 drivers/s390/net/ctcm_main.c 	struct mpc_group *grp  = priv->mpcg;
grp               957 drivers/s390/net/ctcm_main.c 			fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp               973 drivers/s390/net/ctcm_main.c 	   (fsm_getstate(grp->fsm) <  MPCG_STATE_XID2INITW)) {
grp               992 drivers/s390/net/ctcm_main.c 		fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1006 drivers/s390/net/ctcm_main.c 		fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1065 drivers/s390/net/ctcm_main.c 	struct mpc_group *grp;
grp              1071 drivers/s390/net/ctcm_main.c 		grp = priv->mpcg;
grp              1072 drivers/s390/net/ctcm_main.c 		if (grp) {
grp              1073 drivers/s390/net/ctcm_main.c 			if (grp->fsm)
grp              1074 drivers/s390/net/ctcm_main.c 				kfree_fsm(grp->fsm);
grp              1075 drivers/s390/net/ctcm_main.c 			dev_kfree_skb(grp->xid_skb);
grp              1076 drivers/s390/net/ctcm_main.c 			dev_kfree_skb(grp->rcvd_xid_skb);
grp              1077 drivers/s390/net/ctcm_main.c 			tasklet_kill(&grp->mpc_tasklet2);
grp              1078 drivers/s390/net/ctcm_main.c 			kfree(grp);
grp              1131 drivers/s390/net/ctcm_main.c 	struct mpc_group *grp;
grp              1162 drivers/s390/net/ctcm_main.c 		grp = ctcmpc_init_mpc_group(priv);
grp              1163 drivers/s390/net/ctcm_main.c 		if (grp == NULL) {
grp              1168 drivers/s390/net/ctcm_main.c 		tasklet_init(&grp->mpc_tasklet2,
grp               241 drivers/s390/net/ctcm_main.h 	struct mpc_group *grp;
grp               242 drivers/s390/net/ctcm_main.h 	grp = ((struct ctcm_priv *)dev->ml_priv)->mpcg;
grp               244 drivers/s390/net/ctcm_main.h 	if (!(grp && grp->in_sweep))
grp               330 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp;
grp               337 drivers/s390/net/ctcm_mpc.c 	grp = priv->mpcg;
grp               339 drivers/s390/net/ctcm_mpc.c 	grp->allochanfunc = callback;
grp               340 drivers/s390/net/ctcm_mpc.c 	grp->port_num = port_num;
grp               341 drivers/s390/net/ctcm_mpc.c 	grp->port_persist = 1;
grp               345 drivers/s390/net/ctcm_mpc.c 			CTCM_FUNTAIL, dev->name, fsm_getstate_str(grp->fsm));
grp               347 drivers/s390/net/ctcm_mpc.c 	switch (fsm_getstate(grp->fsm)) {
grp               350 drivers/s390/net/ctcm_mpc.c 		grp->alloc_called = 1;
grp               359 drivers/s390/net/ctcm_mpc.c 			grp->send_qllc_disc = 1;
grp               362 drivers/s390/net/ctcm_mpc.c 		fsm_deltimer(&grp->timer);
grp               363 drivers/s390/net/ctcm_mpc.c 		grp->outstanding_xid2 = 0;
grp               364 drivers/s390/net/ctcm_mpc.c 		grp->outstanding_xid7 = 0;
grp               365 drivers/s390/net/ctcm_mpc.c 		grp->outstanding_xid7_p2 = 0;
grp               366 drivers/s390/net/ctcm_mpc.c 		grp->saved_xid2 = NULL;
grp               375 drivers/s390/net/ctcm_mpc.c 		grp->allocchan_callback_retries++;
grp               376 drivers/s390/net/ctcm_mpc.c 		if (grp->allocchan_callback_retries < 4) {
grp               377 drivers/s390/net/ctcm_mpc.c 			if (grp->allochanfunc)
grp               378 drivers/s390/net/ctcm_mpc.c 				grp->allochanfunc(grp->port_num,
grp               379 drivers/s390/net/ctcm_mpc.c 						  grp->group_max_buflen);
grp               383 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp               384 drivers/s390/net/ctcm_mpc.c 			grp->allocchan_callback_retries = 0;
grp               401 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp;
grp               409 drivers/s390/net/ctcm_mpc.c 	grp = priv->mpcg;
grp               415 drivers/s390/net/ctcm_mpc.c 			CTCM_FUNTAIL, dev->name, fsm_getstate_str(grp->fsm));
grp               417 drivers/s390/net/ctcm_mpc.c 	grp->estconnfunc = callback;
grp               418 drivers/s390/net/ctcm_mpc.c 	grp->port_num = port_num;
grp               420 drivers/s390/net/ctcm_mpc.c 	switch (fsm_getstate(grp->fsm)) {
grp               425 drivers/s390/net/ctcm_mpc.c 		fsm_deltimer(&grp->timer);
grp               426 drivers/s390/net/ctcm_mpc.c 		grp->estconn_callback_retries++;
grp               427 drivers/s390/net/ctcm_mpc.c 		if (grp->estconn_callback_retries < 4) {
grp               428 drivers/s390/net/ctcm_mpc.c 			if (grp->estconnfunc) {
grp               429 drivers/s390/net/ctcm_mpc.c 				grp->estconnfunc(grp->port_num, 0,
grp               430 drivers/s390/net/ctcm_mpc.c 						grp->group_max_buflen);
grp               431 drivers/s390/net/ctcm_mpc.c 				grp->estconnfunc = NULL;
grp               435 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp               436 drivers/s390/net/ctcm_mpc.c 			grp->estconn_callback_retries = 0;
grp               447 drivers/s390/net/ctcm_mpc.c 		if (grp->estconnfunc) {
grp               448 drivers/s390/net/ctcm_mpc.c 			grp->estconnfunc(grp->port_num, -1, 0);
grp               449 drivers/s390/net/ctcm_mpc.c 			grp->estconnfunc = NULL;
grp               464 drivers/s390/net/ctcm_mpc.c 		grp->send_qllc_disc = 1;
grp               465 drivers/s390/net/ctcm_mpc.c 		fsm_newstate(grp->fsm, MPCG_STATE_XID0IOWAIT);
grp               466 drivers/s390/net/ctcm_mpc.c 		fsm_deltimer(&grp->timer);
grp               467 drivers/s390/net/ctcm_mpc.c 		fsm_addtimer(&grp->timer, MPC_XID_TIMEOUT_VALUE,
grp               469 drivers/s390/net/ctcm_mpc.c 		grp->outstanding_xid7 = 0;
grp               470 drivers/s390/net/ctcm_mpc.c 		grp->outstanding_xid7_p2 = 0;
grp               471 drivers/s390/net/ctcm_mpc.c 		grp->saved_xid2 = NULL;
grp               474 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_XID0DO, rch);
grp               479 drivers/s390/net/ctcm_mpc.c 			if (grp->estconnfunc) {
grp               480 drivers/s390/net/ctcm_mpc.c 				grp->estconnfunc(grp->port_num, -1, 0);
grp               481 drivers/s390/net/ctcm_mpc.c 				grp->estconnfunc = NULL;
grp               483 drivers/s390/net/ctcm_mpc.c 			fsm_deltimer(&grp->timer);
grp               488 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_XID0DO, wch);
grp               493 drivers/s390/net/ctcm_mpc.c 			if (grp->estconnfunc) {
grp               494 drivers/s390/net/ctcm_mpc.c 				grp->estconnfunc(grp->port_num, -1, 0);
grp               495 drivers/s390/net/ctcm_mpc.c 				grp->estconnfunc = NULL;
grp               497 drivers/s390/net/ctcm_mpc.c 			fsm_deltimer(&grp->timer);
grp               521 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp;
grp               527 drivers/s390/net/ctcm_mpc.c 	grp = priv->mpcg;
grp               534 drivers/s390/net/ctcm_mpc.c 	grp->channels_terminating = 0;
grp               535 drivers/s390/net/ctcm_mpc.c 	fsm_deltimer(&grp->timer);
grp               536 drivers/s390/net/ctcm_mpc.c 	grp->allochanfunc = NULL;
grp               537 drivers/s390/net/ctcm_mpc.c 	grp->estconnfunc = NULL;
grp               538 drivers/s390/net/ctcm_mpc.c 	grp->port_persist = 0;
grp               539 drivers/s390/net/ctcm_mpc.c 	grp->send_qllc_disc = 0;
grp               540 drivers/s390/net/ctcm_mpc.c 	fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp               554 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp;
grp               563 drivers/s390/net/ctcm_mpc.c 	grp = priv->mpcg;
grp               571 drivers/s390/net/ctcm_mpc.c 	mpcg_state = fsm_getstate(grp->fsm);
grp               577 drivers/s390/net/ctcm_mpc.c 			if (grp->flow_off_called == 1)
grp               578 drivers/s390/net/ctcm_mpc.c 				grp->flow_off_called = 0;
grp               580 drivers/s390/net/ctcm_mpc.c 				fsm_newstate(grp->fsm, MPCG_STATE_FLOWC);
grp               586 drivers/s390/net/ctcm_mpc.c 			fsm_newstate(grp->fsm, MPCG_STATE_READY);
grp               593 drivers/s390/net/ctcm_mpc.c 			grp->flow_off_called = 1;
grp               612 drivers/s390/net/ctcm_mpc.c 	struct mpc_group  *grp = priv->mpcg;
grp               618 drivers/s390/net/ctcm_mpc.c 	grp->sweep_rsp_pend_num--;
grp               620 drivers/s390/net/ctcm_mpc.c 	if ((grp->sweep_req_pend_num == 0) &&
grp               621 drivers/s390/net/ctcm_mpc.c 			(grp->sweep_rsp_pend_num == 0)) {
grp               623 drivers/s390/net/ctcm_mpc.c 		grp->in_sweep = 0;
grp               643 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp = priv->mpcg;
grp               684 drivers/s390/net/ctcm_mpc.c 	grp->in_sweep = 0;
grp               686 drivers/s390/net/ctcm_mpc.c 	fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp               699 drivers/s390/net/ctcm_mpc.c 	struct mpc_group  *grp  = priv->mpcg;
grp               706 drivers/s390/net/ctcm_mpc.c 	if (grp->in_sweep == 0) {
grp               707 drivers/s390/net/ctcm_mpc.c 		grp->in_sweep = 1;
grp               709 drivers/s390/net/ctcm_mpc.c 		grp->sweep_req_pend_num = grp->active_channels[CTCM_READ];
grp               710 drivers/s390/net/ctcm_mpc.c 		grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ];
grp               715 drivers/s390/net/ctcm_mpc.c 	grp->sweep_req_pend_num--;
grp               833 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp = priv->mpcg;
grp               835 drivers/s390/net/ctcm_mpc.c 	if (grp == NULL) {
grp               842 drivers/s390/net/ctcm_mpc.c 	fsm_deltimer(&grp->timer);
grp               844 drivers/s390/net/ctcm_mpc.c 	if (grp->saved_xid2->xid2_flag2 == 0x40) {
grp               846 drivers/s390/net/ctcm_mpc.c 		if (grp->estconnfunc) {
grp               847 drivers/s390/net/ctcm_mpc.c 			grp->estconnfunc(grp->port_num, 1,
grp               848 drivers/s390/net/ctcm_mpc.c 					grp->group_max_buflen);
grp               849 drivers/s390/net/ctcm_mpc.c 			grp->estconnfunc = NULL;
grp               850 drivers/s390/net/ctcm_mpc.c 		} else if (grp->allochanfunc)
grp               851 drivers/s390/net/ctcm_mpc.c 			grp->send_qllc_disc = 1;
grp               853 drivers/s390/net/ctcm_mpc.c 		fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp               860 drivers/s390/net/ctcm_mpc.c 	grp->port_persist = 1;
grp               861 drivers/s390/net/ctcm_mpc.c 	grp->out_of_sequence = 0;
grp               862 drivers/s390/net/ctcm_mpc.c 	grp->estconn_called = 0;
grp               864 drivers/s390/net/ctcm_mpc.c 	tasklet_hi_schedule(&grp->mpc_tasklet2);
grp               877 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp = priv->mpcg;
grp               880 drivers/s390/net/ctcm_mpc.c 	if (grp == NULL) {
grp               889 drivers/s390/net/ctcm_mpc.c 			CTCM_FUNTAIL, dev->name, grp->group_max_buflen);
grp               891 drivers/s390/net/ctcm_mpc.c 	fsm_newstate(grp->fsm, MPCG_STATE_READY);
grp               911 drivers/s390/net/ctcm_mpc.c 	if (grp->estconnfunc) {
grp               912 drivers/s390/net/ctcm_mpc.c 		grp->estconnfunc(grp->port_num, 0,
grp               913 drivers/s390/net/ctcm_mpc.c 				    grp->group_max_buflen);
grp               914 drivers/s390/net/ctcm_mpc.c 		grp->estconnfunc = NULL;
grp               915 drivers/s390/net/ctcm_mpc.c 	} else 	if (grp->allochanfunc)
grp               916 drivers/s390/net/ctcm_mpc.c 		grp->allochanfunc(grp->port_num, grp->group_max_buflen);
grp               918 drivers/s390/net/ctcm_mpc.c 	grp->send_qllc_disc = 1;
grp               919 drivers/s390/net/ctcm_mpc.c 	grp->changed_side = 0;
grp               933 drivers/s390/net/ctcm_mpc.c 	struct mpc_group   *grp  = priv->mpcg;
grp               935 drivers/s390/net/ctcm_mpc.c 	if (grp == NULL) {
grp               947 drivers/s390/net/ctcm_mpc.c 		fsm_getstate_str(grp->fsm), grp->num_channel_paths,
grp               948 drivers/s390/net/ctcm_mpc.c 		grp->active_channels[CTCM_READ],
grp               949 drivers/s390/net/ctcm_mpc.c 		grp->active_channels[CTCM_WRITE]);
grp               952 drivers/s390/net/ctcm_mpc.c 		grp->num_channel_paths++;
grp               953 drivers/s390/net/ctcm_mpc.c 		grp->active_channels[direction]++;
grp               954 drivers/s390/net/ctcm_mpc.c 		grp->outstanding_xid2++;
grp               966 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp               979 drivers/s390/net/ctcm_mpc.c 		skb_put_data(ch->xid_skb, grp->xid_skb->data,
grp               980 drivers/s390/net/ctcm_mpc.c 			     grp->xid_skb->len);
grp               995 drivers/s390/net/ctcm_mpc.c 		if ((grp->active_channels[CTCM_READ] > 0) &&
grp               996 drivers/s390/net/ctcm_mpc.c 		    (grp->active_channels[CTCM_WRITE] > 0) &&
grp               997 drivers/s390/net/ctcm_mpc.c 			(fsm_getstate(grp->fsm) < MPCG_STATE_XID2INITW)) {
grp               998 drivers/s390/net/ctcm_mpc.c 			fsm_newstate(grp->fsm, MPCG_STATE_XID2INITW);
grp              1006 drivers/s390/net/ctcm_mpc.c 		grp->num_channel_paths--;
grp              1007 drivers/s390/net/ctcm_mpc.c 		grp->active_channels[direction]--;
grp              1013 drivers/s390/net/ctcm_mpc.c 		if (grp->channels_terminating)
grp              1016 drivers/s390/net/ctcm_mpc.c 		if (((grp->active_channels[CTCM_READ] == 0) &&
grp              1017 drivers/s390/net/ctcm_mpc.c 					(grp->active_channels[CTCM_WRITE] > 0))
grp              1018 drivers/s390/net/ctcm_mpc.c 			|| ((grp->active_channels[CTCM_WRITE] == 0) &&
grp              1019 drivers/s390/net/ctcm_mpc.c 					(grp->active_channels[CTCM_READ] > 0)))
grp              1020 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1026 drivers/s390/net/ctcm_mpc.c 		fsm_getstate_str(grp->fsm), grp->num_channel_paths,
grp              1027 drivers/s390/net/ctcm_mpc.c 		grp->active_channels[CTCM_READ],
grp              1028 drivers/s390/net/ctcm_mpc.c 		grp->active_channels[CTCM_WRITE]);
grp              1045 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp = priv->mpcg;
grp              1076 drivers/s390/net/ctcm_mpc.c 		if ((fsm_getstate(grp->fsm) == MPCG_STATE_FLOWC) ||
grp              1077 drivers/s390/net/ctcm_mpc.c 		   ((fsm_getstate(grp->fsm) == MPCG_STATE_READY) &&
grp              1086 drivers/s390/net/ctcm_mpc.c 			grp->out_of_sequence += 1;
grp              1095 drivers/s390/net/ctcm_mpc.c 		grp->out_of_sequence = 0;
grp              1101 drivers/s390/net/ctcm_mpc.c 		if (unlikely(fsm_getstate(grp->fsm) != MPCG_STATE_READY))
grp              1150 drivers/s390/net/ctcm_mpc.c 				fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1200 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_XID2, mpcginfo);
grp              1202 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_DISCONC, mpcginfo);
grp              1221 drivers/s390/net/ctcm_mpc.c 		fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1242 drivers/s390/net/ctcm_mpc.c 	struct mpc_group  *grp	= priv->mpcg;
grp              1247 drivers/s390/net/ctcm_mpc.c 	while ((fsm_getstate(grp->fsm) != MPCG_STATE_FLOWC) &&
grp              1250 drivers/s390/net/ctcm_mpc.c 		if (grp->out_of_sequence > 20) {
grp              1254 drivers/s390/net/ctcm_mpc.c 			grp->out_of_sequence = 0;
grp              1255 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1271 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp;
grp              1276 drivers/s390/net/ctcm_mpc.c 	grp = kzalloc(sizeof(struct mpc_group), GFP_KERNEL);
grp              1277 drivers/s390/net/ctcm_mpc.c 	if (grp == NULL)
grp              1280 drivers/s390/net/ctcm_mpc.c 	grp->fsm = init_fsm("mpcg", mpcg_state_names, mpcg_event_names,
grp              1283 drivers/s390/net/ctcm_mpc.c 	if (grp->fsm == NULL) {
grp              1284 drivers/s390/net/ctcm_mpc.c 		kfree(grp);
grp              1288 drivers/s390/net/ctcm_mpc.c 	fsm_newstate(grp->fsm, MPCG_STATE_RESET);
grp              1289 drivers/s390/net/ctcm_mpc.c 	fsm_settimer(grp->fsm, &grp->timer);
grp              1291 drivers/s390/net/ctcm_mpc.c 	grp->xid_skb =
grp              1293 drivers/s390/net/ctcm_mpc.c 	if (grp->xid_skb == NULL) {
grp              1294 drivers/s390/net/ctcm_mpc.c 		kfree_fsm(grp->fsm);
grp              1295 drivers/s390/net/ctcm_mpc.c 		kfree(grp);
grp              1299 drivers/s390/net/ctcm_mpc.c 	grp->xid_skb_data = grp->xid_skb->data;
grp              1300 drivers/s390/net/ctcm_mpc.c 	grp->xid_th = (struct th_header *)grp->xid_skb->data;
grp              1301 drivers/s390/net/ctcm_mpc.c 	skb_put_data(grp->xid_skb, &thnorm, TH_HEADER_LENGTH);
grp              1303 drivers/s390/net/ctcm_mpc.c 	grp->xid = (struct xid2 *)skb_tail_pointer(grp->xid_skb);
grp              1304 drivers/s390/net/ctcm_mpc.c 	skb_put_data(grp->xid_skb, &init_xid, XID2_LENGTH);
grp              1305 drivers/s390/net/ctcm_mpc.c 	grp->xid->xid2_adj_id = jiffies | 0xfff00000;
grp              1306 drivers/s390/net/ctcm_mpc.c 	grp->xid->xid2_sender_id = jiffies;
grp              1308 drivers/s390/net/ctcm_mpc.c 	grp->xid_id = skb_tail_pointer(grp->xid_skb);
grp              1309 drivers/s390/net/ctcm_mpc.c 	skb_put_data(grp->xid_skb, "VTAM", 4);
grp              1311 drivers/s390/net/ctcm_mpc.c 	grp->rcvd_xid_skb =
grp              1313 drivers/s390/net/ctcm_mpc.c 	if (grp->rcvd_xid_skb == NULL) {
grp              1314 drivers/s390/net/ctcm_mpc.c 		kfree_fsm(grp->fsm);
grp              1315 drivers/s390/net/ctcm_mpc.c 		dev_kfree_skb(grp->xid_skb);
grp              1316 drivers/s390/net/ctcm_mpc.c 		kfree(grp);
grp              1319 drivers/s390/net/ctcm_mpc.c 	grp->rcvd_xid_data = grp->rcvd_xid_skb->data;
grp              1320 drivers/s390/net/ctcm_mpc.c 	grp->rcvd_xid_th = (struct th_header *)grp->rcvd_xid_skb->data;
grp              1321 drivers/s390/net/ctcm_mpc.c 	skb_put_data(grp->rcvd_xid_skb, &thnorm, TH_HEADER_LENGTH);
grp              1322 drivers/s390/net/ctcm_mpc.c 	grp->saved_xid2 = NULL;
grp              1323 drivers/s390/net/ctcm_mpc.c 	priv->xid = grp->xid;
grp              1324 drivers/s390/net/ctcm_mpc.c 	priv->mpcg = grp;
grp              1325 drivers/s390/net/ctcm_mpc.c 	return grp;
grp              1354 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp;
grp              1360 drivers/s390/net/ctcm_mpc.c 	grp =  priv->mpcg;
grp              1361 drivers/s390/net/ctcm_mpc.c 	grp->flow_off_called = 0;
grp              1362 drivers/s390/net/ctcm_mpc.c 	fsm_deltimer(&grp->timer);
grp              1363 drivers/s390/net/ctcm_mpc.c 	if (grp->channels_terminating)
grp              1366 drivers/s390/net/ctcm_mpc.c 	grp->channels_terminating = 1;
grp              1367 drivers/s390/net/ctcm_mpc.c 	grp->saved_state = fsm_getstate(grp->fsm);
grp              1368 drivers/s390/net/ctcm_mpc.c 	fsm_newstate(grp->fsm, MPCG_STATE_INOP);
grp              1369 drivers/s390/net/ctcm_mpc.c 	if (grp->saved_state > MPCG_STATE_XID7INITF)
grp              1373 drivers/s390/net/ctcm_mpc.c 	if ((grp->saved_state != MPCG_STATE_RESET) ||
grp              1375 drivers/s390/net/ctcm_mpc.c 		(grp->port_persist == 0))
grp              1380 drivers/s390/net/ctcm_mpc.c 	switch (grp->saved_state) {
grp              1399 drivers/s390/net/ctcm_mpc.c 	grp->xid2_tgnum = 0;
grp              1400 drivers/s390/net/ctcm_mpc.c 	grp->group_max_buflen = 0;  /*min of all received */
grp              1401 drivers/s390/net/ctcm_mpc.c 	grp->outstanding_xid2 = 0;
grp              1402 drivers/s390/net/ctcm_mpc.c 	grp->outstanding_xid7 = 0;
grp              1403 drivers/s390/net/ctcm_mpc.c 	grp->outstanding_xid7_p2 = 0;
grp              1404 drivers/s390/net/ctcm_mpc.c 	grp->saved_xid2 = NULL;
grp              1405 drivers/s390/net/ctcm_mpc.c 	grp->xidnogood = 0;
grp              1406 drivers/s390/net/ctcm_mpc.c 	grp->changed_side = 0;
grp              1408 drivers/s390/net/ctcm_mpc.c 	grp->rcvd_xid_skb->data = grp->rcvd_xid_data;
grp              1409 drivers/s390/net/ctcm_mpc.c 	skb_reset_tail_pointer(grp->rcvd_xid_skb);
grp              1410 drivers/s390/net/ctcm_mpc.c 	grp->rcvd_xid_skb->len = 0;
grp              1411 drivers/s390/net/ctcm_mpc.c 	grp->rcvd_xid_th = (struct th_header *)grp->rcvd_xid_skb->data;
grp              1412 drivers/s390/net/ctcm_mpc.c 	skb_put_data(grp->rcvd_xid_skb, &thnorm, TH_HEADER_LENGTH);
grp              1414 drivers/s390/net/ctcm_mpc.c 	if (grp->send_qllc_disc == 1) {
grp              1415 drivers/s390/net/ctcm_mpc.c 		grp->send_qllc_disc = 0;
grp              1424 drivers/s390/net/ctcm_mpc.c 	if ((grp->port_persist == 1) || (grp->alloc_called)) {
grp              1425 drivers/s390/net/ctcm_mpc.c 		grp->alloc_called = 0;
grp              1428 drivers/s390/net/ctcm_mpc.c 		fsm_newstate(grp->fsm, MPCG_STATE_RESET);
grp              1429 drivers/s390/net/ctcm_mpc.c 		if (grp->saved_state > MPCG_STATE_XID7INITF)
grp              1436 drivers/s390/net/ctcm_mpc.c 		fsm_newstate(grp->fsm, MPCG_STATE_RESET);
grp              1456 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp;
grp              1461 drivers/s390/net/ctcm_mpc.c 	grp = priv->mpcg;
grp              1465 drivers/s390/net/ctcm_mpc.c 	switch (fsm_getstate(grp->fsm)) {
grp              1475 drivers/s390/net/ctcm_mpc.c 		fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1494 drivers/s390/net/ctcm_mpc.c 	struct mpc_group   *grp;
grp              1504 drivers/s390/net/ctcm_mpc.c 				grp = priv->mpcg;
grp              1505 drivers/s390/net/ctcm_mpc.c 				grp->send_qllc_disc = 1;
grp              1506 drivers/s390/net/ctcm_mpc.c 				fsm_event(grp->fsm, MPCG_EVENT_INOP, dev);
grp              1547 drivers/s390/net/ctcm_mpc.c 	struct mpc_group   *grp  = priv->mpcg;
grp              1580 drivers/s390/net/ctcm_mpc.c 				grp->group_max_buflen, xid->xid2_buf_len);
grp              1582 drivers/s390/net/ctcm_mpc.c 		if (grp->group_max_buflen == 0 || grp->group_max_buflen >
grp              1584 drivers/s390/net/ctcm_mpc.c 			grp->group_max_buflen = xid->xid2_buf_len - len;
grp              1587 drivers/s390/net/ctcm_mpc.c 	if (grp->saved_xid2 == NULL) {
grp              1588 drivers/s390/net/ctcm_mpc.c 		grp->saved_xid2 =
grp              1589 drivers/s390/net/ctcm_mpc.c 			(struct xid2 *)skb_tail_pointer(grp->rcvd_xid_skb);
grp              1591 drivers/s390/net/ctcm_mpc.c 		skb_put_data(grp->rcvd_xid_skb, xid, XID2_LENGTH);
grp              1592 drivers/s390/net/ctcm_mpc.c 		grp->rcvd_xid_skb->data = grp->rcvd_xid_data;
grp              1594 drivers/s390/net/ctcm_mpc.c 		skb_reset_tail_pointer(grp->rcvd_xid_skb);
grp              1595 drivers/s390/net/ctcm_mpc.c 		grp->rcvd_xid_skb->len = 0;
grp              1606 drivers/s390/net/ctcm_mpc.c 			grp->roll = XSIDE;
grp              1611 drivers/s390/net/ctcm_mpc.c 			grp->roll = YSIDE;
grp              1618 drivers/s390/net/ctcm_mpc.c 		if (xid->xid2_flag4 != grp->saved_xid2->xid2_flag4) {
grp              1632 drivers/s390/net/ctcm_mpc.c 		if (xid->xid2_adj_id != grp->saved_xid2->xid2_adj_id) {
grp              1639 drivers/s390/net/ctcm_mpc.c 		if (xid->xid2_sender_id != grp->saved_xid2->xid2_sender_id) {
grp              1653 drivers/s390/net/ctcm_mpc.c 		grp->saved_xid2->xid2_flag2 = 0x40;
grp              1843 drivers/s390/net/ctcm_mpc.c 	struct mpc_group   *grp  = priv->mpcg;
grp              1859 drivers/s390/net/ctcm_mpc.c 	switch (fsm_getstate(grp->fsm)) {
grp              1870 drivers/s390/net/ctcm_mpc.c 	fsm_event(grp->fsm, MPCG_EVENT_DOIO, ch);
grp              1883 drivers/s390/net/ctcm_mpc.c 	struct mpc_group  *grp  = NULL;
grp              1888 drivers/s390/net/ctcm_mpc.c 		grp = priv->mpcg;
grp              1889 drivers/s390/net/ctcm_mpc.c 	if (grp == NULL)
grp              1902 drivers/s390/net/ctcm_mpc.c 		if (grp->outstanding_xid7_p2 > 0) {
grp              1903 drivers/s390/net/ctcm_mpc.c 			if (grp->roll == YSIDE) {
grp              1920 drivers/s390/net/ctcm_mpc.c 			if (grp->roll == YSIDE) {
grp              1938 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_DOIO, ch);
grp              1955 drivers/s390/net/ctcm_mpc.c 	struct mpc_group   *grp  = priv->mpcg;
grp              1958 drivers/s390/net/ctcm_mpc.c 			__func__, ch->id, grp->outstanding_xid2,
grp              1959 drivers/s390/net/ctcm_mpc.c 			grp->outstanding_xid7, grp->outstanding_xid7_p2);
grp              1964 drivers/s390/net/ctcm_mpc.c 	grp->outstanding_xid2--;
grp              1965 drivers/s390/net/ctcm_mpc.c 	grp->outstanding_xid7++;
grp              1966 drivers/s390/net/ctcm_mpc.c 	grp->outstanding_xid7_p2++;
grp              1970 drivers/s390/net/ctcm_mpc.c 	switch (fsm_getstate(grp->fsm)) {
grp              1972 drivers/s390/net/ctcm_mpc.c 		fsm_newstate(grp->fsm, MPCG_STATE_XID2INITX);
grp              1976 drivers/s390/net/ctcm_mpc.c 		fsm_newstate(grp->fsm, MPCG_STATE_XID0IOWAIX);
grp              1980 drivers/s390/net/ctcm_mpc.c 		if (grp->outstanding_xid2 == 0) {
grp              1981 drivers/s390/net/ctcm_mpc.c 			fsm_newstate(grp->fsm, MPCG_STATE_XID7INITW);
grp              1983 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_XID2DONE, dev);
grp              1987 drivers/s390/net/ctcm_mpc.c 		if (grp->outstanding_xid2 == 0) {
grp              1988 drivers/s390/net/ctcm_mpc.c 			fsm_newstate(grp->fsm, MPCG_STATE_XID7INITI);
grp              1990 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_XID2DONE, dev);
grp              1997 drivers/s390/net/ctcm_mpc.c 		__func__, ch->id, grp->outstanding_xid2,
grp              1998 drivers/s390/net/ctcm_mpc.c 		grp->outstanding_xid7, grp->outstanding_xid7_p2);
grp              2001 drivers/s390/net/ctcm_mpc.c 		fsm_getstate_str(grp->fsm), fsm_getstate_str(ch->fsm));
grp              2017 drivers/s390/net/ctcm_mpc.c 	struct mpc_group   *grp     = priv->mpcg;
grp              2022 drivers/s390/net/ctcm_mpc.c 		__func__, grp->outstanding_xid7, grp->outstanding_xid7_p2);
grp              2024 drivers/s390/net/ctcm_mpc.c 	grp->outstanding_xid7--;
grp              2029 drivers/s390/net/ctcm_mpc.c 	switch (fsm_getstate(grp->fsm)) {
grp              2031 drivers/s390/net/ctcm_mpc.c 		fsm_newstate(grp->fsm, MPCG_STATE_XID7INITZ);
grp              2035 drivers/s390/net/ctcm_mpc.c 		fsm_newstate(grp->fsm, MPCG_STATE_XID7INITX);
grp              2040 drivers/s390/net/ctcm_mpc.c 		if (grp->outstanding_xid7 == 0) {
grp              2041 drivers/s390/net/ctcm_mpc.c 			if (grp->outstanding_xid7_p2 > 0) {
grp              2042 drivers/s390/net/ctcm_mpc.c 				grp->outstanding_xid7 =
grp              2043 drivers/s390/net/ctcm_mpc.c 					grp->outstanding_xid7_p2;
grp              2044 drivers/s390/net/ctcm_mpc.c 				grp->outstanding_xid7_p2 = 0;
grp              2046 drivers/s390/net/ctcm_mpc.c 				fsm_newstate(grp->fsm, MPCG_STATE_XID7INITF);
grp              2049 drivers/s390/net/ctcm_mpc.c 			fsm_event(grp->fsm, MPCG_EVENT_XID7DONE, dev);
grp              2069 drivers/s390/net/ctcm_mpc.c 	struct mpc_group *grp = priv->mpcg;
grp              2072 drivers/s390/net/ctcm_mpc.c 		__func__, mpcg_state_names[grp->saved_state]);
grp              2074 drivers/s390/net/ctcm_mpc.c 	switch (grp->saved_state) {
grp              2087 drivers/s390/net/ctcm_mpc.c 		if (grp->estconnfunc) {
grp              2088 drivers/s390/net/ctcm_mpc.c 			grp->estconnfunc(grp->port_num, -1, 0);
grp              2089 drivers/s390/net/ctcm_mpc.c 			grp->estconnfunc = NULL;
grp              2095 drivers/s390/net/ctcm_mpc.c 		grp->send_qllc_disc = 2;
grp              4473 drivers/scsi/scsi_transport_iscsi.c 	priv->t.host_attrs.ac.grp = &iscsi_host_group;
grp              4480 drivers/scsi/scsi_transport_iscsi.c 	priv->conn_cont.ac.grp = &iscsi_conn_group;
grp              4486 drivers/scsi/scsi_transport_iscsi.c 	priv->session_cont.ac.grp = &iscsi_session_group;
grp              1567 drivers/scsi/scsi_transport_spi.c 	i->t.target_attrs.ac.grp = &target_attribute_group;
grp              1572 drivers/scsi/scsi_transport_spi.c 	i->t.host_attrs.ac.grp = &host_attribute_group;
grp               750 drivers/staging/octeon/ethernet.c 				pip_prt_tagx.s.grp		= 0;
grp               753 drivers/staging/octeon/ethernet.c 				pip_prt_tagx.s.grp	= pow_receive_group;
grp               157 drivers/staging/octeon/octeon-stubs.h 		uint64_t grp:6;
grp               167 drivers/staging/octeon/octeon-stubs.h 		uint64_t grp:4;
grp               793 drivers/staging/octeon/octeon-stubs.h 		uint64_t grp:4;
grp               820 drivers/staging/octeon/octeon-stubs.h 		uint64_t grp:4;
grp               847 drivers/staging/octeon/octeon-stubs.h 		uint64_t grp:4;
grp              1404 drivers/staging/octeon/octeon-stubs.h static inline void cvmx_wqe_set_grp(cvmx_wqe_t *work, int grp)
grp              1409 drivers/staging/octeon/octeon-stubs.h 					uint64_t qos, uint64_t grp)
grp              1987 drivers/usb/gadget/function/uvc_configfs.c 	struct config_group *grp;
grp              2003 drivers/usb/gadget/function/uvc_configfs.c 		grp = &f->fmt->group;
grp              2004 drivers/usb/gadget/function/uvc_configfs.c 		list_for_each_entry(item, &grp->cg_children, ci_entry) {
grp                44 drivers/vfio/vfio_iommu_spapr_tce.c 	struct iommu_group *grp;
grp               280 drivers/vfio/vfio_iommu_spapr_tce.c 	table_group = iommu_group_get_iommudata(tcegrp->grp);
grp               352 drivers/vfio/vfio_iommu_spapr_tce.c 		tce_iommu_detach_group(iommu_data, tcegrp->grp);
grp               659 drivers/vfio/vfio_iommu_spapr_tce.c 	table_group = iommu_group_get_iommudata(tcegrp->grp);
grp               684 drivers/vfio/vfio_iommu_spapr_tce.c 		table_group = iommu_group_get_iommudata(tcegrp->grp);
grp               700 drivers/vfio/vfio_iommu_spapr_tce.c 		table_group = iommu_group_get_iommudata(tcegrp->grp);
grp               724 drivers/vfio/vfio_iommu_spapr_tce.c 		table_group = iommu_group_get_iommudata(tcegrp->grp);
grp               762 drivers/vfio/vfio_iommu_spapr_tce.c 	table_group = iommu_group_get_iommudata(tcegrp->grp);
grp               817 drivers/vfio/vfio_iommu_spapr_tce.c 		table_group = iommu_group_get_iommudata(tcegrp->grp);
grp              1049 drivers/vfio/vfio_iommu_spapr_tce.c 			ret = vfio_spapr_iommu_eeh_ioctl(tcegrp->grp,
grp              1269 drivers/vfio/vfio_iommu_spapr_tce.c 		if (tcegrp->grp == iommu_group) {
grp              1275 drivers/vfio/vfio_iommu_spapr_tce.c 		table_group_tmp = iommu_group_get_iommudata(tcegrp->grp);
grp              1280 drivers/vfio/vfio_iommu_spapr_tce.c 					iommu_group_id(tcegrp->grp));
grp              1310 drivers/vfio/vfio_iommu_spapr_tce.c 		tcegrp->grp = iommu_group;
grp              1335 drivers/vfio/vfio_iommu_spapr_tce.c 		if (tcegrp->grp == iommu_group) {
grp               123 fs/erofs/internal.h static inline bool erofs_workgroup_try_to_freeze(struct erofs_workgroup *grp,
grp               127 fs/erofs/internal.h 	if (val != atomic_cmpxchg(&grp->refcount, val, EROFS_LOCKED_MAGIC)) {
grp               134 fs/erofs/internal.h static inline void erofs_workgroup_unfreeze(struct erofs_workgroup *grp,
grp               142 fs/erofs/internal.h 	atomic_set(&grp->refcount, orig_val);
grp               146 fs/erofs/internal.h static inline int erofs_wait_on_workgroup_freezed(struct erofs_workgroup *grp)
grp               148 fs/erofs/internal.h 	return atomic_cond_read_relaxed(&grp->refcount,
grp               152 fs/erofs/internal.h static inline bool erofs_workgroup_try_to_freeze(struct erofs_workgroup *grp,
grp               157 fs/erofs/internal.h 	if (val != atomic_read(&grp->refcount)) {
grp               164 fs/erofs/internal.h static inline void erofs_workgroup_unfreeze(struct erofs_workgroup *grp,
grp               170 fs/erofs/internal.h static inline int erofs_wait_on_workgroup_freezed(struct erofs_workgroup *grp)
grp               172 fs/erofs/internal.h 	int v = atomic_read(&grp->refcount);
grp               403 fs/erofs/internal.h int erofs_workgroup_put(struct erofs_workgroup *grp);
grp               407 fs/erofs/internal.h 			     struct erofs_workgroup *grp, bool tag);
grp               408 fs/erofs/internal.h void erofs_workgroup_free_rcu(struct erofs_workgroup *grp);
grp                40 fs/erofs/utils.c #define __erofs_workgroup_get(grp)	atomic_inc(&(grp)->refcount)
grp                41 fs/erofs/utils.c #define __erofs_workgroup_put(grp)	atomic_dec(&(grp)->refcount)
grp                43 fs/erofs/utils.c static int erofs_workgroup_get(struct erofs_workgroup *grp)
grp                48 fs/erofs/utils.c 	o = erofs_wait_on_workgroup_freezed(grp);
grp                52 fs/erofs/utils.c 	if (atomic_cmpxchg(&grp->refcount, o, o + 1) != o)
grp                65 fs/erofs/utils.c 	struct erofs_workgroup *grp;
grp                69 fs/erofs/utils.c 	grp = radix_tree_lookup(&sbi->workstn_tree, index);
grp                70 fs/erofs/utils.c 	if (grp) {
grp                71 fs/erofs/utils.c 		*tag = xa_pointer_tag(grp);
grp                72 fs/erofs/utils.c 		grp = xa_untag_pointer(grp);
grp                74 fs/erofs/utils.c 		if (erofs_workgroup_get(grp)) {
grp                80 fs/erofs/utils.c 		DBG_BUGON(index != grp->index);
grp                83 fs/erofs/utils.c 	return grp;
grp                87 fs/erofs/utils.c 			     struct erofs_workgroup *grp,
grp                94 fs/erofs/utils.c 	if (atomic_read(&grp->refcount) != 1) {
grp               106 fs/erofs/utils.c 	grp = xa_tag_pointer(grp, tag);
grp               113 fs/erofs/utils.c 	__erofs_workgroup_get(grp);
grp               115 fs/erofs/utils.c 	err = radix_tree_insert(&sbi->workstn_tree, grp->index, grp);
grp               121 fs/erofs/utils.c 		__erofs_workgroup_put(grp);
grp               128 fs/erofs/utils.c static void  __erofs_workgroup_free(struct erofs_workgroup *grp)
grp               131 fs/erofs/utils.c 	erofs_workgroup_free_rcu(grp);
grp               134 fs/erofs/utils.c int erofs_workgroup_put(struct erofs_workgroup *grp)
grp               136 fs/erofs/utils.c 	int count = atomic_dec_return(&grp->refcount);
grp               141 fs/erofs/utils.c 		__erofs_workgroup_free(grp);
grp               145 fs/erofs/utils.c static void erofs_workgroup_unfreeze_final(struct erofs_workgroup *grp)
grp               147 fs/erofs/utils.c 	erofs_workgroup_unfreeze(grp, 0);
grp               148 fs/erofs/utils.c 	__erofs_workgroup_free(grp);
grp               152 fs/erofs/utils.c 					   struct erofs_workgroup *grp,
grp               160 fs/erofs/utils.c 	if (!erofs_workgroup_try_to_freeze(grp, 1))
grp               169 fs/erofs/utils.c 	if (erofs_try_to_free_all_cached_pages(sbi, grp)) {
grp               170 fs/erofs/utils.c 		erofs_workgroup_unfreeze(grp, 1);
grp               180 fs/erofs/utils.c 						     grp->index)) != grp);
grp               186 fs/erofs/utils.c 	erofs_workgroup_unfreeze_final(grp);
grp               206 fs/erofs/utils.c 		struct erofs_workgroup *grp = xa_untag_pointer(batch[i]);
grp               208 fs/erofs/utils.c 		first_index = grp->index + 1;
grp               211 fs/erofs/utils.c 		if (!erofs_try_to_release_workgroup(sbi, grp, cleanup))
grp               212 fs/erofs/zdata.c 				       struct erofs_workgroup *grp)
grp               215 fs/erofs/zdata.c 		container_of(grp, struct z_erofs_pcluster, obj);
grp               344 fs/erofs/zdata.c 	struct erofs_workgroup *grp;
grp               350 fs/erofs/zdata.c 	grp = erofs_find_workgroup(inode->i_sb, map->m_pa >> PAGE_SHIFT, &tag);
grp               351 fs/erofs/zdata.c 	if (!grp)
grp               354 fs/erofs/zdata.c 	pcl = container_of(grp, struct z_erofs_pcluster, obj);
grp               357 fs/erofs/zdata.c 		erofs_workgroup_put(grp);
grp               364 fs/erofs/zdata.c 		erofs_workgroup_put(grp);
grp               372 fs/erofs/zdata.c 			erofs_workgroup_put(grp);
grp               508 fs/erofs/zdata.c void erofs_workgroup_free_rcu(struct erofs_workgroup *grp)
grp               511 fs/erofs/zdata.c 		container_of(grp, struct z_erofs_pcluster, obj);
grp               371 fs/ext4/balloc.c 	struct ext4_group_info *grp = ext4_get_group_info(sb, block_group);
grp               375 fs/ext4/balloc.c 	if (EXT4_MB_GRP_BBITMAP_CORRUPT(grp))
grp               691 fs/ext4/balloc.c 	struct ext4_group_info *grp;
grp               707 fs/ext4/balloc.c 		grp = NULL;
grp               709 fs/ext4/balloc.c 			grp = ext4_get_group_info(sb, i);
grp               710 fs/ext4/balloc.c 		if (!grp || !EXT4_MB_GRP_BBITMAP_CORRUPT(grp))
grp               737 fs/ext4/balloc.c 		grp = NULL;
grp               739 fs/ext4/balloc.c 			grp = ext4_get_group_info(sb, i);
grp               740 fs/ext4/balloc.c 		if (!grp || !EXT4_MB_GRP_BBITMAP_CORRUPT(grp))
grp              2770 fs/ext4/ext4.h #define ext4_grp_locked_error(sb, grp, ino, block, fmt, ...)		\
grp              2771 fs/ext4/ext4.h 	__ext4_grp_locked_error(__func__, __LINE__, sb, grp, ino, block, \
grp              2813 fs/ext4/ext4.h #define ext4_grp_locked_error(sb, grp, ino, block, fmt, ...)		\
grp              2816 fs/ext4/ext4.h 	__ext4_grp_locked_error("", 0, sb, grp, ino, block, " ");	\
grp              3043 fs/ext4/ext4.h #define EXT4_MB_GRP_NEED_INIT(grp)	\
grp              3044 fs/ext4/ext4.h 	(test_bit(EXT4_GROUP_INFO_NEED_INIT_BIT, &((grp)->bb_state)))
grp              3045 fs/ext4/ext4.h #define EXT4_MB_GRP_BBITMAP_CORRUPT(grp)	\
grp              3046 fs/ext4/ext4.h 	(test_bit(EXT4_GROUP_INFO_BBITMAP_CORRUPT_BIT, &((grp)->bb_state)))
grp              3047 fs/ext4/ext4.h #define EXT4_MB_GRP_IBITMAP_CORRUPT(grp)	\
grp              3048 fs/ext4/ext4.h 	(test_bit(EXT4_GROUP_INFO_IBITMAP_CORRUPT_BIT, &((grp)->bb_state)))
grp              3050 fs/ext4/ext4.h #define EXT4_MB_GRP_WAS_TRIMMED(grp)	\
grp              3051 fs/ext4/ext4.h 	(test_bit(EXT4_GROUP_INFO_WAS_TRIMMED_BIT, &((grp)->bb_state)))
grp              3052 fs/ext4/ext4.h #define EXT4_MB_GRP_SET_TRIMMED(grp)	\
grp              3053 fs/ext4/ext4.h 	(set_bit(EXT4_GROUP_INFO_WAS_TRIMMED_BIT, &((grp)->bb_state)))
grp              3054 fs/ext4/ext4.h #define EXT4_MB_GRP_CLEAR_TRIMMED(grp)	\
grp              3055 fs/ext4/ext4.h 	(clear_bit(EXT4_GROUP_INFO_WAS_TRIMMED_BIT, &((grp)->bb_state)))
grp                85 fs/ext4/ialloc.c 	struct ext4_group_info *grp = ext4_get_group_info(sb, block_group);
grp                89 fs/ext4/ialloc.c 	if (EXT4_MB_GRP_IBITMAP_CORRUPT(grp))
grp               244 fs/ext4/ialloc.c 	struct ext4_group_info *grp;
grp               285 fs/ext4/ialloc.c 	grp = ext4_get_group_info(sb, block_group);
grp               291 fs/ext4/ialloc.c 	if (unlikely(EXT4_MB_GRP_IBITMAP_CORRUPT(grp))) {
grp               426 fs/ext4/ialloc.c 	ext4_group_t i, grp, g, ngroups;
grp               457 fs/ext4/ialloc.c 			grp = hinfo.hash;
grp               459 fs/ext4/ialloc.c 			grp = prandom_u32();
grp               460 fs/ext4/ialloc.c 		parent_group = (unsigned)grp % ngroups;
grp               472 fs/ext4/ialloc.c 			grp = g;
grp               480 fs/ext4/ialloc.c 			*group = grp;
grp               491 fs/ext4/ialloc.c 		grp *= flex_size;
grp               493 fs/ext4/ialloc.c 			if (grp+i >= real_ngroups)
grp               495 fs/ext4/ialloc.c 			desc = ext4_get_group_desc(sb, grp+i, NULL);
grp               497 fs/ext4/ialloc.c 				*group = grp+i;
grp               521 fs/ext4/ialloc.c 		grp = (parent_group + i) % ngroups;
grp               522 fs/ext4/ialloc.c 		get_orlov_stats(sb, grp, flex_size, &stats);
grp               538 fs/ext4/ialloc.c 		grp = (parent_group + i) % ngroups;
grp               539 fs/ext4/ialloc.c 		desc = ext4_get_group_desc(sb, grp, NULL);
grp               543 fs/ext4/ialloc.c 				*group = grp;
grp               759 fs/ext4/ialloc.c 	struct ext4_group_info *grp;
grp               897 fs/ext4/ialloc.c 		grp = ext4_get_group_info(sb, group);
grp               899 fs/ext4/ialloc.c 		if (EXT4_MB_GRP_IBITMAP_CORRUPT(grp))
grp               905 fs/ext4/ialloc.c 		if (EXT4_MB_GRP_IBITMAP_CORRUPT(grp) ||
grp              1028 fs/ext4/ialloc.c 		struct ext4_group_info *grp = ext4_get_group_info(sb, group);
grp              1030 fs/ext4/ialloc.c 		down_read(&grp->alloc_sem); /* protect vs itable lazyinit */
grp              1046 fs/ext4/ialloc.c 		up_read(&grp->alloc_sem);
grp              1349 fs/ext4/ialloc.c 	struct ext4_group_info *grp = ext4_get_group_info(sb, group);
grp              1380 fs/ext4/ialloc.c 	down_write(&grp->alloc_sem);
grp              1441 fs/ext4/ialloc.c 	up_write(&grp->alloc_sem);
grp               554 fs/ext4/mballoc.c 	struct ext4_group_info *grp;
grp               628 fs/ext4/mballoc.c 	grp = ext4_get_group_info(sb, e4b->bd_group);
grp               629 fs/ext4/mballoc.c 	list_for_each(cur, &grp->bb_prealloc_list) {
grp               655 fs/ext4/mballoc.c 					struct ext4_group_info *grp)
grp               679 fs/ext4/mballoc.c 		grp->bb_counters[min]++;
grp               694 fs/ext4/mballoc.c mb_set_largest_free_order(struct super_block *sb, struct ext4_group_info *grp)
grp               699 fs/ext4/mballoc.c 	grp->bb_largest_free_order = -1; /* uninit */
grp               703 fs/ext4/mballoc.c 		if (grp->bb_counters[i] > 0) {
grp               704 fs/ext4/mballoc.c 			grp->bb_largest_free_order = i;
grp               714 fs/ext4/mballoc.c 	struct ext4_group_info *grp = ext4_get_group_info(sb, group);
grp               727 fs/ext4/mballoc.c 	grp->bb_first_free = i;
grp               735 fs/ext4/mballoc.c 			ext4_mb_mark_free_simple(sb, buddy, first, len, grp);
grp               737 fs/ext4/mballoc.c 			grp->bb_counters[0]++;
grp               741 fs/ext4/mballoc.c 	grp->bb_fragments = fragments;
grp               743 fs/ext4/mballoc.c 	if (free != grp->bb_free) {
grp               747 fs/ext4/mballoc.c 				      free, grp->bb_free);
grp               752 fs/ext4/mballoc.c 		grp->bb_free = free;
grp               756 fs/ext4/mballoc.c 	mb_set_largest_free_order(sb, grp);
grp               758 fs/ext4/mballoc.c 	clear_bit(EXT4_GROUP_INFO_NEED_INIT_BIT, &(grp->bb_state));
grp              1108 fs/ext4/mballoc.c 	struct ext4_group_info *grp;
grp              1116 fs/ext4/mballoc.c 	grp = ext4_get_group_info(sb, group);
grp              1119 fs/ext4/mballoc.c 	e4b->bd_info = grp;
grp              1125 fs/ext4/mballoc.c 	if (unlikely(EXT4_MB_GRP_NEED_INIT(grp))) {
grp              1824 fs/ext4/mballoc.c 	struct ext4_group_info *grp = ext4_get_group_info(ac->ac_sb, group);
grp              1829 fs/ext4/mballoc.c 	if (grp->bb_free == 0)
grp              1889 fs/ext4/mballoc.c 	struct ext4_group_info *grp = e4b->bd_info;
grp              1897 fs/ext4/mballoc.c 		if (grp->bb_counters[i] == 0)
grp              2041 fs/ext4/mballoc.c 	struct ext4_group_info *grp = ext4_get_group_info(ac->ac_sb, group);
grp              2045 fs/ext4/mballoc.c 	free = grp->bb_free;
grp              2051 fs/ext4/mballoc.c 	if (unlikely(EXT4_MB_GRP_BBITMAP_CORRUPT(grp)))
grp              2055 fs/ext4/mballoc.c 	if (unlikely(EXT4_MB_GRP_NEED_INIT(grp))) {
grp              2061 fs/ext4/mballoc.c 	fragments = grp->bb_fragments;
grp              2079 fs/ext4/mballoc.c 		if (grp->bb_largest_free_order < ac->ac_2order)
grp              2698 fs/ext4/mballoc.c static void ext4_mb_cleanup_pa(struct ext4_group_info *grp)
grp              2704 fs/ext4/mballoc.c 	list_for_each_safe(cur, tmp, &grp->bb_prealloc_list) {
grp              3517 fs/ext4/mballoc.c 	struct ext4_group_info *grp;
grp              3520 fs/ext4/mballoc.c 	grp = ext4_get_group_info(sb, group);
grp              3521 fs/ext4/mballoc.c 	n = rb_first(&(grp->bb_free_root));
grp              3540 fs/ext4/mballoc.c 	struct ext4_group_info *grp = ext4_get_group_info(sb, group);
grp              3556 fs/ext4/mballoc.c 	list_for_each(cur, &grp->bb_prealloc_list) {
grp              3589 fs/ext4/mballoc.c 	ext4_group_t grp;
grp              3615 fs/ext4/mballoc.c 	grp = ext4_get_group_number(sb, grp_blk);
grp              3631 fs/ext4/mballoc.c 	ext4_lock_group(sb, grp);
grp              3633 fs/ext4/mballoc.c 	ext4_unlock_group(sb, grp);
grp              3651 fs/ext4/mballoc.c 	struct ext4_group_info *grp;
grp              3720 fs/ext4/mballoc.c 	grp = ext4_get_group_info(sb, ac->ac_b_ex.fe_group);
grp              3726 fs/ext4/mballoc.c 	list_add(&pa->pa_group_list, &grp->bb_prealloc_list);
grp              3745 fs/ext4/mballoc.c 	struct ext4_group_info *grp;
grp              3779 fs/ext4/mballoc.c 	grp = ext4_get_group_info(sb, ac->ac_b_ex.fe_group);
grp              3787 fs/ext4/mballoc.c 	list_add(&pa->pa_group_list, &grp->bb_prealloc_list);
grp              3902 fs/ext4/mballoc.c 	struct ext4_group_info *grp = ext4_get_group_info(sb, group);
grp              3913 fs/ext4/mballoc.c 	if (list_empty(&grp->bb_prealloc_list))
grp              3939 fs/ext4/mballoc.c 				&grp->bb_prealloc_list, pa_group_list) {
grp              4148 fs/ext4/mballoc.c 		struct ext4_group_info *grp = ext4_get_group_info(sb, i);
grp              4153 fs/ext4/mballoc.c 		list_for_each(cur, &grp->bb_prealloc_list) {
grp              4165 fs/ext4/mballoc.c 		if (grp->bb_free == 0)
grp              4168 fs/ext4/mballoc.c 		       i, grp->bb_free, grp->bb_fragments);
grp              5264 fs/ext4/mballoc.c 	struct ext4_group_info *grp;
grp              5299 fs/ext4/mballoc.c 		grp = ext4_get_group_info(sb, group);
grp              5301 fs/ext4/mballoc.c 		if (unlikely(EXT4_MB_GRP_NEED_INIT(grp))) {
grp              5316 fs/ext4/mballoc.c 		if (grp->bb_free >= minlen) {
grp               771 fs/ext4/resize.c 	unsigned grp;
grp               775 fs/ext4/resize.c 	while ((grp = ext4_list_backups(sb, &three, &five, &seven)) < end) {
grp               777 fs/ext4/resize.c 		    grp * EXT4_BLOCKS_PER_GROUP(sb) + blk){
grp               780 fs/ext4/resize.c 				     blk, grp,
grp               781 fs/ext4/resize.c 				     grp *
grp               767 fs/ext4/super.c 			     struct super_block *sb, ext4_group_t grp,
grp               790 fs/ext4/super.c 		       sb->s_id, function, line, grp);
grp               808 fs/ext4/super.c 	ext4_unlock_group(sb, grp);
grp               822 fs/ext4/super.c 	ext4_lock_group(sb, grp);
grp               831 fs/ext4/super.c 	struct ext4_group_info *grp = ext4_get_group_info(sb, group);
grp               837 fs/ext4/super.c 					    &grp->bb_state);
grp               840 fs/ext4/super.c 					   grp->bb_free);
grp               845 fs/ext4/super.c 					    &grp->bb_state);
grp              2501 fs/ext4/super.c 	ext4_group_t i, grp = sbi->s_groups_count;
grp              2517 fs/ext4/super.c 		if ((grp == sbi->s_groups_count) &&
grp              2519 fs/ext4/super.c 			grp = i;
grp              2604 fs/ext4/super.c 		*first_not_zeroed = grp;
grp              3461 fs/ext4/super.c static int count_overhead(struct super_block *sb, ext4_group_t grp,
grp              3471 fs/ext4/super.c 		return (ext4_bg_has_super(sb, grp) + ext4_bg_num_gdb(sb, grp) +
grp              3475 fs/ext4/super.c 		(grp * EXT4_BLOCKS_PER_GROUP(sb));
grp              3496 fs/ext4/super.c 		if (i != grp)
grp              3499 fs/ext4/super.c 		if (ext4_bg_has_super(sb, grp)) {
grp              3503 fs/ext4/super.c 		j = ext4_bg_num_gdb(sb, grp);
grp                20 fs/sysfs/group.c 			 const struct attribute_group *grp)
grp                25 fs/sysfs/group.c 	if (grp->attrs)
grp                26 fs/sysfs/group.c 		for (attr = grp->attrs; *attr; attr++)
grp                28 fs/sysfs/group.c 	if (grp->bin_attrs)
grp                29 fs/sysfs/group.c 		for (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++)
grp                35 fs/sysfs/group.c 			const struct attribute_group *grp, int update)
grp                41 fs/sysfs/group.c 	if (grp->attrs) {
grp                42 fs/sysfs/group.c 		for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) {
grp                52 fs/sysfs/group.c 			if (grp->is_visible) {
grp                53 fs/sysfs/group.c 				mode = grp->is_visible(kobj, *attr, i);
grp                69 fs/sysfs/group.c 			remove_files(parent, grp);
grp                74 fs/sysfs/group.c 	if (grp->bin_attrs) {
grp                75 fs/sysfs/group.c 		for (i = 0, bin_attr = grp->bin_attrs; *bin_attr; i++, bin_attr++) {
grp                81 fs/sysfs/group.c 			if (grp->is_bin_visible) {
grp                82 fs/sysfs/group.c 				mode = grp->is_bin_visible(kobj, *bin_attr, i);
grp               100 fs/sysfs/group.c 			remove_files(parent, grp);
grp               108 fs/sysfs/group.c 				 const struct attribute_group *grp)
grp               121 fs/sysfs/group.c 	if (!grp->attrs && !grp->bin_attrs) {
grp               123 fs/sysfs/group.c 			kobj->name, grp->name ?: "");
grp               127 fs/sysfs/group.c 	if (grp->name) {
grp               129 fs/sysfs/group.c 			kn = kernfs_find_and_get(kobj->sd, grp->name);
grp               132 fs/sysfs/group.c 					kobj->name, grp->name);
grp               136 fs/sysfs/group.c 			kn = kernfs_create_dir_ns(kobj->sd, grp->name,
grp               141 fs/sysfs/group.c 					sysfs_warn_dup(kobj->sd, grp->name);
grp               148 fs/sysfs/group.c 	error = create_files(kn, kobj, uid, gid, grp, update);
grp               150 fs/sysfs/group.c 		if (grp->name)
grp               155 fs/sysfs/group.c 	if (grp->name && update)
grp               172 fs/sysfs/group.c 		       const struct attribute_group *grp)
grp               174 fs/sysfs/group.c 	return internal_create_group(kobj, 0, grp);
grp               255 fs/sysfs/group.c 		       const struct attribute_group *grp)
grp               257 fs/sysfs/group.c 	return internal_create_group(kobj, 1, grp);
grp               270 fs/sysfs/group.c 			const struct attribute_group *grp)
grp               275 fs/sysfs/group.c 	if (grp->name) {
grp               276 fs/sysfs/group.c 		kn = kernfs_find_and_get(parent, grp->name);
grp               280 fs/sysfs/group.c 			     grp->name, kobject_name(kobj));
grp               288 fs/sysfs/group.c 	remove_files(kn, grp);
grp               289 fs/sysfs/group.c 	if (grp->name)
grp               326 fs/sysfs/group.c 		       const struct attribute_group *grp)
grp               335 fs/sysfs/group.c 	parent = kernfs_find_and_get(kobj->sd, grp->name);
grp               341 fs/sysfs/group.c 	for ((i = 0, attr = grp->attrs); *attr && !error; (++i, ++attr))
grp               360 fs/sysfs/group.c 		       const struct attribute_group *grp)
grp               365 fs/sysfs/group.c 	parent = kernfs_find_and_get(kobj->sd, grp->name);
grp               367 fs/sysfs/group.c 		for (attr = grp->attrs; *attr; ++attr)
grp               130 fs/xfs/xfs_mru_cache.c 	unsigned int		grp;
grp               168 fs/xfs/xfs_mru_cache.c 	for (grp = 0; grp < mru->grp_count; grp++) {
grp               171 fs/xfs/xfs_mru_cache.c 		lru_list = mru->lists + ((mru->lru_grp + grp) % mru->grp_count);
grp               174 fs/xfs/xfs_mru_cache.c 			       (mru->grp_count + grp) * mru->grp_time;
grp               194 fs/xfs/xfs_mru_cache.c 	unsigned int		grp = 0;
grp               210 fs/xfs/xfs_mru_cache.c 		grp = (now - mru->time_zero) / mru->grp_time;
grp               211 fs/xfs/xfs_mru_cache.c 		grp = (mru->lru_grp + grp) % mru->grp_count;
grp               215 fs/xfs/xfs_mru_cache.c 	list_add_tail(&elem->list_node, mru->lists + grp);
grp               324 fs/xfs/xfs_mru_cache.c 	int			err = 0, grp;
grp               348 fs/xfs/xfs_mru_cache.c 	for (grp = 0; grp < mru->grp_count; grp++)
grp               349 fs/xfs/xfs_mru_cache.c 		INIT_LIST_HEAD(mru->lists + grp);
grp                20 include/linux/attribute_container.h 	const struct attribute_group *grp;
grp                74 include/linux/cred.h static inline int in_group_p(kgid_t grp)
grp                78 include/linux/cred.h static inline int in_egroup_p(kgid_t grp)
grp                82 include/linux/cred.h static inline int groups_search(const struct group_info *group_info, kgid_t grp)
grp              1592 include/linux/device.h 					const struct attribute_group *grp)
grp              1594 include/linux/device.h 	const struct attribute_group *groups[] = { grp, NULL };
grp              1600 include/linux/device.h 				       const struct attribute_group *grp)
grp              1602 include/linux/device.h 	const struct attribute_group *groups[] = { grp, NULL };
grp              1612 include/linux/device.h 					const struct attribute_group *grp);
grp              1614 include/linux/device.h 				     const struct attribute_group *grp);
grp                64 include/linux/lightnvm.h 			u64 grp		: NVM_GEN_CH_BITS;
grp               458 include/linux/lightnvm.h 		l.ppa = ((u64)r.m.grp) << lbaf->ch_offset;
grp               487 include/linux/lightnvm.h 		l.m.grp = (r.ppa & lbaf->ch_mask) >> lbaf->ch_offset;
grp               548 include/linux/lightnvm.h 			ppa64.m.grp = (ppa32 & lbaf->ch_mask) >>
grp               587 include/linux/lightnvm.h 			ppa32 |= ppa64.m.grp << lbaf->ch_offset;
grp               546 include/linux/mfd/twl.h #define MSG_BROADCAST(devgrp, grp, type, type2, state) \
grp               547 include/linux/mfd/twl.h 	( (devgrp) << 13 | 1 << 12 | (grp) << 9 | (type2) << 7 \
grp              8420 include/linux/mlx5/mlx5_ifc.h 	u8         grp[0x6];
grp              8479 include/linux/mlx5/mlx5_ifc.h 	u8         grp[0x6];
grp                87 include/linux/pinctrl/machine.h #define PIN_MAP_MUX_GROUP(dev, state, pinctrl, grp, func)		\
grp                94 include/linux/pinctrl/machine.h 			.group = grp,					\
grp                99 include/linux/pinctrl/machine.h #define PIN_MAP_MUX_GROUP_DEFAULT(dev, pinctrl, grp, func)		\
grp               100 include/linux/pinctrl/machine.h 	PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, pinctrl, grp, func)
grp               102 include/linux/pinctrl/machine.h #define PIN_MAP_MUX_GROUP_HOG(dev, state, grp, func)			\
grp               103 include/linux/pinctrl/machine.h 	PIN_MAP_MUX_GROUP(dev, state, dev, grp, func)
grp               105 include/linux/pinctrl/machine.h #define PIN_MAP_MUX_GROUP_HOG_DEFAULT(dev, grp, func)			\
grp               106 include/linux/pinctrl/machine.h 	PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, dev, grp, func)
grp               130 include/linux/pinctrl/machine.h #define PIN_MAP_CONFIGS_GROUP(dev, state, pinctrl, grp, cfgs)		\
grp               137 include/linux/pinctrl/machine.h 			.group_or_pin = grp,				\
grp               143 include/linux/pinctrl/machine.h #define PIN_MAP_CONFIGS_GROUP_DEFAULT(dev, pinctrl, grp, cfgs)		\
grp               144 include/linux/pinctrl/machine.h 	PIN_MAP_CONFIGS_GROUP(dev, PINCTRL_STATE_DEFAULT, pinctrl, grp, cfgs)
grp               146 include/linux/pinctrl/machine.h #define PIN_MAP_CONFIGS_GROUP_HOG(dev, state, grp, cfgs)		\
grp               147 include/linux/pinctrl/machine.h 	PIN_MAP_CONFIGS_GROUP(dev, state, dev, grp, cfgs)
grp               149 include/linux/pinctrl/machine.h #define PIN_MAP_CONFIGS_GROUP_HOG_DEFAULT(dev, grp, cfgs)		\
grp               150 include/linux/pinctrl/machine.h 	PIN_MAP_CONFIGS_GROUP(dev, PINCTRL_STATE_DEFAULT, dev, grp, cfgs)
grp               274 include/linux/rtc.h int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp);
grp               278 include/linux/rtc.h int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp)
grp               277 include/linux/sysfs.h 				    const struct attribute_group *grp);
grp               283 include/linux/sysfs.h 		       const struct attribute_group *grp);
grp               285 include/linux/sysfs.h 			const struct attribute_group *grp);
grp               293 include/linux/sysfs.h 		       const struct attribute_group *grp);
grp               295 include/linux/sysfs.h 		       const struct attribute_group *grp);
grp               436 include/linux/sysfs.h 				     const struct attribute_group *grp)
grp               454 include/linux/sysfs.h 				const struct attribute_group *grp)
grp               460 include/linux/sysfs.h 				      const struct attribute_group *grp)
grp               481 include/linux/sysfs.h 		       const struct attribute_group *grp)
grp               487 include/linux/sysfs.h 		       const struct attribute_group *grp)
grp                94 include/uapi/linux/mroute.h 	struct in_addr grp;
grp               101 include/uapi/linux/mroute6.h 	struct sockaddr_in6 grp;
grp                97 kernel/groups.c int groups_search(const struct group_info *group_info, kgid_t grp)
grp               108 kernel/groups.c 		if (gid_gt(grp, group_info->gid[mid]))
grp               110 kernel/groups.c 		else if (gid_lt(grp, group_info->gid[mid]))
grp               219 kernel/groups.c int in_group_p(kgid_t grp)
grp               224 kernel/groups.c 	if (!gid_eq(grp, cred->fsgid))
grp               225 kernel/groups.c 		retval = groups_search(cred->group_info, grp);
grp               231 kernel/groups.c int in_egroup_p(kgid_t grp)
grp               236 kernel/groups.c 	if (!gid_eq(grp, cred->egid))
grp               237 kernel/groups.c 		retval = groups_search(cred->group_info, grp);
grp              1516 kernel/module.c 	struct attribute_group grp;
grp              1551 kernel/module.c 			sizeof(sect_attrs->grp.attrs[0]));
grp              1552 kernel/module.c 	size[1] = (nloaded + 1) * sizeof(sect_attrs->grp.attrs[0]);
grp              1558 kernel/module.c 	sect_attrs->grp.name = "sections";
grp              1559 kernel/module.c 	sect_attrs->grp.attrs = (void *)sect_attrs + size[0];
grp              1563 kernel/module.c 	gattr = &sect_attrs->grp.attrs[0];
grp              1583 kernel/module.c 	if (sysfs_create_group(&mod->mkobj.kobj, &sect_attrs->grp))
grp              1596 kernel/module.c 				   &mod->sect_attrs->grp);
grp               531 kernel/params.c 	struct attribute_group grp;
grp               622 kernel/params.c 		mk->mp->grp.name = "parameters";
grp               624 kernel/params.c 		mk->mp->grp.attrs = kzalloc(sizeof(mk->mp->grp.attrs[0]),
grp               627 kernel/params.c 		if (!mk->mp->grp.attrs)
grp               641 kernel/params.c 	new_attrs = krealloc(mk->mp->grp.attrs,
grp               642 kernel/params.c 			     sizeof(mk->mp->grp.attrs[0]) * (mk->mp->num + 2),
grp               646 kernel/params.c 	mk->mp->grp.attrs = new_attrs;
grp               664 kernel/params.c 		mk->mp->grp.attrs[i] = &mk->mp->attrs[i].mattr.attr;
grp               665 kernel/params.c 	mk->mp->grp.attrs[mk->mp->num] = NULL;
grp               673 kernel/params.c 		kfree(mk->mp->grp.attrs);
grp               709 kernel/params.c 	err = sysfs_create_group(&mod->mkobj.kobj, &mod->mkobj.mp->grp);
grp               725 kernel/params.c 		sysfs_remove_group(&mod->mkobj.kobj, &mod->mkobj.mp->grp);
grp               790 kernel/params.c 		sysfs_remove_group(&mk->kobj, &mk->mp->grp);
grp               795 kernel/params.c 	err = sysfs_create_group(&mk->kobj, &mk->mp->grp);
grp               273 kernel/sched/fair.c static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
grp               275 kernel/sched/fair.c 	return grp->my_q;
grp               460 kernel/sched/fair.c static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
grp              2233 kernel/sched/fair.c static inline int get_numa_group(struct numa_group *grp)
grp              2235 kernel/sched/fair.c 	return refcount_inc_not_zero(&grp->refcount);
grp              2238 kernel/sched/fair.c static inline void put_numa_group(struct numa_group *grp)
grp              2240 kernel/sched/fair.c 	if (refcount_dec_and_test(&grp->refcount))
grp              2241 kernel/sched/fair.c 		kfree_rcu(grp, rcu);
grp              2247 kernel/sched/fair.c 	struct numa_group *grp, *my_grp;
grp              2257 kernel/sched/fair.c 		grp = kzalloc(size, GFP_KERNEL | __GFP_NOWARN);
grp              2258 kernel/sched/fair.c 		if (!grp)
grp              2261 kernel/sched/fair.c 		refcount_set(&grp->refcount, 1);
grp              2262 kernel/sched/fair.c 		grp->active_nodes = 1;
grp              2263 kernel/sched/fair.c 		grp->max_faults_cpu = 0;
grp              2264 kernel/sched/fair.c 		spin_lock_init(&grp->lock);
grp              2265 kernel/sched/fair.c 		grp->gid = p->pid;
grp              2267 kernel/sched/fair.c 		grp->faults_cpu = grp->faults + NR_NUMA_HINT_FAULT_TYPES *
grp              2271 kernel/sched/fair.c 			grp->faults[i] = p->numa_faults[i];
grp              2273 kernel/sched/fair.c 		grp->total_faults = p->total_numa_faults;
grp              2275 kernel/sched/fair.c 		grp->nr_tasks++;
grp              2276 kernel/sched/fair.c 		rcu_assign_pointer(p->numa_group, grp);
grp              2285 kernel/sched/fair.c 	grp = rcu_dereference(tsk->numa_group);
grp              2286 kernel/sched/fair.c 	if (!grp)
grp              2290 kernel/sched/fair.c 	if (grp == my_grp)
grp              2297 kernel/sched/fair.c 	if (my_grp->nr_tasks > grp->nr_tasks)
grp              2303 kernel/sched/fair.c 	if (my_grp->nr_tasks == grp->nr_tasks && my_grp > grp)
grp              2317 kernel/sched/fair.c 	if (join && !get_numa_group(grp))
grp              2326 kernel/sched/fair.c 	double_lock_irq(&my_grp->lock, &grp->lock);
grp              2330 kernel/sched/fair.c 		grp->faults[i] += p->numa_faults[i];
grp              2333 kernel/sched/fair.c 	grp->total_faults += p->total_numa_faults;
grp              2336 kernel/sched/fair.c 	grp->nr_tasks++;
grp              2339 kernel/sched/fair.c 	spin_unlock_irq(&grp->lock);
grp              2341 kernel/sched/fair.c 	rcu_assign_pointer(p->numa_group, grp);
grp              2361 kernel/sched/fair.c 	struct numa_group *grp = rcu_dereference_raw(p->numa_group);
grp              2369 kernel/sched/fair.c 	if (grp) {
grp              2370 kernel/sched/fair.c 		spin_lock_irqsave(&grp->lock, flags);
grp              2372 kernel/sched/fair.c 			grp->faults[i] -= p->numa_faults[i];
grp              2373 kernel/sched/fair.c 		grp->total_faults -= p->total_numa_faults;
grp              2375 kernel/sched/fair.c 		grp->nr_tasks--;
grp              2376 kernel/sched/fair.c 		spin_unlock_irqrestore(&grp->lock, flags);
grp              2378 kernel/sched/fair.c 		put_numa_group(grp);
grp              1080 kernel/sys.c   	struct pid *grp;
grp              1085 kernel/sys.c   		grp = task_pgrp(current);
grp              1091 kernel/sys.c   		grp = task_pgrp(p);
grp              1092 kernel/sys.c   		if (!grp)
grp              1099 kernel/sys.c   	retval = pid_vnr(grp);
grp                87 net/8021q/vlan.c 	struct vlan_group *grp;
grp                95 net/8021q/vlan.c 	grp = &vlan_info->grp;
grp                97 net/8021q/vlan.c 	grp->nr_vlan_devs--;
grp               104 net/8021q/vlan.c 	vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL);
grp               113 net/8021q/vlan.c 	if (grp->nr_vlan_devs == 0) {
grp               150 net/8021q/vlan.c 	struct vlan_group *grp;
grp               161 net/8021q/vlan.c 	grp = &vlan_info->grp;
grp               162 net/8021q/vlan.c 	if (grp->nr_vlan_devs == 0) {
grp               171 net/8021q/vlan.c 	err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id);
grp               192 net/8021q/vlan.c 	vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, dev);
grp               193 net/8021q/vlan.c 	grp->nr_vlan_devs++;
grp               200 net/8021q/vlan.c 	if (grp->nr_vlan_devs == 0)
grp               203 net/8021q/vlan.c 	if (grp->nr_vlan_devs == 0)
grp               366 net/8021q/vlan.c 	struct vlan_group *grp;
grp               395 net/8021q/vlan.c 	grp = &vlan_info->grp;
grp               404 net/8021q/vlan.c 		vlan_group_for_each_dev(grp, i, vlandev)
grp               411 net/8021q/vlan.c 		vlan_group_for_each_dev(grp, i, vlandev) {
grp               421 net/8021q/vlan.c 		vlan_group_for_each_dev(grp, i, vlandev) {
grp               431 net/8021q/vlan.c 		vlan_group_for_each_dev(grp, i, vlandev)
grp               440 net/8021q/vlan.c 		vlan_group_for_each_dev(grp, i, vlandev) {
grp               462 net/8021q/vlan.c 		vlan_group_for_each_dev(grp, i, vlandev) {
grp               480 net/8021q/vlan.c 		vlan_group_for_each_dev(grp, i, vlandev) {
grp               503 net/8021q/vlan.c 		vlan_group_for_each_dev(grp, i, vlandev)
grp                33 net/8021q/vlan.h 	struct vlan_group	grp;
grp                89 net/8021q/vlan.h 		return vlan_group_get_device(&vlan_info->grp,
grp               107 net/8021q/vlan.h #define vlan_group_for_each_dev(grp, i, dev) \
grp               109 net/8021q/vlan.h 		if (((dev) = __vlan_group_get_device((grp), (i) / VLAN_N_VID, \
grp                81 net/8021q/vlan_core.c 		return vlan_group_get_device(&vlan_info->grp,
grp               128 net/8021q/vlan_core.c static void vlan_group_free(struct vlan_group *grp)
grp               134 net/8021q/vlan_core.c 			kfree(grp->vlan_devices_arrays[i][j]);
grp               139 net/8021q/vlan_core.c 	vlan_group_free(&vlan_info->grp);
grp               242 net/8021q/vlan_core.c 		vdev = vlan_group_get_device(&vlan_info->grp, vid_info->proto,
grp               453 net/8021q/vlan_core.c 	return vlan_info->grp.nr_vlan_devs ? true : false;
grp               311 net/bridge/br_multicast.c 						    const struct in6_addr *grp,
grp               374 net/bridge/br_multicast.c 	interval = ipv6_addr_any(grp) ?
grp               386 net/bridge/br_multicast.c 		mldq->mld_mca = *grp;
grp               405 net/bridge/br_multicast.c 		mld2q->mld2q_mca = *grp;
grp              1650 net/ipv4/ipmr.c 		c = ipmr_cache_find(mrt, sr.src.s_addr, sr.grp.s_addr);
grp              1671 net/ipv4/ipmr.c 	struct in_addr grp;
grp              1725 net/ipv4/ipmr.c 		c = ipmr_cache_find(mrt, sr.src.s_addr, sr.grp.s_addr);
grp              2546 net/ipv4/ipmr.c 	__be32 src, grp;
grp              2555 net/ipv4/ipmr.c 	grp = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0;
grp              2566 net/ipv4/ipmr.c 	cache = ipmr_cache_find(mrt, src, grp);
grp              1889 net/ipv6/ip6mr.c 		c = ip6mr_cache_find(mrt, &sr.src.sin6_addr, &sr.grp.sin6_addr);
grp              1910 net/ipv6/ip6mr.c 	struct sockaddr_in6 grp;
grp              1964 net/ipv6/ip6mr.c 		c = ip6mr_cache_find(mrt, &sr.src.sin6_addr, &sr.grp.sin6_addr);
grp                90 net/netlink/genetlink.c 			   const struct genl_multicast_group *grp,
grp               195 net/netlink/genetlink.c 		const struct genl_multicast_group *grp = &family->mcgrps[i];
grp               197 net/netlink/genetlink.c 		if (WARN_ON(grp->name[0] == '\0'))
grp               199 net/netlink/genetlink.c 		if (WARN_ON(memchr(grp->name, '\0', GENL_NAMSIZ) == NULL))
grp               735 net/netlink/genetlink.c 			const struct genl_multicast_group *grp;
grp               737 net/netlink/genetlink.c 			grp = &family->mcgrps[i];
grp               746 net/netlink/genetlink.c 					   grp->name))
grp               763 net/netlink/genetlink.c 				const struct genl_multicast_group *grp,
grp               789 net/netlink/genetlink.c 			   grp->name))
grp               851 net/netlink/genetlink.c 		     const struct genl_multicast_group *grp,
grp               861 net/netlink/genetlink.c 	err = ctrl_fill_mcgrp_info(family, grp, grp_id, portid,
grp               925 net/netlink/genetlink.c 			   const struct genl_multicast_group *grp,
grp               937 net/netlink/genetlink.c 		WARN_ON(grp);
grp               942 net/netlink/genetlink.c 		BUG_ON(!grp);
grp               943 net/netlink/genetlink.c 		msg = ctrl_build_mcgrp_msg(family, grp, grp_id, 0, 0, event);
grp               151 net/sched/sch_qfq.c 	struct qfq_group *grp;
grp               297 net/sched/sch_qfq.c 	if (agg->grp == NULL) {
grp               300 net/sched/sch_qfq.c 		agg->grp = &q->groups[i];
grp               746 net/sched/sch_qfq.c static int qfq_calc_state(struct qfq_sched *q, const struct qfq_group *grp)
grp               749 net/sched/sch_qfq.c 	unsigned int state = qfq_gt(grp->S, q->V);
grp               750 net/sched/sch_qfq.c 	unsigned long mask = mask_from(q->bitmaps[ER], grp->index);
grp               755 net/sched/sch_qfq.c 		if (qfq_gt(grp->F, next->F))
grp               876 net/sched/sch_qfq.c static void qfq_slot_insert(struct qfq_group *grp, struct qfq_aggregate *agg,
grp               879 net/sched/sch_qfq.c 	u64 slot = (roundedS - grp->S) >> grp->slot_shift;
grp               883 net/sched/sch_qfq.c 		u64 deltaS = roundedS - grp->S -
grp               884 net/sched/sch_qfq.c 			((u64)(QFQ_MAX_SLOTS - 2)<<grp->slot_shift);
grp               890 net/sched/sch_qfq.c 	i = (grp->front + slot) % QFQ_MAX_SLOTS;
grp               892 net/sched/sch_qfq.c 	hlist_add_head(&agg->next, &grp->slots[i]);
grp               893 net/sched/sch_qfq.c 	__set_bit(slot, &grp->full_slots);
grp               897 net/sched/sch_qfq.c static struct qfq_aggregate *qfq_slot_head(struct qfq_group *grp)
grp               899 net/sched/sch_qfq.c 	return hlist_entry(grp->slots[grp->front].first,
grp               906 net/sched/sch_qfq.c static void qfq_front_slot_remove(struct qfq_group *grp)
grp               908 net/sched/sch_qfq.c 	struct qfq_aggregate *agg = qfq_slot_head(grp);
grp               912 net/sched/sch_qfq.c 	if (hlist_empty(&grp->slots[grp->front]))
grp               913 net/sched/sch_qfq.c 		__clear_bit(0, &grp->full_slots);
grp               921 net/sched/sch_qfq.c static struct qfq_aggregate *qfq_slot_scan(struct qfq_group *grp)
grp               926 net/sched/sch_qfq.c 		 grp->index, grp->full_slots);
grp               928 net/sched/sch_qfq.c 	if (grp->full_slots == 0)
grp               931 net/sched/sch_qfq.c 	i = __ffs(grp->full_slots);  /* zero based */
grp               933 net/sched/sch_qfq.c 		grp->front = (grp->front + i) % QFQ_MAX_SLOTS;
grp               934 net/sched/sch_qfq.c 		grp->full_slots >>= i;
grp               937 net/sched/sch_qfq.c 	return qfq_slot_head(grp);
grp               949 net/sched/sch_qfq.c static void qfq_slot_rotate(struct qfq_group *grp, u64 roundedS)
grp               951 net/sched/sch_qfq.c 	unsigned int i = (grp->S - roundedS) >> grp->slot_shift;
grp               953 net/sched/sch_qfq.c 	grp->full_slots <<= i;
grp               954 net/sched/sch_qfq.c 	grp->front = (grp->front - i) % QFQ_MAX_SLOTS;
grp               959 net/sched/sch_qfq.c 	struct qfq_group *grp;
grp               965 net/sched/sch_qfq.c 			grp = qfq_ffs(q, ineligible);
grp               966 net/sched/sch_qfq.c 			if (qfq_gt(grp->S, q->V))
grp               967 net/sched/sch_qfq.c 				q->V = grp->S;
grp              1035 net/sched/sch_qfq.c 	int slot_shift = agg->grp->slot_shift;
grp              1042 net/sched/sch_qfq.c 		mask = mask_from(q->bitmaps[ER], agg->grp->index);
grp              1156 net/sched/sch_qfq.c 	struct qfq_group *grp;
grp              1166 net/sched/sch_qfq.c 	grp = qfq_ffs(q, q->bitmaps[ER]);
grp              1167 net/sched/sch_qfq.c 	old_F = grp->F;
grp              1169 net/sched/sch_qfq.c 	agg = qfq_slot_head(grp);
grp              1172 net/sched/sch_qfq.c 	qfq_front_slot_remove(grp);
grp              1174 net/sched/sch_qfq.c 	new_front_agg = qfq_slot_scan(grp);
grp              1177 net/sched/sch_qfq.c 		__clear_bit(grp->index, &q->bitmaps[ER]);
grp              1180 net/sched/sch_qfq.c 					      grp->slot_shift);
grp              1183 net/sched/sch_qfq.c 		if (grp->S == roundedS)
grp              1185 net/sched/sch_qfq.c 		grp->S = roundedS;
grp              1186 net/sched/sch_qfq.c 		grp->F = roundedS + (2ULL << grp->slot_shift);
grp              1187 net/sched/sch_qfq.c 		__clear_bit(grp->index, &q->bitmaps[ER]);
grp              1188 net/sched/sch_qfq.c 		s = qfq_calc_state(q, grp);
grp              1189 net/sched/sch_qfq.c 		__set_bit(grp->index, &q->bitmaps[s]);
grp              1192 net/sched/sch_qfq.c 	qfq_unblock_groups(q, grp->index, old_F);
grp              1272 net/sched/sch_qfq.c 	struct qfq_group *grp = agg->grp;
grp              1276 net/sched/sch_qfq.c 	roundedS = qfq_round_down(agg->S, grp->slot_shift);
grp              1287 net/sched/sch_qfq.c 	if (grp->full_slots) {
grp              1288 net/sched/sch_qfq.c 		if (!qfq_gt(grp->S, agg->S))
grp              1292 net/sched/sch_qfq.c 		qfq_slot_rotate(grp, roundedS);
grp              1294 net/sched/sch_qfq.c 		__clear_bit(grp->index, &q->bitmaps[IR]);
grp              1295 net/sched/sch_qfq.c 		__clear_bit(grp->index, &q->bitmaps[IB]);
grp              1300 net/sched/sch_qfq.c 	grp->S = roundedS;
grp              1301 net/sched/sch_qfq.c 	grp->F = roundedS + (2ULL << grp->slot_shift);
grp              1302 net/sched/sch_qfq.c 	s = qfq_calc_state(q, grp);
grp              1303 net/sched/sch_qfq.c 	__set_bit(grp->index, &q->bitmaps[s]);
grp              1312 net/sched/sch_qfq.c 	qfq_slot_insert(grp, agg, roundedS);
grp              1331 net/sched/sch_qfq.c static void qfq_slot_remove(struct qfq_sched *q, struct qfq_group *grp,
grp              1337 net/sched/sch_qfq.c 	roundedS = qfq_round_down(agg->S, grp->slot_shift);
grp              1338 net/sched/sch_qfq.c 	offset = (roundedS - grp->S) >> grp->slot_shift;
grp              1340 net/sched/sch_qfq.c 	i = (grp->front + offset) % QFQ_MAX_SLOTS;
grp              1343 net/sched/sch_qfq.c 	if (hlist_empty(&grp->slots[i]))
grp              1344 net/sched/sch_qfq.c 		__clear_bit(offset, &grp->full_slots);
grp              1356 net/sched/sch_qfq.c 	struct qfq_group *grp = agg->grp;
grp              1368 net/sched/sch_qfq.c 	qfq_slot_remove(q, grp, agg);
grp              1370 net/sched/sch_qfq.c 	if (!grp->full_slots) {
grp              1371 net/sched/sch_qfq.c 		__clear_bit(grp->index, &q->bitmaps[IR]);
grp              1372 net/sched/sch_qfq.c 		__clear_bit(grp->index, &q->bitmaps[EB]);
grp              1373 net/sched/sch_qfq.c 		__clear_bit(grp->index, &q->bitmaps[IB]);
grp              1375 net/sched/sch_qfq.c 		if (test_bit(grp->index, &q->bitmaps[ER]) &&
grp              1376 net/sched/sch_qfq.c 		    !(q->bitmaps[ER] & ~((1UL << grp->index) - 1))) {
grp              1377 net/sched/sch_qfq.c 			mask = q->bitmaps[ER] & ((1UL << grp->index) - 1);
grp              1385 net/sched/sch_qfq.c 		__clear_bit(grp->index, &q->bitmaps[ER]);
grp              1386 net/sched/sch_qfq.c 	} else if (hlist_empty(&grp->slots[grp->front])) {
grp              1387 net/sched/sch_qfq.c 		agg = qfq_slot_scan(grp);
grp              1388 net/sched/sch_qfq.c 		roundedS = qfq_round_down(agg->S, grp->slot_shift);
grp              1389 net/sched/sch_qfq.c 		if (grp->S != roundedS) {
grp              1390 net/sched/sch_qfq.c 			__clear_bit(grp->index, &q->bitmaps[ER]);
grp              1391 net/sched/sch_qfq.c 			__clear_bit(grp->index, &q->bitmaps[IR]);
grp              1392 net/sched/sch_qfq.c 			__clear_bit(grp->index, &q->bitmaps[EB]);
grp              1393 net/sched/sch_qfq.c 			__clear_bit(grp->index, &q->bitmaps[IB]);
grp              1394 net/sched/sch_qfq.c 			grp->S = roundedS;
grp              1395 net/sched/sch_qfq.c 			grp->F = roundedS + (2ULL << grp->slot_shift);
grp              1396 net/sched/sch_qfq.c 			s = qfq_calc_state(q, grp);
grp              1397 net/sched/sch_qfq.c 			__set_bit(grp->index, &q->bitmaps[s]);
grp              1414 net/sched/sch_qfq.c 	struct qfq_group *grp;
grp              1439 net/sched/sch_qfq.c 		grp = &q->groups[i];
grp              1440 net/sched/sch_qfq.c 		grp->index = i;
grp              1441 net/sched/sch_qfq.c 		grp->slot_shift = q->min_slot_shift + i;
grp              1443 net/sched/sch_qfq.c 			INIT_HLIST_HEAD(&grp->slots[j]);
grp               101 net/tipc/group.c static void tipc_group_proto_xmit(struct tipc_group *grp, struct tipc_member *m,
grp               114 net/tipc/group.c static void tipc_group_decr_active(struct tipc_group *grp,
grp               119 net/tipc/group.c 		grp->active_cnt--;
grp               122 net/tipc/group.c static int tipc_group_rcvbuf_limit(struct tipc_group *grp)
grp               125 net/tipc/group.c 	int mcnt = grp->member_cnt + 1;
grp               130 net/tipc/group.c 	grp->max_active = max_active;
grp               140 net/tipc/group.c u16 tipc_group_bc_snd_nxt(struct tipc_group *grp)
grp               142 net/tipc/group.c 	return grp->bc_snd_nxt;
grp               155 net/tipc/group.c u32 tipc_group_exclude(struct tipc_group *grp)
grp               157 net/tipc/group.c 	if (!grp->loopback)
grp               158 net/tipc/group.c 		return grp->portid;
grp               168 net/tipc/group.c 	struct tipc_group *grp;
grp               171 net/tipc/group.c 	grp = kzalloc(sizeof(*grp), GFP_ATOMIC);
grp               172 net/tipc/group.c 	if (!grp)
grp               174 net/tipc/group.c 	tipc_nlist_init(&grp->dests, tipc_own_addr(net));
grp               175 net/tipc/group.c 	INIT_LIST_HEAD(&grp->small_win);
grp               176 net/tipc/group.c 	INIT_LIST_HEAD(&grp->active);
grp               177 net/tipc/group.c 	INIT_LIST_HEAD(&grp->pending);
grp               178 net/tipc/group.c 	grp->members = RB_ROOT;
grp               179 net/tipc/group.c 	grp->net = net;
grp               180 net/tipc/group.c 	grp->portid = portid;
grp               181 net/tipc/group.c 	grp->type = type;
grp               182 net/tipc/group.c 	grp->instance = mreq->instance;
grp               183 net/tipc/group.c 	grp->scope = mreq->scope;
grp               184 net/tipc/group.c 	grp->loopback = mreq->flags & TIPC_GROUP_LOOPBACK;
grp               185 net/tipc/group.c 	grp->events = mreq->flags & TIPC_GROUP_MEMBER_EVTS;
grp               186 net/tipc/group.c 	grp->open = group_is_open;
grp               187 net/tipc/group.c 	*grp->open = false;
grp               190 net/tipc/group.c 				    filter, &grp->subid))
grp               191 net/tipc/group.c 		return grp;
grp               192 net/tipc/group.c 	kfree(grp);
grp               196 net/tipc/group.c void tipc_group_join(struct net *net, struct tipc_group *grp, int *sk_rcvbuf)
grp               198 net/tipc/group.c 	struct rb_root *tree = &grp->members;
grp               204 net/tipc/group.c 		tipc_group_proto_xmit(grp, m, GRP_JOIN_MSG, &xmitq);
grp               208 net/tipc/group.c 	*sk_rcvbuf = tipc_group_rcvbuf_limit(grp);
grp               211 net/tipc/group.c void tipc_group_delete(struct net *net, struct tipc_group *grp)
grp               213 net/tipc/group.c 	struct rb_root *tree = &grp->members;
grp               220 net/tipc/group.c 		tipc_group_proto_xmit(grp, m, GRP_LEAVE_MSG, &xmitq);
grp               226 net/tipc/group.c 	tipc_nlist_purge(&grp->dests);
grp               227 net/tipc/group.c 	tipc_topsrv_kern_unsubscr(net, grp->subid);
grp               228 net/tipc/group.c 	kfree(grp);
grp               231 net/tipc/group.c static struct tipc_member *tipc_group_find_member(struct tipc_group *grp,
grp               234 net/tipc/group.c 	struct rb_node *n = grp->members.rb_node;
grp               251 net/tipc/group.c static struct tipc_member *tipc_group_find_dest(struct tipc_group *grp,
grp               256 net/tipc/group.c 	m = tipc_group_find_member(grp, node, port);
grp               262 net/tipc/group.c static struct tipc_member *tipc_group_find_node(struct tipc_group *grp,
grp               268 net/tipc/group.c 	for (n = rb_first(&grp->members); n; n = rb_next(n)) {
grp               276 net/tipc/group.c static void tipc_group_add_to_tree(struct tipc_group *grp,
grp               283 net/tipc/group.c 	n = &grp->members.rb_node;
grp               297 net/tipc/group.c 	rb_insert_color(&m->tree_node, &grp->members);
grp               300 net/tipc/group.c static struct tipc_member *tipc_group_create_member(struct tipc_group *grp,
grp               312 net/tipc/group.c 	m->group = grp;
grp               316 net/tipc/group.c 	m->bc_acked = grp->bc_snd_nxt - 1;
grp               317 net/tipc/group.c 	grp->member_cnt++;
grp               318 net/tipc/group.c 	tipc_group_add_to_tree(grp, m);
grp               319 net/tipc/group.c 	tipc_nlist_add(&grp->dests, m->node);
grp               324 net/tipc/group.c void tipc_group_add_member(struct tipc_group *grp, u32 node,
grp               327 net/tipc/group.c 	tipc_group_create_member(grp, node, port, instance, MBR_PUBLISHED);
grp               330 net/tipc/group.c static void tipc_group_delete_member(struct tipc_group *grp,
grp               333 net/tipc/group.c 	rb_erase(&m->tree_node, &grp->members);
grp               334 net/tipc/group.c 	grp->member_cnt--;
grp               337 net/tipc/group.c 	if (grp->bc_ackers && less(m->bc_acked, grp->bc_snd_nxt - 1))
grp               338 net/tipc/group.c 		grp->bc_ackers--;
grp               342 net/tipc/group.c 	tipc_group_decr_active(grp, m);
grp               345 net/tipc/group.c 	if (!tipc_group_find_node(grp, m->node))
grp               346 net/tipc/group.c 		tipc_nlist_del(&grp->dests, m->node);
grp               351 net/tipc/group.c struct tipc_nlist *tipc_group_dests(struct tipc_group *grp)
grp               353 net/tipc/group.c 	return &grp->dests;
grp               356 net/tipc/group.c void tipc_group_self(struct tipc_group *grp, struct tipc_name_seq *seq,
grp               359 net/tipc/group.c 	seq->type = grp->type;
grp               360 net/tipc/group.c 	seq->lower = grp->instance;
grp               361 net/tipc/group.c 	seq->upper = grp->instance;
grp               362 net/tipc/group.c 	*scope = grp->scope;
grp               367 net/tipc/group.c 	struct tipc_group *grp = m->group;
grp               381 net/tipc/group.c 	list_for_each_entry_safe(_m, tmp, &grp->small_win, small_win) {
grp               388 net/tipc/group.c void tipc_group_update_bc_members(struct tipc_group *grp, int len, bool ack)
grp               390 net/tipc/group.c 	u16 prev = grp->bc_snd_nxt - 1;
grp               395 net/tipc/group.c 	for (n = rb_first(&grp->members); n; n = rb_next(n)) {
grp               406 net/tipc/group.c 		grp->bc_ackers = ackers;
grp               407 net/tipc/group.c 	grp->bc_snd_nxt++;
grp               410 net/tipc/group.c bool tipc_group_cong(struct tipc_group *grp, u32 dnode, u32 dport,
grp               417 net/tipc/group.c 	m = tipc_group_find_dest(grp, dnode, dport);
grp               427 net/tipc/group.c 	*grp->open = false;
grp               439 net/tipc/group.c 	tipc_group_proto_xmit(grp, m, GRP_ADV_MSG, &xmitq);
grp               440 net/tipc/group.c 	tipc_node_distr_xmit(grp->net, &xmitq);
grp               444 net/tipc/group.c bool tipc_group_bc_cong(struct tipc_group *grp, int len)
grp               449 net/tipc/group.c 	if (grp->bc_ackers) {
grp               450 net/tipc/group.c 		*grp->open = false;
grp               453 net/tipc/group.c 	if (list_empty(&grp->small_win))
grp               456 net/tipc/group.c 	m = list_first_entry(&grp->small_win, struct tipc_member, small_win);
grp               460 net/tipc/group.c 	return tipc_group_cong(grp, m->node, m->port, len, &m);
grp               489 net/tipc/group.c void tipc_group_filter_msg(struct tipc_group *grp, struct sk_buff_head *inputq,
grp               510 net/tipc/group.c 	m = tipc_group_find_member(grp, node, port);
grp               535 net/tipc/group.c 			if (msg_nameinst(hdr) != grp->instance) {
grp               549 net/tipc/group.c 			if (!grp->events)
grp               564 net/tipc/group.c 			tipc_group_proto_xmit(grp, m, GRP_ACK_MSG, xmitq);
grp               568 net/tipc/group.c 			tipc_group_delete_member(grp, m);
grp               574 net/tipc/group.c 		tipc_group_update_rcv_win(grp, blks, node, port, xmitq);
grp               581 net/tipc/group.c void tipc_group_update_rcv_win(struct tipc_group *grp, int blks, u32 node,
grp               584 net/tipc/group.c 	struct list_head *active = &grp->active;
grp               585 net/tipc/group.c 	int max_active = grp->max_active;
grp               587 net/tipc/group.c 	int active_cnt = grp->active_cnt;
grp               590 net/tipc/group.c 	m = tipc_group_find_member(grp, node, port);
grp               602 net/tipc/group.c 			grp->active_cnt++;
grp               603 net/tipc/group.c 			tipc_group_proto_xmit(grp, m, GRP_ADV_MSG, xmitq);
grp               606 net/tipc/group.c 			list_add_tail(&m->list, &grp->pending);
grp               617 net/tipc/group.c 			tipc_group_proto_xmit(grp, rm, GRP_RECLAIM_MSG, xmitq);
grp               621 net/tipc/group.c 		pm = list_first_entry(&grp->pending, struct tipc_member, list);
grp               624 net/tipc/group.c 		tipc_group_proto_xmit(grp, pm, GRP_ADV_MSG, xmitq);
grp               627 net/tipc/group.c 		if (!list_is_last(&m->list, &grp->active))
grp               628 net/tipc/group.c 			list_move_tail(&m->list, &grp->active);
grp               631 net/tipc/group.c 		tipc_group_proto_xmit(grp, m, GRP_ADV_MSG, xmitq);
grp               637 net/tipc/group.c 		grp->active_cnt--;
grp               640 net/tipc/group.c 			tipc_group_proto_xmit(grp, m, GRP_ADV_MSG, xmitq);
grp               643 net/tipc/group.c 		if (list_empty(&grp->pending))
grp               647 net/tipc/group.c 		pm = list_first_entry(&grp->pending, struct tipc_member, list);
grp               649 net/tipc/group.c 		list_move_tail(&pm->list, &grp->active);
grp               650 net/tipc/group.c 		grp->active_cnt++;
grp               651 net/tipc/group.c 		tipc_group_proto_xmit(grp, pm, GRP_ADV_MSG, xmitq);
grp               661 net/tipc/group.c static void tipc_group_create_event(struct tipc_group *grp,
grp               665 net/tipc/group.c {	u32 dnode = tipc_own_addr(grp->net);
grp               676 net/tipc/group.c 	evt.s.seq.type = grp->type;
grp               682 net/tipc/group.c 			      grp->portid, m->port, 0);
grp               687 net/tipc/group.c 	msg_set_nametype(hdr, grp->type);
grp               696 net/tipc/group.c static void tipc_group_proto_xmit(struct tipc_group *grp, struct tipc_member *m,
grp               704 net/tipc/group.c 			      m->node, tipc_own_addr(grp->net),
grp               705 net/tipc/group.c 			      m->port, grp->portid, 0);
grp               717 net/tipc/group.c 		msg_set_grp_bc_syncpt(hdr, grp->bc_snd_nxt);
grp               721 net/tipc/group.c 		msg_set_grp_bc_syncpt(hdr, grp->bc_snd_nxt);
grp               734 net/tipc/group.c void tipc_group_proto_rcv(struct tipc_group *grp, bool *usr_wakeup,
grp               743 net/tipc/group.c 	if (!grp)
grp               746 net/tipc/group.c 	if (grp->scope == TIPC_NODE_SCOPE && node != tipc_own_addr(grp->net))
grp               749 net/tipc/group.c 	m = tipc_group_find_member(grp, node, port);
grp               754 net/tipc/group.c 			m = tipc_group_create_member(grp, node, port,
grp               770 net/tipc/group.c 		tipc_group_proto_xmit(grp, m, GRP_ADV_MSG, xmitq);
grp               771 net/tipc/group.c 		tipc_group_create_event(grp, m, TIPC_PUBLISHED,
grp               780 net/tipc/group.c 		tipc_group_decr_active(grp, m);
grp               782 net/tipc/group.c 		tipc_group_create_event(grp, m, TIPC_WITHDRAWN,
grp               795 net/tipc/group.c 		if (--grp->bc_ackers)
grp               805 net/tipc/group.c 		tipc_group_proto_xmit(grp, m, GRP_REMIT_MSG, xmitq);
grp               828 net/tipc/group.c 		grp->active_cnt--;
grp               832 net/tipc/group.c 		if (list_empty(&grp->pending))
grp               834 net/tipc/group.c 		pm = list_first_entry(&grp->pending, struct tipc_member, list);
grp               836 net/tipc/group.c 		list_move_tail(&pm->list, &grp->active);
grp               837 net/tipc/group.c 		grp->active_cnt++;
grp               839 net/tipc/group.c 			tipc_group_proto_xmit(grp, pm, GRP_ADV_MSG, xmitq);
grp               848 net/tipc/group.c void tipc_group_member_evt(struct tipc_group *grp,
grp               864 net/tipc/group.c 	if (!grp)
grp               867 net/tipc/group.c 	net = grp->net;
grp               869 net/tipc/group.c 	if (!grp->loopback && node == self && port == grp->portid)
grp               872 net/tipc/group.c 	m = tipc_group_find_member(grp, node, port);
grp               878 net/tipc/group.c 			m = tipc_group_create_member(grp, node, port, instance,
grp               883 net/tipc/group.c 			tipc_group_proto_xmit(grp, m, GRP_JOIN_MSG, xmitq);
grp               895 net/tipc/group.c 		tipc_group_proto_xmit(grp, m, GRP_JOIN_MSG, xmitq);
grp               896 net/tipc/group.c 		tipc_group_create_event(grp, m, TIPC_PUBLISHED,
grp               903 net/tipc/group.c 		tipc_group_decr_active(grp, m);
grp               910 net/tipc/group.c 			tipc_group_create_event(grp, m, TIPC_WITHDRAWN,
grp               916 net/tipc/group.c 	*sk_rcvbuf = tipc_group_rcvbuf_limit(grp);
grp               919 net/tipc/group.c int tipc_group_fill_sock_diag(struct tipc_group *grp, struct sk_buff *skb)
grp               927 net/tipc/group.c 			grp->type) ||
grp               929 net/tipc/group.c 			grp->instance) ||
grp               931 net/tipc/group.c 			grp->bc_snd_nxt))
grp               934 net/tipc/group.c 	if (grp->scope == TIPC_NODE_SCOPE)
grp               938 net/tipc/group.c 	if (grp->scope == TIPC_CLUSTER_SCOPE)
grp               942 net/tipc/group.c 	if (*grp->open)
grp                48 net/tipc/group.h void tipc_group_join(struct net *net, struct tipc_group *grp, int *sk_rcv_buf);
grp                49 net/tipc/group.h void tipc_group_delete(struct net *net, struct tipc_group *grp);
grp                50 net/tipc/group.h void tipc_group_add_member(struct tipc_group *grp, u32 node,
grp                52 net/tipc/group.h struct tipc_nlist *tipc_group_dests(struct tipc_group *grp);
grp                53 net/tipc/group.h void tipc_group_self(struct tipc_group *grp, struct tipc_name_seq *seq,
grp                55 net/tipc/group.h u32 tipc_group_exclude(struct tipc_group *grp);
grp                56 net/tipc/group.h void tipc_group_filter_msg(struct tipc_group *grp,
grp                59 net/tipc/group.h void tipc_group_member_evt(struct tipc_group *grp, bool *wakeup,
grp                63 net/tipc/group.h void tipc_group_proto_rcv(struct tipc_group *grp, bool *wakeup,
grp                67 net/tipc/group.h void tipc_group_update_bc_members(struct tipc_group *grp, int len, bool ack);
grp                68 net/tipc/group.h bool tipc_group_cong(struct tipc_group *grp, u32 dnode, u32 dport,
grp                70 net/tipc/group.h bool tipc_group_bc_cong(struct tipc_group *grp, int len);
grp                71 net/tipc/group.h void tipc_group_update_rcv_win(struct tipc_group *grp, int blks, u32 node,
grp                73 net/tipc/group.h u16 tipc_group_bc_snd_nxt(struct tipc_group *grp);
grp                75 net/tipc/group.h int tipc_group_fill_sock_diag(struct tipc_group *grp, struct sk_buff *skb);
grp               581 net/tipc/name_table.c void tipc_nametbl_build_group(struct net *net, struct tipc_group *grp,
grp               600 net/tipc/name_table.c 			tipc_group_add_member(grp, p->node, p->port, p->lower);
grp               112 net/tipc/name_table.h void tipc_nametbl_build_group(struct net *net, struct tipc_group *grp,
grp              1097 net/tipc/socket.c 	struct tipc_group *grp = tsk->group;
grp              1109 net/tipc/socket.c 	exclude = tipc_group_exclude(grp);
grp              1305 net/tipc/socket.c 	struct tipc_group *grp = tsk->group;
grp              1323 net/tipc/socket.c 	if (grp) {
grp              1986 net/tipc/socket.c 	struct tipc_group *grp = tsk->group;
grp              2001 net/tipc/socket.c 		tipc_group_proto_rcv(grp, &wakeup, hdr, inputq, xmitq);
grp              2155 net/tipc/socket.c 	struct tipc_group *grp = tsk->group;
grp              2170 net/tipc/socket.c 	if (unlikely(grp))
grp              2171 net/tipc/socket.c 		tipc_group_filter_msg(grp, &inputq, xmitq);
grp              2173 net/tipc/socket.c 	if (unlikely(!grp) && mtyp == TIPC_MCAST_MSG)
grp              2182 net/tipc/socket.c 		    (!grp && msg_in_group(hdr)))
grp              2886 net/tipc/socket.c 	struct tipc_group *grp = tsk->group;
grp              2895 net/tipc/socket.c 	if (grp)
grp              2897 net/tipc/socket.c 	grp = tipc_group_create(net, tsk->portid, mreq, &tsk->group_is_open);
grp              2898 net/tipc/socket.c 	if (!grp)
grp              2900 net/tipc/socket.c 	tsk->group = grp;
grp              2907 net/tipc/socket.c 	tipc_nametbl_build_group(net, grp, mreq->type, mreq->scope);
grp              2910 net/tipc/socket.c 		tipc_group_delete(net, grp);
grp              2917 net/tipc/socket.c 	tipc_group_join(net, grp, &tsk->sk.sk_rcvbuf);
grp              2924 net/tipc/socket.c 	struct tipc_group *grp = tsk->group;
grp              2928 net/tipc/socket.c 	if (!grp)
grp              2930 net/tipc/socket.c 	tipc_group_self(grp, &seq, &scope);
grp              2931 net/tipc/socket.c 	tipc_group_delete(net, grp);
grp               670 sound/core/seq/seq_clientmgr.c 	struct snd_seq_port_subs_info *grp;
grp               677 sound/core/seq/seq_clientmgr.c 	grp = &src_port->c_src;
grp               681 sound/core/seq/seq_clientmgr.c 		read_lock(&grp->list_lock);
grp               683 sound/core/seq/seq_clientmgr.c 		down_read_nested(&grp->list_mutex, hop);
grp               684 sound/core/seq/seq_clientmgr.c 	list_for_each_entry(subs, &grp->list_head, src_list) {
grp               706 sound/core/seq/seq_clientmgr.c 		read_unlock(&grp->list_lock);
grp               708 sound/core/seq/seq_clientmgr.c 		up_read(&grp->list_mutex);
grp                98 sound/core/seq/seq_ports.c static void port_subs_info_init(struct snd_seq_port_subs_info *grp)
grp               100 sound/core/seq/seq_ports.c 	INIT_LIST_HEAD(&grp->list_head);
grp               101 sound/core/seq/seq_ports.c 	grp->count = 0;
grp               102 sound/core/seq/seq_ports.c 	grp->exclusive = 0;
grp               103 sound/core/seq/seq_ports.c 	rwlock_init(&grp->list_lock);
grp               104 sound/core/seq/seq_ports.c 	init_rwsem(&grp->list_mutex);
grp               105 sound/core/seq/seq_ports.c 	grp->open = NULL;
grp               106 sound/core/seq/seq_ports.c 	grp->close = NULL;
grp               165 sound/core/seq/seq_ports.c 			  struct snd_seq_port_subs_info *grp,
grp               169 sound/core/seq/seq_ports.c 			    struct snd_seq_port_subs_info *grp,
grp               209 sound/core/seq/seq_ports.c 				  struct snd_seq_port_subs_info *grp,
grp               214 sound/core/seq/seq_ports.c 	list_for_each_safe(p, n, &grp->list_head) {
grp               402 sound/core/seq/seq_ports.c 			  struct snd_seq_port_subs_info *grp,
grp               410 sound/core/seq/seq_ports.c 	grp->count++;
grp               411 sound/core/seq/seq_ports.c 	if (grp->open && grp->count == 1) {
grp               412 sound/core/seq/seq_ports.c 		err = grp->open(port->private_data, info);
grp               415 sound/core/seq/seq_ports.c 			grp->count--;
grp               427 sound/core/seq/seq_ports.c 			    struct snd_seq_port_subs_info *grp,
grp               433 sound/core/seq/seq_ports.c 	if (! grp->count)
grp               435 sound/core/seq/seq_ports.c 	grp->count--;
grp               436 sound/core/seq/seq_ports.c 	if (grp->close && grp->count == 0)
grp               437 sound/core/seq/seq_ports.c 		err = grp->close(port->private_data, info);
grp               473 sound/core/seq/seq_ports.c 	struct snd_seq_port_subs_info *grp;
grp               478 sound/core/seq/seq_ports.c 	grp = is_src ? &port->c_src : &port->c_dest;
grp               480 sound/core/seq/seq_ports.c 	down_write(&grp->list_mutex);
grp               482 sound/core/seq/seq_ports.c 		if (!list_empty(&grp->list_head))
grp               485 sound/core/seq/seq_ports.c 		if (grp->exclusive)
grp               488 sound/core/seq/seq_ports.c 		list_for_each(p, &grp->list_head) {
grp               495 sound/core/seq/seq_ports.c 	err = subscribe_port(client, port, grp, &subs->info, ack);
grp               497 sound/core/seq/seq_ports.c 		grp->exclusive = 0;
grp               502 sound/core/seq/seq_ports.c 	write_lock_irq(&grp->list_lock);
grp               504 sound/core/seq/seq_ports.c 		list_add_tail(&subs->src_list, &grp->list_head);
grp               506 sound/core/seq/seq_ports.c 		list_add_tail(&subs->dest_list, &grp->list_head);
grp               507 sound/core/seq/seq_ports.c 	grp->exclusive = exclusive;
grp               509 sound/core/seq/seq_ports.c 	write_unlock_irq(&grp->list_lock);
grp               513 sound/core/seq/seq_ports.c 	up_write(&grp->list_mutex);
grp               522 sound/core/seq/seq_ports.c 	struct snd_seq_port_subs_info *grp;
grp               526 sound/core/seq/seq_ports.c 	grp = is_src ? &port->c_src : &port->c_dest;
grp               528 sound/core/seq/seq_ports.c 	down_write(&grp->list_mutex);
grp               529 sound/core/seq/seq_ports.c 	write_lock_irq(&grp->list_lock);
grp               533 sound/core/seq/seq_ports.c 	grp->exclusive = 0;
grp               534 sound/core/seq/seq_ports.c 	write_unlock_irq(&grp->list_lock);
grp               537 sound/core/seq/seq_ports.c 		unsubscribe_port(client, port, grp, &subs->info, ack);
grp               538 sound/core/seq/seq_ports.c 	up_write(&grp->list_mutex);
grp                12 sound/firewire/fireworks/fireworks_proc.c get_phys_name(struct snd_efw_phys_grp *grp, bool input)
grp                19 sound/firewire/fireworks/fireworks_proc.c 	if (grp->type < ARRAY_SIZE(ch_type))
grp                20 sound/firewire/fireworks/fireworks_proc.c 		return ch_type[grp->type];
grp                83 tools/arch/x86/include/asm/inat.h #define INAT_MAKE_GROUP(grp)	((grp << INAT_GRP_OFFS) | INAT_MODRM)
grp                58 tools/testing/selftests/net/nettest.c 	struct in_addr grp;     /* multicast group */
grp               422 tools/testing/selftests/net/nettest.c static int set_membership(int sd, uint32_t grp, uint32_t addr, int ifindex)
grp               433 tools/testing/selftests/net/nettest.c 	mreq.imr_multiaddr.s_addr = grp;
grp              1050 tools/testing/selftests/net/nettest.c 	    set_membership(sd, args->grp.s_addr,
grp              1362 tools/testing/selftests/net/nettest.c 			sin.sin_addr = args->grp;
grp              1436 tools/testing/selftests/net/nettest.c 		addr = &args->grp;
grp               568 virt/kvm/arm/hyp/vgic-v3-sr.c static u8 __hyp_text __vgic_v3_pri_to_pre(u8 pri, u32 vmcr, int grp)
grp               572 virt/kvm/arm/hyp/vgic-v3-sr.c 	if (!grp)
grp               586 virt/kvm/arm/hyp/vgic-v3-sr.c static void __hyp_text __vgic_v3_set_active_priority(u8 pri, u32 vmcr, int grp)
grp               592 virt/kvm/arm/hyp/vgic-v3-sr.c 	pre = __vgic_v3_pri_to_pre(pri, vmcr, grp);
grp               596 virt/kvm/arm/hyp/vgic-v3-sr.c 	if (!grp) {
grp               647 virt/kvm/arm/hyp/vgic-v3-sr.c 	int lr, grp;
grp               649 virt/kvm/arm/hyp/vgic-v3-sr.c 	grp = __vgic_v3_get_group(vcpu);
grp               655 virt/kvm/arm/hyp/vgic-v3-sr.c 	if (grp != !!(lr_val & ICH_LR_GROUP))
grp               663 virt/kvm/arm/hyp/vgic-v3-sr.c 	if (__vgic_v3_get_highest_active_priority() <= __vgic_v3_pri_to_pre(lr_prio, vmcr, grp))
grp               671 virt/kvm/arm/hyp/vgic-v3-sr.c 	__vgic_v3_set_active_priority(lr_prio, vmcr, grp);
grp               730 virt/kvm/arm/hyp/vgic-v3-sr.c 	int lr, grp;
grp               732 virt/kvm/arm/hyp/vgic-v3-sr.c 	grp = __vgic_v3_get_group(vcpu);
grp               754 virt/kvm/arm/hyp/vgic-v3-sr.c 	if (grp != !!(lr_val & ICH_LR_GROUP) ||
grp               755 virt/kvm/arm/hyp/vgic-v3-sr.c 	    __vgic_v3_pri_to_pre(lr_prio, vmcr, grp) != act_prio)
grp               917 virt/kvm/arm/hyp/vgic-v3-sr.c 	int lr, lr_grp, grp;
grp               919 virt/kvm/arm/hyp/vgic-v3-sr.c 	grp = __vgic_v3_get_group(vcpu);
grp               926 virt/kvm/arm/hyp/vgic-v3-sr.c 	if (lr_grp != grp)
grp               140 virt/kvm/vfio.c 	struct iommu_group *grp = kvm_vfio_group_get_iommu_group(vfio_group);
grp               142 virt/kvm/vfio.c 	if (WARN_ON_ONCE(!grp))
grp               145 virt/kvm/vfio.c 	kvm_spapr_tce_release_iommu_group(kvm, grp);
grp               146 virt/kvm/vfio.c 	iommu_group_put(grp);
grp               284 virt/kvm/vfio.c 		struct iommu_group *grp;
grp               300 virt/kvm/vfio.c 		grp = kvm_vfio_group_get_iommu_group(vfio_group);
grp               301 virt/kvm/vfio.c 		if (WARN_ON_ONCE(!grp)) {
grp               315 virt/kvm/vfio.c 					param.tablefd, grp);
grp               321 virt/kvm/vfio.c 		iommu_group_put(grp);