Home
last modified time | relevance | path

Searched refs:grp (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/linux-6.6.21/drivers/s390/net/
Dctcm_mpc.c332 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-6.6.21/net/tipc/
Dgroup.c102 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 …]
Dgroup.h49 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-6.6.21/tools/testing/selftests/net/forwarding/
Dbridge_mdb.sh139 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-6.6.21/tools/testing/selftests/drivers/net/dsa/
Dbridge_mdb.sh139 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-6.6.21/tools/testing/selftests/net/
Dtest_vxlan_mdb.sh541 local grp=$1; shift
551 …run_cmd "bridge -n $ns1 mdb add dev vx0 port vx0 grp $grp permanent filter_mode exclude source_lis…
553 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep -v \" src \""
555 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
558 …run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 grp $grp permanent filter_mode exclude source…
560 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep -v \" src \""
562 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
565 run_cmd "bridge -n $ns1 mdb del dev vx0 port vx0 grp $grp dst $vtep_ip src_vni 10010"
567 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep -v \" src \""
569 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
[all …]
/linux-6.6.21/fs/erofs/
Dutils.c35 static bool erofs_workgroup_get(struct erofs_workgroup *grp) in erofs_workgroup_get() argument
37 if (lockref_get_not_zero(&grp->lockref)) in erofs_workgroup_get()
40 spin_lock(&grp->lockref.lock); in erofs_workgroup_get()
41 if (__lockref_is_dead(&grp->lockref)) { in erofs_workgroup_get()
42 spin_unlock(&grp->lockref.lock); in erofs_workgroup_get()
46 if (!grp->lockref.count++) in erofs_workgroup_get()
48 spin_unlock(&grp->lockref.lock); in erofs_workgroup_get()
56 struct erofs_workgroup *grp; in erofs_find_workgroup() local
60 grp = xa_load(&sbi->managed_pslots, index); in erofs_find_workgroup()
61 if (grp) { in erofs_find_workgroup()
[all …]
/linux-6.6.21/fs/sysfs/
Dgroup.c21 const struct attribute_group *grp) in remove_files() argument
26 if (grp->attrs) in remove_files()
27 for (attr = grp->attrs; *attr; attr++) in remove_files()
29 if (grp->bin_attrs) in remove_files()
30 for (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++) in remove_files()
36 const struct attribute_group *grp, int update) in create_files() argument
42 if (grp->attrs) { in create_files()
43 for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) { in create_files()
53 if (grp->is_visible) { in create_files()
54 mode = grp->is_visible(kobj, *attr, i); in create_files()
[all …]
/linux-6.6.21/net/sched/
Dsch_qfq.c150 struct qfq_group *grp; member
301 if (agg->grp == NULL) { in qfq_update_agg()
304 agg->grp = &q->groups[i]; in qfq_update_agg()
749 static int qfq_calc_state(struct qfq_sched *q, const struct qfq_group *grp) in qfq_calc_state() argument
752 unsigned int state = qfq_gt(grp->S, q->V); in qfq_calc_state()
753 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state()
758 if (qfq_gt(grp->F, next->F)) in qfq_calc_state()
879 static void qfq_slot_insert(struct qfq_group *grp, struct qfq_aggregate *agg, in qfq_slot_insert() argument
882 u64 slot = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_insert()
886 u64 deltaS = roundedS - grp->S - in qfq_slot_insert()
[all …]
/linux-6.6.21/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c109 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-6.6.21/include/linux/pinctrl/
Dmachine.h87 #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-6.6.21/sound/core/seq/
Dseq_ports.c102 static void port_subs_info_init(struct snd_seq_port_subs_info *grp) in port_subs_info_init() argument
104 INIT_LIST_HEAD(&grp->list_head); in port_subs_info_init()
105 grp->count = 0; in port_subs_info_init()
106 grp->exclusive = 0; in port_subs_info_init()
107 rwlock_init(&grp->list_lock); in port_subs_info_init()
108 init_rwsem(&grp->list_mutex); in port_subs_info_init()
109 grp->open = NULL; in port_subs_info_init()
110 grp->close = NULL; in port_subs_info_init()
177 struct snd_seq_port_subs_info *grp,
181 struct snd_seq_port_subs_info *grp,
[all …]
/linux-6.6.21/drivers/base/
Ddevres.c447 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-6.6.21/arch/arm/boot/dts/nxp/imx/
Dimx6ull-dhcom-som.dtsi347 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 …]
Dimx6qdl-dhcom-som.dtsi458 pinctrl_hog_base: hog-base-grp {
471 pinctrl_dhcom_a: dhcom-a-grp {
475 pinctrl_dhcom_b: dhcom-b-grp {
479 pinctrl_dhcom_c: dhcom-c-grp {
483 pinctrl_dhcom_d: dhcom-d-grp {
487 pinctrl_dhcom_e: dhcom-e-grp {
491 pinctrl_dhcom_f: dhcom-f-grp {
495 pinctrl_dhcom_g: dhcom-g-grp {
499 pinctrl_dhcom_h: dhcom-h-grp {
503 pinctrl_dhcom_i: dhcom-i-grp {
[all …]
/linux-6.6.21/drivers/net/wireless/marvell/libertas_tf/
Ddeb_defs.h49 #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-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-rds-gen.c15 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-6.6.21/arch/sparc/kernel/
Dsignal_64.c46 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-6.6.21/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c19 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-6.6.21/arch/arm/mach-s3c/
Dirq-pm-s3c64xx.c63 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-6.6.21/drivers/pinctrl/freescale/
Dpinctrl-imx.c40 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->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->num_pins; in imx_dt_node_to_map()
84 for (i = 0; i < grp->num_pins; i++) { in imx_dt_node_to_map()
85 pin = &((struct imx_pin *)(grp->data))[i]; in imx_dt_node_to_map()
[all …]
Dpinctrl-imx1-core.c161 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-6.6.21/drivers/pinctrl/renesas/
Dpinctrl-rzn1.c343 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()
468 struct rzn1_pin_group *grp = &ipctl->groups[group]; in rzn1_set_mux() local
469 unsigned int i, grp_pins = grp->npins; in rzn1_set_mux()
472 ipctl->functions[selector].name, selector, grp->name, group); in rzn1_set_mux()
476 rzn1_set_hw_pin_func(ipctl, grp->pins[i], grp->pin_ids[i], 0); in rzn1_set_mux()
[all …]
/linux-6.6.21/drivers/crypto/marvell/octeontx/
Dotx_cptpf_ucode.c188 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-6.6.21/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_ucode.c554 struct otx2_cpt_eng_grp_info *grp) in release_engines() argument
559 if (!grp->engs[i].type) in release_engines()
562 if (grp->engs[i].count > 0) { in release_engines()
563 ret = update_engines_avail_count(dev, &grp->g->avail, in release_engines()
564 &grp->engs[i], in release_engines()
565 grp->engs[i].count); in release_engines()
570 grp->engs[i].type = 0; in release_engines()
571 grp->engs[i].count = 0; in release_engines()
572 grp->engs[i].offset = 0; in release_engines()
573 grp->engs[i].ucode = NULL; in release_engines()
[all …]

12345678910>>...14