/Linux-v6.6/arch/arm64/crypto/ |
D | sha3-ce-glue.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * sha3-ce-glue.c - core SHA-3 transform using v8.2 Crypto Extensions 26 MODULE_ALIAS_CRYPTO("sha3-224"); 27 MODULE_ALIAS_CRYPTO("sha3-256"); 28 MODULE_ALIAS_CRYPTO("sha3-384"); 29 MODULE_ALIAS_CRYPTO("sha3-512"); 38 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha3_update() 43 if ((sctx->partial + len) >= sctx->rsiz) { in sha3_update() 46 if (sctx->partial) { in sha3_update() 47 int p = sctx->rsiz - sctx->partial; in sha3_update() local [all …]
|
/Linux-v6.6/drivers/media/pci/cx18/ |
D | cx18-av-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from cx25840-audio.c 11 #include "cx18-driver.h" 15 struct cx18_av_state *state = &cx->av_state; in set_audclk_freq() 18 return -EINVAL; in set_audclk_freq() 31 * the NTSC Standards", Proceedings of the I-R-E, January 1954, pp 79-80 in set_audclk_freq() 34 * NTSC Standards", Proceedings of the I-R-E, January 1954, pp 81-83 in set_audclk_freq() 56 if (state->aud_input > CX18_AV_AUDIO_SERIAL2) { in set_audclk_freq() 66 /* xtal * 0xf.15f17f0/4 = 108 MHz: 432 MHz pre-postdiv*/ in set_audclk_freq() 70 /* xtal * 0xd.bb3a060/0x20 = 32000 * 384: 393 MHz p-pd*/ in set_audclk_freq() [all …]
|
/Linux-v6.6/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 31 [TV_NORM_PAL_M] = "PAL-M", 32 [TV_NORM_PAL_N] = "PAL-N", 33 [TV_NORM_PAL_NC] = "PAL-Nc", 34 [TV_NORM_PAL_60] = "PAL-60", 35 [TV_NORM_NTSC_M] = "NTSC-M", 36 [TV_NORM_NTSC_J] = "NTSC-J", 145 MODE(21000, 512, 384, 840, 500, N, N, 181.797557582, 5_4, 0x6, PAL_LIKE), 146 MODE(26250, 512, 384, 840, 625, N, N, 145.438046066, 1_1, 0x1, PAL_LIKE), 147 MODE(20140, 512, 384, 800, 420, N, N, 213.257083791, 5_4, 0x4, NTSC_LIKE), 148 MODE(24671, 512, 384, 784, 525, N, N, 174.0874153, 1_1, 0x3, NTSC_LIKE), [all …]
|
/Linux-v6.6/crypto/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 170 bool "Disable run-time self tests" 173 Disable run-time self tests that normally take place at 177 bool "Enable extra run-time crypto self tests" 180 Enable extra run-time self tests of registered crypto algorithms, 246 menu "Public-key cryptography" 249 tristate "RSA (Rivest-Shamir-Adleman)" 255 RSA (Rivest-Shamir-Adleman) public key algorithm (RFC8017) 258 tristate "DH (Diffie-Hellman)" 262 DH (Diffie-Hellman) key exchange algorithm [all …]
|
D | ecc_curve_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /* NIST P-192: a = p - 3 */ 25 .p = nist_p192_p, 31 /* NIST P-256: a = p - 3 */ 51 .p = nist_p256_p, 57 /* NIST P-384 */ 83 .p = nist_p384_p, 102 .p = curve25519_p,
|
/Linux-v6.6/Documentation/devicetree/bindings/crypto/ |
D | intel,keembay-ocs-ecc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-ecc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Daniele Alessandrelli <daniele.alessandrelli@intel.com> 11 - Prabhjot Khurana <prabhjot.khurana@intel.com> 16 cryptography using the NIST P-256 and NIST P-384 elliptic curves. 20 const: intel,keembay-ocs-ecc 32 - compatible 33 - reg [all …]
|
/Linux-v6.6/Documentation/admin-guide/device-mapper/ |
D | snapshot.rst | 2 Device-mapper snapshot support 5 Device-mapper allows you, without massive data copying: 7 - To create snapshots of any block device i.e. mountable, saved states of 10 - To create device "forks", i.e. multiple different versions of the 12 - To merge a snapshot of a block device back into the snapshot's origin 16 changed and uses a separate copy-on-write (COW) block device for 24 snapshot, snapshot-origin, and snapshot-merge. 26 - snapshot-origin <origin> 34 - snapshot <origin> <COW device> <persistent?> <chunksize> 45 <persistent?> is P (Persistent) or N (Not persistent - will not survive [all …]
|
/Linux-v6.6/drivers/s390/char/ |
D | keyboard.c | 1 // SPDX-License-Identifier: GPL-2.0 37 255, ARRAY_SIZE(func_table) - 1, NR_FN_HANDLER - 1, 0, 38 NR_DEAD - 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 62 '-', /* dead_stroke */ 83 kbd->key_maps = kzalloc(sizeof(ebc_key_maps), GFP_KERNEL); in kbd_alloc() 84 if (!kbd->key_maps) in kbd_alloc() 88 kbd->key_maps[i] = kmemdup(ebc_key_maps[i], in kbd_alloc() 91 if (!kbd->key_maps[i]) in kbd_alloc() 95 kbd->func_table = kzalloc(sizeof(ebc_func_table), GFP_KERNEL); in kbd_alloc() 96 if (!kbd->func_table) in kbd_alloc() [all …]
|
/Linux-v6.6/sound/pci/emu10k1/ |
D | emupcm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Lee Revell <rlrevell@joe-job.com> 5 * James Courtier-Dutton <James@superbug.co.uk> 25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt() 28 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt() 31 dev_dbg(emu->card->dev, in snd_emu10k1_pcm_interrupt() 33 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt() 34 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt() 35 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt() 37 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1_pcm_interrupt() [all …]
|
/Linux-v6.6/tools/testing/selftests/mm/ |
D | pkey-powerpc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 # define SYS_pkey_alloc 384 23 #define NR_RESERVED_PKEYS_4K 27 /* pkey-0, pkey-1, exec-only-pkey 26 #define NR_RESERVED_PKEYS_64K_3KEYS 3 /* PowerNV and KVM: pkey-0, 27 pkey-1 and exec-only key */ 28 #define NR_RESERVED_PKEYS_64K_4KEYS 4 /* PowerVM: pkey-0, pkey-1, 29 pkey-31 and exec-only key */ 36 return (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_bit_position() 72 if ((stat("/sys/firmware/devicetree/base/ibm,partition-name", &buf) == 0) && in arch_is_powervm() 73 (stat("/sys/firmware/devicetree/base/hmc-managed?", &buf) == 0) && in arch_is_powervm() [all …]
|
/Linux-v6.6/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.h | 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 29 #define PM_BASE 384 33 PINCTRL_PIN(P ## bank ## _BASE + (pin), "P" #bank #pin) 58 #define IRQ_CFG_IRQ_MASK ((1 << IRQ_CFG_IRQ_BITS) - 1) 62 #define IRQ_CTRL_IRQ_MASK ((1 << IRQ_CTRL_IRQ_BITS) - 1) 66 #define IRQ_STATUS_IRQ_MASK ((1 << IRQ_STATUS_IRQ_BITS) - 1) 228 if (!desc->irq_bank_map) in sunxi_irq_hw_bank_num() 231 return desc->irq_bank_map[bank]; in sunxi_irq_hw_bank_num()
|
/Linux-v6.6/drivers/media/v4l2-core/ |
D | v4l2-ctrls-defs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl> 9 #include <media/v4l2-ctrls.h> 26 "MPEG-1/2 Layer I", in v4l2_ctrl_get_menu() 27 "MPEG-1/2 Layer II", in v4l2_ctrl_get_menu() 28 "MPEG-1/2 Layer III", in v4l2_ctrl_get_menu() 29 "MPEG-2/4 AAC", in v4l2_ctrl_get_menu() 30 "AC-3", in v4l2_ctrl_get_menu() 45 "384 kbps", in v4l2_ctrl_get_menu() 64 "384 kbps", in v4l2_ctrl_get_menu() [all …]
|
/Linux-v6.6/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/dma-mapping.h> 33 #define HPRE_INVLD_REQ_ID (-1) 63 /* low address: e--->n */ 67 /* low address: d--->n */ 71 /* low address: dq->dp->q->p->qinv */ 81 * ya = g^xa mod p; [RFC2631 sec 2.1.1] 84 * ZZ = yb^xa mod p; [RFC2631 sec 2.1.1] 85 * low address: d--->n, please refer to Hisilicon HPRE UM 95 /* low address: p->a->k->b */ [all …]
|
/Linux-v6.6/drivers/video/fbdev/via/ |
D | hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 17 #define viafb_read_reg(p, i) via_read_reg(p, i) argument 18 #define viafb_write_reg(i, p, d) via_write_reg(p, i, d) argument 19 #define viafb_write_reg_mask(i, p, d, m) via_write_reg_mask(p, i, d, m) argument 43 #define IGA2_HOR_TOTAL_SHADOW_FORMULA(x) ((x/8)-5) 44 #define IGA2_HOR_BLANK_END_SHADOW_FORMULA(x, y) (((x+y)/8)-1) 45 #define IGA2_VER_TOTAL_SHADOW_FORMULA(x) ((x)-2) 46 #define IGA2_VER_ADDR_SHADOW_FORMULA(x) ((x)-1) [all …]
|
/Linux-v6.6/tools/testing/selftests/powerpc/ptrace/ |
D | core-pkey.c | 1 // SPDX-License-Identifier: GPL-2.0+ 21 #define __NR_pkey_alloc 384 38 #define pkeyshift(pkey) (PKEY_REG_BITS - ((pkey + 1) * AMR_BITS_PER_PKEY)) 117 ret = wait_parent(&info->child_sync); in child() 139 info->amr |= 3ul << pkeyshift(pkey1) | 2ul << pkeyshift(pkey2); in child() 142 info->iamr |= 1ul << pkeyshift(pkey1); in child() 144 info->iamr &= ~(1ul << pkeyshift(pkey1)); in child() 146 info->iamr &= ~(1ul << pkeyshift(pkey2) | 1ul << pkeyshift(pkey3)); in child() 148 info->uamor |= 3ul << pkeyshift(pkey1) | 3ul << pkeyshift(pkey2); in child() 150 printf("%-30s AMR: %016lx pkey1: %d pkey2: %d pkey3: %d\n", in child() [all …]
|
/Linux-v6.6/drivers/media/platform/verisilicon/ |
D | hantro_g1_h264_dec.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Hertz Wong <hertz.wong@rock-chips.com> 7 * Herman Chen <herman.chen@rock-chips.com> 16 #include <media/v4l2-mem2mem.h> 24 const struct hantro_h264_dec_ctrls *ctrls = &ctx->h264_dec.ctrls; in set_params() 25 const struct v4l2_ctrl_h264_decode_params *dec_param = ctrls->decode; in set_params() 26 const struct v4l2_ctrl_h264_sps *sps = ctrls->sps; in set_params() 27 const struct v4l2_ctrl_h264_pps *pps = ctrls->pps; in set_params() 28 struct hantro_dev *vpu = ctx->dev; in set_params() 33 if (sps->flags & V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD) in set_params() [all …]
|
D | hantro_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include <linux/v4l2-controls.h> 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-vp9.h> 16 #include <media/videobuf2-core.h> 49 * struct hantro_aux_buf - auxiliary DMA buffer for hardware data 84 * @p: P reflist 89 struct v4l2_h264_reference p[V4L2_H264_REF_LIST_LEN]; member 99 * @reflists: P/B0/B1 reflists 101 * @dpb_longterm: DPB long-term [all …]
|
/Linux-v6.6/arch/powerpc/crypto/ |
D | poly1305-p10le_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 # Copyright 2023- IBM Corp. All rights reserved 10 # Poly1305 - this version mainly using vector/VSX/Scalar 11 # - 26 bits limbs 12 # - Handle multiple 64 byte blcok. 17 # p = 2^130 - 5 19 # a = (r + a) % p 25 # 07/22/21 - this revison based on the above sum of products. Setup r^4, r^3, r^2, r and s3, s2, … 56 #include <asm/asm-offsets.h> 57 #include <asm/asm-compat.h> [all …]
|
/Linux-v6.6/drivers/media/common/saa7146/ |
D | saa7146_fops.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 #include <media/drv-intf/saa7146_vv.h> 12 struct saa7146_vv *vv = dev->vv_data; in saa7146_res_get() 14 if (vv->resources & bit) { in saa7146_res_get() 16 bit, vv->resources); in saa7146_res_get() 22 if (vv->resources & bit) { in saa7146_res_get() 23 DEB_D("locked! vv->resources:0x%02x, we want:0x%02x\n", in saa7146_res_get() 24 vv->resources, bit); in saa7146_res_get() 29 vv->resources |= bit; in saa7146_res_get() 30 DEB_D("res: get 0x%02x, cur:0x%02x\n", bit, vv->resources); in saa7146_res_get() [all …]
|
/Linux-v6.6/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-codec.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-controls: 24 .. _mpeg-control-id: 27 ----------------- 35 .. _v4l2-mpeg-stream-type: 40 enum v4l2_mpeg_stream_type - 41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything 48 .. flat-table:: 49 :header-rows: 0 50 :stub-columns: 0 [all …]
|
/Linux-v6.6/drivers/media/usb/msi2500/ |
D | msi2500.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * (C) 1999-2004 Nemosoft Unv. 10 * (C) 2004-2006 Luc Saillard (luc@saillard.org) 17 #include <media/v4l2-device.h> 18 #include <media/v4l2-ioctl.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-event.h> 22 #include <media/videobuf2-v4l2.h> 23 #include <media/videobuf2-vmalloc.h> 51 /* signed 12-bit */ [all …]
|
/Linux-v6.6/net/sunrpc/auth_gss/ |
D | gss_krb5_mech.c | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2001-2008 The Regents of the University of Michigan. 36 * AES-128 with SHA-1 (RFC 3962) 41 .name = "aes128-cts", 54 .signalg = -1, 55 .sealalg = -1, 65 * AES-256 with SHA-1 (RFC 3962) 70 .name = "aes256-cts", 83 .signalg = -1, 84 .sealalg = -1, [all …]
|
/Linux-v6.6/drivers/clk/qcom/ |
D | lcc-ipq806x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/clk-provider.h> 15 #include <dt-bindings/clock/qcom,lcc-ipq806x.h> 18 #include "clk-regmap.h" 19 #include "clk-pll.h" 20 #include "clk-rcg.h" 21 #include "clk-branch.h" 22 #include "clk-regmap-divider.h" 23 #include "clk-regmap-mux.h" 121 .p = { [all …]
|
/Linux-v6.6/drivers/mtd/nand/onenand/ |
D | onenand_omap2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright © 2005-2006 Nokia Corporation 17 #include <linux/omap-gpmc.h> 21 #include <linux/dma-mapping.h> 29 #define DRIVER_NAME "omap2-onenand" 54 complete(&c->irq_done); in omap2_onenand_interrupt() 61 return readw(c->onenand.base + reg); in read_reg() 67 writew(value, c->onenand.base + reg); in write_reg() 94 return -EINVAL; in omap2_onenand_set_cfg() 126 return -EINVAL; in omap2_onenand_get_freq() [all …]
|
/Linux-v6.6/drivers/video/fbdev/ |
D | ps3fb.c | 2 * linux/drivers/video/ps3fb.c -- PS3 GPU frame buffer device 9 * linux/drivers/video/vfb.c -- Virtual frame buffer device 35 #include <asm/cell-regs.h> 49 #define GPU_MAX_LINE_LENGTH (65536 - 64) 144 "480i", 60, 576, 384, 74074, 130, 89, 78, 57, 63, 6, 147 /* 480p */ 148 "480p", 60, 576, 384, 37037, 130, 89, 78, 57, 63, 6, 151 /* 720p */ 152 "720p", 60, 1124, 644, 13481, 298, 148, 57, 44, 80, 5, 159 /* 1080p */ [all …]
|