Searched +full:max +full:- +full:bits +full:- +full:per +full:- +full:word (Results 1 – 25 of 329) sorted by relevance
12345678910>>...14
/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 …]
|
/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 …]
|
/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 …]
|
D | jfs_dmap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) International Business Machines Corp., 2000-2004 41 * take the lock in read mode. a single top-down request may proceed 42 * exclusively while multiple bottoms-up requests may proceed 50 * in the face of multiple-bottoms up requests. 57 #define BMAP_LOCK_INIT(bmp) mutex_init(&bmp->db_bmaplock) 58 #define BMAP_LOCK(bmp) mutex_lock(&bmp->db_bmaplock) 59 #define BMAP_UNLOCK(bmp) mutex_unlock(&bmp->db_bmaplock) 88 static int dbFindBits(u32 word, int l2nb); 99 static int cnttz(u32 word); [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux-5.10/sound/pci/ca0106/ |
D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 11 * Support interrupts per period. 50 * Implement support for Line-in capture on SB Live 24bit. 72 /* the relevant bits and zero to the other bits */ 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 75 #define IPR_SPDIF_IN_USER 0x00004000 /* SPDIF input user data has 16 more bits */ 76 #define IPR_SPDIF_OUT_USER 0x00002000 /* SPDIF output user data needs 16 more bits */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ [all …]
|
/linux-5.10/include/linux/spi/ |
D | spi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later 25 * INTERFACES between SPI master-side drivers and SPI slave protocol handlers, 31 * struct spi_statistics - statistics for spi transfers 34 * @messages: number of spi-messages handled 85 spin_lock_irqsave(&(stats)->lock, flags); \ 86 (stats)->field += count; \ 87 spin_unlock_irqrestore(&(stats)->lock, flags); \ 94 * struct spi_delay - SPI delay information 110 * struct spi_device - Controller side proxy for an SPI slave device 122 * each word in a transfer (by specifying SPI_LSB_FIRST). [all …]
|
/linux-5.10/include/drm/ |
D | drm_dsc.h | 1 /* SPDX-License-Identifier: MIT 48 * struct drm_dsc_rc_range_parameters - DSC Rate Control range parameters 59 * @range_max_qp: Max Quantization Parameters allowed for this range 64 * Bits/group offset to apply to target for this group 70 * struct drm_dsc_config - Parameters required to configure DSC 78 * Bits per component for previous reconstructed line buffer 82 * @bits_per_component: Bits per component to code (8/10/12) 87 * Flag to indicate if RGB - YCoCg conversion is needed 92 * @slice_count: Number fo slices per line used by the DSC encoder 117 * Offset to bits/group used by RC to determine QP adjustment [all …]
|
/linux-5.10/include/uapi/misc/ |
D | xilinx_sdfec.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Xilinx SD-FEC 26 (XSDFEC_LDPC_SC_TABLE_ADDR_HIGH - XSDFEC_LDPC_SC_TABLE_ADDR_BASE) 28 (XSDFEC_LDPC_LA_TABLE_ADDR_HIGH - XSDFEC_LDPC_LA_TABLE_ADDR_BASE) 30 (XSDFEC_LDPC_QC_TABLE_ADDR_HIGH - XSDFEC_LDPC_QC_TABLE_ADDR_BASE) 33 * enum xsdfec_code - Code Type. 47 * enum xsdfec_order - Order 49 * @XSDFEC_OUT_OF_ORDER: Out-of-order execution of blocks. 60 * enum xsdfec_turbo_alg - Turbo Algorithm Type. 61 * @XSDFEC_MAX_SCALE: Max Log-Map algorithm with extrinsic scaling. When [all …]
|
/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_hw.h | 4 * Copyright (C) 2017-2020 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2004-2016 Emulex. All rights reserved. * 16 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 50 #define SLI2_IOCB_CMD_R0_ENTRIES 172 /* SLI-2 FCP command ring entries */ 51 #define SLI2_IOCB_RSP_R0_ENTRIES 134 /* SLI-2 FCP response ring entries */ 52 #define SLI2_IOCB_CMD_R1_ENTRIES 4 /* SLI-2 extra command ring entries */ 53 #define SLI2_IOCB_RSP_R1_ENTRIES 4 /* SLI-2 extra response ring entries */ 54 #define SLI2_IOCB_CMD_R1XTRA_ENTRIES 36 /* SLI-2 extra FCP cmd ring entries */ 55 #define SLI2_IOCB_RSP_R1XTRA_ENTRIES 52 /* SLI-2 extra FCP rsp ring entries */ 56 #define SLI2_IOCB_CMD_R2_ENTRIES 20 /* SLI-2 ELS command ring entries */ [all …]
|
/linux-5.10/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copyright (c) 2010 - 2012 Xilinx, Inc. All rights reserved. 21 #define XAE_MTU 1500 /* Max MTU of an Ethernet frame */ 22 #define XAE_JUMBO_MTU 9000 /* Max MTU of a jumbo Eth. frame */ 109 #define XAXIDMA_BD_CTRL_ALL_MASK 0x0C000000 /* All control bits */ 130 #define XAXIDMA_BD_CTRL_ALL_MASK 0x0C000000 /* All control bits */ 140 #define XAXIDMA_BD_STS_ALL_MASK 0xFC000000 /* All status bits */ 147 #define XAE_IFGP_OFFSET 0x00000008 /* Tx Inter-frame gap adjustment*/ 153 #define XAE_UAWL_OFFSET 0x00000020 /* Unicast address word lower */ 154 #define XAE_UAWU_OFFSET 0x00000024 /* Unicast address word upper */ [all …]
|
/linux-5.10/drivers/usb/gadget/udc/ |
D | amd5536udc.h | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * amd5536.h -- header for AMD 5536 UDC high/full speed USB device controller 56 /* Global CSR's -------------------------------------------------------------*/ 59 /* EP NE bits */ 79 /* max pkt */ 83 /* Device Config Register ---------------------------------------------------*/ 106 /* Device Control Register --------------------------------------------------*/ 130 /* Device Status Register ---------------------------------------------------*/ 157 /* Device Interrupt Register ------------------------------------------------*/ 169 /* Device Interrupt Mask Register -------------------------------------------*/ [all …]
|
/linux-5.10/drivers/parisc/ |
D | ccio-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 ** ccio-dma.c: 4 ** DMA management routines for first generation cache-coherent machines. 9 ** (c) Copyright 2000 Hewlett-Packard Company 15 ** the I/O MMU - basically what x86 does. 17 ** Philipp Rumpf has a "Real Mode" driver for PCX-W machines at: 18 ** CVSROOT=:pserver:anonymous@198.186.203.37:/cvsroot/linux-parisc 19 ** cvs -z3 co linux/arch/parisc/kernel/dma-rm.c 21 ** I've rewritten his code to work under TPG's tree. See ccio-rm-dma.c. 24 ** o outbound DMA is slower - U2 won't prefetch data (GSC+ XQL signal). [all …]
|
/linux-5.10/arch/powerpc/oprofile/ |
D | op_model_cell.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 #include <asm/cell-pmu.h> 32 #include <asm/cell-regs.h> 66 * 2^32 - 1 - N. 68 #define NUM_INTERVAL_CYC 0xFFFFFFFF - 10 73 * at the beginning of cell_reg_setup; otherwise, it's read-only. 87 * ibm,cbe-perftools rtas parameters 94 * Bus Word(s) (bitmask) 157 * 0 - even virtual cpus 0, 2, 4,... 158 * 1 - odd virtual cpus 1, 3, 5, ... [all …]
|
/linux-5.10/fs/xfs/libxfs/ |
D | xfs_types.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 21 typedef uint32_t xfs_rtword_t; /* word type for bitmap manipulations */ 45 #define NULLFSBLOCK ((xfs_fsblock_t)-1) 46 #define NULLRFSBLOCK ((xfs_rfsblock_t)-1) 47 #define NULLRTBLOCK ((xfs_rtblock_t)-1) 48 #define NULLFILEOFF ((xfs_fileoff_t)-1) 50 #define NULLAGBLOCK ((xfs_agblock_t)-1) 51 #define NULLAGNUMBER ((xfs_agnumber_t)-1) 53 #define NULLCOMMITLSN ((xfs_lsn_t)-1) [all …]
|
/linux-5.10/sound/pci/cs46xx/ |
D | cs46xx_dsp_scb_types.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 30 /* DMA Requestor Word 0 (DCW) fields: 32 31 [30-28]27 [26:24] 23 22 21 20 [19:18] [17:16] 15 14 13 12 11 10 9 8 7 6 [5:0] 35 |H|_____ |H|_________|S_|D |__|__|______|_______|___|ne|__ |__ |__|__|_|_|_|_|_Count -1| 37 u32 dcw; /* DMA Control Word */ 38 u32 dmw; /* DMA Mode Word */ 39 u32 saw; /* Source Address Word */ 40 u32 daw; /* Destination Address Word */ 44 u32 npaw; /* Next-Page Address Word */ 46 /* DMA Requestor Word 5 (NPCW) fields: [all …]
|
12345678910>>...14