/linux/include/linux/soundwire/ |
H A D | sdw_intel.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 43 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24 (24000 / SDW_CADENCE_GSYNC_KHZ - 1) 44 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24_576 (24576 / SDW_CADENCE_GSYNC_KHZ - 1) 45 #define SDW_SHIM_SYNC_SYNCPRD_VAL_38_4 (38400 / SDW_CADENCE_GSYNC_KHZ - 1) 46 #define SDW_SHIM_SYNC_SYNCPRD_VAL_96 (96000 / SDW_CADENCE_GSYNC_KHZ - 1) 117 * ACE2.x definitions for SHIM registers - only accessible when the 126 /* Read-only capabilities */ 128 #define SDW_SHIM2_LECAP_HDS BIT(0) /* unset -> Host mode */ 133 #define SDW_SHIM2_PCMSCAP_ISS GENMASK(3, 0) /* Input-only streams */ [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | qcom,pm8058-led.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/qcom,pm8058-led.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 17 hard-wired usecase. 19 Hardware-wise the different LEDs support slightly different output currents. 24 - $ref: common.yaml# 29 - qcom,pm8058-led 30 - qcom,pm8058-keypad-led [all …]
|
/linux/arch/arc/mm/ |
H A D | ioremap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 41 * Cache semantics wise it is same as ioremap - "forced" uncached. 43 * ARC hardware uncached region, this one still goes thru the MMU as caller
|
/linux/arch/arc/kernel/ |
H A D | intc-compact.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011-12 Synopsys, Inc. (www.synopsys.com) 17 * Early Hardware specific Interrupt setup 18 * -Platform independent, needed for each CPU (not foldable into init_IRQ) 19 * -Called very early (start_kernel -> setup_arch -> setup_processor) 22 * -Optionally, setup the High priority Interrupts as Level 2 IRQs 38 pr_info("Level-2 interrupts bitset %x\n", level_mask); in arc_init_IRQ() 41 * Disable all IRQ lines so faulty external hardware won't in arc_init_IRQ() 54 * ARC700 core includes a simple on-chip intc supporting 55 * -per IRQ enable/disable [all …]
|
/linux/Documentation/usb/ |
H A D | usb-serial.rst | 45 -------------------------------------- 58 ----------------------------------------------- 72 This goes against the current documentation for pilot-xfer and other 73 packages, but is the only way that it will work due to the hardware 77 (this is usually /dev/ttyUSB1 if you do not have any other usb-serial 99 Kroah-Hartman at greg@kroah.com 103 ------------------- 115 significant advantage of using USB is speed - I can get 73 to 113 120 contains the necessary packages and a simple step-by-step howto. 129 iPAQ - disable autosync by going to the Start/Settings/Connections menu [all …]
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Brown <broonie@kernel.org> 20 pattern: "^spi(@.*|-([0-9]|[1-9][0-9]+))?$" 22 "#address-cells": 25 "#size-cells": 28 cs-gpios: 32 increased automatically with max(cs-gpios, hardware chip selects). [all …]
|
/linux/include/drm/ |
H A D | drm_mipi_dbi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 23 * struct mipi_dbi - MIPI DBI interface 70 * @tx_buf9: Buffer used for Option 1 9-bit conversion 81 * struct mipi_dbi_dev - MIPI DBI device 115 * @rotation: initial rotation in degrees Counter Clock Wise 210 * mipi_dbi_command - MIPI DCS command with optional parameter(s) 224 struct device *dev = &(dbi)->spi->dev; \ 239 * DRM_MIPI_DBI_SIMPLE_DISPLAY_PIPE_FUNCS - Initializes struct drm_simple_display_pipe_funcs 240 * for MIPI-DBI devices 241 * @enable_: Enable-callback implementation [all …]
|
/linux/Documentation/core-api/ |
H A D | unaligned-memory-access.rst | 32 which will compile to multiple-byte memory access instructions, namely when 59 - Some architectures are able to perform unaligned memory accesses 61 - Some architectures raise processor exceptions when unaligned accesses 64 - Some architectures raise processor exceptions when unaligned accesses 67 - Some architectures are not capable of unaligned memory access, but will 131 structure type. This GCC-specific attribute tells the compiler never to 141 non-packed case, so the packed attribute should only be used when avoiding 167 In the above function, when the hardware has efficient unaligned access 168 capability, there is no issue with this code. But when the hardware isn't 177 16-bit-aligned addresses. It is up to the caller to ensure this alignment or [all …]
|
/linux/Documentation/driver-api/ |
H A D | libata.rst | 12 transports for ATA and ATAPI devices, and SCSI<->ATA translation for ATA 16 internals, and a couple sample ATA low-level drivers. 22 is defined for every low-level libata 23 hardware driver, and it controls how the low-level driver interfaces 26 FIS-based drivers will hook into the system with ``->qc_prep()`` and 27 ``->qc_issue()`` high-level hooks. Hardware which behaves in a manner 28 similar to PCI IDE hardware may utilize several generic helpers, 33 ---------------------------------------------------------- 35 Post-IDENTIFY device configuration 44 Typically used to apply device-specific fixups prior to issue of SET [all …]
|
/linux/Documentation/admin-guide/ |
H A D | reporting-issues.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 36 ensure it's vanilla (IOW: not patched and not using add-on modules). Also make 44 to pin-point the culprit with a bisection; if you succeed, include its 45 commit-id and CC everyone in the sign-off-by chain. 51 Step-by-step guide how to report issues to the kernel maintainers 58 step-by-step approach. It still tries to be brief for readability and leaves 59 out a lot of details; those are described below the step-by-step guide in a 68 * Are you facing an issue with a Linux kernel a hardware or software vendor 89 kernel modules on-the-fly, which solutions like DKMS might be doing locally 169 -------------------------------------------------------------- [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | cec.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Supported hardware in mainline 12 - Exynos4 13 - Exynos5 14 - STIH4xx HDMI CEC 15 - V4L2 adv7511 (same HW, but a different driver from the drm adv7511) 16 - stm32 17 - Allwinner A10 (sun4i) 18 - Raspberry Pi 19 - dw-hdmi (Synopsis IP) [all …]
|
/linux/drivers/hwmon/ |
H A D | emc2305.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Hardware monitoring driver for EMC2305 fan controller 59 * struct emc2305_cdev_data - device-specific cooling device state 67 * according to some system wise considerations, like absence of some replaceable units (PSU or 75 * From other side, fan speed is to be updated in hardware through 'pwm' only in case the 87 * struct emc2305_data - device-specific data 119 return data->pwm_num; in emc2305_get_max_channel() 124 struct emc2305_data *data = cdev->devdata; in emc2305_get_cdev_idx() 125 size_t len = strlen(cdev->type); in emc2305_get_cdev_idx() 129 return -EINVAL; in emc2305_get_cdev_idx() [all …]
|
/linux/Documentation/networking/ |
H A D | scaling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 multi-processor systems. 17 - RSS: Receive Side Scaling 18 - RPS: Receive Packet Steering 19 - RFS: Receive Flow Steering 20 - Accelerated Receive Flow Steering 21 - XPS: Transmit Packet Steering 28 (multi-queue). On reception, a NIC can send different packets to different 33 generally known as “Receive-side Scaling” (RSS). The goal of RSS and 35 Multi-queue distribution can also be used for traffic prioritization, but [all …]
|
/linux/drivers/interconnect/qcom/ |
H A D | bcm-voter.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 7 #include <linux/interconnect-provider.h> 16 #include "bcm-voter.h" 17 #include "icc-rpmh.h" 23 * struct bcm_voter - Bus Clock Manager voter 27 * @commit_list: list containing bcms to be committed to hardware 47 return bcm_a->aux_data.vcd - bcm_b->aux_data.vcd; in cmp_vcd() 61 /* BCMs with enable_mask use one-hot-encoding for on/off signaling */ 68 bcm->vote_x[bucket] = 0; in bcm_aggregate_mask() [all …]
|
/linux/Documentation/driver-api/mtd/ |
H A D | nand_ecc.rst | 2 NAND Error-correction Code 11 After that the speed was increased by 35-40%. 63 - cp0 is the parity that belongs to all bit0, bit2, bit4, bit6. 69 - cp2 is the parity over bit0, bit1, bit4 and bit5 70 - cp3 is the parity over bit2, bit3, bit6 and bit7. 71 - cp4 is the parity over bit0, bit1, bit2 and bit3. 72 - cp5 is the parity over bit4, bit5, bit6 and bit7. 78 - rp0 is the parity of all even bytes (0, 2, 4, 6, ... 252, 254) 79 - rp1 is the parity of all odd bytes (1, 3, 5, 7, ..., 253, 255) 80 - rp2 is the parity of all bytes 0, 1, 4, 5, 8, 9, ... [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | vf610_nfc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2009-2015 Freescale Semiconductor, Inc. and others 15 * - Untested on MPC5125 and M54418. 16 * - DMA and pipelining not used. 17 * - 2K pages or less. 18 * - HW ECC: Only 2K page with 64+ OOB. 19 * - HW ECC: Only 24 and 32-bit error correction implemented. 67 #define COMMAND_NADDR_BYTES(x) GENMASK(13, 13 - (x) + 1) 136 * ECC status - seems to consume 8 bytes (double word). The documented 141 #define ECC_SRAM_ADDR (PAGE_2K + OOB_MAX - 8) [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-codec-stateless.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-stateless-controls: 10 stateless decoder and encoders (i.e. hardware accelerators). 18 .. _codec-stateless-control-id: 23 .. _v4l2-codec-stateless-h264: 28 necessary parameters for configuring a stateless hardware decoding 43 .. flat-table:: struct v4l2_ctrl_h264_sps 44 :header-rows: 0 45 :stub-columns: 0 48 * - __u8 [all …]
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | legacy_dvb_osd.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later OR GPL-2.0 14 The DVB OSD device controls the OnScreen-Display of the AV7110 based 15 DVB-cards with hardware MPEG2 decoder. It can be accessed through 20 The OSD is not a frame-buffer like on many other cards. 22 The color-depth is limited depending on the memory size installed. 31 ----------- 36 .. code-block:: c 39 /* All functions return -2 on "not open" */ 67 .. note:: All functions return -2 on "not open" 69 .. flat-table:: [all …]
|
H A D | legacy_dvb_audio.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later OR GPL-2.0 15 hardware. It can be accessed through ``/dev/dvb/adapter?/audio?``. Data 35 ----- 39 --------------------- 46 .. code-block:: c 56 .. flat-table:: 57 :header-rows: 0 58 :stub-columns: 0 60 - .. 62 - ``AUDIO_SOURCE_DEMUX`` [all …]
|
/linux/Documentation/arch/sparc/oradax/ |
H A D | dax-hv-api.txt | 3 Publication date 2017-09-25 08:21 5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf" 13 …The following APIs provide access via the Hypervisor to hardware assisted data processing function… 16 live-migration and other system management activities. 19 …The Data Analytics Accelerator (DAX) functionality is a collection of hardware coprocessors that p… 20 …high speed processoring of database-centric operations. The coprocessors may support one or more of 28 …e Completion Area and, unless execution order is specifically restricted through the use of serial- 45 …device node in the guest MD (Section 8.24.17, “Database Analytics Accelerators (DAX) virtual-device 51 36.1.1.1. "ORCL,sun4v-dax" Device Compatibility 54 • No-op/Sync [all …]
|
/linux/include/net/ |
H A D | iw_handler.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com> 8 * Copyright (c) 2001-2007 Jean Tourrilhes, All Rights Reserved. 16 * Initial driver API (1996 -> onward) : 17 * ----------------------------------- 37 * New driver API (2002 -> onward) : 38 * ------------------------------- 54 * o Driver doesn't have to worry about memory and user-space issues 69 * --- 82 * Good luck with migration to the new API ;-) [all …]
|
/linux/tools/memory-model/Documentation/ |
H A D | access-marking.txt | 1 MARKING SHARED-MEMORY ACCESSES 6 not use read-modify-write atomic operations. It also describes how to 13 ACCESS-MARKING OPTIONS 16 The Linux kernel provides the following access-marking options: 18 1. Plain C-language accesses (unmarked), for example, "a = b;" 20 2. Data-race marking, for example, "data_race(a = b);" 30 6. KCSAN's negative-marking assertions, ASSERT_EXCLUSIVE_ACCESS() 32 "ACCESS-DOCUMENTATION OPTIONS" section below. 39 Neither plain C-language accesses nor data_race() (#1 and #2 above) place 42 compiler's use of code-motion and common-subexpression optimizations. [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_mipi_dbi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 62 * 1. 9-bit with the Data/Command signal as the ninth bit 64 * 3. 8-bit with the Data/Command signal as a separate D/CX pin 108 if (!dbi->read_commands) in mipi_dbi_command_is_read() 112 if (!dbi->read_commands[i]) in mipi_dbi_command_is_read() 114 if (cmd == dbi->read_commands[i]) in mipi_dbi_command_is_read() 122 * mipi_dbi_command_read - MIPI DCS read command 134 if (!dbi->read_commands) in mipi_dbi_command_read() 135 return -EACCES; in mipi_dbi_command_read() 138 return -EINVAL; in mipi_dbi_command_read() [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | me_daq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Hardware driver for Meilhaus data acquisition cards: 5 * ME-2000i, ME-2600i, ME-3000vm1 13 * Devices: [Meilhaus] ME-2600i (me-2600i), ME-2000i (me-2000i) 35 * PCI BAR2 Memory map (dev->mmio) 76 #define ME_TIMER_DATA_REG(x) (0x0a + ((x) * 2)) /* - | W */ 83 #define ME_DAC_CTRL_BIPOLAR(x) BIT(7 - ((x) & 0x3)) 84 #define ME_DAC_CTRL_GAIN(x) BIT(11 - ((x) & 0x3)) 87 #define ME_AO_DATA_REG(x) (0x14 + ((x) * 2)) /* - | W */ 88 #define ME_COUNTER_ENDDATA_REG(x) (0x1c + ((x) * 2)) /* - | W */ [all …]
|
/linux/include/uapi/linux/ |
H A D | v4l2-controls.h | 1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */ 5 * Copyright (C) 1999-2012 the contributors 19 #define V4L2_CTRL_CLASS_USER 0x00980000 /* Old-style 'user' controls */ 24 #define V4L2_CTRL_CLASS_JPEG 0x009d0000 /* JPEG-compression controls */ 34 /* User-class control IDs */ 116 /* USER-class private control IDs */ 136 * The base for the si476x driver controls. See include/media/drv-intf/si476x.h 218 /* MPEG-class control IDs */ 228 V4L2_MPEG_STREAM_TYPE_MPEG2_PS = 0, /* MPEG-2 program stream */ 229 V4L2_MPEG_STREAM_TYPE_MPEG2_TS = 1, /* MPEG-2 transport stream */ [all …]
|