Home
last modified time | relevance | path

Searched +full:max +full:- +full:bits +full:- +full:per +full:- +full:word (Results 1 – 25 of 636) sorted by relevance

12345678910>>...26

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Dspi-sifive.yaml1 # 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/
Dspidev_test.c1 // 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-4.19/tools/spi/
Dspidev_test.c11 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include
38 static uint8_t bits = 8; variable
69 while (length-- > 0) { in hex_dump()
89 * Unescape - process hexadecimal escape character
90 * converts shell input "\x23" -> 0x23
126 .bits_per_word = bits, in transfer()
169 printf("Usage: %s [-DsbdlHOLC3vpNR24SI]\n", prog); in print_usage()
170 puts(" -D --device device to use (default /dev/spidev1.1)\n" in print_usage()
171 " -s --speed max speed (Hz)\n" in print_usage()
172 " -d --delay delay (usec)\n" in print_usage()
[all …]
/kernel/linux/linux-5.10/fs/jfs/
Djfs_dmap.h1 /* 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-4.19/fs/jfs/
Djfs_dmap.h2 * Copyright (C) International Business Machines Corp., 2000-2002
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #define LPERDMAP 256 /* num leaves per dmap tree */
27 #define L2LPERDMAP 8 /* l2 number of leaves per dmap tree */
28 #define DBWORD 32 /* # of blks covered by a map word */
30 #define BUDMIN L2DBWORD /* max free string in a map word */
31 #define BPERDMAP (LPERDMAP * DBWORD) /* num of blks per dmap */
32 #define L2BPERDMAP 13 /* l2 num of blks per dmap */
35 #define LPERCTL 1024 /* num of leaves per dmapctl tree */
36 #define L2LPERCTL 10 /* l2 num of leaves per dmapctl tree */
[all …]
/kernel/linux/linux-5.10/include/uapi/scsi/
Dscsi_bsg_fc.h1 /* 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-4.19/include/uapi/scsi/
Dscsi_bsg_fc.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
64 * (aka port_id), the value is effectively in big-endian
66 * element [0] is bits 23:16 of the FC Address Identifier
67 * element [1] is bits 15:8 of the FC Address Identifier
68 * element [2] is bits 7:0 of the FC Address Identifier
91 * There is no additional response data - fc_bsg_reply->result is sufficient
112 * There is no additional response data - fc_bsg_reply->result is sufficient
137 /* fc_bsg_ctels_reply->status values */
149 * LS_ACC or LS_RJT (by contents of word 0). The reject
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/misc/
Deeprom-93xx46.txt4 - 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-4.19/Documentation/devicetree/bindings/misc/
Deeprom-93xx46.txt4 - 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-4.19/drivers/gpu/drm/tinydrm/core/
Dtinydrm-helpers.c11 #include <linux/dma-buf.h>
17 #include <drm/tinydrm/tinydrm-helpers.h>
21 MODULE_PARM_DESC(spi_max, "Set a lower SPI max transfer size");
24 * tinydrm_merge_clips - Merge clip rectangles
45 dst->x1 = 0; in tinydrm_merge_clips()
46 dst->x2 = max_width; in tinydrm_merge_clips()
47 dst->y1 = 0; in tinydrm_merge_clips()
48 dst->y2 = max_height; in tinydrm_merge_clips()
52 dst->x1 = ~0; in tinydrm_merge_clips()
53 dst->y1 = ~0; in tinydrm_merge_clips()
[all …]
/kernel/linux/linux-4.19/drivers/ntb/hw/idt/
Dntb_hw_idt.h7 * Copyright (C) 2016 T-Platforms 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/
Dntb_hw_idt.h7 * 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/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c7 * 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-4.19/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c7 * 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-4.19/Documentation/crypto/
Ddescore-readme.txt2 ------------------------------------------------------------------------------
4 des - fast & portable DES encryption & decryption.
31 2. PORTABILITY to any byte-addressable host with a 32bit unsigned C type
32 3. Plug-compatible replacement for KERBEROS's low-level routines.
35 register-starved machines. My discussions with Richard Outerbridge,
40 up in a parameterized fashion so it can easily be modified by speed-daemon
47 compile on a SPARCStation 1 (cc -O4, gcc -O2):
49 this code (byte-order independent):
50 30us per encryption (options: 64k tables, no IP/FP)
51 33us per encryption (options: 64k tables, FIPS standard bit ordering)
[all …]
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dccp-dev.h1 /* 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-4.19/drivers/crypto/ccp/
Dccp-dev.h30 #include "sp-dev.h"
66 /* ------------------------ CCP Version 5 Specifics ------------------------ */
106 #define QUEUE_SIZE_VAL ((ffs(COMMANDS_PER_QUEUE) - 2) & \
108 #define Q_PTR_MASK (2 << (QUEUE_SIZE_VAL + 5) - 1)
128 /* ------------------------ CCP Version 3 Specifics ------------------------ */
150 /* XTS-AES Related Values */
159 /* Pass-Through Related Values */
177 #define KSB_COUNT (KSB_END - KSB_START + 1)
182 /* ------------------------ General CCP Defines ------------------------ */
212 #define CCP_ECC_MODULUS_BYTES 48 /* 384-bits */
[all …]
/kernel/linux/linux-4.19/Documentation/serial/
Ddriver3 --------------------
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/include/uapi/linux/
Dhdreg.h1 /* 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-4.19/include/uapi/linux/
Dhdreg.h1 /* 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/
Ddpaa2-eth.h1 /* 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-5.10/Documentation/crypto/
Ddescore-readme.rst1 .. 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/driver-api/serial/
Ddriver.rst10 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/
Dmpc512x_lpbfifo.c1 // 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-4.19/arch/powerpc/platforms/512x/
Dmpc512x_lpbfifo.c5 * Copyright (C) 2013-2015 Alexander Popov <alex.popov@linux.com>.
22 #include <linux/dma-direction.h>
23 #include <linux/dma-mapping.h>
62 * mpc512x_lpbfifo_irq - IRQ handler for LPB FIFO
77 if (!req || req->dir == MPC512X_LPBFIFO_REQ_DIR_READ) { in mpc512x_lpbfifo_irq()
82 status = in_be32(&lpbfifo.regs->status); in mpc512x_lpbfifo_irq()
85 out_be32(&lpbfifo.regs->enable, in mpc512x_lpbfifo_irq()
90 out_be32(&lpbfifo.regs->status, MPC512X_SCLPC_SUCCESS); in mpc512x_lpbfifo_irq()
102 if (req->callback) in mpc512x_lpbfifo_irq()
103 req->callback(req); in mpc512x_lpbfifo_irq()
[all …]

12345678910>>...26