Home
last modified time | relevance | path

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

12345678910>>...42

/kernel/linux/linux-5.10/include/net/
Dbonding.h4 * Portions are (c) Copyright 1995 Simon "Guru Aleph-Null" Janes
42 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
44 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
46 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
48 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
50 #define BOND_MODE(bond) ((bond)->params.mode)
52 /* slave list primitives */
53 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower)
60 netdev_adjacent_get_private(bond_slave_list(bond)->next) : \
64 netdev_adjacent_get_private(bond_slave_list(bond)->prev) : \
[all …]
/kernel/linux/linux-6.6/include/net/
Dbonding.h1 /* SPDX-License-Identifier: GPL-1.0+ */
5 * Portions are (c) Copyright 1995 Simon "Guru Aleph-Null" Janes
43 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
45 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
47 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
49 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
51 #define BOND_MODE(bond) ((bond)->params.mode)
53 /* slave list primitives */
54 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower)
61 netdev_adjacent_get_private(bond_slave_list(bond)->next) : \
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
Dcpsw-phy-sel.c1 // SPDX-License-Identifier: GPL-2.0
35 phy_interface_t phy_mode, int slave);
40 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_am3352() argument
44 u32 mode = 0; in cpsw_gmii_sel_am3352() local
47 reg = readl(priv->gmii_sel); in cpsw_gmii_sel_am3352()
51 mode = AM33XX_GMII_SEL_MODE_RMII; in cpsw_gmii_sel_am3352()
55 mode = AM33XX_GMII_SEL_MODE_RGMII; in cpsw_gmii_sel_am3352()
61 mode = AM33XX_GMII_SEL_MODE_RGMII; in cpsw_gmii_sel_am3352()
66 dev_warn(priv->dev, in cpsw_gmii_sel_am3352()
67 "Unsupported PHY mode: \"%s\". Defaulting to MII.\n", in cpsw_gmii_sel_am3352()
[all …]
Dcpsw_new.c1 // SPDX-License-Identifier: GPL-2.0
68 if (priv->emac_port == HOST_PORT_NUM) in cpsw_slave_index_priv()
69 return -1; in cpsw_slave_index_priv()
71 return priv->emac_port - 1; in cpsw_slave_index_priv()
76 return !cpsw->data.dual_emac; in cpsw_is_switch_en()
88 /* Enabling promiscuous mode for one interface will be in cpsw_set_promiscious()
92 for (i = 0; i < cpsw->data.slaves; i++) in cpsw_set_promiscious()
93 if (cpsw->slaves[i].ndev && in cpsw_set_promiscious()
94 (cpsw->slaves[i].ndev->flags & IFF_PROMISC)) in cpsw_set_promiscious()
99 …dev_dbg(cpsw->dev, "promiscuity not disabled as the other interface is still in promiscuity mode\n… in cpsw_set_promiscious()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw-phy-sel.c1 // SPDX-License-Identifier: GPL-2.0
36 phy_interface_t phy_mode, int slave);
41 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_am3352() argument
45 u32 mode = 0; in cpsw_gmii_sel_am3352() local
48 reg = readl(priv->gmii_sel); in cpsw_gmii_sel_am3352()
52 mode = AM33XX_GMII_SEL_MODE_RMII; in cpsw_gmii_sel_am3352()
56 mode = AM33XX_GMII_SEL_MODE_RGMII; in cpsw_gmii_sel_am3352()
62 mode = AM33XX_GMII_SEL_MODE_RGMII; in cpsw_gmii_sel_am3352()
67 dev_warn(priv->dev, in cpsw_gmii_sel_am3352()
68 "Unsupported PHY mode: \"%s\". Defaulting to MII.\n", in cpsw_gmii_sel_am3352()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/bonding/
Dbond_options.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test bonding options with mode 1,5,6
20 ip -n ${s_ns} link set eth0 type bond_slave prio 10
21 [[ $? -ne 0 ]] && skip=0
24 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10"
25 [[ $? -ne 0 ]] && skip=0
35 ip -n ${s_ns} link add bond1 type bond ns_ip6_target ${g_ip6}
36 [[ $? -ne 0 ]] && skip=0
39 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}"
40 [[ $? -ne 0 ]] && skip=0
[all …]
/kernel/linux/linux-5.10/drivers/soundwire/
Dbus.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-17 Intel Corporation.
22 bus->id = rc; in sdw_get_id()
27 * sdw_bus_master_add() - add a bus Master instance
43 return -ENODEV; in sdw_bus_master_add()
55 bus->link_id); in sdw_bus_master_add()
59 if (!bus->ops) { in sdw_bus_master_add()
60 dev_err(bus->dev, "SoundWire Bus ops are not set\n"); in sdw_bus_master_add()
61 return -EINVAL; in sdw_bus_master_add()
64 if (!bus->compute_params) { in sdw_bus_master_add()
[all …]
/kernel/linux/linux-6.6/Documentation/w1/masters/
Domap-hdq.rst2 Kernel driver for omap HDQ/1-wire module
7 HDQ/1-wire controller on the TI OMAP 2430/3430 platforms.
15 The HDQ/1-Wire module of TI OMAP2430/3430 platforms implement the hardware
17 Semiconductor 1-Wire protocols. These protocols use a single wire for
18 communication between the master (HDQ/1-Wire controller) and the slave
19 (HDQ/1-Wire external compliant device).
21 A typical application of the HDQ/1-Wire module is the communication with battery
24 The controller supports operation in both HDQ and 1-wire mode. The essential
25 difference between the HDQ and 1-wire mode is how the slave device responds to
26 initialization pulse.In HDQ mode, the firmware does not require the host to
[all …]
/kernel/linux/linux-5.10/Documentation/w1/masters/
Domap-hdq.rst2 Kernel driver for omap HDQ/1-wire module
7 HDQ/1-wire controller on the TI OMAP 2430/3430 platforms.
15 The HDQ/1-Wire module of TI OMAP2430/3430 platforms implement the hardware
17 Semiconductor 1-Wire protocols. These protocols use a single wire for
18 communication between the master (HDQ/1-Wire controller) and the slave
19 (HDQ/1-Wire external compliant device).
21 A typical application of the HDQ/1-Wire module is the communication with battery
24 The controller supports operation in both HDQ and 1-wire mode. The essential
25 difference between the HDQ and 1-wire mode is how the slave device responds to
26 initialization pulse.In HDQ mode, the firmware does not require the host to
[all …]
/kernel/linux/linux-6.6/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/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-6.6/include/linux/soundwire/
Dsdw.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
75 * enum sdw_slave_status - Slave status
76 * @SDW_SLAVE_UNATTACHED: Slave is not attached with the bus.
77 * @SDW_SLAVE_ATTACHED: Slave is attached with bus.
78 * @SDW_SLAVE_ALERT: Some alert condition on the Slave
93 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare
94 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare
104 * enum sdw_command_response - Command response as defined by SDW spec
132 /* block packing mode enum */
[all …]
/kernel/linux/linux-5.10/include/linux/soundwire/
Dsdw.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
71 * enum sdw_slave_status - Slave status
72 * @SDW_SLAVE_UNATTACHED: Slave is not attached with the bus.
73 * @SDW_SLAVE_ATTACHED: Slave is attached with bus.
74 * @SDW_SLAVE_ALERT: Some alert condition on the Slave
89 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare
90 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare
100 * enum sdw_command_response - Command response as defined by SDW spec
153 * enum sdw_port_data_mode: Data Port mode
[all …]
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_main.c20 * the first slave bonded to the channel. All slaves will then use
27 * will attach eth0 to bond0 as a slave. eth0 hw mac address will either
89 /*---------------------------- Module parameters ----------------------------*/
100 static char *mode; variable
138 module_param(mode, charp, 0);
139 MODULE_PARM_DESC(mode, "Mode of operation; 0 for balance-rr, "
140 "1 for active-backup, 2 for balance-xor, "
141 "3 for broadcast, 4 for 802.3ad, 5 for balance-tlb, "
142 "6 for balance-alb");
146 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave "
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ata/
Dcortina,gemini-sata-bridge.txt3 The Gemini SATA bridge in a SoC-internal PATA to SATA bridge that
8 - compatible: should be
9 "cortina,gemini-sata-bridge"
10 - reg: registers and size for the block
11 - resets: phandles to the reset lines for both SATA bridges
12 - reset-names: must be "sata0", "sata1"
13 - clocks: phandles to the compulsory peripheral clocks
14 - clock-names: must be "SATA0_PCLK", "SATA1_PCLK"
15 - syscon: a phandle to the global Gemini system controller
16 - cortina,gemini-ata-muxmode: tell the desired multiplexing mode for
[all …]
/kernel/linux/linux-6.6/drivers/net/bonding/
Dbond_main.c1 // SPDX-License-Identifier: GPL-1.0+
21 * the first slave bonded to the channel. All slaves will then use
28 * will attach eth0 to bond0 as a slave. eth0 hw mac address will either
97 /*---------------------------- Module parameters ----------------------------*/
108 static char *mode; variable
146 module_param(mode, charp, 0);
147 MODULE_PARM_DESC(mode, "Mode of operation; 0 for balance-rr, "
148 "1 for active-backup, 2 for balance-xor, "
149 "3 for broadcast, 4 for 802.3ad, 5 for balance-tlb, "
150 "6 for balance-alb");
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dcpsw.txt2 ------------------------------------------------------
5 - compatible : Should be one of the below:-
7 "ti,am335x-cpsw" for AM335x controllers
8 "ti,am4372-cpsw" for AM437x controllers
9 "ti,dra7-cpsw" for DRA7x controllers
10 - reg : physical base address and size of the cpsw
12 - interrupts : property with a value describing the interrupt
14 - cpdma_channels : Specifies number of channels in CPDMA
15 - ale_entries : Specifies No of entries ALE can hold
16 - bd_ram_size : Specifies internal descriptor RAM size
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dcpsw.txt2 ------------------------------------------------------
5 - compatible : Should be one of the below:-
7 "ti,am335x-cpsw" for AM335x controllers
8 "ti,am4372-cpsw" for AM437x controllers
9 "ti,dra7-cpsw" for DRA7x controllers
10 - reg : physical base address and size of the cpsw
12 - interrupts : property with a value describing the interrupt
14 - cpdma_channels : Specifies number of channels in CPDMA
15 - ale_entries : Specifies No of entries ALE can hold
16 - bd_ram_size : Specifies internal descriptor RAM size
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/ata/
Dcortina,gemini-sata-bridge.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ata/cortina,gemini-sata-bridge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 The Gemini SATA bridge in a SoC-internal PATA to SATA bridge that
19 const: cortina,gemini-sata-bridge
28 reset-names:
30 - const: sata0
31 - const: sata1
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c1 // SPDX-License-Identifier: GPL-2.0+
8 * Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
193 #define N_LANES(n) (((n) - 1) & 0x3)
265 struct dw_mipi_dsi *master; /* dual-dsi master ptr */
266 struct dw_mipi_dsi *slave; /* dual-dsi slave ptr */ member
268 struct drm_display_mode mode; member
273 * Check if either a link to a master or slave is present
277 return dsi->slave || dsi->master; in dw_mipi_is_dual_mode()
284 static void dw_mipi_dsi_wait_for_two_frames(const struct drm_display_mode *mode) in dw_mipi_dsi_wait_for_two_frames() argument
288 refresh = drm_mode_vrefresh(mode); in dw_mipi_dsi_wait_for_two_frames()
[all …]
/kernel/linux/linux-5.10/Documentation/spi/
Dpxa2xx.rst7 (see Documentation/spi/spi-summary.rst). The driver has the following features
9 - Support for any PXA2xx SSP
10 - SSP PIO and SSP DMA data transfers.
11 - External and Internal (SSPFRM) chip selects.
12 - Per slave device (chip) configuration.
13 - Full suspend, freeze, resume support.
21 -----------------------------------
22 Typically a SPI master is defined in the arch/.../mach-*/board-*.c as a
32 slave device (chips) attached to this SPI master.
40 ------------------
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-cadence.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2009 - 2014 Xilinx, Inc.
58 * Normal addressing mode uses [6:0] bits. Extended addressing mode uses [9:0]
60 * is in master mode.
117 #define CDNS_I2C_DATA_INTR_DEPTH (CDNS_I2C_FIFO_DEPTH - 2)
120 #define CDNS_I2C_TRANSFER_SIZE (CDNS_I2C_MAX_TRANSFER_SIZE - 3)
122 #define DRIVER_NAME "cdns-i2c"
131 #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset)
132 #define cdns_i2c_writereg(val, offset) writel_relaxed(val, id->membase + offset)
136 * enum cdns_i2c_mode - I2C Controller current operating mode
[all …]
Di2c-at91-slave.c1 // SPDX-License-Identifier: GPL-2.0
3 * i2c slave support for Atmel's AT91 Two-Wire Interface (TWI)
13 #include "i2c-at91.h"
25 /* slave address has been detected on I2C bus */ in atmel_twi_interrupt_slave()
28 i2c_slave_event(dev->slave, in atmel_twi_interrupt_slave()
30 writeb_relaxed(value, dev->base + AT91_TWI_THR); in atmel_twi_interrupt_slave()
34 i2c_slave_event(dev->slave, in atmel_twi_interrupt_slave()
44 i2c_slave_event(dev->slave, I2C_SLAVE_READ_PROCESSED, &value); in atmel_twi_interrupt_slave()
45 writeb_relaxed(value, dev->base + AT91_TWI_THR); in atmel_twi_interrupt_slave()
50 value = readb_relaxed(dev->base + AT91_TWI_RHR); in atmel_twi_interrupt_slave()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c1 // SPDX-License-Identifier: GPL-2.0+
8 * Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
193 #define N_LANES(n) (((n) - 1) & 0x3)
265 struct dw_mipi_dsi *master; /* dual-dsi master ptr */
266 struct dw_mipi_dsi *slave; /* dual-dsi slave ptr */ member
272 * Check if either a link to a master or slave is present
276 return dsi->slave || dsi->master; in dw_mipi_is_dual_mode()
283 static void dw_mipi_dsi_wait_for_two_frames(const struct drm_display_mode *mode) in dw_mipi_dsi_wait_for_two_frames() argument
287 refresh = drm_mode_vrefresh(mode); in dw_mipi_dsi_wait_for_two_frames()
304 writel(val, dsi->base + reg); in dsi_write()
[all …]
/kernel/linux/linux-6.6/drivers/i2c/busses/
Di2c-at91-slave.c1 // SPDX-License-Identifier: GPL-2.0
3 * i2c slave support for Atmel's AT91 Two-Wire Interface (TWI)
13 #include "i2c-at91.h"
25 /* slave address has been detected on I2C bus */ in atmel_twi_interrupt_slave()
28 i2c_slave_event(dev->slave, in atmel_twi_interrupt_slave()
30 writeb_relaxed(value, dev->base + AT91_TWI_THR); in atmel_twi_interrupt_slave()
34 i2c_slave_event(dev->slave, in atmel_twi_interrupt_slave()
44 i2c_slave_event(dev->slave, I2C_SLAVE_READ_PROCESSED, &value); in atmel_twi_interrupt_slave()
45 writeb_relaxed(value, dev->base + AT91_TWI_THR); in atmel_twi_interrupt_slave()
50 value = readb_relaxed(dev->base + AT91_TWI_RHR); in atmel_twi_interrupt_slave()
[all …]

12345678910>>...42