Home
last modified time | relevance | path

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

12345678910>>...42

/linux/Documentation/devicetree/bindings/sound/
H A Dfsl,ssi.yaml1 # 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 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
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 Dvrf.rst1 .. 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 Ddrx_dap_fasi.h2 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/devicetree/bindings/ata/
H A 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/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c1 // 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/ata/
H A Dpata_ftide010.c1 // 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/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c1 // 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/comedi/drivers/
H A Dplx9080.h1 /* 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/sound/soc/mxs/
H A Dmxs-saif.c1 // 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/drivers/i3c/master/mipi-i3c-hci/
H A Dxfer_mode_rate.h1 /* 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/include/linux/soundwire/
H A Dsdw.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
39 /* SDW Master Device Number, not supported yet */
88 * enum sdw_slave_status - Slave status
106 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare
107 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepar
[all...]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond-eth-type-change.sh2 # 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 Dlag_lib.sh2 # 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/Documentation/w1/masters/
H A 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
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/fs/crypto/
H A Dkeysetup.c1 // SPDX-License-Identifier: GPL-2.0
19 .friendly_name = "AES-256-XTS",
27 .friendly_name = "AES-256-CBC-CTS",
34 .friendly_name = "AES-128-CBC-ESSIV",
42 .friendly_name = "AES-128-CBC-CTS",
49 .friendly_name = "SM4-XTS",
57 .friendly_name = "SM4-CBC-CTS",
72 .friendly_name = "AES-256-HCTR2",
88 if (S_ISREG(inode->i_mode)) in select_encryption_mode()
91 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) in select_encryption_mode()
[all …]
/linux/drivers/fsi/
H A 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...)
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/devicetree/bindings/net/dsa/
H A Dlan9303.txt2 -------------------------------------------------
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/Documentation/ABI/testing/
H A Dsysfs-bus-i3c1 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/drivers/w1/masters/
H A Dw1-gpio.c1 // 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 …]
/linux/drivers/media/pci/zoran/
H A Dvideocodec.h1 /* 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/sound/pci/ctxfi/
H A Dctsrc.c1 // SPDX-License-Identifier: GPL-2.0-only
38 hw = src->rsc.hw; in src_set_state()
39 hw->src_set_state(src->rsc.ctrl_blk, state); in src_set_state()
48 hw = src->rsc.hw; in src_set_bm()
49 hw->src_set_bm(src->rs in src_set_bm()
[all...]
/linux/net/netfilter/
H A Dxt_statistic.c1 // SPDX-License-Identifier: GPL-2.0-only
24 MODULE_DESCRIPTION("Xtables: statistics-based matching (\"Nth\", random)");
31 const struct xt_statistic_info *info = par->matchinfo; in statistic_mt()
32 bool ret = info->flags & XT_STATISTIC_INVERT; in statistic_mt()
35 switch (info->mode) { in statistic_mt()
37 if ((get_random_u32() & 0x7FFFFFFF) < info->u.random.probability) in statistic_mt()
42 oval = atomic_read(&info->master->count); in statistic_mt()
43 nval = (oval == info->u.nth.every) ? 0 : oval + 1; in statistic_mt()
44 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval); in statistic_mt()
55 struct xt_statistic_info *info = par->matchinfo; in statistic_mt_check()
[all …]
/linux/include/linux/mtd/
H A Dmtd.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al.
15 #include <linux/nvmem-provider.h>
17 #include <mtd/mtd-abi.h>
21 #define MTD_FAIL_ADDR_UNKNOWN -1LL
50 * struct mtd_oob_ops - oob operation operands
51 * @mode: operation mode
60 * mode = MTD_OPS_PLACE_OOB or MTD_OPS_RAW)
61 * @datbuf: data buffer - if NULL only oob data are read/written
65 * one go. If you try to do that on such an MTD device, -EINVAL will be
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dq_in_q_veto.sh2 # SPDX-License-Identifier: GPL-2.0
54 ip link set dev $swp1 master br0
62 | grep -q mlxsw_spectrum
80 | grep -q mlxsw_spectrum
94 ip link set dev $swp1 master br0
103 | grep -q mlxsw_spectrum
115 ip link add name bond1 type bond mode 802.3ad
117 ip link set dev $swp1 master bond1
125 | grep -q mlxsw_spectrum
163 ip link set dev $swp1 master br0
[all …]

12345678910>>...42