| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/ |
| D | spi-sifive.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-sifive.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Pragnesh Patel <pragnesh.patel@sifive.com> 11 - Paul Walmsley <paul.walmsley@sifive.com> 12 - Palmer Dabbelt <palmer@sifive.com> 15 - $ref: spi-controller.yaml# 20 - enum: 21 - sifive,fu540-c000-spi [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
| D | spi-sifive.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-sifive.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Pragnesh Patel <pragnesh.patel@sifive.com> 11 - Paul Walmsley <paul.walmsley@sifive.com> 12 - Palmer Dabbelt <palmer@sifive.com> 15 - $ref: "spi-controller.yaml#" 20 - const: sifive,fu540-c000-spi 21 - const: sifive,spi0 [all …]
|
| /kernel/linux/linux-5.10/tools/spi/ |
| D | spidev_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include 40 static uint8_t bits = 8; variable 71 while (length-- > 0) { in hex_dump() 91 * Unescape - process hexadecimal escape character 92 * converts shell input "\x23" -> 0x23 128 .bits_per_word = bits, in transfer() 175 printf("Usage: %s [-DsbdlHOLC3vpNR24SI]\n", prog); in print_usage() 176 puts(" -D --device device to use (default /dev/spidev1.1)\n" in print_usage() 177 " -s --speed max speed (Hz)\n" in print_usage() [all …]
|
| /kernel/linux/linux-6.6/tools/spi/ |
| D | spidev_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include 40 static uint8_t bits = 8; variable 71 while (length-- > 0) { in hex_dump() 91 * Unescape - process hexadecimal escape character 92 * converts shell input "\x23" -> 0x23 128 .bits_per_word = bits, in transfer() 175 printf("Usage: %s [-2348CDFHILMNORSZbdilopsv]\n", prog); in print_usage() 177 " -D --device device to use (default /dev/spidev1.1)\n" in print_usage() 178 " -s --speed max speed (Hz)\n" in print_usage() [all …]
|
| /kernel/linux/linux-6.6/fs/jfs/ |
| D | jfs_dmap.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) International Business Machines Corp., 2000-2002 13 #define LPERDMAP 256 /* num leaves per dmap tree */ 14 #define L2LPERDMAP 8 /* l2 number of leaves per dmap tree */ 15 #define DBWORD 32 /* # of blks covered by a map word */ 17 #define BUDMIN L2DBWORD /* max free string in a map word */ 18 #define BPERDMAP (LPERDMAP * DBWORD) /* num of blks per dmap */ 19 #define L2BPERDMAP 13 /* l2 num of blks per dmap */ 22 #define LPERCTL 1024 /* num of leaves per dmapctl tree */ 23 #define L2LPERCTL 10 /* l2 num of leaves per dmapctl tree */ [all …]
|
| /kernel/linux/linux-5.10/fs/jfs/ |
| D | jfs_dmap.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) International Business Machines Corp., 2000-2002 13 #define LPERDMAP 256 /* num leaves per dmap tree */ 14 #define L2LPERDMAP 8 /* l2 number of leaves per dmap tree */ 15 #define DBWORD 32 /* # of blks covered by a map word */ 17 #define BUDMIN L2DBWORD /* max free string in a map word */ 18 #define BPERDMAP (LPERDMAP * DBWORD) /* num of blks per dmap */ 19 #define L2BPERDMAP 13 /* l2 num of blks per dmap */ 22 #define LPERCTL 1024 /* num of leaves per dmapctl tree */ 23 #define L2LPERCTL 10 /* l2 num of leaves per dmapctl tree */ [all …]
|
| /kernel/linux/linux-5.10/include/uapi/scsi/ |
| D | scsi_bsg_fc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 51 * (aka port_id), the value is effectively in big-endian 53 * element [0] is bits 23:16 of the FC Address Identifier 54 * element [1] is bits 15:8 of the FC Address Identifier 55 * element [2] is bits 7:0 of the FC Address Identifier 78 * There is no additional response data - fc_bsg_reply->result is sufficient 99 * There is no additional response data - fc_bsg_reply->result is sufficient 124 /* fc_bsg_ctels_reply->status values */ 136 * LS_ACC or LS_RJT (by contents of word 0). The reject 137 * data will be in word 1. [all …]
|
| /kernel/linux/linux-6.6/include/uapi/scsi/ |
| D | scsi_bsg_fc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 51 * (aka port_id), the value is effectively in big-endian 53 * element [0] is bits 23:16 of the FC Address Identifier 54 * element [1] is bits 15:8 of the FC Address Identifier 55 * element [2] is bits 7:0 of the FC Address Identifier 78 * There is no additional response data - fc_bsg_reply->result is sufficient 99 * There is no additional response data - fc_bsg_reply->result is sufficient 124 /* fc_bsg_ctels_reply->status values */ 136 * LS_ACC or LS_RJT (by contents of word 0). The reject 137 * data will be in word 1. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/misc/ |
| D | eeprom-93xx46.txt | 4 - compatible : shall be one of: 6 "eeprom-93xx46" 7 - data-size : number of data bits per word (either 8 or 16) 10 - read-only : parameter-less property which disables writes to the EEPROM 11 - select-gpios : if present, specifies the GPIO that will be asserted prior to 14 Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt 15 apply. In particular, "reg" and "spi-max-frequency" properties must be given. 19 compatible = "eeprom-93xx46"; 21 spi-max-frequency = <1000000>; 22 spi-cs-high; [all …]
|
| /kernel/linux/linux-6.6/drivers/ntb/hw/idt/ |
| D | ntb_hw_idt.h | 7 * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. 36 * IDT PCIe-switch NTB Linux driver 39 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru> 55 * the supported IDT PCIe-switches 66 * IDT PCIe-switches device IDs 78 * NT-function Configuration Space registers 79 * NOTE 1) The IDT PCIe-switch internal data is little-endian 83 * with byte-enables corresponding to their native size or 86 * So to simplify the driver code, there is only DWORD-sized read/write 94 /* PCI Express Device Control/Status (WORD+WORD) */ [all …]
|
| /kernel/linux/linux-5.10/drivers/ntb/hw/idt/ |
| D | ntb_hw_idt.h | 7 * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. 36 * IDT PCIe-switch NTB Linux driver 39 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru> 55 * the supported IDT PCIe-switches 66 * IDT PCIe-switches device IDs 78 * NT-function Configuration Space registers 79 * NOTE 1) The IDT PCIe-switch internal data is little-endian 83 * with byte-enables corresponding to their native size or 86 * So to simplify the driver code, there is only DWORD-sized read/write 94 /* PCI Express Device Control/Status (WORD+WORD) */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/eeprom/ |
| D | microchip,93lc46b.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cory Tusar <cory.tusar@pid1solutions.com> 15 - atmel,at93c46 16 - atmel,at93c46d 17 - atmel,at93c56 18 - atmel,at93c66 19 - eeprom-93xx46 20 - microchip,93lc46b [all …]
|
| /kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
| D | cvmx-pko.c | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 35 #include <asm/octeon/cvmx-pko.h> 36 #include <asm/octeon/cvmx-helper.h> 64 return -1; in __cvmx_pko_int() 85 config.s.tail = (queue == (num_queues - 1)); in __cvmx_pko_iport_config() 95 (CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE - in __cvmx_pko_iport_config() 191 * 64bit words. This allows the normal two word send to stay in cvmx_pko_initialize_global() [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/ccp/ |
| D | ccp-dev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 19 #include <linux/dma-direction.h> 27 #include "sp-dev.h" 63 /* ------------------------ CCP Version 5 Specifics ------------------------ */ 103 #define QUEUE_SIZE_VAL ((ffs(COMMANDS_PER_QUEUE) - 2) & \ 105 #define Q_PTR_MASK (2 << (QUEUE_SIZE_VAL + 5) - 1) 125 /* ------------------------ CCP Version 3 Specifics ------------------------ */ 147 /* XTS-AES Related Values */ 156 /* Pass-Through Related Values */ 174 #define KSB_COUNT (KSB_END - KSB_START + 1) [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/ccp/ |
| D | ccp-dev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 19 #include <linux/dma-direction.h> 27 #include "sp-dev.h" 63 /* ------------------------ CCP Version 5 Specifics ------------------------ */ 103 #define QUEUE_SIZE_VAL ((ffs(COMMANDS_PER_QUEUE) - 2) & \ 105 #define Q_PTR_MASK (2 << (QUEUE_SIZE_VAL + 5) - 1) 125 /* ------------------------ CCP Version 3 Specifics ------------------------ */ 147 /* XTS-AES Related Values */ 156 /* Pass-Through Related Values */ 174 #define KSB_COUNT (KSB_END - KSB_START + 1) [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | hdreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 #define IDE_DRIVE_TASK_INVALID -1 137 * 0x01->0x02 Reserved 141 * 0x04->0x07 Reserved 146 * 0x09->0x0F Reserved 151 * 0x10->0x1F Reserved 153 #define WIN_READ 0x20 /* 28-Bit */ 154 #define WIN_READ_ONCE 0x21 /* 28-Bit without retries */ 155 #define WIN_READ_LONG 0x22 /* 28-Bit */ 156 #define WIN_READ_LONG_ONCE 0x23 /* 28-Bit without retries */ [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | hdreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 #define IDE_DRIVE_TASK_INVALID -1 137 * 0x01->0x02 Reserved 141 * 0x04->0x07 Reserved 146 * 0x09->0x0F Reserved 151 * 0x10->0x1F Reserved 153 #define WIN_READ 0x20 /* 28-Bit */ 154 #define WIN_READ_ONCE 0x21 /* 28-Bit without retries */ 155 #define WIN_READ_LONG 0x22 /* 28-Bit */ 156 #define WIN_READ_LONG_ONCE 0x23 /* 28-Bit without retries */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpaa2-eth.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 /* Copyright 2014-2016 Freescale Semiconductor Inc. 3 * Copyright 2016-2020 NXP 16 #include <soc/fsl/dpaa2-io.h> 17 #include <soc/fsl/dpaa2-fd.h> 19 #include "dpni-cmd.h" 21 #include "dpaa2-eth-trace.h" 22 #include "dpaa2-eth-debugfs.h" 23 #include "dpaa2-mac.h" 29 /* Maximum number of scatter-gather entries in an ingress frame, [all …]
|
| /kernel/linux/linux-6.6/Documentation/crypto/ |
| D | descore-readme.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 ------------------------------------------------------------------------------ 15 des - fast & portable DES encryption & decryption. 42 2. PORTABILITY to any byte-addressable host with a 32bit unsigned C type 43 3. Plug-compatible replacement for KERBEROS's low-level routines. 46 register-starved machines. My discussions with Richard Outerbridge, 51 up in a parameterized fashion so it can easily be modified by speed-daemon 58 compile on a SPARCStation 1 (cc -O4, gcc -O2): 60 this code (byte-order independent): 62 - 30us per encryption (options: 64k tables, no IP/FP) [all …]
|
| /kernel/linux/linux-5.10/Documentation/crypto/ |
| D | descore-readme.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 ------------------------------------------------------------------------------ 15 des - fast & portable DES encryption & decryption. 42 2. PORTABILITY to any byte-addressable host with a 32bit unsigned C type 43 3. Plug-compatible replacement for KERBEROS's low-level routines. 46 register-starved machines. My discussions with Richard Outerbridge, 51 up in a parameterized fashion so it can easily be modified by speed-daemon 58 compile on a SPARCStation 1 (cc -O4, gcc -O2): 60 this code (byte-order independent): 62 - 30us per encryption (options: 64k tables, no IP/FP) [all …]
|
| /kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/ |
| D | cvmx-pko.c | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 35 #include <asm/octeon/cvmx-pko.h> 36 #include <asm/octeon/cvmx-helper.h> 64 return -1; in __cvmx_pko_int() 85 config.s.tail = (queue == (num_queues - 1)); in __cvmx_pko_iport_config() 95 (CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE - in __cvmx_pko_iport_config() 191 * 64bit words. This allows the normal two word send to stay in cvmx_pko_initialize_global() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/ |
| D | vcap_api.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 53 VCAP_USER_MAX = __VCAP_USER_AFTER_LAST - 1, 89 char *name; /* user-friendly name */ 91 u16 sw_count; /* maximum subwords used per rule */ 92 u16 sw_width; /* bits per subword in a keyset */ 93 u16 sticky_width; /* sticky bits per rule */ 94 u16 act_width; /* bits per subword in an actionset */ 102 /* map of keys per keyset */ 106 /* map of actions per actionset */ 110 /* map of keyset typegroups per subword size */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/serial/ |
| D | driver.rst | 10 The reference implementation is contained within amba-pl011.c. 15 -------------------------------- 25 --------------- 38 ------- 41 necessary locking using port->lock. There are some exceptions (which 44 There are two locks. A per-port spinlock, and an overall semaphore. 46 From the core driver perspective, the port->lock locks the following 49 port->mctrl 50 port->icount 51 port->state->xmit.head (circ_buf->head) [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/512x/ |
| D | mpc512x_lpbfifo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2013-2015 Alexander Popov <alex.popov@linux.com>. 21 #include <linux/dma-direction.h> 22 #include <linux/dma-mapping.h> 61 * mpc512x_lpbfifo_irq - IRQ handler for LPB FIFO 76 if (!req || req->dir == MPC512X_LPBFIFO_REQ_DIR_READ) { in mpc512x_lpbfifo_irq() 81 status = in_be32(&lpbfifo.regs->status); in mpc512x_lpbfifo_irq() 84 out_be32(&lpbfifo.regs->enable, in mpc512x_lpbfifo_irq() 89 out_be32(&lpbfifo.regs->status, MPC512X_SCLPC_SUCCESS); in mpc512x_lpbfifo_irq() 101 if (req->callback) in mpc512x_lpbfifo_irq() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/512x/ |
| D | mpc512x_lpbfifo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2013-2015 Alexander Popov <alex.popov@linux.com>. 21 #include <linux/dma-direction.h> 22 #include <linux/dma-mapping.h> 61 * mpc512x_lpbfifo_irq - IRQ handler for LPB FIFO 76 if (!req || req->dir == MPC512X_LPBFIFO_REQ_DIR_READ) { in mpc512x_lpbfifo_irq() 81 status = in_be32(&lpbfifo.regs->status); in mpc512x_lpbfifo_irq() 84 out_be32(&lpbfifo.regs->enable, in mpc512x_lpbfifo_irq() 89 out_be32(&lpbfifo.regs->status, MPC512X_SCLPC_SUCCESS); in mpc512x_lpbfifo_irq() 101 if (req->callback) in mpc512x_lpbfifo_irq() [all …]
|