| /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/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/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/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/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/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 4 .. _codec-stateless-controls: 11 stateless decoder and encoders (i.e. hardware accelerators). 19 .. _codec-stateless-control-id: 24 .. _v4l2-codec-stateless-h264: 29 necessary parameters for configuring a stateless hardware decoding 44 .. flat-table:: struct v4l2_ctrl_h264_sps 45 :header-rows: 0 46 :stub-columns: 0 49 * - __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_video.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/adapter0/video0``. Data 40 -------------- 45 .. code-block:: c 56 .. flat-table:: 57 :header-rows: 0 58 :stub-columns: 0 60 - .. 62 - ``VIDEO_FORMAT_4_3`` 64 - Select 4:3 format. [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/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/drivers/mailbox/ |
| H A D | ti-msgmgr.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2022 Texas Instruments Incorporated - https://www.ti.com/ 22 #include <linux/soc/ti/ti-msgmgr.h> 41 * struct ti_msgmgr_valid_queue_desc - SoC valid queues meant for this processor 53 * struct ti_msgmgr_desc - Description of message manager integration 92 * struct ti_queue_inst - Description of a queue instance 122 * struct ti_msgmgr_inst - Description of a Message Manager Instance 148 * ti_msgmgr_queue_get_num_messages() - Get the number of pending messages 159 u32 status_cnt_mask = d->status_cnt_mask; in ti_msgmgr_queue_get_num_messages() 162 * We cannot use relaxed operation here - update may happen in ti_msgmgr_queue_get_num_messages() [all …]
|
| /linux/fs/crypto/ |
| H A D | policy.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Encryption policy functions for per-file encryption support. 23 * fscrypt_policies_equal() - check whether two encryption policies are the same 32 if (policy1->version != policy2->version) in fscrypt_policies_equal() 41 switch (policy->version) { in fscrypt_policy_to_key_spec() 43 key_spec->type = FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR; in fscrypt_policy_to_key_spec() 44 memcpy(key_spec->u.descriptor, policy->v1.master_key_descriptor, in fscrypt_policy_to_key_spec() 48 key_spec->type = FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER; in fscrypt_policy_to_key_spec() 49 memcpy(key_spec->u.identifier, policy->v2.master_key_identifier, in fscrypt_policy_to_key_spec() 54 return -EINVAL; in fscrypt_policy_to_key_spec() [all …]
|
| /linux/Documentation/cdrom/ |
| H A D | cdrom-standard.rst | 2 A Linux CD-ROM standard 14 Linux is probably the Unix-like operating system that supports 15 the widest variety of hardware devices. The reasons for this are 18 - The large list of hardware devices available for the many platforms 19 that Linux now supports (i.e., i386-PCs, Sparc Suns, etc.) 20 - The open design of the operating system, such that anybody can write a 22 - There is plenty of source code around as examples of how to write a driver. 25 hardware has allowed Linux to support many different hardware devices. 29 This divergence of behavior has been very significant for CD-ROM 32 their drivers totally inconsistent, the writers of Linux CD-ROM [all …]
|
| /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/drivers/net/ethernet/toshiba/ |
| H A D | ps3_gelic_net.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 31 #include <linux/dma-mapping.h> 63 card->irq_mask |= GELIC_CARD_RXINT; in gelic_card_rx_irq_on() 64 gelic_card_set_irq_mask(card, card->irq_mask); in gelic_card_rx_irq_on() 68 card->irq_mask &= ~GELIC_CARD_RXINT; in gelic_card_rx_irq_off() 69 gelic_card_set_irq_mask(card, card->irq_mas in gelic_card_rx_irq_off() [all...] |
| /linux/Documentation/virt/uml/ |
| H A D | user_mode_linux_howto_v2.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 hardware emulation. In fact, it does not. As long as a virtualization 24 has a driver for, the devices do not need to emulate real hardware. 25 Most OSes today have built-in support for a number of "fake" 27 User Mode Linux takes this concept to the ultimate extreme - there 30 concepts which map onto something provided by the host - files, sockets, 36 The UML kernel is just a process running on Linux - same as any other 57 * You can run a usermode kernel as a non-root user (you may need to 69 * You are not bound by "emulating" hardware, so you can try weird and 71 real hardware such as time travel and making your system clock [all …]
|
| /linux/Documentation/devicetree/bindings/cpu/ |
| H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 22 run-time, can be specified through device tree bindings representing the [all …]
|
| /linux/drivers/misc/sgi-gru/ |
| H A D | grumain.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 /*--------- ASID Management ------------------------------------------- 56 * some asids may still be in use. There won't be many (percentage wise) still 67 * the search for in-use asids only checks contexts with GRUs currently 72 * 0---------------x------------x---------------------x----| 73 * ^-next ^-limit ^-MAX_ASID 82 gru_dbg(grudev, "gid %d\n", gru->gs_gid); in gru_wrap_asid() 84 gru->gs_asid_gen++; in gru_wrap_asid() 93 gru_dbg(grudev, "gid %d, asid 0x%x\n", gru->gs_gid, asid); in gru_reset_asid_limit() 99 gid = gru->gs_gid; in gru_reset_asid_limit() [all …]
|