Home
last modified time | relevance | path

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

12345678910>>...43

/Linux-v6.1/include/net/
Dbonding.h4 * Portions are (c) Copyright 1995 Simon "Guru Aleph-Null" Janes
45 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
47 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
49 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
51 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
53 #define BOND_MODE(bond) ((bond)->params.mode)
55 /* slave list primitives */
56 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower)
63 netdev_adjacent_get_private(bond_slave_list(bond)->next) : \
67 netdev_adjacent_get_private(bond_slave_list(bond)->prev) : \
[all …]
/Linux-v6.1/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 …]
Dcpsw_new.c1 // SPDX-License-Identifier: GPL-2.0
67 if (priv->emac_port == HOST_PORT_NUM) in cpsw_slave_index_priv()
68 return -1; in cpsw_slave_index_priv()
70 return priv->emac_port - 1; in cpsw_slave_index_priv()
75 return !cpsw->data.dual_emac; in cpsw_is_switch_en()
87 /* Enabling promiscuous mode for one interface will be in cpsw_set_promiscious()
91 for (i = 0; i < cpsw->data.slaves; i++) in cpsw_set_promiscious()
92 if (cpsw->slaves[i].ndev && in cpsw_set_promiscious()
93 (cpsw->slaves[i].ndev->flags & IFF_PROMISC)) in cpsw_set_promiscious()
98 …dev_dbg(cpsw->dev, "promiscuity not disabled as the other interface is still in promiscuity mode\n… in cpsw_set_promiscious()
[all …]
Dcpsw.c1 // SPDX-License-Identifier: GPL-2.0
68 struct cpsw_slave *slave; \
69 struct cpsw_common *cpsw = (priv)->cpsw; \
71 if (cpsw->data.dual_emac) \
72 (func)((cpsw)->slaves + priv->emac_port, ##arg);\
74 for (n = cpsw->data.slaves, \
75 slave = cpsw->slaves; \
76 n; n--) \
77 (func)(slave++, ##arg); \
83 return cpsw->data.dual_emac ? priv->emac_port : cpsw->data.active_slave; in cpsw_slave_index_priv()
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
Dipvlan.rst1 .. SPDX-License-Identifier: GPL-2.0
13 exception of using L3 for mux-ing /demux-ing among slaves. This property makes
14 the master device share the L2 with its slave devices. I have developed this
34 ip link add link <master> name <slave> type ipvlan [ mode MODE ] [ FLAGS ]
36 MODE: l3 (default) | l3s | l2
42 L3 bridge mode::
45 (b) This command will create IPvlan link in L2 bridge mode::
47 bash# ip link add link eth0 name ipvl0 type ipvlan mode l2 bridge
49 (c) This command will create an IPvlan device in L2 private mode::
51 bash# ip link add link eth0 name ipvlan type ipvlan mode l2 private
[all …]
/Linux-v6.1/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
128 /* block packing mode enum */
[all …]
/Linux-v6.1/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
95 /*---------------------------- Module parameters ----------------------------*/
106 static char *mode; variable
144 module_param(mode, charp, 0);
145 MODULE_PARM_DESC(mode, "Mode of operation; 0 for balance-rr, "
146 "1 for active-backup, 2 for balance-xor, "
147 "3 for broadcast, 4 for 802.3ad, 5 for balance-tlb, "
148 "6 for balance-alb");
152 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave "
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/i2c/busses/
Di2c-cadence.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2009 - 2014 Xilinx, Inc.
60 * Normal addressing mode uses [6:0] bits. Extended addressing mode uses [9:0]
62 * is in master mode.
119 #define CDNS_I2C_DATA_INTR_DEPTH (CDNS_I2C_FIFO_DEPTH - 2)
122 #define CDNS_I2C_TRANSFER_SIZE (CDNS_I2C_MAX_TRANSFER_SIZE - 3)
124 #define DRIVER_NAME "cdns-i2c"
135 #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset)
136 #define cdns_i2c_writereg(val, offset) writel_relaxed(val, id->membase + offset)
140 * enum cdns_i2c_mode - I2C Controller current operating mode
[all …]
Di2c-pxa.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright (C) 2004-2005 Deep Blue Solutions Ltd.
13 * Jan 2003: Fixed several bugs concerning interrupt handling [Kai-Uwe Bloem]
14 * Jan 2003: added limited signal handling [Kai-Uwe Bloem]
16 * Dec 2004: Added support for PXA27x and slave device probing [Liam Girdwood]
17 * Feb 2005: Rework slave mode handling [RMK]
34 #include <linux/platform_data/i2c-pxa.h>
52 #define ICR_SSDIE (1 << 11) /* slave STOP detected int enable */
54 #define ICR_SADIE (1 << 13) /* slave address detected int enable */
56 #define ICR_FM (1 << 15) /* fast mode */
[all …]
Di2c-emev2.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015 Wolfram Sang <wsa@sang-engineering.com>
7 * Copyright 2010-2015 Renesas Electronics Corporation
27 #define I2C_OFS_SVA0 0x0c /* slave address */
71 struct i2c_client *slave; member
77 writeb((readb(priv->base + reg) & ~clear) | set, priv->base + reg); in em_clear_set_bit()
85 reinit_completion(&priv->msg_done); in em_i2c_wait_for_event()
87 time_left = wait_for_completion_timeout(&priv->msg_done, priv->adap.timeout); in em_i2c_wait_for_event()
90 return -ETIMEDOUT; in em_i2c_wait_for_event()
92 status = readb(priv->base + I2C_OFS_IICSE0); in em_i2c_wait_for_event()
[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 …]
Di2c-at91.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * i2c Support for Atmel's AT91 Two-Wire Interface (TWI)
18 #include <linux/dma-mapping.h>
34 #define AT91_TWI_SVEN BIT(4) /* Slave Transfer Enable */
35 #define AT91_TWI_SVDIS BIT(5) /* Slave Transfer Disable */
39 #define AT91_TWI_ACMEN BIT(16) /* Alternative Command Mode Enable */
40 #define AT91_TWI_ACMDIS BIT(17) /* Alternative Command Mode Disable */
47 #define AT91_TWI_MMR 0x0004 /* Master Mode Register */
51 #define AT91_TWI_SMR 0x0008 /* Slave Mode Register */
65 #define AT91_TWI_SVREAD BIT(3) /* Slave Read */
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/Documentation/gpu/
Dkomeda-kms.rst1 .. SPDX-License-Identifier: GPL-2.0
23 -----
30 ------
39 -------------------
47 --------------------------
52 -----------------------------
57 --------------------------------
62 ------
72 --------
81 types of working mode:
[all …]
/Linux-v6.1/drivers/fsi/
Dfsi-core.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * - Rework topology
9 * - s/chip_id/chip_loc
10 * - s/cfam/chip (cfam_id -> chip_id etc...)
25 #include "fsi-master.h"
45 * FSI slave engine control register offsets
47 #define FSI_SMODE 0x0 /* R/W: Mode register */
49 #define FSI_SSTAT 0x14 /* R : Slave status */
51 #define FSI_LLMODE 0x100 /* R/W: Link layer mode register */
90 uint32_t size; /* size of slave address space */
[all …]
/Linux-v6.1/drivers/ata/
Dpata_ftide010.c1 // SPDX-License-Identifier: GPL-2.0-only
25 * struct ftide010 - state container for the Faraday FTIDE010
31 * @slave_cbl: slave cable type
35 * @slave_to_sata0: Gemini SATA bridge: the ATA slave is connected
39 * @slave_to_sata1: Gemini SATA bridge: the ATA slave is connected
49 /* Gemini-specific properties */
64 #define FTIDE010_UDMA_TIMING1 0x13 /* Slave */
77 /* Set this bit for UDMA mode 5 and 6 */
99 * pio_active_time: array of 5 elements for T2 timing for Mode 0,
101 * pio_recovery_time: array of 5 elements for T2l timing for Mode 0,
[all …]
/Linux-v6.1/drivers/i2c/
Di2c-slave-eeprom.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * I2C slave mode EEPROM simulator
5 * Copyright (C) 2014 by Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
8 * Because most slave IP cores can only detect one I2C slave address anyhow,
15 * The ST-M24C64 sends only 0xff then. Needs verification with other
43 #define I2C_SLAVE_DEVICE_MAGIC(_len, _flags) ((_flags) | ((_len) - 1))
52 if (eeprom->idx_write_cnt < eeprom->num_address_bytes) { in i2c_slave_eeprom_slave_cb()
53 if (eeprom->idx_write_cnt == 0) in i2c_slave_eeprom_slave_cb()
54 eeprom->buffer_idx = 0; in i2c_slave_eeprom_slave_cb()
55 eeprom->buffer_idx = *val | (eeprom->buffer_idx << 8); in i2c_slave_eeprom_slave_cb()
[all …]
/Linux-v6.1/Documentation/spi/
Dpxa2xx.rst7 (see Documentation/spi/spi-summary.rst). The driver has the following features
9 - Support for any PXA2xx and compatible 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 -----------------------------------
23 arch/.../mach-*/board-*.c as a "platform device". The master configuration
33 slave device (chips) attached to this SPI master.
44 ------------------
[all …]
/Linux-v6.1/drivers/gpu/drm/tegra/
Ddsi.c1 // SPDX-License-Identifier: GPL-2.0-only
30 #include "mipi-phy.h"
81 /* for ganged-mode support */
83 struct tegra_dsi *slave; member
104 return to_dsi_state(dsi->output.connector.state); in tegra_dsi_get_state()
109 u32 value = readl(dsi->regs + (offset << 2)); in tegra_dsi_readl()
111 trace_dsi_readl(dsi->dev, offset, value); in tegra_dsi_readl()
119 trace_dsi_writel(dsi->dev, offset, value); in tegra_dsi_writel()
120 writel(value, dsi->regs + (offset << 2)); in tegra_dsi_writel()
201 struct drm_info_node *node = s->private; in tegra_dsi_show_regs()
[all …]
/Linux-v6.1/include/linux/i3c/
Dccc.h1 /* SPDX-License-Identifier: GPL-2.0 */
30 /* Broadcast-only commands */
36 /* Unicast-only commands */
56 * struct i3c_ccc_events - payload passed to ENEC/DISEC CCC
69 * struct i3c_ccc_mwl - payload passed to SETMWL/GETMWL CCC
81 * struct i3c_ccc_mrl - payload passed to SETMRL/GETMRL CCC
88 * The IBI length is only valid if the I3C slave is IBI capable
97 * struct i3c_ccc_dev_desc - I3C/I2C device descriptor used for DEFSLVS
99 * @dyn_addr: dynamic address assigned to the I3C slave or 0 if the entry is
100 * describing an I2C slave.
[all …]
/Linux-v6.1/drivers/soundwire/
Dbus.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-17 Intel Corporation.
24 bus->id = rc; in sdw_get_id()
29 * sdw_bus_master_add() - add a bus Master instance
45 return -ENODEV; in sdw_bus_master_add()
57 bus->link_id); in sdw_bus_master_add()
61 if (!bus->ops) { in sdw_bus_master_add()
62 dev_err(bus->dev, "SoundWire Bus ops are not set\n"); in sdw_bus_master_add()
63 return -EINVAL; in sdw_bus_master_add()
66 if (!bus->compute_params) { in sdw_bus_master_add()
[all …]

12345678910>>...43