Home
last modified time | relevance | path

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

12345678910>>...48

/openbmc/linux/drivers/soc/fsl/qe/
H A 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 …]
/openbmc/linux/drivers/net/dsa/
H A 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
38 tristate "MediaTek MT7530 and MT7531 Ethernet switch support"
44 switch chips. Multi-chip module MT7530 in MT7621AT, MT7621DAT,
45 MT7621ST and MT7623AI SoCs, and built-in switch in MT7988 SoC are
54 This enables support for the MediaTek MT7530 and MT7531 switch
[all …]
/openbmc/u-boot/drivers/power/regulator/
H A Dmax77686.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2012-2015 Samsung Electronics
18 #define MODE(_id, _val, _name) { \ macro
26 MODE(OPMODE_OFF, MAX77686_LDO_MODE_OFF, "OFF"),
27 MODE(OPMODE_LPM, MAX77686_LDO_MODE_LPM, "LPM"),
28 MODE(OPMODE_STANDBY_LPM, MAX77686_LDO_MODE_STANDBY_LPM, "ON/LPM"),
29 MODE(OPMODE_ON, MAX77686_LDO_MODE_ON, "ON"),
34 MODE(OPMODE_OFF, MAX77686_LDO_MODE_OFF, "OFF"),
35 MODE(OPMODE_STANDBY, MAX77686_LDO_MODE_STANDBY, "ON/OFF"),
36 MODE(OPMODE_STANDBY_LPM, MAX77686_LDO_MODE_STANDBY_LPM, "ON/LPM"),
[all …]
H A Ds2mps11_regulator.c1 // SPDX-License-Identifier: GPL-2.0
16 #define MODE(_id, _val, _name) { \ macro
24 MODE(OP_OFF, S2MPS11_BUCK_MODE_OFF, "OFF"),
25 MODE(OP_STANDBY, S2MPS11_BUCK_MODE_STANDBY, "ON/OFF"),
26 MODE(OP_ON, S2MPS11_BUCK_MODE_STANDBY, "ON"),
30 MODE(OP_OFF, S2MPS11_LDO_MODE_OFF, "OFF"),
31 MODE(OP_STANDBY, S2MPS11_LDO_MODE_STANDBY, "ON/OFF"),
32 MODE(OP_STANDBY_LPM, S2MPS11_LDO_MODE_STANDBY_LPM, "ON/LPM"),
33 MODE(OP_ON, S2MPS11_LDO_MODE_ON, "ON"),
51 switch (buck) { in s2mps11_buck_hex2volt()
[all …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/dbus/power-saving-policy/
H A Dnic-3.yaml1 - name: nic 3 current host state path group
5 - meta: PATH
7 - meta: PATH
10 - name: current host state property
15 - interface: xyz.openbmc_project.State.Host
19 - name: nic 3 main mode monitor
24 callback: check if fulfill nic main mode requirement
26 - name: nic 3 aux mode monitor
31 callback: check if fulfill nic aux mode requirement
33 - name: check if fulfill nic main mode requirement
[all …]
H A Dnic-4.yaml1 - name: nic 4 current host state path group
5 - meta: PATH
7 - meta: PATH
10 - name: current host state property
15 - interface: xyz.openbmc_project.State.Host
19 - name: nic 4 main mode monitor
24 callback: check if fulfill nic main mode requirement
26 - name: nic 4 aux mode monitor
31 callback: check if fulfill nic aux mode requirement
33 - name: check if fulfill nic main mode requirement
[all …]
H A Dnic-2.yaml1 - name: nic 2 current host state path group
5 - meta: PATH
7 - meta: PATH
10 - name: current host state property
15 - interface: xyz.openbmc_project.State.Host
19 - name: nic 2 main mode monitor
24 callback: check if fulfill nic main mode requirement
26 - name: nic 2 aux mode monitor
31 callback: check if fulfill nic aux mode requirement
33 - name: check if fulfill nic main mode requirement
[all …]
H A Dnic-1.yaml1 - name: nic 1 current host state path group
5 - meta: PATH
7 - meta: PATH
10 - name: current host state property
15 - interface: xyz.openbmc_project.State.Host
19 - name: nic 1 main mode monitor
24 callback: check if fulfill nic main mode requirement
26 - name: nic 1 aux mode monitor
31 callback: check if fulfill nic aux mode requirement
33 - name: check if fulfill nic main mode requirement
[all …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dqcom,rpm-regulator.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/qcom,rpm-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 The regulator node houses sub-nodes for each regulator within the device.
16 Each sub-node is identified using the node's name, with valid values listed
28 l29, lvs1, lvs2, lvs3, lvs4, lvs5, lvs6, lvs7, usb-switch, hdmi-switch,
37 - Bjorn Andersson <andersson@kernel.org>
42 - qcom,rpm-pm8058-regulators
43 - qcom,rpm-pm8901-regulators
[all …]
/openbmc/qemu/hw/i2c/
H A Dsmbus_slave.c26 do { printf("smbus(%02x): " fmt , dev->i2c.address, ## __VA_ARGS__); } while (0)
44 SMBUS_CONFUSED = -1
52 if (sc->quick_cmd) { in smbus_do_quick_cmd()
53 sc->quick_cmd(dev, recv); in smbus_do_quick_cmd()
61 DPRINTF("Command %d len %d\n", dev->data_buf[0], dev->data_len); in smbus_do_write()
62 if (sc->write_data) { in smbus_do_write()
63 sc->write_data(dev, dev->data_buf, dev->data_len); in smbus_do_write()
71 switch (event) { in smbus_i2c_event()
73 switch (dev->mode) { in smbus_i2c_event()
76 dev->mode = SMBUS_WRITE_DATA; in smbus_i2c_event()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/dsa/
H A Dmscc,ocelot.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip Ocelot Switch Family
10 - Vladimir Oltean <vladimir.oltean@nxp.com>
11 - Claudiu Manoil <claudiu.manoil@nxp.com>
12 - Alexandre Belloni <alexandre.belloni@bootlin.com>
13 - UNGLinuxDriver@microchip.com
16 There are multiple switches which are either part of the Ocelot-1 family, or
20 them performs packet I/O primarily through an Ethernet port of the switch
[all …]
H A 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 …]
H A Dmediatek,mt7530.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Arınç ÜNAL <arinc.unal@arinc9.com>
11 - Landen Chao <Landen.Chao@mediatek.com>
12 - DENG Qingfang <dqfext@gmail.com>
13 - Sean Wang <sean.wang@mediatek.com>
14 - Daniel Golle <daniel@makrotopia.org>
17 There are three versions of MT7530, standalone, in a multi-chip module and
18 built-into a SoC.
[all …]
/openbmc/linux/drivers/thunderbolt/
H A Dtmu.c1 // SPDX-License-Identifier: GPL-2.0
40 static const char *tmu_mode_name(enum tb_switch_tmu_mode mode) in tmu_mode_name() argument
42 switch (mode) { in tmu_mode_name()
46 return "uni-directional, LowRes"; in tmu_mode_name()
48 return "uni-directional, HiFi"; in tmu_mode_name()
50 return "bi-directional, HiFi"; in tmu_mode_name()
52 return "enhanced uni-directional, MedRes"; in tmu_mode_name()
64 enum tb_switch_tmu_mode mode) in tb_switch_set_tmu_mode_params() argument
69 freq = tmu_params[mode].freq_meas_window; in tb_switch_set_tmu_mode_params()
70 avg = tmu_params[mode].avg_const; in tb_switch_set_tmu_mode_params()
[all …]
/openbmc/linux/Documentation/networking/
H A 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 …]
/openbmc/linux/Documentation/ABI/testing/
H A 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 …]
/openbmc/u-boot/arch/arm/cpu/armv7/
H A Dexception_level.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Switch to non-secure mode
8 * secure mode before booting an operating system.
18 * entry_non_secure() - entry point when switching to non-secure mode
20 * When switching to non-secure mode switch_to_non_secure_mode() calls this
29 debug("Reached non-secure mode\n"); in entry_non_secure()
36 * switch_to_non_secure_mode() - switch to non-secure mode
38 * Operating systems may expect to run in non-secure mode. Here we check if
39 * we are running in secure mode and switch to non-secure mode if necessary.
49 dcache_disable(); /* flush cache before switch to HYP */ in switch_to_non_secure_mode()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_typec_switch.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * This driver provides the ability to configure Type-C muxes and retimers which are controlled by
29 /* Driver-specific data. */
48 return cros_ec_cmd(sdata->ec, 0, EC_CMD_TYPEC_CONTROL, &req, sizeof(req), NULL, 0); in cros_typec_cmd_mux_set()
51 static int cros_typec_get_mux_state(unsigned long mode, struct typec_altmode *alt) in cros_typec_get_mux_state() argument
53 int ret = -EOPNOTSUPP; in cros_typec_get_mux_state()
56 if (mode == TYPEC_STATE_SAFE) { in cros_typec_get_mux_state()
58 } else if (mode == TYPEC_STATE_USB) { in cros_typec_get_mux_state()
60 } else if (alt && alt->svid == USB_TYPEC_DP_SID) { in cros_typec_get_mux_state()
62 pin_assign = mode - TYPEC_STATE_MODAL; in cros_typec_get_mux_state()
[all …]
/openbmc/linux/Documentation/networking/device_drivers/ethernet/ti/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dmicrochip,sparx5-switch.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/microchip,sparx5-switch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip Sparx5 Ethernet switch controller
10 - Steen Hegelund <steen.hegelund@microchip.com>
11 - Lars Povlsen <lars.povlsen@microchip.com>
14 The SparX-5 Enterprise Ethernet switch family provides a rich set of
15 Enterprise switching features such as advanced TCAM-based VLAN and
17 security through TCAM-based frame processing using versatile content
[all …]
H A 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 …]
/openbmc/linux/sound/soc/codecs/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dmediatek,mtu3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Chunfeng Yun <chunfeng.yun@mediatek.com>
14 - $ref: usb-drd.yaml
23 - enum:
24 - mediatek,mt2712-mtu3
25 - mediatek,mt8173-mtu3
26 - mediatek,mt8183-mtu3
27 - mediatek,mt8186-mtu3
[all …]
/openbmc/linux/drivers/regulator/
H A 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 …]
/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dlag_lib.sh2 # SPDX-License-Identifier: GPL-2.0
11 local mode=$2
21 ip link add "$name" up type bond mode "$mode"
26 teamd -d -c '
30 "name": "'"$mode"'"
47 # Used to test dev->uc handling
49 # Used to test dev->mc handling
60 check_err $? "IPv6 solicited-node multicast mac address not found on a slave"
69 check_err $? "IPv6 solicited-node multicast mac address still present on a slave"
73 log_test "$driver cleanup mode $mode"
[all …]

12345678910>>...48