Home
last modified time | relevance | path

Searched +full:- +full:grp (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
15 # +----|------------------+ +----|-------------------+
17 # +----|--------------------------------------------------|-------------------+
19 # | +--|--------------------------------------------------|-----------------+ |
24 # | +-----------------------------------------------------------------------+ |
25 # +---------------------------------------------------------------------------+
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
[all …]
/linux/net/tipc/
H A Dgroup.c102 static void tipc_group_proto_xmit(struct tipc_group *grp, struct tipc_member *m,
108 if (list_empty(&m->small_win)) in tipc_group_open()
110 list_del_init(&m->small_win); in tipc_group_open()
111 *m->group->open = true; in tipc_group_open()
115 static void tipc_group_decr_active(struct tipc_group *grp, in tipc_group_decr_active() argument
118 if (m->state == MBR_ACTIVE || m->state == MBR_RECLAIMING || in tipc_group_decr_active()
119 m->state == MBR_REMITTED) in tipc_group_decr_active()
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()
[all …]
/linux/drivers/s390/net/
H A Dctcm_mpc.c1 // SPDX-License-Identifier: GPL-2.0
80 .xid2_buf_len = (MPC_BUFSIZE_DEFAULT - 35),
126 /*-------------------------------------------------------------------*
129 *--------------------------------------------------------------------*/
170 rm--; in ctcmpc_dumpit()
177 ctcm_pr_debug(" --- %s ---\n", in ctcmpc_dumpit()
192 for ( ; rm > 0; rm--, sw++) { in ctcmpc_dumpit()
203 ctcm_pr_debug(" --- %s ---\n", tdup); in ctcmpc_dumpit()
211 ctcm_pr_debug(" --- %s ---\n", tdup); in ctcmpc_dumpit()
229 * offset Offset relative to skb-data, where to start the dump.
[all …]
/linux/fs/sysfs/
H A Dgroup.c1 // SPDX-License-Identifier: GPL-2.0
3 * fs/sysfs/group.c - Operations for adding/removing multiple files at once.
7 * Copyright (c) 2013 Greg Kroah-Hartman
21 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()
28 kernfs_remove_by_name(parent, (*attr)->name); 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()
31 kernfs_remove_by_name(parent, (*bin_attr)->attr.name); in remove_files()
[all …]
/linux/tools/testing/selftests/net/
H A Dtest_vxlan_mdb.sh2 # SPDX-License-Identifier: GPL-2.0
12 # +------------------------------------+ +------------------------------------+
19 # | +---------+---------+ | | +---------+---------+ |
33 # +-----------------|------------------+ +-----------------|------------------+
35 # +-----------------|------------------+ +-----------------|------------------+
49 # | +---------+---------+ | | +---------+---------+ |
56 # +------------------------------------+ +------------------------------------+
122 # All tests in this script. Can be overridden with -t option.
140 if [ ${rc} -eq ${expected} ]; then
141 printf "TEST: %-60s [ OK ]\n" "${msg}"
[all …]
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-rt305x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 #include <asm/mach-ralink/ralink_regs.h>
4 #include <asm/mach-ralink/rt305x.h>
8 #include "pinctrl-mtmips.h"
67 GRP("i2c", i2c_grp, 1, RT305X_GPIO_MODE_I2C),
68 GRP("spi", spi_grp, 1, RT305X_GPIO_MODE_SPI),
69 GRP("uartf", uartf_grp, RT305X_GPIO_MODE_UART0_MASK,
71 GRP("uartlite", uartlite_grp, 1, RT305X_GPIO_MODE_UART1),
72 GRP("jtag", jtag_grp, 1, RT305X_GPIO_MODE_JTAG),
73 GRP("mdio", mdio_grp, 1, RT305X_GPIO_MODE_MDIO),
[all …]
/linux/drivers/pinctrl/mvebu/
H A Dpinctrl-mvebu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 #include "pinctrl-mvebu.h"
64 *config = (readl(data->base + off) >> shift) & MVEBU_MPP_MASK; in mvebu_mmio_mpp_ctrl_get()
76 reg = readl(data->base + off) & ~(MVEBU_MPP_MASK << shift); in mvebu_mmio_mpp_ctrl_set()
77 writel(reg | (config << shift), data->base + off); in mvebu_mmio_mpp_ctrl_set()
86 for (n = 0; n < pctl->num_groups; n++) { in mvebu_pinctrl_find_group_by_pid()
87 if (pid >= pctl->groups[n].pins[0] && in mvebu_pinctrl_find_group_by_pid()
88 pid < pctl->groups[n].pins[0] + in mvebu_pinctrl_find_group_by_pid()
89 pctl->groups[n].npins) in mvebu_pinctrl_find_group_by_pid()
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-dhcom-som.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
6 #include "imx6ull-dhcor-som.dtsi"
10 /delete-property/ spi2;
11 /delete-property/ spi3;
28 stdout-path = "serial0:115200n8";
31 reg_ext_3v3_ref: regulator-ext-3v3-ref {
32 compatible = "regulator-fixed";
33 regulator-always-on;
34 regulator-max-microvolt = <3300000>;
35 regulator-min-microvolt = <3300000>;
[all …]
/linux/net/sched/
H A Dsch_qfq.c1 // SPDX-License-Identifier: GPL-2.0-only
26 "Reducing the Execution Time of Fair-Queueing Schedulers."
27 http://algo.ing.unimo.it/people/paolo/agg-sched/agg-sched.pdf
67 ^.__grp->index = 0
68 *.__grp->slot_shift
85 The per-scheduler-instance data contain all the data structures
97 * Shifts used for aggregate<->group mapping. We allow class weights that are
102 * grp->index is the index of the group; and grp->slot_shift
137 struct list_head alist; /* Link for active-classes list. */
150 struct qfq_group *grp; member
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mp-dhcom-som.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2021-2022 Marek Vasut <marex@denx.de>
10 compatible = "dh,imx8mp-dhcom-som", "fsl,imx8mp";
22 /* Memory size 512 MiB..8 GiB will be filled by U-Boot */
26 reg_eth_vio: regulator-eth-vio {
27 compatible = "regulator-fixed";
29 regulator-always-on;
30 regulator-boot-on;
31 regulator-min-microvolt = <3300000>;
32 regulator-max-microvolt = <3300000>;
[all …]
H A Dimx8mm-emcon.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
13 stdout-path = &uart1;
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&pinctrl_gpio_led>;
21 led-green {
24 default-state = "on";
25 linux,default-trigger = "heartbeat";
28 led-red {
[all …]
H A Dimx8mp-data-modul-edm-sbc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/net/qca-ar803x.h>
9 #include <dt-bindings/phy/phy-imx8-pcie.h>
14 compatible = "dmo,imx8mp-data-modul-edm-sbc", "fsl,imx8mp";
22 stdout-path = &uart3;
32 compatible = "pwm-backlight";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_panel_backlight>;
35 brightness-levels = <0 1 10 20 30 40 50 60 70 75 80 90 100>;
[all …]
H A Dimx8mm-data-modul-edm-sbc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/net/qca-ar803x.h>
9 #include <dt-bindings/phy/phy-imx8-pcie.h>
14 compatible = "dmo,imx8mm-data-modul-edm-sbc", "fsl,imx8mm";
22 stdout-path = &uart3;
32 compatible = "pwm-backlight";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_panel_backlight>;
35 brightness-levels = <0 1 10 20 30 40 50 60 70 75 80 90 100>;
[all …]
H A Dimx8mm-innocomm-wb15.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/phy/phy-imx8-pcie.h>
10 reg_modem: regulator-modem {
11 compatible = "regulator-fixed";
12 pinctrl-names = "default";
13 pinctrl-0 = <&pinctrl_modem_regulator>;
14 regulator-min-microvolt = <3300000>;
15 regulator-max-microvolt = <3300000>;
16 regulator-name = "epdev_on";
18 enable-active-high;
[all …]
/linux/sound/core/seq/
H A Dseq_ports.c1 // SPDX-License-Identifier: GPL-2.0-or-later
43 /* return pointer to port structure - port is locked if found */
51 guard(read_lock)(&client->ports_lock); in snd_seq_port_use_ptr()
52 list_for_each_entry(port, &client->ports_list_head, list) { in snd_seq_port_use_ptr()
53 if (port->addr.port == num) { in snd_seq_port_use_ptr()
54 if (port->closing) in snd_seq_port_use_ptr()
56 snd_use_lock_use(&port->use_lock); in snd_seq_port_use_ptr()
64 /* search for the next port - port is locked if found */
70 bool check_inactive = (pinfo->capability & SNDRV_SEQ_PORT_CAP_INACTIVE); in snd_seq_port_query_nearest()
72 num = pinfo->addr.port; in snd_seq_port_query_nearest()
[all …]
/linux/drivers/pinctrl/freescale/
H A Dpinctrl-imx.c1 // SPDX-License-Identifier: GPL-2.0+
30 #include "pinctrl-imx.h"
40 const struct group_desc *grp; in imx_pinctrl_find_group_by_name() local
43 for (i = 0; i < pctldev->num_groups; i++) { in imx_pinctrl_find_group_by_name()
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()
46 return grp; in imx_pinctrl_find_group_by_name()
55 seq_printf(s, "%s", dev_name(pctldev->dev)); in imx_pin_dbg_show()
63 const struct imx_pinctrl_soc_info *info = ipctl->info; in imx_dt_node_to_map()
64 const struct group_desc *grp; in imx_dt_node_to_map() local
[all …]
H A Dpinctrl-imx1-core.c1 // SPDX-License-Identifier: GPL-2.0+
8 // Based on pinctrl-imx.c:
29 #include "pinctrl-imx1.h"
81 return ipctl->base + port * MX1_PORT_STRIDE; in imx1_mem()
101 dev_dbg(ipctl->dev, "write: register 0x%p offset %d value 0x%x\n", in imx1_write_2bit()
161 const struct imx1_pin_group *grp = NULL; in imx1_pinctrl_find_group_by_name() local
164 for (i = 0; i < info->ngroups; i++) { in imx1_pinctrl_find_group_by_name()
165 if (!strcmp(info->groups[i].name, name)) { in imx1_pinctrl_find_group_by_name()
166 grp = &info->groups[i]; in imx1_pinctrl_find_group_by_name()
171 return grp; in imx1_pinctrl_find_group_by_name()
[all …]
/linux/include/linux/pinctrl/
H A Dmachine.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2011 ST-Ericsson SA
6 * Written on behalf of Linaro for ST-Ericsson
16 #include <linux/pinctrl/pinctrl-state.h>
27 * struct pinctrl_map_mux - mapping table content for MAP_TYPE_MUX_GROUP
39 * struct pinctrl_map_configs - mapping table content for MAP_TYPE_CONFIGS_*
54 * struct pinctrl_map - boards/machines shall provide this map for devices
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
[all …]
/linux/drivers/net/wireless/marvell/libertas_tf/
H A Ddeb_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
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__);
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
4 * Copyright(c) 2015-2018 Intel Corporation.
19 u32 rcventry, struct tid_group *grp,
30 struct tid_group *grp, u16 count,
55 fd->entry_to_rb = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init()
56 sizeof(*fd->entry_to_rb), in hfi1_user_exp_rcv_init()
58 if (!fd->entry_to_rb) in hfi1_user_exp_rcv_init()
59 return -ENOMEM; in hfi1_user_exp_rcv_init()
61 if (!HFI1_CAP_UGET_MASK(uctxt->flags, TID_UNMAP)) { in hfi1_user_exp_rcv_init()
62 fd->invalid_tid_idx = 0; in hfi1_user_exp_rcv_init()
[all …]
/linux/arch/sparc/kernel/
H A Dsignal_64.c1 // SPDX-License-Identifier: GPL-2.0
40 /* {set, get}context() needed for 64-bit SparcLinux userland. */
44 regs->u_regs[UREG_I0]; in sparc64_set_context()
46 mc_gregset_t __user *grp; in sparc64_set_context() local
54 (((unsigned long)ucp) & (sizeof(unsigned long)-1)) || in sparc64_set_context()
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()
62 if (regs->u_regs[UREG_I1]) { in sparc64_set_context()
66 if (__get_user(set.sig[0], &ucp->uc_sigmask.sig[0])) in sparc64_set_context()
[all …]
/linux/drivers/pinctrl/
H A Dpinctrl-k230.c1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
15 #include <linux/pinctrl/pinconf-generic.h>
90 return info->ngroups; in k230_get_groups_count()
98 return info->groups[selector].name; in k230_get_group_name()
108 if (selector >= info->ngroups) in k230_get_group_pins()
109 return -EINVAL; in k230_get_group_pins()
111 *pins = info->groups[selector].pins; in k230_get_group_pins()
112 *num_pins = info->groups[selector].num_pins; in k230_get_group_pins()
122 for (i = 0; i < info->nfunctions; i++) { in k230_name_to_funtion()
123 if (!strcmp(info->functions[i].name, name)) in k230_name_to_funtion()
[all …]
/linux/drivers/base/
H A Ddevres.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/base/devres.c - device resource management
31 * the alignment of a 64-bit integer.
42 /* -- 8 pointers */
48 node->name = name; in set_node_dbginfo()
49 node->size = size; in set_node_dbginfo()
61 op, node, node->name, node->size); in devres_dbg()
70 trace_devres_log(dev, op, node, node->name, node->size); in devres_log()
90 if (node->release == &group_open_release) in node_to_group()
92 if (node->release == &group_close_release) in node_to_group()
[all …]
/linux/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2017 Spreadtrum - http://www.spreadtrum.com
20 #include <linux/pinctrl/pinconf-generic.h>
28 #include "../pinctrl-utils.h"
29 #include "pinctrl-sprd.h"
164 struct sprd_pinctrl_soc_info *info = sprd_pctl->info; in sprd_pinctrl_get_id_by_name()
167 for (i = 0; i < info->npins; i++) { in sprd_pinctrl_get_id_by_name()
168 if (!strcmp(info->pins[i].name, name)) in sprd_pinctrl_get_id_by_name()
169 return info->pins[i].number; in sprd_pinctrl_get_id_by_name()
172 return -ENODEV; in sprd_pinctrl_get_id_by_name()
[all …]
/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rzn1.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2014-2018 Renesas Electronics Europe Limited
9 #include <dt-bindings/pinctrl/rzn1-pinctrl.h>
19 #include <linux/pinctrl/pinconf-generic.h>
26 #include "../pinctrl-utils.h"
83 * struct rzn1_pmx_func - describes rzn1 pinmux functions
95 * struct rzn1_pin_group - describes an rzn1 pin group
187 u32 val = ipctl->lev1_protect_phys | !(value & LOCK_LEVEL1); in rzn1_hw_set_lock()
189 writel(val, &ipctl->lev1->status_protect); in rzn1_hw_set_lock()
193 u32 val = ipctl->lev2_protect_phys | !(value & LOCK_LEVEL2); in rzn1_hw_set_lock()
[all …]

12345678910>>...18