Home
last modified time | relevance | path

Searched +full:switch +full:- +full:mode (Results 1 – 25 of 1084) sorted by relevance

12345678910>>...44

/kernel/linux/linux-5.10/drivers/soc/fsl/qe/
Ducc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * QE UCC API Set - UCC specific routines implementations.
33 if (ucc_num > UCC_MAX_NUM - 1) in ucc_set_qe_mux_mii_mng()
34 return -EINVAL; in ucc_set_qe_mux_mii_mng()
37 qe_clrsetbits_be32(&qe_immr->qmx.cmxgcr, QE_CMXGCR_MII_ENET_MNG, in ucc_set_qe_mux_mii_mng()
50 * 'ucc_num' is the UCC number, from 0 - 7.
61 switch (ucc_num) { in ucc_set_type()
62 case 0: guemr = &qe_immr->ucc1.slow.guemr; in ucc_set_type()
64 case 1: guemr = &qe_immr->ucc2.slow.guemr; in ucc_set_type()
66 case 2: guemr = &qe_immr->ucc3.slow.guemr; in ucc_set_type()
[all …]
/kernel/linux/linux-5.10/drivers/net/dsa/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "Distributed Switch Architecture drivers"
8 tristate "Broadcom Starfighter 2 Ethernet switch support"
17 switch chips.
20 tristate "DSA mock-up Ethernet switch chip support"
24 This enables support for a fake mock-up switch chip which
36 tristate "MediaTek MT753x and MT7621 Ethernet switch support"
41 Ethernet switch chips.
44 tristate "Marvell 88E6060 ethernet switch chip support"
48 This enables support for the Marvell 88E6060 ethernet switch
[all …]
/kernel/linux/linux-4.19/drivers/soc/fsl/qe/
Ducc.c4 * QE UCC API Set - UCC specific routines implementations.
38 if (ucc_num > UCC_MAX_NUM - 1) in ucc_set_qe_mux_mii_mng()
39 return -EINVAL; in ucc_set_qe_mux_mii_mng()
42 clrsetbits_be32(&qe_immr->qmx.cmxgcr, QE_CMXGCR_MII_ENET_MNG, in ucc_set_qe_mux_mii_mng()
55 * 'ucc_num' is the UCC number, from 0 - 7.
66 switch (ucc_num) { in ucc_set_type()
67 case 0: guemr = &qe_immr->ucc1.slow.guemr; in ucc_set_type()
69 case 1: guemr = &qe_immr->ucc2.slow.guemr; in ucc_set_type()
71 case 2: guemr = &qe_immr->ucc3.slow.guemr; in ucc_set_type()
73 case 3: guemr = &qe_immr->ucc4.slow.guemr; in ucc_set_type()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dqcom-rpm.txt8 - compatible:
12 "qcom,rpm-apq8064"
13 "qcom,rpm-msm8660"
14 "qcom,rpm-msm8960"
15 "qcom,rpm-ipq8064"
16 "qcom,rpm-mdm9615"
18 - reg:
20 Value type: <prop-encoded-array>
23 - interrupts:
25 Value type: <prop-encoded-array>
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/
Dqcom-rpm.txt8 - compatible:
12 "qcom,rpm-apq8064"
13 "qcom,rpm-msm8660"
14 "qcom,rpm-msm8960"
15 "qcom,rpm-ipq8064"
16 "qcom,rpm-mdm9615"
18 - reg:
20 Value type: <prop-encoded-array>
23 - interrupts:
25 Value type: <prop-encoded-array>
[all …]
/kernel/linux/linux-4.19/Documentation/networking/
Dbonding.txt7 Corrections, HA extensions : 2000/10/03-15 :
8 - Willy Tarreau <willy at meta-x.org>
9 - Constantine Gavrilov <const-g at xpert.com>
10 - Chad N. Tindel <ctindel at ieee dot org>
11 - Janice Girouard <girouard at us dot ibm dot com>
12 - Jay Vosburgh <fubar at us dot ibm dot com>
16 - Mitch Williams <mitch.a.williams at intel.com>
23 The behavior of the bonded interfaces depends upon the mode; generally
29 the original tools from extreme-linux and beowulf sites will not work
54 3.7 Configuring LACP for 802.3ad mode in a more secure way
[all …]
/kernel/linux/linux-4.19/drivers/net/dsa/
DKconfig1 menu "Distributed Switch Architecture drivers"
7 tristate "Broadcom Starfighter 2 Ethernet switch support"
14 ---help---
16 switch chips.
19 tristate "DSA mock-up Ethernet switch chip support"
22 ---help---
23 This enables support for a fake mock-up switch chip which
27 tristate "Mediatek MT7530 Ethernet switch support"
30 ---help---
31 This enables support for the Mediatek MT7530 Ethernet switch
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dbonding.rst1 .. SPDX-License-Identifier: GPL-2.0
11 Corrections, HA extensions: 2000/10/03-15:
13 - Willy Tarreau <willy at meta-x.org>
14 - Constantine Gavrilov <const-g at xpert.com>
15 - Chad N. Tindel <ctindel at ieee dot org>
16 - Janice Girouard <girouard at us dot ibm dot com>
17 - Jay Vosburgh <fubar at us dot ibm dot com>
22 - Mitch Williams <mitch.a.williams at intel.com>
29 The behavior of the bonded interfaces depends upon the mode; generally
35 the original tools from extreme-linux and beowulf sites will not work
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Dar9331.txt1 Atheros AR9331 built-in switch
4 It is a switch built-in to Atheros AR9331 WiSoC and addressable over internal
5 MDIO bus. All PHYs are built-in as well.
9 - compatible: should be: "qca,ar9331-switch"
10 - reg: Address on the MII bus for the switch.
11 - resets : Must contain an entry for each entry in reset-names.
12 - reset-names : Must include the following entries: "switch"
13 - interrupt-parent: Phandle to the parent interrupt controller
14 - interrupts: IRQ line for the switch
15 - interrupt-controller: Indicates the switch is itself an interrupt
[all …]
Dmt7530.txt1 Mediatek MT7530 Ethernet switch
6 - compatible: may be compatible = "mediatek,mt7530"
9 - #address-cells: Must be 1.
10 - #size-cells: Must be 0.
11 - mediatek,mcm: Boolean; if defined, indicates that either MT7530 is the part
12 on multi-chip module belong to MT7623A has or the remotely standalone
17 - core-supply: Phandle to the regulator node necessary for the core power.
18 - io-supply: Phandle to the regulator node necessary for the I/O power.
19 See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt
24 - reset-gpios: Should be a gpio specifier for a reset line.
[all …]
/kernel/linux/linux-5.10/Documentation/networking/dsa/
Dsja1105.rst2 NXP SJA1105 switch driver
10 - SJA1105E: First generation, no TTEthernet
11 - SJA1105T: First generation, TTEthernet
12 - SJA1105P: Second generation, no TTEthernet, no SGMII
13 - SJA1105Q: Second generation, TTEthernet, no SGMII
14 - SJA1105R: Second generation, no TTEthernet, SGMII
15 - SJA1105S: Second generation, TTEthernet, SGMII
17 These are SPI-managed automotive switches, with all ports being gigabit
21 set-and-forget use, with minimal dynamic interaction at runtime. They
56 Also the configuration is write-only (software cannot read it back from the
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-bd9571mwv-regulator1 What: /sys/bus/i2c/devices/.../bd9571mwv-regulator.*.auto/backup_mode
5 Description: Read/write the current state of DDR Backup Mode, which controls
10 A. With a momentary power switch (or pulse signal), DDR
11 Backup Mode is enabled by default when available, as the
13 B. With a toggle power switch (or level signal), the
16 1. Configure PMIC for backup mode, to change the role of
17 the accessory power switch from a power switch to a
18 wake-up switch,
19 2. Switch accessory power switch off, to prepare for
23 4. Switch accessory power switch on, to resume the
[all …]
/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-driver-bd9571mwv-regulator1 What: /sys/bus/i2c/devices/.../bd9571mwv-regulator.*.auto/backup_mode
5 Description: Read/write the current state of DDR Backup Mode, which controls
9 A. With a momentary power switch (or pulse signal), DDR
10 Backup Mode is enabled by default when available, as the
12 B. With a toggle power switch (or level signal), the
14 1. Configure PMIC for backup mode, to change the role of
15 the accessory power switch from a power switch to a
16 wake-up switch,
17 2. Switch accessory power switch off, to prepare for
21 4. Switch accessory power switch on, to resume the
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/
Dkeystone-netcp.txt6 switch sub-module to send and receive packets. NetCP also includes a packet
13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates
16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP
17 sub-modules exist as a loadable kernel module which plug in to the netcp core.
18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is
19 mandatory to have the ethernet switch sub-module for the ethernet interface to
20 be operational. Any other sub-module like the PA is optional.
24 -----------------------------
26 -----------------------------
28 |-> NetCP Devices -> |
[all …]
Dhisilicon-hns-nic.txt4 - compatible: "hisilicon,hns-nic-v1" or "hisilicon,hns-nic-v2".
5 "hisilicon,hns-nic-v1" is for hip05.
6 "hisilicon,hns-nic-v2" is for Hi1610 and Hi1612.
7 - ae-handle: accelerator engine handle for hns,
9 see Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt
10 - port-id: is the index of port provided by DSAF (the accelerator). DSAF can
14 The remaining 6 PHYs are taken according to the mode of DSAF.
16 In NIC mode of DSAF, all 6 PHYs are taken as ethernet ports to the CPU. The
17 port-id can be 2 to 7. Here is the diagram:
18 +-----+---------------+
[all …]
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/ti/
Dcpsw_switchdev.rst1 .. SPDX-License-Identifier: GPL-2.0
17 ip -d link show dev sw0p1 | grep switchid
23 Dual mac mode
26 - The new (cpsw_new.c) driver is operating in dual-emac mode by default, thus
30 - optimized promiscuous mode: The P0_UNI_FLOOD (both ports) is enabled in
32 So, Ports in promiscuous mode will keep possibility of mcast and vlan
34 to the same bridge, but without enabling "switch" mode, or to different
36 - learning disabled on ports as it make not too much sense for
37 segregated ports - no forwarding in HW.
38 - enabled basic support for devlink.
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dda9055.c1 // SPDX-License-Identifier: GPL-2.0-or-later
59 /* Input - Gain, Select and Filter Registers */
72 /* Output - Gain, Select and Filter Registers */
245 u8 mode; /* 0 = slave, 1 = master */ member
250 /* for MASTER mode, fs = 44.1Khz and its harmonics */
260 /* for MASTER mode, fs = 48Khz and its harmonics */
270 /* for SLAVE mode with SRM */
289 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0),
290 /* -54dB to 15dB */
291 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0)
[all …]
/kernel/linux/linux-4.19/sound/soc/codecs/
Dda9055.c63 /* Input - Gain, Select and Filter Registers */
76 /* Output - Gain, Select and Filter Registers */
249 u8 mode; /* 0 = slave, 1 = master */ member
254 /* for MASTER mode, fs = 44.1Khz and its harmonics */
264 /* for MASTER mode, fs = 48Khz and its harmonics */
274 /* for SLAVE mode with SRM */
293 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0),
294 /* -54dB to 15dB */
295 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0)
300 /* -78dB to 12dB */
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dwm8350-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // wm8350.c -- Voltage and current regulation for the Wolfson WM8350 PMIC
99 switch (isink) { in wm8350_isink_enable()
101 switch (wm8350->pmic.isink_A_dcdc) { in wm8350_isink_enable()
109 1 << (wm8350->pmic.isink_A_dcdc - in wm8350_isink_enable()
113 return -EINVAL; in wm8350_isink_enable()
117 switch (wm8350->pmic.isink_B_dcdc) { in wm8350_isink_enable()
125 1 << (wm8350->pmic.isink_B_dcdc - in wm8350_isink_enable()
129 return -EINVAL; in wm8350_isink_enable()
133 return -EINVAL; in wm8350_isink_enable()
[all …]
/kernel/linux/linux-4.19/lib/
Dpercpu-refcount.c6 #include <linux/percpu-refcount.h>
10 * don't try to detect the ref hitting 0 - which means that get/put can just
12 * particular cpu can (and will) wrap - this is fine, when we go to shutdown the
21 * the ref hitting 0 on every put - this would require global synchronization
26 * convert to non percpu mode before the initial ref is dropped everything
29 * Converting to non percpu mode is done with some RCUish stuff in
34 #define PERCPU_COUNT_BIAS (1LU << (BITS_PER_LONG - 1))
42 (ref->percpu_count_ptr & ~__PERCPU_REF_ATOMIC_DEAD); in percpu_count_ptr()
46 * percpu_ref_init - initialize a percpu refcount
52 * Initializes @ref. If @flags is zero, @ref starts in percpu mode with a
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dkeystone-netcp.txt6 switch sub-module to send and receive packets. NetCP also includes a packet
13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates
16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP
17 sub-modules exist as a loadable kernel module which plug in to the netcp core.
18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is
19 mandatory to have the ethernet switch sub-module for the ethernet interface to
20 be operational. Any other sub-module like the PA is optional.
24 -----------------------------
26 -----------------------------
28 |-> NetCP Devices -> |
[all …]
Dhisilicon-hns-nic.txt4 - compatible: "hisilicon,hns-nic-v1" or "hisilicon,hns-nic-v2".
5 "hisilicon,hns-nic-v1" is for hip05.
6 "hisilicon,hns-nic-v2" is for Hi1610 and Hi1612.
7 - ae-handle: accelerator engine handle for hns,
9 see Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt
10 - port-id: is the index of port provided by DSAF (the accelerator). DSAF can
14 The remaining 6 PHYs are taken according to the mode of DSAF.
16 In NIC mode of DSAF, all 6 PHYs are taken as ethernet ports to the CPU. The
17 port-id can be 2 to 7. Here is the diagram:
18 +-----+---------------+
[all …]
/kernel/linux/linux-4.19/drivers/regulator/
Dwm8350-regulator.c2 * wm8350.c -- Voltage and current regulation for the Wolfson WM8350 PMIC
108 return -EINVAL; in get_isink_val()
123 switch (isink) { in wm8350_isink_set_current()
137 return -EINVAL; in wm8350_isink_set_current()
149 switch (isink) { in wm8350_isink_get_current()
171 switch (isink) { in wm8350_isink_enable()
173 switch (wm8350->pmic.isink_A_dcdc) { in wm8350_isink_enable()
181 1 << (wm8350->pmic.isink_A_dcdc - in wm8350_isink_enable()
185 return -EINVAL; in wm8350_isink_enable()
189 switch (wm8350->pmic.isink_B_dcdc) { in wm8350_isink_enable()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/amdgpu/
Datombios_crtc.c2 * Copyright 2007-8 Advanced Micro Devices, Inc.
32 #include "atom-bits.h"
40 struct drm_display_mode *mode, in amdgpu_atombios_crtc_overscan_setup() argument
43 struct drm_device *dev = crtc->dev; in amdgpu_atombios_crtc_overscan_setup()
44 struct amdgpu_device *adev = dev->dev_private; in amdgpu_atombios_crtc_overscan_setup()
52 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_overscan_setup()
54 switch (amdgpu_crtc->rmx_type) { in amdgpu_atombios_crtc_overscan_setup()
56 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
57 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
58 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Datombios_crtc.c2 * Copyright 2007-8 Advanced Micro Devices, Inc.
32 #include "atom-bits.h"
40 struct drm_display_mode *mode, in amdgpu_atombios_crtc_overscan_setup() argument
43 struct drm_device *dev = crtc->dev; in amdgpu_atombios_crtc_overscan_setup()
52 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_overscan_setup()
54 switch (amdgpu_crtc->rmx_type) { in amdgpu_atombios_crtc_overscan_setup()
56 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
57 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
58 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
59 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
[all …]

12345678910>>...44