Home
last modified time | relevance | path

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

1234567891011

/linux-6.1.9/drivers/s390/net/
Dctcm_mpc.c330 struct mpc_group *grp; in ctc_mpc_alloc_channel() local
337 grp = priv->mpcg; in ctc_mpc_alloc_channel()
339 grp->allochanfunc = callback; in ctc_mpc_alloc_channel()
340 grp->port_num = port_num; in ctc_mpc_alloc_channel()
341 grp->port_persist = 1; in ctc_mpc_alloc_channel()
345 CTCM_FUNTAIL, dev->name, fsm_getstate_str(grp->fsm)); in ctc_mpc_alloc_channel()
347 switch (fsm_getstate(grp->fsm)) { in ctc_mpc_alloc_channel()
350 grp->alloc_called = 1; in ctc_mpc_alloc_channel()
359 grp->send_qllc_disc = 1; in ctc_mpc_alloc_channel()
362 fsm_deltimer(&grp->timer); in ctc_mpc_alloc_channel()
[all …]
/linux-6.1.9/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.1.9/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.1.9/fs/erofs/
Dutils.c36 static int erofs_workgroup_get(struct erofs_workgroup *grp) in erofs_workgroup_get() argument
41 o = erofs_wait_on_workgroup_freezed(grp); in erofs_workgroup_get()
45 if (atomic_cmpxchg(&grp->refcount, o, o + 1) != o) in erofs_workgroup_get()
58 struct erofs_workgroup *grp; in erofs_find_workgroup() local
62 grp = xa_load(&sbi->managed_pslots, index); in erofs_find_workgroup()
63 if (grp) { in erofs_find_workgroup()
64 if (erofs_workgroup_get(grp)) { in erofs_find_workgroup()
70 DBG_BUGON(index != grp->index); in erofs_find_workgroup()
73 return grp; in erofs_find_workgroup()
77 struct erofs_workgroup *grp) in erofs_insert_workgroup() argument
[all …]
/linux-6.1.9/net/sched/
Dsch_qfq.c151 struct qfq_group *grp; member
297 if (agg->grp == NULL) { in qfq_update_agg()
300 agg->grp = &q->groups[i]; in qfq_update_agg()
738 static int qfq_calc_state(struct qfq_sched *q, const struct qfq_group *grp) in qfq_calc_state() argument
741 unsigned int state = qfq_gt(grp->S, q->V); in qfq_calc_state()
742 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state()
747 if (qfq_gt(grp->F, next->F)) in qfq_calc_state()
868 static void qfq_slot_insert(struct qfq_group *grp, struct qfq_aggregate *agg, in qfq_slot_insert() argument
871 u64 slot = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_insert()
875 u64 deltaS = roundedS - grp->S - in qfq_slot_insert()
[all …]
/linux-6.1.9/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.1.9/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.1.9/sound/core/seq/
Dseq_ports.c98 static void port_subs_info_init(struct snd_seq_port_subs_info *grp) in port_subs_info_init() argument
100 INIT_LIST_HEAD(&grp->list_head); in port_subs_info_init()
101 grp->count = 0; in port_subs_info_init()
102 grp->exclusive = 0; in port_subs_info_init()
103 rwlock_init(&grp->list_lock); in port_subs_info_init()
104 init_rwsem(&grp->list_mutex); in port_subs_info_init()
105 grp->open = NULL; in port_subs_info_init()
106 grp->close = NULL; in port_subs_info_init()
165 struct snd_seq_port_subs_info *grp,
169 struct snd_seq_port_subs_info *grp,
[all …]
/linux-6.1.9/drivers/base/
Ddevres.c444 struct devres_group *grp; in remove_nodes() local
446 grp = node_to_group(node); in remove_nodes()
447 if (grp) { in remove_nodes()
449 grp->color = 0; in remove_nodes()
471 struct devres_group *grp; in remove_nodes() local
473 grp = node_to_group(node); in remove_nodes()
474 BUG_ON(!grp || list_empty(&grp->node[0].entry)); in remove_nodes()
476 grp->color++; in remove_nodes()
477 if (list_empty(&grp->node[1].entry)) in remove_nodes()
478 grp->color++; in remove_nodes()
[all …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/arch/arm/boot/dts/
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.1.9/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.1.9/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c19 u32 rcventry, struct tid_group *grp,
30 struct tid_group *grp,
336 struct tid_group *grp = in hfi1_user_exp_rcv_setup() local
339 ret = program_rcvarray(fd, tidbuf, grp, in hfi1_user_exp_rcv_setup()
348 tid_group_add_tail(grp, &uctxt->tid_group_list); in hfi1_user_exp_rcv_setup()
354 tid_group_add_tail(grp, &uctxt->tid_full_list); in hfi1_user_exp_rcv_setup()
361 struct tid_group *grp, *ptr; in hfi1_user_exp_rcv_setup() local
371 grp = tid_group_pop(&uctxt->tid_group_list); in hfi1_user_exp_rcv_setup()
372 tid_group_add_tail(grp, &uctxt->tid_used_list); in hfi1_user_exp_rcv_setup()
380 list_for_each_entry_safe(grp, ptr, &uctxt->tid_used_list.list, in hfi1_user_exp_rcv_setup()
[all …]
/linux-6.1.9/drivers/pinctrl/renesas/
Dpinctrl-rzn1.c339 const struct rzn1_pin_group *grp; in rzn1_dt_node_to_map_one() local
348 grp = rzn1_pinctrl_find_group_by_name(ipctl, np->name); in rzn1_dt_node_to_map_one()
349 if (!grp) { in rzn1_dt_node_to_map_one()
375 grp->name, grp->func); in rzn1_dt_node_to_map_one()
382 &reserved_maps, num_maps, grp->name, in rzn1_dt_node_to_map_one()
390 grp->func, grp->name, grp->npins); in rzn1_dt_node_to_map_one()
464 struct rzn1_pin_group *grp = &ipctl->groups[group]; in rzn1_set_mux() local
465 unsigned int i, grp_pins = grp->npins; in rzn1_set_mux()
468 ipctl->functions[selector].name, selector, grp->name, group); in rzn1_set_mux()
472 rzn1_set_hw_pin_func(ipctl, grp->pins[i], grp->pin_ids[i], 0); in rzn1_set_mux()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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()
525 eng_grp->g->grp[eng_grp->mirror.idx].ucode[0].ver_str, in print_ucode_info()
549 &eng_grp->g->grp[eng_grp->mirror.idx], in print_engs_info()
605 struct otx_cpt_eng_grp_info *grp; in print_dbg_info() local
617 grp = &eng_grps->grp[i]; in print_dbg_info()
618 pr_debug("engine_group%d, state %s\n", i, grp->is_enabled ? in print_dbg_info()
620 if (grp->is_enabled) { in print_dbg_info()
621 mirrored_grp = &eng_grps->grp[grp->mirror.idx]; in print_dbg_info()
623 grp->mirror.is_ena ? in print_dbg_info()
625 grp->ucode[0].filename, in print_dbg_info()
[all …]
/linux-6.1.9/drivers/pinctrl/uniphier/
Dpinctrl-uniphier.h159 #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-6.1.9/arch/arm64/boot/dts/freescale/
Dimx8mp-dhcom-som.dtsi545 pinctrl_dhcom_a: dhcom-a-grp {
552 pinctrl_dhcom_b: dhcom-b-grp {
559 pinctrl_dhcom_c: dhcom-c-grp {
566 pinctrl_dhcom_d: dhcom-d-grp {
573 pinctrl_dhcom_e: dhcom-e-grp {
580 pinctrl_dhcom_f: dhcom-f-grp {
587 pinctrl_dhcom_g: dhcom-g-grp {
594 pinctrl_dhcom_h: dhcom-h-grp {
601 pinctrl_dhcom_i: dhcom-i-grp {
608 pinctrl_dhcom_j: dhcom-j-grp {
[all …]
/linux-6.1.9/drivers/pinctrl/freescale/
Dpinctrl-imx1-core.c158 const struct imx1_pin_group *grp = NULL; in imx1_pinctrl_find_group_by_name() local
163 grp = &info->groups[i]; in imx1_pinctrl_find_group_by_name()
168 return grp; in imx1_pinctrl_find_group_by_name()
224 const struct imx1_pin_group *grp; in imx1_dt_node_to_map() local
234 grp = imx1_pinctrl_find_group_by_name(info, np->name); in imx1_dt_node_to_map()
235 if (!grp) { in imx1_dt_node_to_map()
241 for (i = 0; i < grp->npins; i++) in imx1_dt_node_to_map()
265 for (i = j = 0; i < grp->npins; i++) { in imx1_dt_node_to_map()
268 pin_get_name(pctldev, grp->pins[i].pin_id); in imx1_dt_node_to_map()
269 new_map[j].data.configs.configs = &grp->pins[i].config; in imx1_dt_node_to_map()
[all …]
Dpinctrl-imx.c38 const struct group_desc *grp = NULL; in imx_pinctrl_find_group_by_name() local
42 grp = pinctrl_generic_get_group(pctldev, i); in imx_pinctrl_find_group_by_name()
43 if (grp && !strcmp(grp->name, name)) in imx_pinctrl_find_group_by_name()
47 return grp; in imx_pinctrl_find_group_by_name()
62 const struct group_desc *grp; in imx_dt_node_to_map() local
73 grp = imx_pinctrl_find_group_by_name(pctldev, np->name); in imx_dt_node_to_map()
74 if (!grp) { in imx_dt_node_to_map()
80 map_num += grp->num_pins; in imx_dt_node_to_map()
82 for (i = 0; i < grp->num_pins; i++) { in imx_dt_node_to_map()
83 pin = &((struct imx_pin *)(grp->data))[i]; in imx_dt_node_to_map()
[all …]
/linux-6.1.9/drivers/pinctrl/sprd/
Dpinctrl-sprd.c195 const struct sprd_pin_group *grp = NULL; in sprd_pinctrl_find_group_by_name() local
200 grp = &info->groups[i]; in sprd_pinctrl_find_group_by_name()
205 return grp; in sprd_pinctrl_find_group_by_name()
248 const struct sprd_pin_group *grp; in sprd_dt_node_to_map() local
257 grp = sprd_pinctrl_find_group_by_name(pctl, np->name); in sprd_dt_node_to_map()
258 if (!grp) { in sprd_dt_node_to_map()
306 grp->name, function); in sprd_dt_node_to_map()
316 pin_id = grp->pins[0]; in sprd_dt_node_to_map()
319 group_or_pin = grp->name; in sprd_dt_node_to_map()
390 struct sprd_pin_group *grp = &info->groups[group_selector]; in sprd_pmx_set_mux() local
[all …]
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_packet.c23 void sparx5_xtr_flush(struct sparx5 *sparx5, u8 grp) in sparx5_xtr_flush() argument
26 spx5_wr(QS_XTR_FLUSH_FLUSH_SET(BIT(grp)), sparx5, QS_XTR_FLUSH); in sparx5_xtr_flush()
55 static void sparx5_xtr_grp(struct sparx5 *sparx5, u8 grp, bool byte_swap) in sparx5_xtr_grp() argument
68 ifh[i] = spx5_rd(sparx5, QS_XTR_RD(grp)); in sparx5_xtr_grp()
78 sparx5_xtr_flush(sparx5, grp); in sparx5_xtr_grp()
86 sparx5_xtr_flush(sparx5, grp); in sparx5_xtr_grp()
95 u32 val = spx5_rd(sparx5, QS_XTR_RD(grp)); in sparx5_xtr_grp()
127 *rxbuf = spx5_rd(sparx5, QS_XTR_RD(grp)); in sparx5_xtr_grp()
167 int grp = INJ_QUEUE; in sparx5_inject() local
172 if (!(QS_INJ_STATUS_FIFO_RDY_GET(val) & BIT(grp))) { in sparx5_inject()
[all …]

1234567891011