/linux/drivers/s390/net/ |
H A D | ctcm_mpc.c | 332 struct mpc_group *grp; in ctc_mpc_alloc_channel() local 339 grp = priv->mpcg; in ctc_mpc_alloc_channel() 341 grp->allochanfunc = callback; in ctc_mpc_alloc_channel() 342 grp->port_num = port_num; in ctc_mpc_alloc_channel() 343 grp->port_persist = 1; in ctc_mpc_alloc_channel() 347 CTCM_FUNTAIL, dev->name, fsm_getstate_str(grp->fsm)); in ctc_mpc_alloc_channel() 349 switch (fsm_getstate(grp->fsm)) { in ctc_mpc_alloc_channel() 352 grp->alloc_called = 1; in ctc_mpc_alloc_channel() 361 grp->send_qllc_disc = 1; in ctc_mpc_alloc_channel() 364 fsm_deltimer(&grp->timer); in ctc_mpc_alloc_channel() [all …]
|
/linux/net/tipc/ |
H A D | group.c | 102 static void tipc_group_proto_xmit(struct tipc_group *grp, struct tipc_member *m, 115 static void tipc_group_decr_active(struct tipc_group *grp, in tipc_group_decr_active() argument 120 grp->active_cnt--; in tipc_group_decr_active() 123 static int tipc_group_rcvbuf_limit(struct tipc_group *grp) in tipc_group_rcvbuf_limit() argument 126 int mcnt = grp->member_cnt + 1; in tipc_group_rcvbuf_limit() 131 grp->max_active = max_active; in tipc_group_rcvbuf_limit() 141 u16 tipc_group_bc_snd_nxt(struct tipc_group *grp) in tipc_group_bc_snd_nxt() argument 143 return grp->bc_snd_nxt; in tipc_group_bc_snd_nxt() 156 u32 tipc_group_exclude(struct tipc_group *grp) in tipc_group_exclude() argument 158 if (!grp->loopback) in tipc_group_exclude() [all …]
|
H A D | group.h | 49 void tipc_group_join(struct net *net, struct tipc_group *grp, int *sk_rcv_buf); 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); 54 void tipc_group_self(struct tipc_group *grp, struct tipc_service_range *seq, 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, 68 void tipc_group_update_bc_members(struct tipc_group *grp, int len, bool ack); [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb.sh | 139 local grp=$1; shift 147 bridge mdb add dev br0 port br0 grp $grp $state vid 10 148 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 151 bridge mdb replace dev br0 port br0 grp $grp $state vid 10 &> /dev/null 154 bridge mdb del dev br0 port br0 grp $grp $state vid 10 155 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 159 bridge mdb add dev br0 port br0 grp $grp $invalid_state vid 10 \ 163 bridge mdb add dev br0 port br0 grp $grp src $src $state vid 10 \ 167 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \ 171 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \ [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | test_vxlan_mdb.sh | 538 local grp=$1; shift 548 …run_cmd "bridge -n $ns1 mdb add dev vx0 port vx0 grp $grp permanent filter_mode exclude source_lis… 550 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src_vni 10010" 552 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src $src1 src_vni 10010" 555 …run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 grp $grp permanent filter_mode exclude source… 557 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src_vni 10010" 559 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src $src1 src_vni 10010" 562 run_cmd "bridge -n $ns1 mdb del dev vx0 port vx0 grp $grp dst $vtep_ip src_vni 10010" 564 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src_vni 10010" 566 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src $src1 src_vni 10010" [all …]
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-mvebu.c | 109 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, in mvebu_pinctrl_find_setting_by_val() argument 114 for (n = 0; n < grp->num_settings; n++) { in mvebu_pinctrl_find_setting_by_val() 115 if (config == grp->settings[n].val) { in mvebu_pinctrl_find_setting_by_val() 117 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_val() 118 return &grp->settings[n]; in mvebu_pinctrl_find_setting_by_val() 126 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, in mvebu_pinctrl_find_setting_by_name() argument 131 for (n = 0; n < grp->num_settings; n++) { in mvebu_pinctrl_find_setting_by_name() 132 if (strcmp(name, grp->settings[n].name) == 0) { in mvebu_pinctrl_find_setting_by_name() 134 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_name() 135 return &grp->settings[n]; in mvebu_pinctrl_find_setting_by_name() [all …]
|
/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 100 PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, pinctrl, grp, func) 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) 130 #define PIN_MAP_CONFIGS_GROUP(dev, state, pinctrl, grp, cfgs) \ argument 137 .group_or_pin = grp, \ [all …]
|
/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 40 const struct group_desc *grp = NULL; in imx_pinctrl_find_group_by_name() local 44 grp = pinctrl_generic_get_group(pctldev, i); in imx_pinctrl_find_group_by_name() 45 if (grp && !strcmp(grp->grp.name, name)) in imx_pinctrl_find_group_by_name() 49 return grp; in imx_pinctrl_find_group_by_name() 64 const struct group_desc *grp; in imx_dt_node_to_map() local 75 grp = imx_pinctrl_find_group_by_name(pctldev, np->name); in imx_dt_node_to_map() 76 if (!grp) { in imx_dt_node_to_map() 82 map_num += grp->grp.npins; in imx_dt_node_to_map() 84 for (i = 0; i < grp->grp.npins; i++) { in imx_dt_node_to_map() 85 pin = &((struct imx_pin *)(grp->data))[i]; in imx_dt_node_to_map() [all …]
|
H A D | pinctrl-imx1-core.c | 161 const struct imx1_pin_group *grp = NULL; in imx1_pinctrl_find_group_by_name() local 166 grp = &info->groups[i]; in imx1_pinctrl_find_group_by_name() 171 return grp; in imx1_pinctrl_find_group_by_name() 227 const struct imx1_pin_group *grp; in imx1_dt_node_to_map() local 237 grp = imx1_pinctrl_find_group_by_name(info, np->name); in imx1_dt_node_to_map() 238 if (!grp) { in imx1_dt_node_to_map() 244 for (i = 0; i < grp->npins; i++) in imx1_dt_node_to_map() 268 for (i = j = 0; i < grp->npins; i++) { in imx1_dt_node_to_map() 271 pin_get_name(pctldev, grp->pins[i].pin_id); in imx1_dt_node_to_map() 272 new_map[j].data.configs.configs = &grp->pins[i].config; in imx1_dt_node_to_map() [all …]
|
/linux/sound/core/seq/ |
H A D | seq_ports.c | 99 static void port_subs_info_init(struct snd_seq_port_subs_info *grp) in port_subs_info_init() argument 101 INIT_LIST_HEAD(&grp->list_head); in port_subs_info_init() 102 grp->count = 0; in port_subs_info_init() 103 grp->exclusive = 0; in port_subs_info_init() 104 rwlock_init(&grp->list_lock); in port_subs_info_init() 105 init_rwsem(&grp->list_mutex); in port_subs_info_init() 106 grp->open = NULL; in port_subs_info_init() 107 grp->close = NULL; in port_subs_info_init() 170 struct snd_seq_port_subs_info *grp, 174 struct snd_seq_port_subs_info *grp, [all …]
|
/linux/drivers/base/ |
H A D | devres.c | 447 struct devres_group *grp; in remove_nodes() local 449 grp = node_to_group(node); in remove_nodes() 450 if (grp) { in remove_nodes() 452 grp->color = 0; in remove_nodes() 474 struct devres_group *grp; in remove_nodes() local 476 grp = node_to_group(node); in remove_nodes() 477 BUG_ON(!grp || list_empty(&grp->node[0].entry)); in remove_nodes() 479 grp->color++; in remove_nodes() 480 if (list_empty(&grp->node[1].entry)) in remove_nodes() 481 grp->color++; in remove_nodes() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ull-dhcom-som.dtsi | 347 pinctrl_dhcom_i: dhcom-i-grp { 351 pinctrl_dhcom_j: dhcom-j-grp { 355 pinctrl_dhcom_k: dhcom-k-grp { 359 pinctrl_dhcom_l: dhcom-l-grp { 363 pinctrl_dhcom_m: dhcom-m-grp { 367 pinctrl_dhcom_n: dhcom-n-grp { 371 pinctrl_dhcom_o: dhcom-o-grp { 375 pinctrl_dhcom_p: dhcom-p-grp { 379 pinctrl_dhcom_q: dhcom-q-grp { 383 pinctrl_dhcom_r: dhcom-r-grp { [all …]
|
/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 59 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args); 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 [all …]
|
/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() 84 err |= __get_user(regs->u_regs[UREG_G1], (&(*grp)[MC_G1])); in sparc64_set_context() 85 err |= __get_user(regs->u_regs[UREG_G2], (&(*grp)[MC_G2])); in sparc64_set_context() 86 err |= __get_user(regs->u_regs[UREG_G3], (&(*grp)[MC_G3])); in sparc64_set_context() 87 err |= __get_user(regs->u_regs[UREG_G4], (&(*grp)[MC_G4])); in sparc64_set_context() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | user_exp_rcv.c | 19 u32 rcventry, struct tid_group *grp, 30 struct tid_group *grp, u16 count, 330 struct tid_group *grp = in hfi1_user_exp_rcv_setup() local 333 ret = program_rcvarray(fd, tidbuf, grp, in hfi1_user_exp_rcv_setup() 342 tid_group_add_tail(grp, &uctxt->tid_group_list); in hfi1_user_exp_rcv_setup() 348 tid_group_add_tail(grp, &uctxt->tid_full_list); in hfi1_user_exp_rcv_setup() 354 struct tid_group *grp, *ptr; in hfi1_user_exp_rcv_setup() local 364 grp = tid_group_pop(&uctxt->tid_group_list); in hfi1_user_exp_rcv_setup() 365 tid_group_add_tail(grp, &uctxt->tid_used_list); in hfi1_user_exp_rcv_setup() 373 list_for_each_entry_safe(grp, ptr, &uctxt->tid_used_list.list, in hfi1_user_exp_rcv_setup() [all …]
|
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-rds-gen.c | 15 static u8 vivid_get_di(const struct vivid_rds_gen *rds, unsigned grp) in vivid_get_di() argument 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() [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-dhcom-som.dtsi | 647 pinctrl_dhcom_a: dhcom-a-grp { 654 pinctrl_dhcom_b: dhcom-b-grp { 661 pinctrl_dhcom_c: dhcom-c-grp { 668 pinctrl_dhcom_d: dhcom-d-grp { 675 pinctrl_dhcom_e: dhcom-e-grp { 682 pinctrl_dhcom_f: dhcom-f-grp { 689 pinctrl_dhcom_g: dhcom-g-grp { 696 pinctrl_dhcom_h: dhcom-h-grp { 703 pinctrl_dhcom_i: dhcom-i-grp { 710 pinctrl_dhcom_j: dhcom-j-grp { [all …]
|
H A D | imx8mm-emcon.dtsi | 111 pinctrl_csi_pwn: csi-pwn-grp { 117 pinctrl_ecspi1: ecspi1-grp { 125 pinctrl_ecspi1_cs: ecspi1cs-grp { 132 pinctrl_fec1: fec1-grp { 152 pinctrl_flexspi0: flexspi0-grp { 164 pinctrl_flexspi1: flexspi1-grp { 175 pinctrl_gpio_led: gpio-led-grp { 182 pinctrl_i2c1: i2c1-grp { 196 pinctrl_i2c3: i2c3-grp { 203 pinctrl_lvds: lvds-grp { [all …]
|
/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzn1.c | 343 const struct rzn1_pin_group *grp; in rzn1_dt_node_to_map_one() local 352 grp = rzn1_pinctrl_find_group_by_name(ipctl, np->name); in rzn1_dt_node_to_map_one() 353 if (!grp) { in rzn1_dt_node_to_map_one() 379 grp->name, grp->func); in rzn1_dt_node_to_map_one() 386 &reserved_maps, num_maps, grp->name, in rzn1_dt_node_to_map_one() 394 grp->func, grp->name, grp->npins); in rzn1_dt_node_to_map_one() 465 struct rzn1_pin_group *grp = &ipctl->groups[group]; in rzn1_set_mux() local 466 unsigned int i, grp_pins = grp->npins; in rzn1_set_mux() 469 ipctl->functions[selector].name, selector, grp->name, group); in rzn1_set_mux() 473 rzn1_set_hw_pin_func(ipctl, grp->pins[i], grp->pin_ids[i], 0); in rzn1_set_mux() [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptpf_ucode.c | 188 eng_grp->g->grp[eng_grp->mirror.idx].ucode[0].align_dma; in cpt_set_ucode_base() 524 eng_grp->g->grp[eng_grp->mirror.idx].ucode[0].ver_str, in print_ucode_info() 548 &eng_grp->g->grp[eng_grp->mirror.idx], in print_engs_info() 604 struct otx_cpt_eng_grp_info *grp; in print_dbg_info() local 616 grp = &eng_grps->grp[i]; in print_dbg_info() 617 pr_debug("engine_group%d, state %s\n", i, grp->is_enabled ? in print_dbg_info() 619 if (grp->is_enabled) { in print_dbg_info() 620 mirrored_grp = &eng_grps->grp[grp->mirror.idx]; in print_dbg_info() 622 grp->mirror.is_ena ? in print_dbg_info() 624 grp->ucode[0].filename, in print_dbg_info() [all …]
|
/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()
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-k230.c | 160 struct k230_pin_group *grp = k230_pins[offset].drv_data; in k230_pinctrl_pin_dbg_show() local 178 grp ? grp->name : "unknown", in k230_pinctrl_pin_dbg_show() 195 const struct k230_pin_group *grp; in k230_dt_node_to_map() local 222 grp = &info->groups[grp_id]; in k230_dt_node_to_map() 224 new_map[idx].data.mux.group = grp->name; in k230_dt_node_to_map() 228 for (j = 0; j < grp->num_pins; ++j) { in k230_dt_node_to_map() 231 pin_get_name(pctldev, grp->pins[j]); in k230_dt_node_to_map() 233 grp->data[j].configs; in k230_dt_node_to_map() 235 grp->data[j].nconfigs; in k230_dt_node_to_map() 441 struct k230_pin_group *grp = &info->groups[group]; in k230_set_mux() local [all …]
|
/linux/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier.h | 159 #define __UNIPHIER_PINCTRL_GROUP(grp, mux) \ argument 161 .name = #grp, \ 162 .pins = grp##_pins, \ 163 .num_pins = ARRAY_SIZE(grp##_pins), \ 167 #define UNIPHIER_PINCTRL_GROUP(grp) \ argument 168 __UNIPHIER_PINCTRL_GROUP(grp, \ 169 grp##_muxvals + \ 170 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \ 171 ARRAY_SIZE(grp##_muxvals))) 173 #define UNIPHIER_PINCTRL_GROUP_GPIO(grp) \ argument [all …]
|
/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptpf_ucode.c | 558 struct otx2_cpt_eng_grp_info *grp) in release_engines() argument 563 if (!grp->engs[i].type) in release_engines() 566 if (grp->engs[i].count > 0) { in release_engines() 567 ret = update_engines_avail_count(dev, &grp->g->avail, in release_engines() 568 &grp->engs[i], in release_engines() 569 grp->engs[i].count); in release_engines() 574 grp->engs[i].type = 0; in release_engines() 575 grp->engs[i].count = 0; in release_engines() 576 grp->engs[i].offset = 0; in release_engines() 577 grp->engs[i].ucode = NULL; in release_engines() [all …]
|
/linux/drivers/pinctrl/sprd/ |
H A D | pinctrl-sprd.c | 197 const struct sprd_pin_group *grp = NULL; in sprd_pinctrl_find_group_by_name() local 202 grp = &info->groups[i]; in sprd_pinctrl_find_group_by_name() 207 return grp; in sprd_pinctrl_find_group_by_name() 250 const struct sprd_pin_group *grp; in sprd_dt_node_to_map() local 259 grp = sprd_pinctrl_find_group_by_name(pctl, np->name); in sprd_dt_node_to_map() 260 if (!grp) { in sprd_dt_node_to_map() 308 grp->name, function); in sprd_dt_node_to_map() 318 pin_id = grp->pins[0]; in sprd_dt_node_to_map() 321 group_or_pin = grp->name; in sprd_dt_node_to_map() 392 struct sprd_pin_group *grp = &info->groups[group_selector]; in sprd_pmx_set_mux() local [all …]
|