| /OK3568_Linux_fs/app/forlinx/forlinx_cmd/fltest_spidev_test/ |
| H A D | spidev_test.c | 11 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include 34 static uint8_t bits = 8; variable 57 .bits_per_word = bits, in transfer() 74 printf("Usage: %s [-DsbdlHOLC3]\n", prog); in print_usage() 75 puts(" -D --device device to use (default /dev/spidev1.1)\n" in print_usage() 76 " -s --speed max speed (Hz)\n" in print_usage() 77 " -d --delay delay (usec)\n" in print_usage() 78 " -b --bpw bits per word \n" in print_usage() 79 " -l --loop loopback\n" in print_usage() 80 " -H --cpha clock phase\n" in print_usage() [all …]
|
| /OK3568_Linux_fs/app/forlinx/forlinx_qt/spitest/ |
| H A D | mainwindow.cpp | 18 ui->setupUi(this); in MainWindow() 20 ui->speed->installEventFilter(this); in MainWindow() 21 ui->delay->installEventFilter(this); in MainWindow() 22 ui->bits->installEventFilter(this); in MainWindow() 23 ui->editsend->installEventFilter(this); in MainWindow() 28 ui->spidevlists->addItem(QWidget::tr("Please select SPI device")); in MainWindow() 39 ui->spidevlists->addItem(QWidget::tr(buff)); in MainWindow() 43 connect(ui->spidevlists, in MainWindow() 46 connect(ui->exitBtn, &QPushButton::clicked, this, [=](){ in MainWindow() 56 if (event->type()==QEvent::FocusIn) in eventFilter() [all …]
|
| /OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/spitest/ |
| H A D | mainwindow.cpp | 18 ui->setupUi(this); in MainWindow() 20 ui->speed->installEventFilter(this); in MainWindow() 21 ui->delay->installEventFilter(this); in MainWindow() 22 ui->bits->installEventFilter(this); in MainWindow() 23 ui->editsend->installEventFilter(this); in MainWindow() 28 ui->spidevlists->addItem(QWidget::tr("Please select SPI device")); in MainWindow() 39 ui->spidevlists->addItem(QWidget::tr(buff)); in MainWindow() 43 connect(ui->spidevlists, in MainWindow() 46 connect(ui->exitBtn, &QPushButton::clicked, this, [=](){ in MainWindow() 56 if (event->type()==QEvent::FocusIn) in eventFilter() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/spi/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/tools/spi/ |
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | ata.h | 5 * SPDX-License-Identifier: GPL-2.0+ 10 * "Information Technology - AT Attachment-3 Interface (ATA-3)" 12 * http://www.dt.wdc.com/ata/ata-3/ata3r5v.zip 14 * ftp://ftp.fee.vutbr.cz/pub/doc/io/ata/ata-3/ata3r5v.zip 23 * 8-bit (register) and 16-bit (data) accesses might use different 55 * Status register bits 67 * Device / Head Register Bits 135 /* ------------------------------------------------------------------------- */ 138 * structure returned by ATA_CMD_IDENT, as per ANSI ATA2 rev.2f spec 143 unsigned short reserved2; /* reserved (word 2) */ [all …]
|
| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/include/uapi/scsi/ |
| H A 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/scsi/ |
| H A D | scsi_bsg_fc.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/scsi/ |
| H A D | scsi_bsg_fc.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/ntb/hw/idt/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/executive/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/misc/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ccp/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/serial/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/crypto/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | event_log_payload.h | 9 * Copyright (C) 1999-2017, Broadcom Corporation 30 * <<Broadcom-WL-IPTag/Open:>> 65 * Two of these will be used per TxQ context---one for the high TxQ, and one for 66 * the low txq that contains DMA prepared pkts. The high TxQ is a full multi-precidence 101 * a cubby ID and sub-ID to differentiate SCB cubby types and possible sub-queues. 134 * Info is for one TID, so one will be dumped per BA TID active for an SCB. 147 uint16 max_seq; /* max unacknowledged seqnum sent */ 179 uint8 entry_size; /* num uint32 words per entry */ 221 uint16 scn_res_count; /* Count of scan_results found per 246 /* the following flag bits are overridden: */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | event_log_payload.h | 9 * Copyright (C) 1999-2017, Broadcom Corporation 30 * <<Broadcom-WL-IPTag/Open:>> 65 * Two of these will be used per TxQ context---one for the high TxQ, and one for 66 * the low txq that contains DMA prepared pkts. The high TxQ is a full multi-precidence 101 * a cubby ID and sub-ID to differentiate SCB cubby types and possible sub-queues. 134 * Info is for one TID, so one will be dumped per BA TID active for an SCB. 147 uint16 max_seq; /* max unacknowledged seqnum sent */ 179 uint8 entry_size; /* num uint32 words per entry */ 221 uint16 scn_res_count; /* Count of scan_results found per 246 /* the following flag bits are overridden: */ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | event_log_payload.h | 9 * Copyright (C) 1999-2017, Broadcom Corporation 30 * <<Broadcom-WL-IPTag/Open:>> 65 * Two of these will be used per TxQ context---one for the high TxQ, and one for 66 * the low txq that contains DMA prepared pkts. The high TxQ is a full multi-precidence 101 * a cubby ID and sub-ID to differentiate SCB cubby types and possible sub-queues. 134 * Info is for one TID, so one will be dumped per BA TID active for an SCB. 147 uint16 max_seq; /* max unacknowledged seqnum sent */ 179 uint8 entry_size; /* num uint32 words per entry */ 221 uint16 scn_res_count; /* Count of scan_results found per 246 /* the following flag bits are overridden: */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/512x/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa2/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | hdreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 16 #define IDE_DRIVE_TASK_INVALID -1 128 * 0x01->0x02 Reserved 132 * 0x04->0x07 Reserved 137 * 0x09->0x0F Reserved 142 * 0x10->0x1F Reserved 144 #define WIN_READ 0x20 /* 28-Bit */ 145 #define WIN_READ_ONCE 0x21 /* 28-Bit without retries */ 146 #define WIN_READ_LONG 0x22 /* 28-Bit */ 147 #define WIN_READ_LONG_ONCE 0x23 /* 28-Bit without retries */ [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | hdreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 16 #define IDE_DRIVE_TASK_INVALID -1 128 * 0x01->0x02 Reserved 132 * 0x04->0x07 Reserved 137 * 0x09->0x0F Reserved 142 * 0x10->0x1F Reserved 144 #define WIN_READ 0x20 /* 28-Bit */ 145 #define WIN_READ_ONCE 0x21 /* 28-Bit without retries */ 146 #define WIN_READ_LONG 0x22 /* 28-Bit */ 147 #define WIN_READ_LONG_ONCE 0x23 /* 28-Bit without retries */ [all …]
|