/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/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 …]
|
/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/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/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/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/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/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/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/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/drivers/gpu/drm/msm/ |
H A D | NOTES | 5 + MDP3 - ?? seems to be what is on geeksphone peak device 6 + 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/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/sound/pci/ice1712/ |
H A D | phase.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * 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 * - CDTI via 74HCT125's gate #2 from GPIO 5 28 * Digital receiver: CS8414-CS (supported in this release) 46 unsigned short master[2]; member 51 #define WM_DAC_ATTEN 0x00 /* DAC1-8 analog attenuation */ 52 #define WM_DAC_MASTER_ATTEN 0x08 /* DAC master analog attenuation */ [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 */ 157 * corrupted and results in a no repeated-start condition at the end of 195 * struct svc_i3c_master - Silvaco I3C Master structure 196 * @base: I3C master controller 203 * @hj_work: Hot-join work 217 * @lock: Transfer lock, protect between IBI work thread and callbacks from master 255 * struct svc_i3c_i2c_dev_data - Device specific data [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/drivers/spi/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 dynamic device discovery; some are even write-only or read-only. 17 chips, analog to digital (and d-to-a) converters, and more. 36 # MASTER side ... talking to discrete SPI slave chips including microcontrollers 40 # bool "SPI Master Support" 44 If your system has an master-capable SPI controller (which 56 by providing a high-level interface to send memory-like commands. 61 comment "SPI Master Controller Drivers" 69 This enables support for SPI-NAND mode on the Airoha NAND 71 is implemented as a SPI-MEM controller. [all …]
|