/Linux-v5.15/include/net/ |
D | bonding.h | 4 * 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 …]
|
/Linux-v5.15/drivers/net/ethernet/ti/ |
D | cpsw-phy-sel.c | 1 // 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 …]
|
D | cpsw_new.c | 1 // 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 …]
|
D | cpsw.c | 1 // 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-v5.15/Documentation/w1/masters/ |
D | omap-hdq.rst | 2 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-v5.15/Documentation/networking/ |
D | bonding.rst | 1 .. 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 …]
|
D | ipvlan.rst | 1 .. 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 it's 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-v5.15/include/linux/soundwire/ |
D | sdw.h | 1 /* 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-v5.15/Documentation/devicetree/bindings/ata/ |
D | cortina,gemini-sata-bridge.txt | 3 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 …]
|
/Linux-v5.15/drivers/net/bonding/ |
D | bond_main.c | 20 * 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 92 /*---------------------------- Module parameters ----------------------------*/ 103 static char *mode; variable 141 module_param(mode, charp, 0); 142 MODULE_PARM_DESC(mode, "Mode of operation; 0 for balance-rr, " 143 "1 for active-backup, 2 for balance-xor, " 144 "3 for broadcast, 4 for 802.3ad, 5 for balance-tlb, " 145 "6 for balance-alb"); 149 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave " [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/net/ |
D | cpsw.txt | 2 ------------------------------------------------------ 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-v5.15/drivers/i2c/busses/ |
D | i2c-cadence.c | 1 // 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 …]
|
D | i2c-emev2.c | 1 // 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 …]
|
D | i2c-pxa.c | 1 // 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 …]
|
D | i2c-at91-slave.c | 1 // 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 …]
|
D | i2c-at91.h | 1 /* 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-v5.15/Documentation/spi/ |
D | pxa2xx.rst | 7 (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-v5.15/drivers/gpu/drm/bridge/synopsys/ |
D | dw-mipi-dsi.c | 1 // 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) 266 struct dw_mipi_dsi *master; /* dual-dsi master ptr */ 267 struct dw_mipi_dsi *slave; /* dual-dsi slave ptr */ 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() 305 writel(val, dsi->base + reg); in dsi_write() [all …]
|
/Linux-v5.15/Documentation/gpu/ |
D | komeda-kms.rst | 1 .. SPDX-License-Identifier: GPL-2.0 23 ----- 30 ------ 39 ------------------- 47 -------------------------- 52 ----------------------------- 57 -------------------------------- 62 ------ 72 -------- 81 types of working mode: [all …]
|
/Linux-v5.15/drivers/fsi/ |
D | fsi-core.c | 1 // 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" 48 * FSI slave engine control register offsets 50 #define FSI_SMODE 0x0 /* R/W: Mode register */ 52 #define FSI_SSTAT 0x14 /* R : Slave status */ 54 #define FSI_LLMODE 0x100 /* R/W: Link layer mode register */ 93 uint32_t size; /* size of slave address space */ [all …]
|
/Linux-v5.15/drivers/ata/ |
D | pata_ftide010.c | 1 // 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-v5.15/drivers/soundwire/ |
D | bus.c | 1 // 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 …]
|
/Linux-v5.15/drivers/spi/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 dynamic device discovery; some are even write-only or read-only. 17 chips, analog to digital (and d-to-a) converters, and more. 36 # MASTER side ... talking to discrete SPI slave chips including microcontrollers 44 If your system has an master-capable SPI controller (which 46 controller and the protocol drivers for the SPI slave chips 56 by providing a high-level interface to send memory-like commands. 80 to a SPI slave to Avalon bridge in a Intel MAX BMC. 125 This enables support for the Quad SPI controller in master mode. 127 supports spi-mem interface. [all …]
|
/Linux-v5.15/drivers/i2c/ |
D | i2c-slave-eeprom.c | 1 // 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-v5.15/drivers/gpu/drm/tegra/ |
D | dsi.c | 1 // 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 …]
|