| /kernel/linux/linux-5.10/Documentation/driver-api/ |
| 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 …]
|
| 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
|
| /kernel/linux/linux-6.6/Documentation/driver-api/ |
| 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 …]
|
| 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
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-at91/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/hdlc/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/hdlc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/qcom/ |
| D | qcom,smp2p.txt | 4 a single 32-bit value between two processors. Each value has a single writer 5 (the local side) and a single reader (the remote side). Values are uniquely 9 - compatible: 15 - interrupts: 17 Value type: <prop-encoded-array> 20 - mboxes: 22 Value type: <prop-encoded-array> 26 - qcom,ipc: 28 Value type: <prop-encoded-array> 31 - phandle to a syscon node representing the apcs registers [all …]
|
| /kernel/linux/linux-6.6/sound/soc/generic/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/tty/ |
| 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 50 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_close() 51 WARN_ON(tty->count > 1); in pty_close() 55 if (tty->count > 2) in pty_close() 58 set_bit(TTY_IO_ERROR, &tty->flags); in pty_close() 59 wake_up_interruptible(&tty->read_wait); in pty_close() 60 wake_up_interruptible(&tty->write_wait); in pty_close() 61 spin_lock_irq(&tty->ctrl_lock); in pty_close() [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | devices.rst | 12 mainline Linux kernel is the master document. Updates shall be sent 14 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>` document). 64 -------------------------------------- 82 /dev/nfsd socksys symbolic Required by iBCS-2 83 /dev/X0R null symbolic Required by iBCS-2 86 Note: ``/dev/X0R`` is <letter X>-<digit 0>-<letter R>. 101 /dev/scd? sr? hard Alternate SCSI CD-ROM name 115 /dev/cdrom CD-ROM device symbolic Current CD-ROM device 116 /dev/cdwriter CD-writer symbolic Current CD-writer device 139 Non-transient sockets and named pipes may exist in /dev. Common entries are: [all …]
|
| /kernel/linux/linux-5.10/sound/pci/ca0106/ |
| 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 + GPIO) & ~0x101; in ca0106_spdif_enable() 74 outl(val, emu->port + GPIO); in ca0106_spdif_enable() 82 val = inl(emu->port + GPIO) | 0x101; in ca0106_spdif_enable() 83 outl(val, emu->port + 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 …]
|
| /kernel/linux/linux-5.10/include/drm/ |
| D | drm_audio_component.h | 1 // SPDX-License-Identifier: MIT 11 * struct drm_audio_component_ops - Ops implemented by DRM driver, called by hda driver 65 * struct drm_audio_component_audio_ops - Ops implemented by hda driver, called by DRM driver 85 * number to a port number in the graphics side. 89 * @master_bind: (Optional) component master bind callback 91 * Called at binding master component, for HDA codec-specific 96 * @master_unbind: (Optional) component master unbind callback 98 * Called at unbinding master component, for HDA codec-specific 105 * struct drm_audio_component - Used for direct communication between DRM and hda drivers 121 * @master_bind_complete: completion held during component master binding
|
| /kernel/linux/linux-6.6/Documentation/gpu/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/gpu/ |
| 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 40 Open-Source Userspace Requirements [all …]
|
| /kernel/linux/linux-6.6/sound/pci/ca0106/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-arb-gpio-challenge.txt | 1 GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 4 the master of an I2C bus in a multimaster situation. 7 the standard I2C multi-master rules. Using GPIOs is generally useful in 14 problems (hard to tell if i2c issues were caused by one master, another, or 21 others can see. These are all active low with pull-ups enabled. We'll 24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus 25 - THEIR_CLAIMS: output from others signaling that they want the bus 28 sure that the other side doesn't want it also. A detailed explanation is best 43 - compatible: i2c-arb-gpio-challenge 44 - our-claim-gpio: The GPIO that we use to claim the bus. [all …]
|
| /kernel/linux/linux-5.10/arch/um/drivers/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/um/drivers/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/drm/ |
| 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
|
| /kernel/linux/linux-5.10/drivers/misc/ |
| D | pti.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pti.c - PTI driver for cJTAG data extration 27 #include <linux/intel-pti.h> 40 #define MODEM_BASE_ID 71 /* modem master ID address */ 41 #define CONTROL_ID 72 /* control master ID address */ 42 #define CONSOLE_ID 73 /* console master ID address */ 43 #define OS_BASE_ID 74 /* base OS master ID address */ 44 #define APP_BASE_ID 80 /* base App master ID address */ 83 * pti_write_to_aperture()- The private write function to PTI HW. 86 * a master and channel ID. [all …]
|