Home
last modified time | relevance | path

Searched +full:op +full:- +full:mode (Results 1 – 25 of 1093) sorted by relevance

12345678910>>...44

/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/cec/
H A Dcec-pin-error-inj.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
7 has low-level support for the CEC bus. Most hardware today will have
8 high-level CEC support where the hardware deals with driving the CEC bus,
17 Currently only the cec-gpio driver (when the CEC line is directly
18 connected to a pull-up GPIO line) and the AllWinner A10/A20 drm driver
23 now an ``error-inj`` file.
30 With ``cat error-inj`` you can see both the possible commands and the current
33 $ cat /sys/kernel/debug/cec/cec0/error-inj
36 # rx-clear clear all rx error injections
37 # tx-clear clear all tx error injections
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-cipher.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sun4i-ss-cipher.c - hardware cryptographic accelerator for Allwinner A20 SoC
5 * Copyright (C) 2013-2015 Corentin LABBE <clabbe.montjoie@gmail.com>
8 * keysize in CBC and ECB mode.
9 * Add support also for DES and 3DES in CBC and ECB mode.
13 #include "sun4i-ss.h"
18 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_opti_poll() local
19 struct sun4i_ss_ctx *ss = op->ss; in sun4i_ss_opti_poll()
22 u32 mode = ctx->mode; in sun4i_ss_opti_poll() local
31 unsigned int ileft = areq->cryptlen; in sun4i_ss_opti_poll()
[all …]
H A Dsun4i-ss-hash.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sun4i-ss-hash.c - hardware cryptographic accelerator for Allwinner A20 SoC
5 * Copyright (C) 2013-2015 Corentin LABBE <clabbe.montjoie@gmail.com>
11 #include "sun4i-ss.h"
20 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_hash_crainit() local
21 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun4i_hash_crainit()
25 memset(op, 0, sizeof(struct sun4i_tfm_ctx)); in sun4i_hash_crainit()
28 op->ss = algt->ss; in sun4i_hash_crainit()
30 err = pm_runtime_get_sync(op->ss->dev); in sun4i_hash_crainit()
41 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_hash_craexit() local
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Doptabs.h2 Copyright (C) 2001-2020 Free Software Foundation, Inc.
23 #include "optabs-query.h"
24 #include "optabs-libfuncs.h"
25 #include "vec-perm-indices.h"
59 /* The mode passed to the convert_*_operand function. It has a
60 type-dependent meaning. */
61 ENUM_BITFIELD (machine_mode) mode : 16;
70 /* Initialize OP with the given fields. Initialise the other fields
74 create_expand_operand (class expand_operand *op,
76 rtx value, machine_mode mode,
[all …]
H A Doptabs-query.h1 /* IR-agnostic target query functions relating to optabs
2 Copyright (C) 2001-2020 Free Software Foundation, Inc.
23 #include "insn-opinit.h"
26 /* Return true if OP is a conversion optab. */
29 convert_optab_p (optab op) in convert_optab_p() argument
31 return op > unknown_optab && op <= LAST_CONV_OPTAB; in convert_optab_p()
34 /* Return the insn used to implement mode MODE of OP, or CODE_FOR_nothing
38 optab_handler (optab op, machine_mode mode) in optab_handler() argument
40 unsigned scode = (op << 16) | mode; in optab_handler()
41 gcc_assert (op > LAST_CONV_OPTAB); in optab_handler()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Doptabs.h2 Copyright (C) 2001-2020 Free Software Foundation, Inc.
23 #include "optabs-query.h"
24 #include "optabs-libfuncs.h"
25 #include "vec-perm-indices.h"
59 /* The mode passed to the convert_*_operand function. It has a
60 type-dependent meaning. */
61 ENUM_BITFIELD (machine_mode) mode : 16;
70 /* Initialize OP with the given fields. Initialise the other fields
74 create_expand_operand (class expand_operand *op,
76 rtx value, machine_mode mode,
[all …]
H A Doptabs-query.h1 /* IR-agnostic target query functions relating to optabs
2 Copyright (C) 2001-2020 Free Software Foundation, Inc.
23 #include "insn-opinit.h"
26 /* Return true if OP is a conversion optab. */
29 convert_optab_p (optab op) in convert_optab_p() argument
31 return op > unknown_optab && op <= LAST_CONV_OPTAB; in convert_optab_p()
34 /* Return the insn used to implement mode MODE of OP, or CODE_FOR_nothing
38 optab_handler (optab op, machine_mode mode) in optab_handler() argument
40 unsigned scode = (op << 16) | mode; in optab_handler()
41 gcc_assert (op > LAST_CONV_OPTAB); in optab_handler()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/cec/core/
H A Dcec-pin-error-inj.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <media/cec-pin.h>
11 #include "cec-pin-priv.h"
20 { CEC_ERROR_INJ_RX_NACK_OFFSET, -1, "rx-nack" },
22 CEC_ERROR_INJ_RX_LOW_DRIVE_ARG_IDX, "rx-low-drive" },
23 { CEC_ERROR_INJ_RX_ADD_BYTE_OFFSET, -1, "rx-add-byte" },
24 { CEC_ERROR_INJ_RX_REMOVE_BYTE_OFFSET, -1, "rx-remove-byte" },
26 CEC_ERROR_INJ_RX_ARB_LOST_ARG_IDX, "rx-arb-lost" },
28 { CEC_ERROR_INJ_TX_NO_EOM_OFFSET, -1, "tx-no-eom" },
29 { CEC_ERROR_INJ_TX_EARLY_EOM_OFFSET, -1, "tx-early-eom" },
[all …]
/OK3568_Linux_fs/kernel/drivers/spi/
H A Datmel-quadspi.c1 // SPDX-License-Identifier: GPL-2.0
11 * This driver is based on drivers/mtd/spi-nor/fsl-quadspi.c from Freescale.
24 #include <linux/spi/spi-mem.h>
28 #define QSPI_MR 0x0004 /* Mode Register */
43 #define QSPI_SMR 0x0040 /* Scrambling Mode Register */
46 #define QSPI_WPMR 0x00E4 /* Write Protection Mode Register */
58 /* Bitfields in QSPI_MR (Mode Register) */
68 #define QSPI_MR_NBBITS(n) ((((n) - 8) << 8) & QSPI_MR_NBBITS_MASK)
126 /* Bitfields in QSPI_SMR (Scrambling Mode Register) */
130 /* Bitfields in QSPI_WPMR (Write Protection Mode Register) */
[all …]
H A Dspi-zynqmp-gqspi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Xilinx Zynq UltraScale+ MPSoC Quad-SPI (QSPI) controller driver
4 * (master mode only)
6 * Copyright (C) 2009 - 2015 Xilinx, Inc.
11 #include <linux/dma-mapping.h>
13 #include <linux/firmware/xlnx-zynqmp.h>
24 #include <linux/spi/spi-mem.h>
119 #define GQSPI_TX_FIFO_FILL (GQSPI_TXD_DEPTH -\
141 * struct zynqmp_qspi - Defines qspi driver instance
153 * @dma_rx_bytes: Remaining bytes to receive by DMA mode
[all …]
H A Dspi-mxic.c1 // SPDX-License-Identifier: GPL-2.0
18 #include <linux/spi/spi-mem.h>
72 #define OP_CMD_BYTES(x) (((x) - 1) << 13)
181 ret = clk_prepare_enable(mxic->send_clk); in mxic_spi_clk_enable()
185 ret = clk_prepare_enable(mxic->send_dly_clk); in mxic_spi_clk_enable()
192 clk_disable_unprepare(mxic->send_clk); in mxic_spi_clk_enable()
199 clk_disable_unprepare(mxic->send_clk); in mxic_spi_clk_disable()
200 clk_disable_unprepare(mxic->send_dly_clk); in mxic_spi_clk_disable()
209 mxic->regs + IDLY_CODE(0)); in mxic_spi_set_input_delay_dqs()
214 mxic->regs + IDLY_CODE(1)); in mxic_spi_set_input_delay_dqs()
[all …]
H A Dspi-bcm-qspi.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #include <linux/spi/spi-mem.h>
25 #include "spi-bcm-qspi.h"
63 /* Override mode masks */
158 u8 mode; member
236 return qspi->bspi_mode; in has_bspi()
239 /* hardware supports spcr3 and fast baud-rate */
243 ((qspi->mspi_maj_rev >= 1) && in bcm_qspi_has_fastbr()
244 (qspi->mspi_min_rev >= 5))) in bcm_qspi_has_fastbr()
253 if (!has_bspi(qspi) && (qspi->mspi_spcr3_sysclk || in bcm_qspi_has_sysclk_108()
[all …]
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/mali/
H A Dcoresight_mali_common.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
18 * http://www.gnu.org/licenses/gpl-2.0.html.
28 /* Macros for CoreSight OP types. */
32 .op.write_imm.reg_addr = _reg_addr, .op.write_imm.val = _val \
38 .op.write_imm_range.reg_start = _reg_start, \
39 .op.write_imm_range.reg_end = _reg_end, .op.write_imm_range.val = _val \
44 .type = KBASE_DEBUG_CORESIGHT_CSF_OP_TYPE_WRITE, .op.write.reg_addr = _reg_addr, \
45 .op.write.ptr = _ptr \
50 .type = KBASE_DEBUG_CORESIGHT_CSF_OP_TYPE_READ, .op.read.reg_addr = _reg_addr, \
51 .op.read.ptr = _ptr \
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/regulator/
H A Dmax77686.c2 * Copyright (C) 2012-2015 Samsung Electronics
7 * SPDX-License-Identifier: GPL-2.0+
21 #define MODE(_id, _val, _name) { \ macro
29 MODE(OPMODE_OFF, MAX77686_LDO_MODE_OFF, "OFF"),
30 MODE(OPMODE_LPM, MAX77686_LDO_MODE_LPM, "LPM"),
31 MODE(OPMODE_STANDBY_LPM, MAX77686_LDO_MODE_STANDBY_LPM, "ON/LPM"),
32 MODE(OPMODE_ON, MAX77686_LDO_MODE_ON, "ON"),
37 MODE(OPMODE_OFF, MAX77686_LDO_MODE_OFF, "OFF"),
38 MODE(OPMODE_STANDBY, MAX77686_LDO_MODE_STANDBY, "ON/OFF"),
39 MODE(OPMODE_STANDBY_LPM, MAX77686_LDO_MODE_STANDBY_LPM, "ON/LPM"),
[all …]
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Dspi-mem.c1 // SPDX-License-Identifier: GPL-2.0+
15 #include <spi-mem.h>
20 * spi_controller_dma_map_mem_op_data() - DMA-map the buffer attached to a
23 * @op: the memory operation containing the buffer to map
24 * @sgt: a pointer to a non-initialized sg_table that will be filled by this
27 * Some controllers might want to do DMA on the data buffer embedded in @op.
28 * This helper prepares everything for you and provides a ready-to-use
32 * op->data.buf.{in,out} is DMA-able before calling this function.
37 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() argument
42 if (!op->data.nbytes) in spi_controller_dma_map_mem_op_data()
[all …]
/OK3568_Linux_fs/kernel/fs/afs/
H A Dinode.c36 pr_warn("kAFS: AFS vnode with undefined type %u\n", vnode->status.type); in dump_vnode()
38 vnode->status.abort_code, in dump_vnode()
39 vnode->status.mode, in dump_vnode()
40 vnode->status.size, in dump_vnode()
41 vnode->status.data_version); in dump_vnode()
43 vnode->fid.vid, in dump_vnode()
44 vnode->fid.vnode, in dump_vnode()
45 vnode->fid.unique); in dump_vnode()
48 parent_vnode->fid.vid, in dump_vnode()
49 parent_vnode->fid.vnode, in dump_vnode()
[all …]
/OK3568_Linux_fs/kernel/lib/zlib_inflate/
H A Dinffast.c1 /* inffast.c -- fast decoding
2 * Copyright (C) 1995-2004 Mark Adler
33 available, an end-of-block is encountered, or a data error is encountered.
40 state->mode == LEN
41 strm->avail_in >= 6
42 strm->avail_out >= 258
43 start >= strm->avail_out
44 state->bits < 8
46 On return, state->mode is one of:
48 LEN -- ran out of enough output space or enough available input
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dccp-ops.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013-2019 Advanced Micro Devices, Inc.
11 #include <linux/dma-mapping.h>
19 #include "ccp-dev.h"
56 #define CCP_NEW_JOBID(ccp) ((ccp->vdata->version == CCP_VERSION(3, 0)) ? \
61 return atomic_inc_return(&ccp->current_id) & CCP_JOBID_MASK; in ccp_gen_jobid()
66 if (wa->dma_count) in ccp_sg_free()
67 dma_unmap_sg(wa->dma_dev, wa->dma_sg_head, wa->nents, wa->dma_dir); in ccp_sg_free()
69 wa->dma_count = 0; in ccp_sg_free()
78 wa->sg = sg; in ccp_init_sg_workarea()
[all …]
/OK3568_Linux_fs/u-boot/lib/zlib/
H A Dinffast.c1 /* inffast.c -- fast decoding
2 * Copyright (C) 1995-2004 Mark Adler
6 /* U-Boot: we already included these
15 /* Allow machine dependent optimization for post-increment or pre-increment.
17 Pre-increment preferred for:
18 - PowerPC G3 (Adler)
19 - MIPS R5000 (Randers-Pehrson)
20 Post-increment preferred for:
21 - none
23 - Pentium III (Anderson)
[all …]
/OK3568_Linux_fs/kernel/include/sound/
H A Dopl3.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Definitions of the OPL-3 registers.
9 * Hannu Savolainen 1993-1996
11 * The OPL-3 mode is switched on by writing 0x01, to the offset 5
15 * a bit mask defining which voices are used as 4 OP voices.
17 * The percussive mode is implemented in the left side only.
21 * A 4 OP voice can be created by setting the corresponding
25 * first voice on the right side to the 4 OP mode. The fourth
28 * If a voice is set to the 2 OP mode, it works like 2 OP modes
31 * even be left unconnected. This works with 4 OP voices also.
[all …]
/OK3568_Linux_fs/kernel/drivers/block/paride/
H A Don20.c2 on20.c (c) 1996-8 Grant R. Guenther <grant@torque.net>
5 on20.c is a low-level protocol driver for the
27 #define op(f) w2(4);w0(f);w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4); macro
32 /* cont = 0 - access the IDE register file
33 cont = 1 - access the IDE command set
42 op(1); vl(r); op(0); in on20_read_regr()
44 switch (pi->mode) { in on20_read_regr()
56 return -1; in on20_read_regr()
65 op(1); vl(r); in on20_write_regr()
66 op(0); vl(val); in on20_write_regr()
[all …]
/OK3568_Linux_fs/yocto/meta-clang/recipes-devtools/clang/clang/
H A D0028-Do-not-force-thumb-mode-directive.patch3 Date: Sat, 12 Jun 2021 08:42:36 -0700
4 Subject: [PATCH] Do not force thumb mode directive
6 .thumb_func was not switching mode until [1]
8 switching mode, its causing build failures on armv6 ( rpi0 ) even when
9 build is explicitly asking for this file to be built with -marm (ARM
10 mode), therefore use DEFINE_COMPILERRT_FUNCTION macro to add function
11 header which considers arch and mode from compiler cmdline to decide if
12 the function is built using thumb mode or arm mode.
16 Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 ---
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_public_api/
H A Drk_crypto_api.c1 // SPDX-License-Identifier: BSD-2-Clause
22 for (i = 7; i >= 0; i--) { in long2byte()
70 out_len = sizeof(rsa_key->n); in rk_gen_rsa_key()
71 res = TEE_GetObjectBufferAttribute(obj, TEE_ATTR_RSA_MODULUS, rsa_key->n, in rk_gen_rsa_key()
77 rsa_key->key_len = out_len; in rk_gen_rsa_key()
80 rsa_key->e, &e_len); in rk_gen_rsa_key()
85 rsa_key->e_len = e_len; in rk_gen_rsa_key()
87 out_len = sizeof(rsa_key->d); in rk_gen_rsa_key()
89 rsa_key->d, &out_len); in rk_gen_rsa_key()
94 rsa_key->d_len = out_len; in rk_gen_rsa_key()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Dcg14.c1 // SPDX-License-Identifier: GPL-2.0-only
104 u8 tms[2]; /* Test Mode Status Regs */
109 u32 tmr; /* Test Mode Read Back */
160 u8 mode; /* Mode Register */ member
175 * the screen in four parts, while operating in 24 bits mode. Each
203 int mode; member
209 struct cg14_regs __iomem *regs = par->regs; in __cg14_reset()
212 val = sbus_readb(&regs->mcr); in __cg14_reset()
214 sbus_writeb(val, &regs->mcr); in __cg14_reset()
219 struct cg14_par *par = (struct cg14_par *) info->par; in cg14_pan_display()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Demulate.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Generic x86 (32-bit and 64-bit) instruction decoder and emulator.
9 * Linux coding style, mod r/m decoder, segment base fixes, real-mode
18 * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4
27 #include <asm/nospec-branch.h>
43 #define OpMem64 6ull /* Memory, 64-bit */
44 #define OpImmUByte 7ull /* Zero-extended 8-bit immediate */
47 #define OpImmByte 10ull /* 8-bit sign extended immediate */
49 #define OpImm 12ull /* Sign extended up to 32-bit immediate */
50 #define OpMem16 13ull /* Memory operand (16-bit). */
[all …]

12345678910>>...44