/linux-6.14.4/include/net/ |
D | bonding.h | 1 /* 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 …]
|
/linux-6.14.4/drivers/net/ethernet/ti/ |
D | cpsw-phy-sel.c | 1 // 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 …]
|
D | cpsw_new.c | 1 // 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 …]
|
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-6.14.4/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-6.14.4/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 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-6.14.4/Documentation/devicetree/bindings/sound/ |
D | fsl,ssi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <[email protected]> 13 Notes on fsl,playback-dma and fsl,capture-dma 14 On SOCs that have an SSI, specific DMA channels are hard-wired for playback 18 DMA controller to use, but the channels themselves are hard-wired. The 22 "fsl,playback-dma" and "fsl,capture-dma" must be marked as compatible with 23 "fsl,ssi-dma-channel". The SOC-specific compatible string (e.g. 24 "fsl,mpc8610-dma-channel") can remain. If these nodes are left as [all …]
|
/linux-6.14.4/include/linux/soundwire/ |
D | sdw.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 85 * enum sdw_slave_status - Slave status 86 * @SDW_SLAVE_UNATTACHED: Slave is not attached with the bus. 87 * @SDW_SLAVE_ATTACHED: Slave is attached with bus. 88 * @SDW_SLAVE_ALERT: Some alert condition on the Slave 103 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare 104 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare 114 * enum sdw_command_response - Command response as defined by SDW spec 142 /* block packing mode enum */ [all …]
|
/linux-6.14.4/tools/testing/selftests/drivers/net/bonding/ |
D | bond_options.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test bonding options with mode 1,5,6 22 ip -n ${s_ns} link set eth0 type bond_slave prio 10 23 [[ $? -ne 0 ]] && skip=0 26 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10" 27 [[ $? -ne 0 ]] && skip=0 37 ip -n ${s_ns} link add bond1 type bond ns_ip6_target ${g_ip6} 38 [[ $? -ne 0 ]] && skip=0 41 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}" 42 [[ $? -ne 0 ]] && skip=0 [all …]
|
/linux-6.14.4/drivers/net/bonding/ |
D | bond_main.c | 1 // 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 …]
|
D | bond_options.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/net/bond/bond_options.c - bonding options 92 { "balance-rr", BOND_MODE_ROUNDROBIN, BOND_VALFLAG_DEFAULT}, 93 { "active-backup", BOND_MODE_ACTIVEBACKUP, 0}, 94 { "balance-xor", BOND_MODE_XOR, 0}, 97 { "balance-tlb", BOND_MODE_TLB, 0}, 98 { "balance-alb", BOND_MODE_ALB, 0}, 99 { NULL, -1, 0}, 105 { NULL, -1, 0}, 115 { NULL, -1, 0}, [all …]
|
/linux-6.14.4/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-6.14.4/Documentation/devicetree/bindings/ata/ |
D | cortina,gemini-sata-bridge.yaml | 1 # 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 <[email protected]> 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-6.14.4/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. 16 #include <linux/media-bus-format.h> 196 #define N_LANES(n) (((n) - 1) & 0x3) 268 struct dw_mipi_dsi *master; /* dual-dsi master ptr */ 269 struct dw_mipi_dsi *slave; /* dual-dsi slave ptr */ member 271 struct drm_display_mode mode; member 276 * Check if either a link to a master or slave is present 280 return dsi->slave || dsi->master; in dw_mipi_is_dual_mode() 287 static void dw_mipi_dsi_wait_for_two_frames(const struct drm_display_mode *mode) in dw_mipi_dsi_wait_for_two_frames() argument [all …]
|
/linux-6.14.4/drivers/i2c/busses/ |
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 */ 70 struct i2c_client *slave; member 76 writeb((readb(priv->base + reg) & ~clear) | set, priv->base + reg); in em_clear_set_bit() 84 reinit_completion(&priv->msg_done); in em_i2c_wait_for_event() 86 time_left = wait_for_completion_timeout(&priv->msg_done, priv->adap.timeout); in em_i2c_wait_for_event() 89 return -ETIMEDOUT; in em_i2c_wait_for_event() 91 status = readb(priv->base + I2C_OFS_IICSE0); in em_i2c_wait_for_event() [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-cadence.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2009 - 2014 Xilinx, Inc. 61 * Normal addressing mode uses [6:0] bits. Extended addressing mode uses [9:0] 63 * is in master mode. 121 #define CDNS_I2C_TRANSFER_SIZE(max) ((max) - 3) 123 #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 142 * @CDNS_I2C_MODE_SLAVE: I2C controller operating in slave mode [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> 53 #define ICR_SSDIE (1 << 11) /* slave STOP detected int enable */ 55 #define ICR_SADIE (1 << 13) /* slave address detected int enable */ 57 #define ICR_FM (1 << 15) /* fast mode */ [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-6.14.4/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-6.14.4/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...) 27 #include "fsi-master.h" 28 #include "fsi-slave.h" 51 * FSI slave engine control register offsets 53 #define FSI_SMODE 0x0 /* R/W: Mode register */ 55 #define FSI_SSTAT 0x14 /* R : Slave status */ 57 #define FSI_LLMODE 0x100 /* R/W: Link layer mode register */ [all …]
|
/linux-6.14.4/drivers/ata/ |
D | pata_ftide010.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 * struct ftide010 - state container for the Faraday FTIDE010 30 * @slave_cbl: slave cable type 34 * @slave_to_sata0: Gemini SATA bridge: the ATA slave is connected 38 * @slave_to_sata1: Gemini SATA bridge: the ATA slave is connected 48 /* Gemini-specific properties */ 63 #define FTIDE010_UDMA_TIMING1 0x13 /* Slave */ 76 /* Set this bit for UDMA mode 5 and 6 */ 98 * pio_active_time: array of 5 elements for T2 timing for Mode 0, 100 * pio_recovery_time: array of 5 elements for T2l timing for Mode 0, [all …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/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 …]
|