/linux/Documentation/driver-api/ |
H A D | spi.rst | 7 often in the range of 1-20 MHz), a "Master Out, Slave In" (MOSI) data 8 line, and a "Master In, Slave Out" (MISO) data line. SPI is a full 12 additional chipselect line is usually active-low (nCS); four signals are 18 only "master" side interfaces are supported, where Linux talks to SPI 25 a pair of FIFOs connected to dual DMA engines on the other side of the 28 the SPI side of their device as a :c:type:`struct spi_controller 29 <spi_controller>`. SPI devices are children of that master, 33 board-specific initialization code. A :c:type:`struct spi_driver 46 .. kernel-doc:: include/linux/spi/spi.h 49 .. kernel-doc:: drivers/spi/spi.c [all …]
|
H A D | i2c.rst | 5 the "Inter-IC" bus, a simple bus protocol which is widely used where low 7 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/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-arb-gpio-challenge.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 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/devicetree/bindings/soc/qcom/ |
H A D | qcom,smp2p.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 16 of a single 32-bit value between two processors. Each value has a single 17 writer (the local side) and a single reader (the remote side). Values are 35 $ref: /schemas/types.yaml#/definitions/phandle-array 37 - items: [all …]
|
/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.0 5 * 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 …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 23 one can be used for a text-mode user session, and a third could run 25 is done with certain key combinations, usually Alt-<function key>. 42 shiny Linux system :-) 90 See <file:Documentation/driver-api/console.rst> for more 99 halves: a master and a slave. The slave device behaves identical to 100 a physical terminal; the master device is used by a process to 102 terminal. Typical programs for the master side are telnet servers 105 Linux has traditionally used the BSD-like names /dev/ptyxx for 122 halves: a master and a slave. The slave device behaves identical to [all …]
|
/linux/Documentation/admin-guide/ |
H A D | devices.rst | 11 version in the mainline Linux kernel is the master document. Updates 13 :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-later 3 * 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/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/i2c/ |
H A D | gpio-fault-injection.rst | 5 The GPIO based I2C bus master driver can be configured to provide fault 7 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.0 3 * 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: MIT 14 * 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.0 10 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/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/gpu/ |
H A D | drm-uapi.rst | 9 addition, drivers export device-specific interfaces for use by userspace 10 drivers & device-aware applications through ioctls and sysfs files. 16 Cover generic ioctls and sysfs layout here. We only need high-level 22 .. kernel-doc:: drivers/gpu/drm/drm_ioctl.c 28 Primary Nodes, DRM Master and Authentication 31 .. kernel-doc:: drivers/gpu/drm/drm_auth.c 32 :doc: master and authentication 34 .. kernel-doc:: drivers/gpu/drm/drm_auth.c 37 .. kernel-doc:: include/drm/drm_auth.h 46 .. kernel-doc:: drivers/gpu/drm/drm_lease.c [all …]
|
/linux/Documentation/spi/ |
H A D | spi-lm70llp.rst | 2 spi_lm70llp : LM70-LLP parport-to-SPI adapter 15 ----------- 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/sound/soc/generic/ |
H A D | audio-graph-card2-custom-sample.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * audio-graph-card2-custom-sample.dtsi 8 * This sample indicates how to use audio-graph-card2 and its 9 * custom driver. "audio-graph-card2-custom-sample" is the custome driver 10 * which is using audio-graph-card2. 15 * #include "../../../../../sound/soc/generic/audio-graph-card2-custom-sample.dtsi" 23 * "compatible" on each test-component. see below 26 * - compatible = "test-cpu"; 27 * + compatible = "test-cpu-verbose"; 32 * - compatible = "test-codec"; [all …]
|
/linux/Documentation/driver-api/acpi/ |
H A D | linuxized-acpica.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 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/usb/ |
H A D | gadget.rst | 11 This document presents a Linux-USB "Gadget" kernel mode API, for use 17 - 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/Documentation/driver-api/soundwire/ |
H A D | error_handling.rst | 13 1. Bus clash or parity errors: This mechanism relies on low-level detectors 20 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.0 3 --- 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/filesystems/ |
H A D | ubifs-authentication.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 binary to perform a malicious action when executed [DMC-CBC-ATTACK]. Since 28 Other full disk encryption systems like dm-crypt cover all filesystem metadata, 31 time. For dm-crypt and other filesystems that build upon the Linux block IO 32 layer, the dm-integrity or dm-verity subsystems [DM-INTEGRITY, DM-VERITY] 34 These can also be combined with dm-crypt [CRYPTSETUP2]. 44 ---------------- 50 addition, it deals with flash-specific wear-leveling and transparent I/O error 60 +------------+ +*******+ +-----------+ +-----+ 61 | | * UBIFS * | UBI-BLOCK | | ... | [all …]
|
/linux/drivers/i3c/master/ |
H A D | svc-i3c-master.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Silvaco dual-role I3C master driver 14 #include <linux/i3c/master.h> 24 /* Master Mode Registers */ 162 * struct svc_i3c_master - Silvaco I3C Master structure 163 * @base: I3C master controller 170 * @hj_work: Hot-join work 185 * @lock: Transfer lock, protect between IBI work thread and callbacks from master 222 * struct svc_i3c_i2c_dev_data - Device specific data 223 * @index: Index in the master tables corresponding to this device [all …]
|