Home
last modified time | relevance | path

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

12

/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 …]
H A Dctcm_fsms.c1 // SPDX-License-Identifier: GPL-2.0
126 [CH_XID7_PENDING1] = "Active XID7 P1 Exchange ",
128 [CH_XID7_PENDING3] = "Active XID7 P2 Exchange ",
129 [CH_XID7_PENDING4] = "XID7 Complete - Pending READY ",
135 * ----- static ctcm actions for channel statemachine -----
158 * ----- static ctcmpc actions for ctcmpc channel statemachine -----
195 CTCM_FUNTAIL, ch->id, msg, rc); in ctcm_ccw_check_rc()
197 case -EBUSY: in ctcm_ccw_check_rc()
199 ch->id); in ctcm_ccw_check_rc()
200 fsm_event(ch->fsm, CTC_EVENT_IO_EBUSY, ch); in ctcm_ccw_check_rc()
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ul-phytec-segin-peb-wlbt-05.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
11 reg_wl_en: regulator-wl-en {
12 compatible = "regulator-fixed";
13 regulator-name = "wlan_en";
14 regulator-min-microvolt = <3300000>;
15 regulator-max-microvolt = <3300000>;
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_wl>;
[all …]
/linux/drivers/net/ethernet/mscc/
H A Docelot.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
30 /* Caller must hold &ocelot->mact_lock */
36 /* Caller must hold &ocelot->mact_lock */
48 /* Caller must hold &ocelot->mact_lock */
90 if (mc_ports & BIT(ocelot->num_phys_ports)) in __ocelot_mact_learn()
109 mutex_lock(&ocelot->mact_lock); in ocelot_mact_learn()
111 mutex_unlock(&ocelot->mact_lock); in ocelot_mact_learn()
122 mutex_lock(&ocelot->mact_lock); in ocelot_mact_forget()
133 mutex_unlock(&ocelot->mact_lock); in ocelot_mact_forget()
145 mutex_lock(&ocelot->mact_lock); in ocelot_mact_lookup()
[all …]
/linux/drivers/mfd/
H A Dtwl4030-power.c9 * Peter De Schrijver <peter.de-schrijver@nokia.com>
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33 #include <asm/mach-types.h>
57 #define PHY_TO_OFF_PM_MASTER(p) (p - 0x36)
58 #define PHY_TO_OFF_PM_RECEIVER(p) (p - 0x5b)
60 /* resource - hfclk */
222 int err = -EINVAL; in twl4030_write_script()
224 for (; len; len--, address++, script++) { in twl4030_write_script()
227 script->pmb_message, in twl4030_write_script()
228 script->delay, in twl4030_write_script()
[all …]
/linux/drivers/net/ethernet/freescale/
H A Dgianfar.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * This driver is designed for the non-CPM ethernet controllers
13 * Copyright 2002-2009, 2011-2013 Freescale Semiconductor, Inc.
20 * B-V +1.62
25 * is therefore conveyed through an OF-style device tree.
36 * interrupt coalescing is active, then the interrupt may not
45 * pre-allocated skb, and so after the skb is passed up to the
93 #include <linux/dma-mapping.h>
115 bdp->bufPtr = cpu_to_be32(buf); in gfar_init_rxbdp()
118 if (bdp == rx_queue->rx_bd_base + rx_queue->rx_ring_size - 1) in gfar_init_rxbdp()
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Deswin,eic7700-pinctrl.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/eswin,eic7700-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Yulin Lu <luyulin@eswincomputing.com>
13 - $ref: pinctrl.yaml#
19 and various pin configuration parameters, such as input-enable, pull-up, etc.
23 const: eswin,eic7700-pinctrl
28 vrgmii-supply:
32 depending on the board-level voltage configuration required by the RGMII interface.
[all …]
H A Dbrcm,bcm11351-pinctrl.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/brcm,bcm11351-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Florian Fainelli <florian.fainelli@broadcom.com>
11 - Ray Jui <rjui@broadcom.com>
12 - Scott Branden <sbranden@broadcom.com>
15 - $ref: pinctrl.yaml#
19 const: brcm,bcm11351-pinctrl
25 '-pins$':
[all …]
/linux/drivers/pinctrl/intel/
H A Dpinctrl-intel.h1 /* SPDX-License-Identifier: GPL-2.0 */
26 * struct intel_pingroup - Description about group of pins
27 * @grp: Generic data of the pin group (name and pins)
32 struct pingroup grp; member
38 * struct intel_function - Description about a function
48 * struct intel_padgroup - Hardware pad group information
67 * enum - Special treatment for GPIO base in pad group
74 INTEL_GPIO_BASE_ZERO = -2,
75 INTEL_GPIO_BASE_NOMAP = -1,
80 * struct intel_community - Intel pin community description
[all …]
H A Dpinctrl-baytrail.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2012-2013, Intel Corporation
28 #include <linux/pinctrl/pinconf-generic.h>
30 #include "pinctrl-intel.h"
65 #define BYT_INPUT_EN BIT(2) /* 0: input enabled (active low)*/
66 #define BYT_OUTPUT_EN BIT(1) /* 0: output enabled (active low)*/
570 offset -= comm->pin_base; in byt_gpio_reg()
579 reg_offset = comm->pad_map[offset] * 16; in byt_gpio_reg()
583 return comm->pad_regs + reg_offset + reg; in byt_gpio_reg()
600 for (i = 0; i < group.grp.npins; i++) { in byt_set_group_simple_mux()
[all …]
/linux/drivers/rtc/
H A Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0
13 #include "rtc-core.h"
19 * ideally UTC. However, PCs that also boot to MS-Windows normally use
25 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show() argument
27 return sysfs_emit(buf, "%s %s\n", dev_driver_string(dev->parent), in name_show()
28 dev_name(dev->parent)); in name_show()
33 date_show(struct device *dev, struct device_attribute *attr, char *buf) in date_show() argument
38 retval = rtc_read_time(to_rtc_device(dev), &tm); in date_show()
47 time_show(struct device *dev, struct device_attribute *attr, char *buf) in time_show() argument
52 retval = rtc_read_time(to_rtc_device(dev), &tm); in time_show()
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dlib.sh2 # SPDX-License-Identifier: GPL-2.0
7 declare -A NETIFS=(
42 # Constants for netdevice bring-up:
46 # Like INTERFACE_TIMEOUT, but default for ad-hoc waiting in testing scripts.
83 # Whether the machine is "slow" -- i.e. might be incapable of running tests
85 # e.g. a low-power board.
89 # Find netifs by test-specifie
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_stats.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
49 return !priv->profile->stats_grps_num ? 0 : in stats_grps_num()
50 priv->profile->stats_grps_num(priv); in stats_grps_num()
55 mlx5e_stats_grp_t *stats_grps = priv->profile->stats_grps; in mlx5e_stats_total_num()
61 total += stats_grps[i]->get_num_stats(priv); in mlx5e_stats_total_num()
68 mlx5e_stats_grp_t *stats_grps = priv->profile->stats_grps; in mlx5e_stats_update_ndo_stats()
72 for (i = num_stats_grps - 1; i >= 0; i--) in mlx5e_stats_update_ndo_stats()
73 if (stats_grps[i]->update_stats && in mlx5e_stats_update_ndo_stats()
74 stats_grps[i]->update_stats_mask & MLX5E_NDO_UPDATE_STATS) in mlx5e_stats_update_ndo_stats()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright(c) 2018 - 2020 Intel Corporation.
18 * This is an end-to-end protocol at the hfi1 level between two nodes that
24 * -- The total data length should be greater than 256K;
25 * -- The total data length should be a multiple of 4K page size;
26 * -- Each local scatter-gather entry should be 4K page aligned;
27 * -- Each local scatter-gather entry should be a multiple of 4K page size;
56 #define HFI1_KERNEL_MAX_JKEY (2 * HFI1_ADMIN_JKEY_RANGE - 1)
97 * N - the context Number
98 * K - the Kdeth_qp
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_log_format.h1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
13 * On-disk Log Format definitions.
15 * This file contains all the on-disk format definitions used within the log. It
44 BTOBB(1 << (xfs_has_logv2(log->l_mp) ? \
47 BTOBB(XLOG_MAX_ICLOGS << (xfs_has_logv2(log->l_mp) ? \
54 /* this is used in a spot where we might otherwise double-endian-flip */
79 * The unmount record used to have a string "Unmount filesystem--" in the
95 * the remainder of the current active in-core log, it is split up into
132 __be32 h_len; /* len in bytes; should be 64-bit aligned: 4 */
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_cpt.c1 // SPDX-License-Identifier: GPL-2.0-only
42 (_rsp)->busy_sts_##etype = busy_sts; \
43 (_rsp)->free_sts_##etype = free_sts; \
73 dev_warn_once(rvu->dev, "flt_vecs:%d exceeds the max vectors:%d\n", in cpt_10k_flt_nvecs_get()
84 struct rvu *rvu = block->rvu; in cpt_af_flt_intr_handler()
85 int blkaddr = block->addr; in cpt_af_flt_intr_handler()
88 u8 grp; in cpt_af_flt_intr_handler() local
91 dev_err_ratelimited(rvu->dev, "Received CPTAF FLT%d irq : 0x%llx", vec, reg); in cpt_af_flt_intr_handler()
93 i = -1; in cpt_af_flt_intr_handler()
106 grp = rvu_read64(rvu, blkaddr, CPT_AF_EXEX_CTL2(eng)) & 0xFF; in cpt_af_flt_intr_handler()
[all …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_lib.c1 // SPDX-License-Identifier: GPL-2.0-only
13 * idpf_init_vector_stack - Fill the MSIX vector stack with vector index
24 mutex_lock(&adapter->vector_lock); in idpf_init_vector_stack()
25 min_vec = adapter->num_msix_entries - adapter->num_avail_msix; in idpf_init_vector_stack()
26 stack = &adapter->vector_stack; in idpf_init_vector_stack()
27 stack->size = adapter->num_msix_entries; in idpf_init_vector_stack()
29 * distribute the unused vectors on-demand basis in idpf_init_vector_stack()
31 stack->base = min_vec; in idpf_init_vector_stack()
32 stack->top = min_vec; in idpf_init_vector_stack()
34 stack->vec_idx = kcalloc(stack->size, sizeof(u16), GFP_KERNEL); in idpf_init_vector_stack()
[all …]
/linux/net/ipv6/
H A Dip6mr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * (c) 2004 Mickael Hoerdt, <hoerdt@clarinet.u-strasbg.fr>
8 * (c) 2004 Jean-Philippe Andriot, <jean-philippe.andriot@6WIND.com>
11 * YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
69 return rcu_dereference(vif->dev); in vif_dev_read()
91 struct net_device *dev, struct sk_buff *skb,
107 list_for_each_entry_rcu(mrt, &net->ipv6.mr6_tables, list, \
109 list_empty(&net->ipv6.mr6_tables))
117 ret = list_entry_rcu(net->ipv6.mr6_tables.next, in ip6mr_mr_table_iter()
120 ret = list_entry_rcu(mrt->list.next, in ip6mr_mr_table_iter()
[all …]
/linux/drivers/scsi/elx/efct/
H A Defct_driver.c1 // SPDX-License-Identifier: GPL-2.0
36 /* driver-wide init for target-server */ in efct_device_init()
70 INIT_LIST_HEAD(&efct->list_entry); in efct_device_alloc()
71 list_add_tail(&efct->list_entry, &efct_devices); in efct_device_alloc()
81 for (i = 0; i < efct->n_msix_vec; i++) { in efct_teardown_msix()
82 free_irq(pci_irq_vector(efct->pci, i), in efct_teardown_msix()
83 &efct->intr_context[i]); in efct_teardown_msix()
86 pci_free_irq_vectors(efct->pci); in efct_teardown_msix()
98 return -ENOMEM; in efct_efclib_config()
100 efct->efcport = efc; in efct_efclib_config()
[all …]
/linux/net/ipv4/
H A Dipmr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
86 return rcu_dereference(vif->dev); in vif_dev_read()
108 struct net_device *dev, struct sk_buff *skb,
120 list_for_each_entry_rcu(mrt, &net->ipv4.mr_tables, list, \
122 list_empty(&net->ipv
442 ipmr_init_vif_indev(const struct net_device * dev) ipmr_init_vif_indev() argument
509 reg_vif_xmit(struct sk_buff * skb,struct net_device * dev) reg_vif_xmit() argument
539 reg_vif_get_iflink(const struct net_device * dev) reg_vif_get_iflink() argument
549 reg_vif_setup(struct net_device * dev) reg_vif_setup() argument
561 struct net_device *dev; ipmr_reg_vif() local
671 struct net_device *dev; vif_delete() local
833 struct net_device *dev; vif_add() local
1120 ipmr_cache_unresolved(struct mr_table * mrt,vifi_t vifi,struct sk_buff * skb,struct net_device * dev) ipmr_cache_unresolved() argument
1690 struct in_addr grp; global() member
1765 struct net_device *dev = netdev_notifier_info_to_dev(ptr); ipmr_device_event() local
1982 ipmr_find_vif(const struct mr_table * mrt,struct net_device * dev) ipmr_find_vif() argument
1996 ip_mr_forward(struct net * net,struct mr_table * mrt,struct net_device * dev,struct sk_buff * skb,struct mfc_cache * c,int local) ip_mr_forward() argument
2149 struct net_device *dev; ip_mr_input() local
2241 ip_mr_output_finish(struct net * net,struct mr_table * mrt,struct net_device * dev,struct sk_buff * skb,struct mfc_cache * c) ip_mr_output_finish() argument
2298 struct net_device *dev; ip_mr_output() local
2425 struct net_device *dev; ipmr_get_route() local
2686 __be32 src, grp; ipmr_rtm_getroute() local
2808 struct net_device *dev = NULL; rtm_to_ipmr_mfcc() local
[all...]
/linux/drivers/base/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/base/core.c - core driver model code (device registration, etc)
5 * Copyright (c) 2002-3 Patrick Mochel
6 * Copyright (c) 2002-3 Open Source Development Labs
7 * Copyright (c) 2006 Greg Kroah-Hartman <gregkh@suse.de>
16 #include <linux/dma-map-ops.h> /* for dma_default_coherent */
45 static void __fw_devlink_link_to_consumers(struct device *dev);
51 * __fwnode_link_add - Create a link between two fwnode_handles.
73 list_for_each_entry(link, &sup->consumers, s_hook) in __fwnode_link_add()
74 if (link->consumer == con) { in __fwnode_link_add()
[all …]
/linux/drivers/pinctrl/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2012 ST-Ericsson SA
6 * Written on behalf of Linaro for ST-Ericsson
62 * pinctrl_provide_dummies() - indicate if pinctrl provides dummy state support
77 return pctldev->desc->name; in pinctrl_dev_get_name()
83 return dev_name(pctldev->dev); in pinctrl_dev_get_devname()
89 return pctldev->driver_data; in pinctrl_dev_get_drvdata()
94 * get_pinctrl_dev_from_devname() - look up pin controller device
110 if (!strcmp(dev_name(pctldev->dev), devname)) { in get_pinctrl_dev_from_devname()
129 if (device_match_of_node(pctldev->dev, np)) { in get_pinctrl_dev_from_of_node()
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c1 /* Broadcom NetXtreme-C/E network driver.
3 * Copyright (c) 2014-2016 Broadcom Corporation
4 * Copyright (c) 2016-2019 Broadcom Limited
25 #include <linux/dma-mapping.h>
60 #include <linux/pci-tph.h>
95 [BCM57301] = { "Broadcom BCM57301 NetXtreme-C 10Gb Ethernet" },
96 [BCM57302] = { "Broadcom BCM57302 NetXtreme-C 10Gb/25Gb Ethernet" },
97 [BCM57304] = { "Broadcom BCM57304 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet" },
98 [BCM57417_NPAR] = { "Broadcom BCM57417 NetXtreme-E Ethernet Partition" },
100 [BCM57311] = { "Broadcom BCM57311 NetXtreme-C 10Gb Ethernet" },
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
16 #include <linux/dma-mapping.h>
94 * il3945_disable_events - Disable selected events in uCode event log
99 * Use for only special debugging. This function is just a placeholder as-is,
107 u32 disable_ptr; /* SRAM address of event-disable bitmap array */ in il3945_disable_events()
110 0x00000000, /* 31 - 0 Event id numbers */ in il3945_disable_events()
111 0x00000000, /* 63 - 32 */ in il3945_disable_events()
112 0x00000000, /* 95 - 64 */ in il3945_disable_events()
[all …]
/linux/drivers/net/hyperv/
H A Dhyperv_net.h1 /* SPDX-License-Identifier: GPL-2.0-only */
154 * place this structure in the skb->cb field.
207 bool link_state; /* 0 - link up, 1 - link down */
247 int netvsc_xdp_set(struct net_device *dev, struct bpf_prog *prog,
251 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf);
260 struct netvsc_device *rndis_filter_device_add(struct hv_device *dev,
263 void rndis_filter_device_remove(struct hv_device *dev,
460 * ------------------------------------------------------------
498 * dynamic reconfigurations when the cost of GPA-direct buffers
637 u32 active_datapath; /* active data path in VM */
[all …]

12