/linux/Documentation/devicetree/bindings/sound/ |
H A 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 <shengjiu.wang@nxp.com> 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/Documentation/networking/ |
H A 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 41 (a) Following will create IPvlan link with eth0 as master in 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:: [all …]
|
H A D | vrf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 routing and forwarding domains (aka VRFs, VRF-lite to be specific) in the 12 Linux network stack. One use case is the multi-tenancy problem where each 30 ------ 34 +-----------------------------+ 35 | vrf-blue | ===> route table 10 36 +-----------------------------+ 38 +------+ +------+ +-------------+ 40 +------+ +------+ +-------------+ 42 +------+ +------+ [all …]
|
/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drx_dap_fasi.h | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 48 /*-------- compilation control switches --------------------------------------*/ 53 /*-------- Required includes -------------------------------------------------*/ 57 /*-------- Defines, configuring the API --------------------------------------*/ 98 #error At least one of short- or long-addressing format must be allowed. 103 * Single/master multi master setting 106 * Comments about SINGLE MASTER/MULTI MASTER modes: 108 * Consider the two sides:1) the master and 2)the slave. 110 * Master: 112 * + single master mode means no use of repeated starts [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | cpsw_switchdev.rst | 1 .. 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 …]
|
H A D | am65_nuss_cpsw_switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 ip -d link show dev sw0p1 | grep switchid 20 Multi mac mode 23 - The driver is operating in multi-mac mode by default, thus 29 See Documentation/networking/devlink/am65-nuss-cpsw-switch.rst 34 The Switch mode can be enabled by configuring devlink driver parameter 40 This can be done regardless of the state of Port's netdev devices - UP/DOWN, but 45 When the both interfaces joined the bridge - CPSW switch driver will enable 62 ip link set dev sw0p1 master br0 63 ip link set dev sw0p2 master br0 [all …]
|
/linux/Documentation/devicetree/bindings/ata/ |
H A 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 <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/drivers/i3c/master/mipi-i3c-hci/ |
H A D | ext_caps.c | 1 // SPDX-License-Identifier: BSD-3-Clause 11 #include <linux/i3c/master.h> 26 hci->vendor_mipi_id = readl(base + 0x04); in hci_extcap_hardware_id() 27 hci->vendor_version_id = readl(base + 0x08); in hci_extcap_hardware_id() 28 hci->vendor_product_id = readl(base + 0x0c); in hci_extcap_hardware_id() 30 dev_info(&hci->master.dev, "vendor MIPI ID: %#x\n", hci->vendor_mipi_id); in hci_extcap_hardware_id() 31 dev_info(&hci->master.dev, "vendor version ID: %#x\n", hci->vendor_version_id); in hci_extcap_hardware_id() 32 dev_info(&hci->master.dev, "vendor product ID: %#x\n", hci->vendor_product_id); in hci_extcap_hardware_id() 35 switch (hci->vendor_mipi_id) { in hci_extcap_hardware_id() 37 hci->quirks |= HCI_QUIRK_RAW_CCC; in hci_extcap_hardware_id() [all …]
|
H A D | xfer_mode_rate.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 7 * Transfer Mode/Rate Table definitions as found in extended capability 16 * Master Transfer Mode Table Fixed Indexes. 19 * obtained from the mode table in the extended capability area. 22 #define XFERMODE_IDX_I3C_SDR 0x00 /* I3C SDR Mode */ 23 #define XFERMODE_IDX_I3C_HDR_DDR 0x01 /* I3C HDR-DDR Mode */ 24 #define XFERMODE_IDX_I3C_HDR_T 0x02 /* I3C HDR-Ternary Mode */ 25 #define XFERMODE_IDX_I3C_HDR_BT 0x03 /* I3C HDR-BT Mode */ 26 #define XFERMODE_IDX_I2C 0x08 /* Legacy I2C Mode */ 29 * Transfer Mode Table Entry Bits Definitions [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_bonding.c | 1 // SPDX-License-Identifier: GPL-2.0 33 static int root_netns_fd = -1; 48 return -1; in setns_by_name() 63 return -1; in get_rx_packets() 85 return -1; in get_rx_packets() 106 return -1; in xdp_attach() 108 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach() 109 return -1; in xdp_attach() 113 return -1; in xdp_attach() 115 skeletons->links[skeletons->nlinks++] = link; in xdp_attach() [all …]
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0 30 for_each_new_connector_in_state(crtc_st->state, conn, conn_st, i) { in komeda_crtc_get_color_config() 31 if (conn_st->crtc != crtc_st->crtc) in komeda_crtc_get_color_config() 34 conn_bpc = conn->display_info.bpc ? conn->display_info.bpc : 8; in komeda_crtc_get_color_config() 35 conn_color_formats &= conn->display_info.color_formats; in komeda_crtc_get_color_config() 53 if (!kcrtc_st->base.active) { in komeda_crtc_update_clock_ratio() 54 kcrtc_st->clock_ratio = 0; in komeda_crtc_update_clock_ratio() 58 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio() 61 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio() 65 * komeda_crtc_atomic_check - build display output data flow [all …]
|
/linux/drivers/ata/ |
H A D | pata_ftide010.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 * struct ftide010 - state container for the Faraday FTIDE010 29 * @master_cbl: master cable type 32 * @master_to_sata0: Gemini SATA bridge: the ATA master is connected 36 * @master_to_sata1: Gemini SATA bridge: the ATA master is connected 48 /* Gemini-specific properties */ 62 #define FTIDE010_UDMA_TIMING0 0x12 /* Master */ 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/drivers/comedi/drivers/ |
H A D | plx9080.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 26 * struct plx_dma_desc - DMA descriptor format for PLX PCI 9080 32 * Describes the format of a scatter-gather DMA descriptor for the PLX 33 * PCI 9080. All members are raw, little-endian register values that 37 * The DMA descriptors must be aligned on a 16-byte boundary. Bits 3:0 80 /* Mode/Arbitration Register */ 104 /* Local Bus Direct Slave Give Up Bus Mode */ 108 /* PCI Request Mode */ 110 /* PCI Specification v2.1 Mode */ 112 /* PCI Read No Write Mode */ [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-priv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl> 12 if (!WARN_ON(!(vdev)) && ((vdev)->dev_debug & V4L2_DEV_DEBUG_CTRL)) \ 17 #define has_op(master, op) \ argument 18 ((master)->ops && (master)->ops->op) 19 #define call_op(master, op) \ argument 20 (has_op(master, op) ? (master)->ops->op(master) : 0) 24 return list_entry(node, struct v4l2_ctrl_ref, node)->ctrl->id; in node2id() 29 * mode. 31 static inline bool is_cur_manual(const struct v4l2_ctrl *master) in is_cur_manual() argument [all …]
|
/linux/sound/soc/mxs/ |
H A D | mxs-saif.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/dma-mapping.h> 13 #include <linux/clk-provider.h> 22 #include "mxs-saif.h" 32 * For MXS, two SAIF modules are instantiated on-chip. 33 * Each SAIF has a set of clock pins and can be operating in master 34 * mode simultaneously if they are connected to different off-chip codecs. 35 * Also, one of the two SAIFs can master or drive the clock pins while the 36 * other SAIF, in slave mode, receives clocking from the master SAIF. 39 * We abstract this as each saif has a master, the master could be [all …]
|
/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | bond-eth-type-change.sh | 2 # SPDX-License-Identifier: GPL-2.0 20 ip -d l sh dev "$bonddev" | grep -q "MASTER" 21 check_err $? "MASTER flag is missing from the bond device" 23 ip -d l sh dev "$bonddev" | grep -q "SLAVE" 28 # this allows us to test both MASTER and SLAVE flags at once 32 local devbond0="test-bond0" 33 local devbond1="test-bond1" 34 local devbond2="test-bond2" 35 local nonethdev="test-noneth0" 37 # create a non-ARPHRD_ETHER device for testing (e.g. nlmon type) [all …]
|
H A D | lag_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 11 local mode=$2 21 ip link add "$name" up type bond mode "$mode" 22 ip link set dev dummy1 master "$name" 23 ip link set dev dummy2 master "$name" 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" [all …]
|
/linux/fs/crypto/ |
H A D | keysetup.c | 1 // SPDX-License-Identifier: GPL-2.0 18 .friendly_name = "AES-256-XTS", 26 .friendly_name = "AES-256-CBC-CTS", 33 .friendly_name = "AES-128-CBC-ESSIV", 41 .friendly_name = "AES-128-CBC-CTS", 48 .friendly_name = "SM4-XTS", 56 .friendly_name = "SM4-CBC-CTS", 71 .friendly_name = "AES-256-HCTR2", 87 if (S_ISREG(inode->i_mode)) in select_encryption_mode() 90 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) in select_encryption_mode() [all …]
|
/linux/Documentation/w1/masters/ |
H A 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 16 protocol of the master functions of the Benchmark HDQ and the Dallas 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 [all …]
|
/linux/drivers/fsi/ |
H A 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" 53 #define FSI_SMODE 0x0 /* R/W: Mode register */ 57 #define FSI_LLMODE 0x100 /* R/W: Link layer mode register */ 97 static int fsi_master_read(struct fsi_master *master, int link, 99 static int fsi_master_write(struct fsi_master *master, int link, [all …]
|
/linux/Documentation/driver-api/i3c/ |
H A D | protocol.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 https://resources.mipi.org/mipi-i3c-v1-download). 22 The I3C (pronounced 'eye-three-see') is a MIPI standardized protocol designed 25 while remaining power-efficient. 35 * Master: the device is driving the bus. It's the one in charge of initiating 39 slave on the bus. The device can still send events to the master on 40 its own initiative if the master allowed it. 42 I3C is a multi-master protocol, so there might be several masters on a bus, 43 though only one device can act as a master at a given time. In order to gain 44 bus ownership, a master has to follow a specific procedure. [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-i3c | 1 What: /sys/bus/i3c/devices/i3c-<bus-id> 3 Contact: linux-i3c@vger.kernel.org 5 An I3C bus. This directory will contain one sub-directory per 8 What: /sys/bus/i3c/devices/i3c-<bus-id>/current_master 10 Contact: linux-i3c@vger.kernel.org 12 Expose the master that owns the bus (<bus-id>-<master-pid>) at 17 What: /sys/bus/i3c/devices/i3c-<bus-id>/mode 19 Contact: linux-i3c@vger.kernel.org 21 I3C bus mode. Can be "pure", "mixed-fast" or "mixed-slow". See 25 What: /sys/bus/i3c/devices/i3c-<bus-id>/i3c_scl_frequency [all …]
|
/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | lan9303.txt | 2 ------------------------------------------------- 6 - compatible: should be 7 - "smsc,lan9303-i2c" for I2C managed mode 9 - "smsc,lan9303-mdio" for mdio managed mode 13 - reset-gpios: GPIO to be used to reset the whole device 14 - reset-duration: reset duration in milliseconds, defaults to 200 ms 23 auto-detected and mapped accordingly. 27 I2C managed mode: 29 master: masterdevice@X { 31 fixed-link { /* RMII fixed link to LAN9303 */ [all …]
|
/linux/drivers/media/pci/zoran/ |
H A D | videocodec.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * bound to a master device. 16 * Should ease the (re-)usage of drivers supporting cards with (different) 20 * The codecs are typically have a "strong" binding to their master - so I 22 * i2c. If you have an other opinion, let's discuss & implement it :-))) 29 * The best is just calling them at module (de-)initialisation. 31 * The master sets up the structure videocodec_master and calls: 37 * and the slave can access any io registers of the master device (in the case 45 * to be set up for the master and the slave. 47 * ---------------------------------------------------------------------------- [all …]
|
/linux/drivers/w1/masters/ |
H A D | w1-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * w1-gpio - GPIO w1 bus master driver 31 ddata->pullup_duration = delay; in w1_gpio_set_pullup() 33 if (ddata->pullup_duration) { in w1_gpio_set_pullup() 35 * This will OVERRIDE open drain emulation and force-pull in w1_gpio_set_pullup() 38 gpiod_set_raw_value(ddata->gpiod, 1); in w1_gpio_set_pullup() 39 msleep(ddata->pullup_duration); in w1_gpio_set_pullup() 44 gpiod_set_value(ddata->gpiod, 1); in w1_gpio_set_pullup() 46 ddata->pullup_duration = 0; in w1_gpio_set_pullup() 56 gpiod_set_value(ddata->gpiod, bit); in w1_gpio_write_bit() [all …]
|