/openbmc/linux/drivers/s390/net/ |
H A D | ctcm_mpc.c | 380 grp->allochanfunc(grp->port_num, in ctc_mpc_alloc_channel() 431 grp->estconnfunc(grp->port_num, 0, in ctc_mpc_establish_connectivity() 450 grp->estconnfunc(grp->port_num, -1, 0); in ctc_mpc_establish_connectivity() 482 grp->estconnfunc(grp->port_num, -1, 0); in ctc_mpc_establish_connectivity() 496 grp->estconnfunc(grp->port_num, -1, 0); in ctc_mpc_establish_connectivity() 833 grp->estconnfunc(grp->port_num, 1, in mpc_action_go_ready() 898 grp->estconnfunc(grp->port_num, 0, in mpc_group_ready() 902 grp->allochanfunc(grp->port_num, grp->group_max_buflen); in mpc_group_ready() 1276 fsm_settimer(grp->fsm, &grp->timer); in ctcmpc_init_mpc_group() 1286 grp->xid_skb_data = grp->xid_skb->data; in ctcmpc_init_mpc_group() [all …]
|
/openbmc/linux/net/tipc/ |
H A D | group.c | 172 grp = kzalloc(sizeof(*grp), GFP_ATOMIC); in tipc_group_create() 173 if (!grp) in tipc_group_create() 180 grp->net = net; in tipc_group_create() 192 return grp; in tipc_group_create() 193 kfree(grp); in tipc_group_create() 229 kfree(grp); in tipc_group_delete() 315 m->group = grp; in tipc_group_create_member() 344 if (grp->bc_ackers && less(m->bc_acked, grp->bc_snd_nxt - 1)) in tipc_group_delete_member() 750 if (!grp) in tipc_group_proto_rcv() 871 if (!grp) in tipc_group_member_evt() [all …]
|
H A D | group.h | 50 void tipc_group_delete(struct net *net, struct tipc_group *grp); 51 void tipc_group_add_member(struct tipc_group *grp, u32 node, 53 struct tipc_nlist *tipc_group_dests(struct tipc_group *grp); 56 u32 tipc_group_exclude(struct tipc_group *grp); 57 void tipc_group_filter_msg(struct tipc_group *grp, 60 void tipc_group_member_evt(struct tipc_group *grp, bool *wakeup, 64 void tipc_group_proto_rcv(struct tipc_group *grp, bool *wakeup, 69 bool tipc_group_cong(struct tipc_group *grp, u32 dnode, u32 dport, 71 bool tipc_group_bc_cong(struct tipc_group *grp, int len); 72 void tipc_group_update_rcv_win(struct tipc_group *grp, int blks, u32 node, [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb.sh | 148 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 155 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 300 bridge mdb add dev br0 port $swp1 grp $grp vid 10 303 bridge mdb del dev br0 port $swp1 grp $grp vid 10 312 bridge mdb del dev br0 port $swp1 grp $grp vid 10 335 bridge mdb del dev br0 port $swp1 grp $grp vid 10 352 bridge mdb del dev br0 port $swp1 grp $grp vid 10 369 bridge mdb del dev br0 port $swp1 grp $grp vid 10 378 bridge mdb del dev br0 port $swp1 grp $grp vid 10 392 bridge mdb del dev br0 port $swp1 grp $grp vid 10 [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | bridge_mdb.sh | 148 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 155 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 300 bridge mdb add dev br0 port $swp1 grp $grp vid 10 303 bridge mdb del dev br0 port $swp1 grp $grp vid 10 312 bridge mdb del dev br0 port $swp1 grp $grp vid 10 335 bridge mdb del dev br0 port $swp1 grp $grp vid 10 352 bridge mdb del dev br0 port $swp1 grp $grp vid 10 369 bridge mdb del dev br0 port $swp1 grp $grp vid 10 378 bridge mdb del dev br0 port $swp1 grp $grp vid 10 392 bridge mdb del dev br0 port $swp1 grp $grp vid 10 [all …]
|
/openbmc/linux/fs/erofs/ |
H A D | utils.c | 40 spin_lock(&grp->lockref.lock); in erofs_workgroup_get() 46 if (!grp->lockref.count++) in erofs_workgroup_get() 56 struct erofs_workgroup *grp; in erofs_find_workgroup() local 61 if (grp) { in erofs_find_workgroup() 71 return grp; in erofs_find_workgroup() 84 NULL, grp, GFP_NOFS); in erofs_insert_workgroup() 94 grp = pre; in erofs_insert_workgroup() 97 return grp; in erofs_insert_workgroup() 114 --grp->lockref.count; in erofs_workgroup_put() 124 if (grp->lockref.count) in erofs_try_to_release_workgroup() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | test_vxlan_mdb.sh | 715 local grp=ff0e::1 749 local grp=ff0e::1 812 local grp=ff0e::1 842 local grp=ff0e::1 885 local grp 1102 local grp=ff0e::1 1142 local grp=ff0e::1 1242 local grp=ff0e::1 1282 local grp=ff0e::1 1383 local grp=ff0e::1 [all …]
|
/openbmc/linux/fs/sysfs/ |
H A D | group.c | 26 if (grp->attrs) in remove_files() 29 if (grp->bin_attrs) in remove_files() 42 if (grp->attrs) { in create_files() 75 if (grp->bin_attrs) { in create_files() 122 if (!grp->attrs && !grp->bin_attrs) { in internal_create_group() 129 if (grp->name) { in internal_create_group() 154 if (grp->name) in internal_create_group() 279 if (grp->name) { in sysfs_remove_group() 293 if (grp->name) in sysfs_remove_group() 478 if (grp->attrs) { in sysfs_group_attrs_change_owner() [all …]
|
/openbmc/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-mvebu.c | 178 if (!grp->ctrl) in mvebu_pinconf_group_get() 181 return grp->ctrl->mpp_get(grp->data, grp->pins[0], config); in mvebu_pinconf_group_get() 192 if (!grp->ctrl) in mvebu_pinconf_group_set() 196 ret = grp->ctrl->mpp_set(grp->data, grp->pins[0], configs[i]); in mvebu_pinconf_group_set() 333 if (!grp) in mvebu_pinmux_gpio_request_enable() 337 return grp->ctrl->mpp_gpio_req(grp->data, offset); in mvebu_pinmux_gpio_request_enable() 356 if (!grp) in mvebu_pinmux_gpio_set_direction() 360 return grp->ctrl->mpp_gpio_dir(grp->data, offset, input); in mvebu_pinmux_gpio_set_direction() 442 if (!grp) { in mvebu_pinctrl_dt_node_to_map() 571 *groups = grp->name; in mvebu_pinctrl_build_functions() [all …]
|
/openbmc/linux/net/sched/ |
H A D | sch_qfq.c | 902 return hlist_entry(grp->slots[grp->front].first, in qfq_slot_head() 915 if (hlist_empty(&grp->slots[grp->front])) in qfq_front_slot_remove() 929 grp->index, grp->full_slots); in qfq_slot_scan() 936 grp->front = (grp->front + i) % QFQ_MAX_SLOTS; in qfq_slot_scan() 957 grp->front = (grp->front - i) % QFQ_MAX_SLOTS; in qfq_slot_rotate() 1201 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_choose_next_agg() 1286 struct qfq_group *grp = agg->grp; in qfq_schedule_agg() local 1315 grp->F = roundedS + (2ULL << grp->slot_shift); in qfq_schedule_agg() 1352 offset = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_remove() 1370 struct qfq_group *grp = agg->grp; in qfq_deactivate_agg() local [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | pinmux-common.c | 84 #define MUX_REG(grp) _R(0x80 + ((tegra_soc_pingroups[grp].ctl_id / 16) * 4)) argument 85 #define MUX_SHIFT(grp) ((tegra_soc_pingroups[grp].ctl_id % 16) * 2) argument 87 #define PULL_REG(grp) _R(0xa0 + ((tegra_soc_pingroups[grp].pull_id / 16) * 4)) argument 88 #define PULL_SHIFT(grp) ((tegra_soc_pingroups[grp].pull_id % 16) * 2) argument 90 #define TRI_REG(grp) _R(0x14 + (((grp) / 32) * 4)) argument 91 #define TRI_SHIFT(grp) ((grp) % 32) argument 382 u32 *reg = REG(grp); in pinmux_set_schmt() 407 u32 *reg = REG(grp); in pinmux_set_hsm() 517 u32 *reg = DRV_REG(grp); in pinmux_set_drvup_slwf() 538 u32 *reg = DRV_REG(grp); in pinmux_set_drvdn_slwr() [all …]
|
/openbmc/u-boot/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier.h | 116 #define __UNIPHIER_PINCTRL_GROUP(grp) \ argument 118 .name = #grp, \ 119 .pins = grp##_pins, \ 120 .num_pins = ARRAY_SIZE(grp##_pins), \ 121 .muxvals = grp##_muxvals + \ 122 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \ 123 ARRAY_SIZE(grp##_muxvals)), \ 133 #define UNIPHIER_PINCTRL_GROUP(grp) \ argument 134 { .num_pins = ARRAY_SIZE(grp##_pins) + ARRAY_SIZE(grp##_muxvals) } 137 #define UNIPHIER_PINCTRL_GROUP(grp) __UNIPHIER_PINCTRL_GROUP(grp) argument [all …]
|
/openbmc/linux/include/linux/pinctrl/ |
H A D | machine.h | 87 #define PIN_MAP_MUX_GROUP(dev, state, pinctrl, grp, func) \ argument 94 .group = grp, \ 99 #define PIN_MAP_MUX_GROUP_DEFAULT(dev, pinctrl, grp, func) \ argument 102 #define PIN_MAP_MUX_GROUP_HOG(dev, state, grp, func) \ argument 103 PIN_MAP_MUX_GROUP(dev, state, dev, grp, func) 105 #define PIN_MAP_MUX_GROUP_HOG_DEFAULT(dev, grp, func) \ argument 106 PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, dev, grp, func) 137 .group_or_pin = grp, \ 146 #define PIN_MAP_CONFIGS_GROUP_HOG(dev, state, grp, cfgs) \ argument 147 PIN_MAP_CONFIGS_GROUP(dev, state, dev, grp, cfgs) [all …]
|
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/axp/ |
H A D | board_env_spec.h | 100 #define GPP_DATA_OUT_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x00) argument 102 #define GPP_DATA_OUT_EN_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x04) argument 103 #define GPP_BLINK_EN_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x08) argument 104 #define GPP_DATA_IN_POL_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x0C) argument 105 #define GPP_DATA_IN_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x10) argument 106 #define GPP_INT_CAUSE_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x14) argument 107 #define GPP_INT_MASK_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x18) argument 108 #define GPP_INT_LVL_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x1C) argument 109 #define GPP_OUT_SET_REG(grp) (0x18130 + ((grp) * 0x40)) argument 111 #define GPP_OUT_CLEAR_REG(grp) (0x18134 + ((grp) * 0x40)) argument
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_ports.c | 105 grp->count = 0; in port_subs_info_init() 106 grp->exclusive = 0; in port_subs_info_init() 109 grp->open = NULL; in port_subs_info_init() 110 grp->close = NULL; in port_subs_info_init() 440 grp->count++; in subscribe_port() 441 if (grp->open && grp->count == 1) { in subscribe_port() 445 grp->count--; in subscribe_port() 463 if (! grp->count) in unsubscribe_port() 465 grp->count--; in unsubscribe_port() 466 if (grp->close && grp->count == 0) in unsubscribe_port() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | imx6ull-colibri.dts | 200 pinctrl_gpio1: gpio1-grp { 232 pinctrl_gpio4: gpio4-grp { 262 pinctrl_enet2: enet2-grp { 323 pinctrl_i2c1: i2c1-grp { 337 pinctrl_i2c2: i2c2-grp { 383 pinctrl_pwm4: pwm4-grp { 389 pinctrl_pwm5: pwm5-grp { 395 pinctrl_pwm6: pwm6-grp { 401 pinctrl_pwm7: pwm7-grp { 407 pinctrl_uart1: uart1-grp { [all …]
|
/openbmc/linux/drivers/base/ |
H A D | devres.c | 450 if (grp) { in remove_nodes() 477 BUG_ON(!grp || list_empty(&grp->node[0].entry)); in remove_nodes() 479 grp->color++; in remove_nodes() 483 BUG_ON(grp->color <= 0 || grp->color > 2); in remove_nodes() 557 grp = kmalloc(sizeof(*grp), gfp); in devres_open_group() 567 grp->id = grp; in devres_open_group() 596 return grp; in find_group() 618 if (grp) in devres_close_group() 644 if (grp) { in devres_remove_group() 653 kfree(grp); in devres_remove_group() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/libertas_tf/ |
H A D | deb_defs.h | 49 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) \ argument 50 do { if ((lbtf_debug & (grp)) == (grp)) \ 53 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 56 #define lbtf_deb_enter(grp) \ argument 57 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s()\n", __func__); 58 #define lbtf_deb_enter_args(grp, fmt, args...) \ argument 60 #define lbtf_deb_leave(grp) \ argument 61 LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s()\n", __func__); 62 #define lbtf_deb_leave_args(grp, fmt, args...) \ argument 95 (lbtf_debug & grp)) { in lbtf_deb_hex() [all …]
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-rds-gen.c | 17 switch (grp) { in vivid_get_di() 19 return (rds->dyn_pty << 2) | (grp & 3); in vivid_get_di() 21 return (rds->compressed << 2) | (grp & 3); in vivid_get_di() 23 return (rds->art_head << 2) | (grp & 3); in vivid_get_di() 25 return (rds->mono_stereo << 2) | (grp & 3); in vivid_get_di() 45 unsigned grp; in vivid_rds_generate() local 52 for (grp = 0; grp < VIVID_RDS_GEN_GROUPS; grp++, data += VIVID_RDS_GEN_BLKS_PER_GRP) { in vivid_rds_generate() 61 switch (grp) { in vivid_rds_generate() 65 idx = (grp % 22) % 4; in vivid_rds_generate() 77 idx = ((grp - 4) % 22) % 16; in vivid_rds_generate() [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ull-dhcom-som.dtsi | 403 pinctrl_ecspi1: ecspi1-grp { 412 pinctrl_ecspi4: ecspi4-grp { 421 pinctrl_fec1: fec1-grp { 441 pinctrl_fec2: fec2-grp { 476 pinctrl_i2c2: i2c2-grp { 490 pinctrl_lcdif: lcdif-grp { 517 pinctrl_pwm1: pwm1-grp { 523 pinctrl_sai2: sai2-grp { 532 pinctrl_tsc: tsc-grp { 541 pinctrl_uart1: uart1-grp { [all …]
|
H A D | imx6qdl-dhcom-som.dtsi | 628 pinctrl_i2c1: i2c1-grp { 642 pinctrl_i2c2: i2c2-grp { 656 pinctrl_i2c3: i2c3-grp { 703 pinctrl_pcie: pcie-grp { 709 pinctrl_pmic: pmic-grp { 715 pinctrl_pwm1: pwm1-grp { 721 pinctrl_rtc: rtc-grp { 733 pinctrl_uart1: uart1-grp { 746 pinctrl_uart4: uart4-grp { 753 pinctrl_uart5: uart5-grp { [all …]
|
/openbmc/linux/arch/arm/mach-s3c/ |
H A D | irq-pm-s3c64xx.c | 63 struct irq_grp_save *grp = eint_grp_save; in s3c64xx_irq_pm_suspend() local 73 for (i = 0; i < ARRAY_SIZE(eint_grp_save); i++, grp++) { in s3c64xx_irq_pm_suspend() 74 grp->con = __raw_readl(S3C64XX_EINT12CON + (i * 4)); in s3c64xx_irq_pm_suspend() 75 grp->mask = __raw_readl(S3C64XX_EINT12MASK + (i * 4)); in s3c64xx_irq_pm_suspend() 76 grp->fltcon = __raw_readl(S3C64XX_EINT12FLTCON + (i * 4)); in s3c64xx_irq_pm_suspend() 84 struct irq_grp_save *grp = eint_grp_save; in s3c64xx_irq_pm_resume() local 94 for (i = 0; i < ARRAY_SIZE(eint_grp_save); i++, grp++) { in s3c64xx_irq_pm_resume() 95 __raw_writel(grp->con, S3C64XX_EINT12CON + (i * 4)); in s3c64xx_irq_pm_resume() 96 __raw_writel(grp->mask, S3C64XX_EINT12MASK + (i * 4)); in s3c64xx_irq_pm_resume() 97 __raw_writel(grp->fltcon, S3C64XX_EINT12FLTCON + (i * 4)); in s3c64xx_irq_pm_resume()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | signal_64.c | 46 mc_gregset_t __user *grp; in sparc64_set_context() local 57 grp = &ucp->uc_mcontext.mc_gregs; in sparc64_set_context() 58 err = __get_user(pc, &((*grp)[MC_PC])); in sparc64_set_context() 59 err |= __get_user(npc, &((*grp)[MC_NPC])); in sparc64_set_context() 80 err |= __get_user(regs->y, &((*grp)[MC_Y])); in sparc64_set_context() 81 err |= __get_user(tstate, &((*grp)[MC_TSTATE])); in sparc64_set_context() 145 mc_gregset_t __user *grp; in sparc64_get_context() local 162 grp = &mcp->mc_gregs; in sparc64_get_context() 181 err |= __put_user(regs->tpc, &((*grp)[MC_PC])); in sparc64_get_context() 182 err |= __put_user(regs->tnpc, &((*grp)[MC_NPC])); in sparc64_get_context() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | user_exp_rcv.c | 330 struct tid_group *grp = in hfi1_user_exp_rcv_setup() local 376 grp->size - grp->used); in hfi1_user_exp_rcv_setup() 387 if (grp->used == grp->size) in hfi1_user_exp_rcv_setup() 388 tid_group_move(grp, in hfi1_user_exp_rcv_setup() 669 if (count > grp->size) in program_rcvarray() 711 grp->used++; in program_rcvarray() 758 node->grp = grp; in set_rcvarray_entry() 847 node->grp->used--; in clear_tid_node() 848 node->grp->map &= ~(1 << (node->rcventry - node->grp->base)); in clear_tid_node() 850 if (node->grp->used == node->grp->size - 1) in clear_tid_node() [all …]
|
/openbmc/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 45 if (grp && !strcmp(grp->name, name)) in imx_pinctrl_find_group_by_name() 49 return grp; in imx_pinctrl_find_group_by_name() 76 if (!grp) { in imx_dt_node_to_map() 82 map_num += grp->num_pins; in imx_dt_node_to_map() 249 struct group_desc *grp; in imx_pmx_set() local 259 if (!grp) in imx_pmx_set() 266 npins = grp->num_pins; in imx_pmx_set() 423 if (!grp) in imx_pinconf_group_dbg_show() 528 grp->name = np->name; in imx_pinctrl_parse_groups() 563 if (!grp->pins || !grp->data) in imx_pinctrl_parse_groups() [all …]
|