/linux/drivers/net/fddi/skfp/h/ |
H A D | smt.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 33 u_char sid_oem[2] ; /* implementation spec. */ 96 #define SMT_MAX_INFO_LEN (4352-20) /* max length for SMT info */ 110 #define SMTSETPARA(p,t) (p)->para.p_type = (t),\ 111 (p)->para.p_len = sizeof(*(p)) - PARA_LEN 120 struct smt_para para ; /* generic parameter header */ 135 struct smt_para para ; /* generic parameter header */ 149 struct smt_para para ; /* generic parameter header */ 156 #define SMT_ST_TWISTED_A (1<<2) /* A-A connection, twisted ring */ 157 #define SMT_ST_TWISTED_B (1<<3) /* B-B connection, twisted ring */ [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | metafmt-generic.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 8 Generic line-based metadata formats 14 These generic line-based metadata formats define the memory layout of the data 17 .. _v4l2-meta-fmt-generic-8: 20 ----------------------- 22 The V4L2_META_FMT_GENERIC_8 format is a plain 8-bit metadata format. This format 23 is used on CSI-2 for 8 bits per :term:`Data Unit`. 26 packed into one 16-bit Data Unit. Otherwise the 16 bits per pixel dataformat is 27 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta-fmt-generic-csi2-16>`. 34 .. flat-table:: Sample 4x2 Metadata Frame [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
/linux/crypto/ |
H A D | blake2b_generic.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR Apache-2.0) 3 * Generic implementation of the BLAKE2b digest algorithm. Based on the BLAKE2b 11 * - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0 12 * - OpenSSL license : https://www.openssl.org/source/license.html 13 * - Apache 2.0 : https://www.apache.org/licenses/LICENSE-2.0 26 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 27 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 28 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 29 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 30 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, [all …]
|
/linux/Documentation/devicetree/bindings/ata/ |
H A D | ata-generic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/ata-generic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic Parallel ATA Controller 10 - Linus Walleij <linus.walleij@linaro.org> 13 Generic Parallel ATA controllers supporting PIO modes only. 18 - enum: 19 - arm,vexpress-cf 20 - fsl,mpc8349emitx-pata [all …]
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | nvidia,tegra20-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/nvidia,tegra20-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 - Thierry Reding <thierry.reding@gmail.com> 9 - Jon Hunter <jonathanh@nvidia.com> 16 - description: Tegra20 has 4 generic I2C controller. This can support 17 master and slave mode of I2C communication. The i2c-tegra driver 19 controller is only compatible with "nvidia,tegra20-i2c". 20 const: nvidia,tegra20-i2c [all …]
|
/linux/Documentation/userspace-api/netlink/ |
H A D | intro.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 8 It aims to replace fixed-format C structures as supplied 12 To achieve this Netlink uses a minimal fixed-format metadata header 27 .. code-block:: c 39 .. code-block:: c 52 .. code-block:: c 69 The first two arguments of the socket() call require little explanation - 75 Classic vs Generic Netlink 76 -------------------------- 82 file, they include among others - general networking (NETLINK_ROUTE), [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 * big-endian system because, unlike little endian, the number of each 22 * There are a few little-endian macros used mostly for filesystem 24 * byte-oriented: 27 * The main difference is that bit 3-5 (64b) or 3-4 (32b) in the bit 28 * number field needs to be reversed compared to the big-endian bit 42 #include <asm/asm-compat.h> 46 #define PPC_BITLSHIFT(be) (BITS_PER_LONG - 1 - (be)) 48 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs)) 54 #define PPC_BITLSHIFT32(be) (32 - 1 - (be)) [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | host-generic-pci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/host-generic-pci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic PCI host controller 10 - Will Deacon <will@kernel.org> 13 Firmware-initialised PCI host controllers and PCI emulations, such as the 14 virtio-pci implementations found in kvmtool and other para-virtualised 21 Configuration Space is assumed to be memory-mapped (as opposed to being 26 For CAM, this 24-bit offset is: [all …]
|
/linux/arch/parisc/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 105 #include <asm-generic/bitops/non-atomic.h> 108 * __ffs - find first bit in word. returns 0 to "BITS_PER_LONG-1". 113 * 32-bit fast __ffs by LaMont Jones "lamont At hp com". 114 * 64-bit enhancement by Grant Grundler "grundler At parisc-linux org". 121 * Only the 1st and one of either the 2cd or 3rd insn will get executed. 122 * Each set of 3 insn will get executed in 2 cycles on PA8x00 vs 16 or so 134 " extrd,u,*TR %0,31,32,%0\n" /* move top 32-bits down */ in __ffs() 135 " addi -32,%1,%1\n" in __ffs() 140 " extru,TR %0,15,16,%0\n" /* xxxx0000 -> 0000xxxx */ in __ffs() [all …]
|
/linux/arch/mips/include/asm/sibyte/ |
H A D | sb1250_genbus.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Generic Bus Constants File: sb1250_genbus.h 8 * manipulating the SB1250's Generic Bus interface 27 * Generic Bus Region Configuration Registers (Table 11-4) 36 #define S_IO_WIDTH_SEL 2 37 #define M_IO_WIDTH_SEL _SB_MAKEMASK(2, S_IO_WIDTH_SEL) 42 #define K_IO_WIDTH_SEL_1L 2 66 * Generic Bus Region Size register (Table 11-5) 77 * Generic Bus Region Address (Table 11-6) 91 * Generic Bus Timing 0 Registers (Table 11-7) [all …]
|
/linux/drivers/staging/media/atomisp/include/linux/ |
H A D | atomisp_platform.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include <media/v4l2-subdev.h> 18 #define MAX_STREAMS_PER_CHANNEL 2 60 /* CSI2-MIPI specific format: Generic short packet data. It is used to 64 ATOMISP_INPUT_FORMAT_GENERIC_SHORT1, /* Generic Short Packet Code 1 */ 65 ATOMISP_INPUT_FORMAT_GENERIC_SHORT2, /* Generic Short Packet Code 2 */ 66 ATOMISP_INPUT_FORMAT_GENERIC_SHORT3, /* Generic Short Packet Code 3 */ 67 ATOMISP_INPUT_FORMAT_GENERIC_SHORT4, /* Generic Short Packet Code 4 */ 68 ATOMISP_INPUT_FORMAT_GENERIC_SHORT5, /* Generic Short Packet Code 5 */ 69 ATOMISP_INPUT_FORMAT_GENERIC_SHORT6, /* Generic Short Packet Code 6 */ [all …]
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.h | 6 * Copyright (C) 2012-2014 LSI Corporation 7 * Copyright (C) 2013-2014 Avago Technologies 8 * (mailto: MPT-FusionLinux.pdl@avagotech.com) 12 * as published by the Free Software Foundation; either version 2 23 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 42 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 59 #define MPT3SAS_MINOR (MPT_MINOR + 2) 113 * struct mpt3_ioctl_header - main header structure 114 * @ioc_number - IOC unit number 115 * @port_number - IOC port number [all …]
|
/linux/Documentation/driver-api/driver-model/ |
H A D | porting.rst | 12 Please refer to `Documentation/driver-api/driver-model/*.rst` for definitions of 21 be embedded in larger, bus-specific objects. Fields in these generic 22 objects can replace fields in the bus-specific objects. 24 The generic objects must be registered with the driver model core. By 28 # mount -t sysfs sysfs /sys 39 - Define a struct bus_type for the bus driver:: 46 - Register the bus type. 65 - Export the bus type for others to use. 81 - This will cause the bus to show up in /sys/bus/pci/ with two 84 # tree -d /sys/bus/pci/ [all …]
|
/linux/arch/hexagon/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 20 * (i.e. I get to shift by #5-2 (32 bits per long, 4 bytes per access), 27 * test_and_clear_bit - clear a bit and return its old value 36 " {R10 = %1; R11 = asr(%2,#5); }\n" in test_and_clear_bit() 37 " {R10 += asl(R11,#2); R11 = and(%2,#0x1f)}\n" in test_and_clear_bit() 51 * test_and_set_bit - set a bit and return its old value 60 " {R10 = %1; R11 = asr(%2,#5); }\n" in test_and_set_bit() 61 " {R10 += asl(R11,#2); R11 = and(%2,#0x1f)}\n" in test_and_set_bit() 77 * test_and_change_bit - toggle a bit and return its old value [all …]
|
/linux/Documentation/networking/ |
H A D | ppp_generic.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 PPP Generic Driver and Channel Interface 12 The generic PPP driver in linux-2.4 provides an implementation of the 25 For sending and receiving PPP frames, the generic PPP driver calls on 29 has a very simple interface with the generic PPP code: it merely has 37 be linked to each ppp network interface unit. The generic layer is 43 --------------- 46 functions used to communicate between the generic PPP layer and PPP 49 Each channel has to provide two functions to the generic PPP layer, 52 * start_xmit() is called by the generic layer when it has a frame to [all …]
|
/linux/drivers/usb/storage/ |
H A D | isd200.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Transport & Protocol Driver for In-System Design, Inc. ISD200 ASIC 6 * (C) 2001-2002 Björn Stenberg (bjorn@haxx.se) 12 * (C) 2000 In-System Design, Inc. (support@in-system.com) 20 * 2002-10-19: Removed the specialized transfer routines. 22 * 2001-02-24: Removed lots of duplicate code and simplified the structure. 24 * 2002-01-16: Fixed endianness bug so it works on the ppc arch. 26 * 2002-01-17: All bitfields removed. 51 #define DRV_NAME "ums-isd200" 53 MODULE_DESCRIPTION("Driver for In-System Design, Inc. ISD200 ASIC"); [all …]
|
/linux/include/linux/mfd/wm8350/ |
H A D | comparator.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * comparator.h -- Comparator Aux ADC for Wolfson WM8350 PMIC 29 * R144 (0x90) - Digitiser Control (1) 44 * R145 (0x91) - Digitiser Control (2) 53 * R152 (0x98) - AUX1 Readback 60 * R153 (0x99) - AUX2 Readback 67 * R154 (0x9A) - AUX3 Readback 74 * R155 (0x9B) - AUX4 Readback 81 * R156 (0x9C) - USB Voltage Readback 86 * R157 (0x9D) - LINE Voltage Readback [all …]
|
/linux/arch/m68k/include/asm/ |
H A D | bitops.h | 22 * ColdFire - supports standard bset/bclr/bchg with register operand only 23 * 68000 - supports standard bset/bclr/bchg with memory operand 24 * >= 68020 - also supports the bfset/bfclr/bfchg instructions 169 __asm__ __volatile__ ("bset %2,(%1); sne %0" in bset_reg_test_and_set_bit() 182 __asm__ __volatile__ ("bset %2,%1; sne %0" in bset_mem_test_and_set_bit() 193 __asm__ __volatile__ ("bfset %2{%1:#1}; sne %0" in bfset_mem_test_and_set_bit() 222 __asm__ __volatile__ ("bclr %2,(%1); sne %0" in bclr_reg_test_and_clear_bit() 235 __asm__ __volatile__ ("bclr %2,%1; sne %0" in bclr_mem_test_and_clear_bit() 246 __asm__ __volatile__ ("bfclr %2{%1:#1}; sne %0" in bfclr_mem_test_and_clear_bit() 275 __asm__ __volatile__ ("bchg %2,(%1); sne %0" in bchg_reg_test_and_change_bit() [all …]
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | legacy_dvb_audio.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later OR GPL-2.0 35 ----- 39 --------------------- 46 .. code-block:: c 56 .. flat-table:: 57 :header-rows: 0 58 :stub-columns: 0 60 - .. 62 - ``AUDIO_SOURCE_DEMUX`` 64 - :cspan:`1` Selects the demultiplexer (fed either by the frontend [all …]
|
/linux/sound/pci/oxygen/ |
H A D | xonar_pcm179x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * ------------ 14 * SPI 0 -> 1st PCM1796 (front) 15 * SPI 1 -> 2nd PCM1796 (surround) 16 * SPI 2 -> 3rd PCM1796 (center/LFE) 17 * SPI 4 -> 4th PCM1796 (back) 19 * GPIO 2 -> M0 of CS5381 20 * GPIO 3 -> M1 of CS5381 21 * GPIO 5 <- external power present (D2X only) 22 * GPIO 7 -> ALT [all …]
|
/linux/arch/arm/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 123 #include <asm-generic/bitops/non-atomic.h> 126 * A note about Endian-ness. 127 * ------------------------- 132 * ------------ physical data bus bits ----------- 134 * little byte 3 byte 2 byte 1 byte 0 135 * big byte 0 byte 1 byte 2 byte 3 137 * This means that reading a 32-bit word at address 0 returns the same 147 * Note that bit 0 is defined to be 32-bit word bit 0, not byte 0 bit 0. 151 * Native endian assembly bitops. nr = 0 -> word 0 bit 0. [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | dvb-usb-af9035-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 dvb-usb-af9035 cards list 8 .. flat-table:: 9 :header-rows: 1 11 :stub-columns: 0 13 * - Card name 14 - USB IDs 15 * - AVerMedia AVerTV Volar HD/PRO (A835) 16 - 07ca:a835, 07ca:b835 17 * - AVerMedia HD Volar (A867) [all …]
|
/linux/include/uapi/linux/ |
H A D | mtio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 6 * by C.-J. Heine. 19 /* structure for MTIOCTOP - mag tape op command */ 30 #define MTBSF 2 /* backward space FileMark (position before FM) */ 33 #define MTWEOF 5 /* write an end-of-file record (mark) */ 44 #define MTERASE 13 /* erase tape -- be careful! */ 47 #define MTRAS2 15 /* run self test 2 (destructive) */ 54 #define MTSETDRVBUFFER 24 /* set the drive buffering according to SCSI-2 */ 67 #define MTWEOFI 35 /* write an end-of-file record (mark) in immediate mode */ 69 /* structure for MTIOCGET - mag tape get status command */ [all …]
|
/linux/include/sound/sof/ |
H A D | topology.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 50 #define SOF_XRUN_UNDER_ZERO 2 /**< send 0s to sink */ 53 /* create new generic component - SOF_IPC_TPLG_COMP_NEW */ 74 #define SOF_MEM_CAPS_EXT BIT(2) /**< external */ 95 /* create new component buffer - SOF_IPC_TPLG_BUFFER_NEW */ 104 /* generic component config data - must always be after struct sof_ipc_comp */ 114 uint32_t reserved[2]; 117 /* generic host component */ 126 /* generic DAI component */ 132 uint32_t type; /**< DAI type - SOF_DAI_ */ [all …]
|