| /linux/tools/testing/selftests/drivers/net/bonding/ | 
| H A D | bond_passive_lacp.sh | 2 # SPDX-License-Identifier: GPL-2.020 	ip -n "${netns}" -d -j link show "$port" | \
 21 …jq -e ".[].linkinfo.info_slave_data.ad_actor_oper_port_state_str | index(\"${state}\") != null" > …
 32 		"dev ${iface} egress" 101 ".packets" "-n ${ns}" &> /dev/null
 39 	ip -n "${c_ns}" link add eth0 type veth peer name eth0 netns "${s_ns}"
 40 	ip -n "${c_ns}" link add eth1 type veth peer name eth1 netns "${s_ns}"
 43 	tc -n "${c_ns}" qdisc add dev eth0 clsact
 44 	tc -n "${c_ns}" filter add dev eth0 egress handle 101 protocol 0x8809 matchall action pass
 45 	tc -n "${s_ns}" qdisc add dev eth1 clsact
 46 	tc -n "${s_ns}" filter add dev eth1 egress handle 101 protocol 0x8809 matchall action pass
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/i2c/ | 
| H A D | i2c-arb-gpio-challenge.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---
 4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
 10   - Doug Anderson <dianders@chromium.org>
 11   - Peter Rosin <peda@axentia.se>
 15   the master of an I2C bus in a multimaster situation.
 18   standard I2C multi-master rules.  Using GPIOs is generally useful in the case
 25      problems (hard to tell if i2c issues were caused by one master, another,
 [all …]
 
 | 
| /linux/arch/arm/mach-at91/ | 
| H A D | pm_suspend.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */3  * arch/arm/mach-at91/pm_slow_clock.S
 13 #include "pm_data-offsets.h"
 16 .arch armv7-a
 28  * Wait until master clock is ready (after switching master clock source)
 30  * @r_mckid:	register holding master clock identifier
 32  * Side effects: overwrites r7, r8
 49  * Wait until master oscillator has stabilized.
 51  * Side effects: overwrites r7
 62  * Side effects: overwrites r7
 [all …]
 
 | 
| /linux/Documentation/driver-api/ | 
| H A D | i2c.rst | 5 the "Inter-IC" bus, a simple bus protocol which is widely used where low7 some vendors use another name (such as "Two-Wire Interface", TWI) for
 12 I2C is a multi-master bus; open drain signaling is used to arbitrate
 16 The Linux I2C programming interfaces support the master side of bus
 17 interactions and the slave side. The programming interface is
 38 .. kernel-doc:: include/linux/i2c.h
 41 .. kernel-doc:: drivers/i2c/i2c-boardinfo.c
 44 .. kernel-doc:: drivers/i2c/i2c-core-base.c
 47 .. kernel-doc:: drivers/i2c/i2c-core-smbus.c
 
 | 
| /linux/include/uapi/linux/hdlc/ | 
| H A D | ioctl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */9 #define CLOCK_EXT	1	/* External TX and RX clock - DTE */
 10 #define CLOCK_INT	2	/* Internal TX and RX clock - DCE */
 27 #define PARITY_CRC16_PR0_CCITT	4 /* CRC16, initial 0x0000, ITU-T version */
 28 #define PARITY_CRC16_PR1_CCITT	5 /* CRC16, initial 0xFFFF, ITU-T version */
 35 #define LMI_CCITT		3 /* ITU-T Annex A */
 42 	unsigned int clock_type; /* internal, external, TX-internal etc. */
 48 	unsigned int clock_type; /* internal, external, TX-internal etc. */
 65 	unsigned short dce; /* 1 for DCE (network side) operation */
 74 	char master[IFNAMSIZ];	/* Name of master FRAD device */  member
 [all …]
 
 | 
| /linux/drivers/tty/ | 
| H A D | pty.c | 1 // SPDX-License-Identifier: GPL-2.05  *  Added support for a Unix98-style ptmx device.
 6  *    -- C. Scott Ananian <cananian@alumni.princeton.edu>, 14-Jan-1998
 49 	if (tty->driver->subtype == PTY_TYPE_MASTER)  in pty_close()
 50 		WARN_ON(tty->count > 1);  in pty_close()
 54 		if (tty->count > 2)  in pty_close()
 57 	set_bit(TTY_IO_ERROR, &tty->flags);  in pty_close()
 58 	wake_up_interruptible(&tty->read_wait);  in pty_close()
 59 	wake_up_interruptible(&tty->write_wait);  in pty_close()
 60 	spin_lock_irq(&tty->ctrl.lock);  in pty_close()
 [all …]
 
 | 
| /linux/Documentation/admin-guide/ | 
| H A D | devices.rst | 11 version in the mainline Linux kernel is the master document.  Updates13 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>` document).
 63 --------------------------------------
 81 /dev/nfsd	socksys		symbolic	Required by iBCS-2
 82 /dev/X0R	null		symbolic	Required by iBCS-2
 85 Note: ``/dev/X0R`` is <letter X>-<digit 0>-<letter R>.
 100 /dev/scd?	sr?		hard		Alternate SCSI CD-ROM name
 114 /dev/cdrom	CD-ROM device	symbolic	Current CD-ROM device
 115 /dev/cdwriter	CD-writer	symbolic	Current CD-writer device
 138 Non-transient sockets and named pipes may exist in /dev.  Common entries are:
 [all …]
 
 | 
| /linux/sound/pci/ca0106/ | 
| H A D | ca0106_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  *  Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk>
 67 	if (emu->spdif_enable) {  in ca0106_spdif_enable()
 73 		val = inl(emu->port + CA0106_GPIO) & ~0x101;  in ca0106_spdif_enable()
 74 		outl(val, emu->port + CA0106_GPIO);  in ca0106_spdif_enable()
 82 		val = inl(emu->port + CA0106_GPIO) | 0x101;  in ca0106_spdif_enable()
 83 		outl(val, emu->port + CA0106_GPIO);  in ca0106_spdif_enable()
 89 	unsigned int val = emu->capture_source;  in ca0106_set_capture_source()
 103 	ngain = emu->i2c_capture_volume[val][0]; /* Left */  in ca0106_set_i2c_capture_source()
 104 	ogain = emu->i2c_capture_volume[emu->i2c_capture_source][0]; /* Left */  in ca0106_set_i2c_capture_source()
 [all …]
 
 | 
| /linux/Documentation/i2c/ | 
| H A D | gpio-fault-injection.rst | 5 The GPIO based I2C bus master driver can be configured to provide fault7 which is driven by the I2C bus master driver under test. The GPIO fault
 9 master driver should handle gracefully.
 12 'i2c-fault-injector' subdirectory in the Kernel debugfs filesystem, usually
 15 injection. They will be described now along with their intended use-cases.
 21 -----
 26 because the bus master under test will not be able to clock. It should detect
 31 -----
 36 master under test should detect this condition and trigger a bus recovery (see
 48 there are I2C client devices which detect a stuck SDA on their side and release
 [all …]
 
 | 
| /linux/arch/um/drivers/ | 
| H A D | pty.c | 1 // SPDX-License-Identifier: GPL-2.03  * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
 34 	*data = ((struct pty_chan) { .announce  	= opts->announce,  in pty_chan_init()
 36 				     .raw  		= opts->raw });  in pty_chan_init()
 49 		err = -errno;  in pts_open()
 54 	if (data->raw) {  in pts_open()
 55 		CATCH_EINTR(err = tcgetattr(fd, &data->tt));  in pts_open()
 65 	sprintf(data->dev_name, "%s", dev);  in pts_open()
 66 	*dev_out = data->dev_name;  in pts_open()
 68 	if (data->announce)  in pts_open()
 [all …]
 
 | 
| /linux/include/drm/ | 
| H A D | drm_audio_component.h | 1 // SPDX-License-Identifier: MIT14  * struct drm_audio_component_ops - Ops implemented by DRM driver, called by hda driver
 68  * struct drm_audio_component_audio_ops - Ops implemented by hda driver, called by DRM driver
 88 	 * number to a port number in the graphics side.
 92 	 * @master_bind: (Optional) component master bind callback
 94 	 * Called at binding master component, for HDA codec-specific
 99 	 * @master_unbind: (Optional) component master unbind callback
 101 	 * Called at unbinding master component, for HDA codec-specific
 108  * struct drm_audio_component - Used for direct communication between DRM and hda drivers
 124 	 * @master_bind_complete: completion held during component master binding
 
 | 
| /linux/Documentation/trace/ | 
| H A D | stm.rst | 1 .. SPDX-License-Identifier: GPL-2.010 which is assigned a unique pair of master and channel. While some of
 14 master/channel combination from this pool.
 16 On the receiving end of this STP stream (the decoder side), trace
 17 sources can only be identified by master/channel combination, so in
 20 master/channel pairs to the trace sources that it understands.
 23 master 7 channel 15, while arbitrary user applications can use masters
 34 associated with it, located in "stp-policy" subsystem directory in
 40 	$ ls /config/stp-policy/dummy_stm.my-policy/user
 42 	$ cat /config/stp-policy/dummy_stm.my-policy/user/masters
 [all …]
 
 | 
| /linux/sound/ppc/ | 
| H A D | snd_ps3_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */73  +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
 75  +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
 96  +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
 98  +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
 106  +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
 108  +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
 125  +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
 127  +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
 131 #define PS3_AUDIO_AX_MCTRL_ASOMT(n)     (1 << (3 - (n)))  /* RWIVF */
 [all …]
 
 | 
| /linux/Documentation/sound/designs/ | 
| H A D | control-names.rst | 8 ---------------39 Side		side left/right for 7.1 surround
 54 Master
 55 Master Mono
 56 Hardware Master
 68 Headset Mic		mic part of combined headset jack - 4-pin
 70 Headphone Mic		mic part of either/or - 3-pin headphone or mic
 79 Analog Loopback		D/A -> A/D loopback
 80 Digital Loopback	playback -> capture loopback -
 98 -----------------------
 [all …]
 
 | 
| /linux/Documentation/spi/ | 
| H A D | spi-lm70llp.rst | 2 spi_lm70llp :  LM70-LLP parport-to-SPI adapter15 -----------
 19 This is a SPI master controller driver. It can be used in conjunction with
 27 --------------------
 28 The schematic for this particular board (the LM70EVAL-LLP) is
 39       D0     2      -         -
 40       D1     3     -->      V+   5
 41       D2     4     -->      V+   5
 42       D3     5     -->      V+   5
 43       D4     6     -->      V+   5
 [all …]
 
 | 
| /linux/Documentation/driver-api/acpi/ | 
| H A D | linuxized-acpica.rst | 1 .. SPDX-License-Identifier: GPL-2.05 Linuxized ACPICA - Introduction to ACPICA Release Automation
 8 :Copyright: |copy| 2013-2016, Intel Corporation
 24 system (OS)-independent reference implementation of the Advanced
 36       +---------------------------------------------------------+
 38       |   +---------------------------------------------------+ |
 39       |   | +------------------+                              | |
 41       |   | +------------------+                              | |
 42       |   | +----------------------+                          | |
 44       |   | +----------------------+                          | |
 [all …]
 
 | 
| /linux/Documentation/driver-api/soundwire/ | 
| H A D | error_handling.rst | 13 1. Bus clash or parity errors: This mechanism relies on low-level detectors20    impact its audibility (most-significant bits will be more impacted in PCM),
 34    be applied. In case of a bad programming (command sent to non-existent
 35    Slave or to a non-implemented register) or electrical issue, no response
 36    signals the command was ignored. Some Master implementations allow for a
 40    reset and re-enumerate all devices.
 47    driver will return a -ETIMEOUT. Such timeouts are symptoms of a faulty
 56    problems when enabling multiple bus segments (a command with side effects
 58    hard-reset might be the best solution.
 62 that the Slave might behave in implementation-defined ways. The bus
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/net/ | 
| H A D | mdio-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/net/mdio-mux.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Andrew Lunn <andrew@lunn.ch>
 18   mdio-parent-bus:
 21       The phandle of the MDIO bus that this multiplexer's master-side port is
 24   '#address-cells':
 27   '#size-cells':
 31   '^mdio@[0-9a-f]+$':
 
 | 
| /linux/Documentation/driver-api/usb/ | 
| H A D | gadget.rst | 11 This document presents a Linux-USB "Gadget" kernel mode API, for use17 -  Supports USB 2.0, for high speed devices which can stream data at
 20 -  Handles devices with dozens of endpoints just as well as ones with
 21    just two fixed-function ones. Gadget drivers can be written so
 24 -  Flexible enough to expose more complex USB device capabilities such
 28 -  USB "On-The-Go" (OTG) support, in conjunction with updates to the
 29    Linux-USB host side.
 31 -  Sharing data structures and API models with the Linux-USB host side
 32    API. This helps the OTG support, and looks forward to more-symmetric
 34    side drivers).
 [all …]
 
 | 
| /linux/drivers/gpu/drm/msm/ | 
| H A D | NOTES | 5  + MDP3 - ?? seems to be what is on geeksphone peak device6  + MDP4 - S3 (APQ8060, touchpad), S4-pro (APQ8064, nexus4 & ifc6410)
 7  + MDP5 - snapdragon 800
 14 And on gpu side of things:
 20 with N different kms devices from xf86-video-freedreno.  Plus, it
 27 And one or more 'struct msm_gpu' for the various different gpu sub-
 38   plane   -> PIPE{RGBn,VGn}              \
 39   crtc    -> OVLP{n} + DMA{P,S,E} (??)   |-> MDP "device"
 40   encoder -> DTV/LCDC/DSI (within MDP4)  /
 41   connector -> HDMI/DSI/etc              --> other device(s)
 [all …]
 
 | 
| /linux/sound/pci/ice1712/ | 
| H A D | phase.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later11  *   Audio controller: VIA Envy24HT-S (slightly trimmed down Envy24HT, 4in/4out)
 13  *   Digital receiver: CS8414-CS (supported in this release)
 18  *	- CS directly from GPIO 10
 19  *	- CCLK via 74HCT125's gate #4 from GPIO 4
 20  *	- CDT
 46 unsigned short master[2]; global()  member
 266 wm_set_vol(struct snd_ice1712 * ice,unsigned int index,unsigned short vol,unsigned short master) wm_set_vol()  argument
 [all...]
 | 
| /linux/Documentation/hwmon/ | 
| H A D | lm70.rst | 35 -----------46 comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's
 48 driver for interpretation. This driver makes use of the kernel's in-core
 51 As a real (in-tree) example of this "SPI protocol driver" interfacing
 52 with a "SPI master controller driver", see drivers/spi/spi_lm70llp.c
 56 13-bit temperature data (0.0625 degrees celsius resolution).
 60 The TMP125 is less accurate and provides 10-bit temperature data
 63 The LM71 is also very similar; main difference is 14-bit temperature
 67 ---------
 68 Jean Delvare <jdelvare@suse.de> for mentoring the hwmon-side driver
 
 | 
| /linux/Documentation/filesystems/ | 
| H A D | fscrypt.rst | 2 Filesystem-level encryption (fscrypt)11 Note: "fscrypt" in this document refers to the kernel-level portion,
 14 covers the kernel-level portion.  For command-line examples of how to
 20 <https://source.android.com/security/encryption/file-based>`_, over
 25 Unlike dm-crypt, fscrypt operates at the filesystem level rather than
 28 filesystem.  This is useful for multi-user systems where each user's
 29 data-at-rest needs to be cryptographically isolated from the others.
 34 directly into supported filesystems --- currently ext4, F2FS, UBIFS,
 44 fscrypt does not support encrypting files in-place.  Instead, it
 54 ---------------
 [all …]
 
 | 
| /linux/sound/pci/ac97/ | 
| H A D | ac97_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later33 		err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97)); in patch_build_controls()
 46 	kctl = snd_ctl_find_id_mixer(ac97->bus->card, name); in reset_tlv()
 47 	if (kctl && kctl->tl in reset_tlv()
 [all...]
 | 
| /linux/Documentation/i2c/busses/ | 
| H A D | i2c-parport.rst | 2 Kernel driver i2c-parport7 This is a unified driver for several i2c-over-parallel-port adapters,
 11  * i2c-philips-par
 12  * i2c-elv
 13  * i2c-velleman
 14  * video/i2c-parport
 25  * (type=6) Barco LPT->DVI (K5800236) adapter
 27  * (type=8) VCT-jig
 42 -------------------------
 44 If you want to build you own i2c-over-parallel-port adapter, here is
 [all …]
 
 |