Home
last modified time | relevance | path

Searched +full:p +full:- +full:384 (Results 1 – 25 of 210) sorted by relevance

123456789

/kernel/linux/linux-6.6/arch/arm64/crypto/
Dsha3-ce-glue.c1 // 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 …]
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dsha3-ce-glue.c1 /* 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 …]
/kernel/linux/linux-6.6/drivers/media/pci/cx18/
Dcx18-av-audio.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
Dcx18-av-audio.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i2c/
Dch7006_mode.c31 [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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i2c/
Dch7006_mode.c31 [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 …]
/kernel/linux/linux-6.6/crypto/
DKconfig1 # 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 …]
Decc_curve_defs.h1 /* 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,
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/crypto/
Dintel,keembay-ocs-ecc.yaml1 # 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 …]
/kernel/linux/linux-5.10/crypto/
Decc_curve_defs.h1 /* 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,
/kernel/linux/linux-6.6/Documentation/admin-guide/device-mapper/
Dsnapshot.rst2 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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Dsnapshot.rst2 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 …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-sta2x11.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Based on gpio-ml-ioh.c, Copyright 2010 OKI Semiconductors Ltd.
19 #include <linux/mfd/sta2x11-mfd.h>
56 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_set()
60 writel(bit, &regs->dats); in gsta_gpio_set()
62 writel(bit, &regs->datc); in gsta_gpio_set()
68 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_get()
71 return !!(readl(&regs->dat) & bit); in gsta_gpio_get()
78 struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK]; in gsta_gpio_direction_output()
81 writel(bit, &regs->dirs); in gsta_gpio_direction_output()
[all …]
/kernel/linux/linux-5.10/drivers/s390/char/
Dkeyboard.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/s390/char/
Dkeyboard.c1 // 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
Dpkey-powerpc.h1 /* 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dpkey-powerpc.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 # define SYS_pkey_alloc 384
26 #define NR_RESERVED_PKEYS_4K 27 /* pkey-0, pkey-1, exec-only-pkey
29 #define NR_RESERVED_PKEYS_64K_3KEYS 3 /* PowerNV and KVM: pkey-0,
30 pkey-1 and exec-only key */
31 #define NR_RESERVED_PKEYS_64K_4KEYS 4 /* PowerVM: pkey-0, pkey-1,
32 pkey-31 and exec-only key */
39 return (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_bit_position()
75 if ((stat("/sys/firmware/devicetree/base/ibm,partition-name", &buf) == 0) && in arch_is_powervm()
76 (stat("/sys/firmware/devicetree/base/hmc-managed?", &buf) == 0) && in arch_is_powervm()
[all …]
/kernel/linux/linux-6.6/sound/pci/emu10k1/
Demupcm.c1 // 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 …]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
Demupcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Multichannel PCM support Copyright (c) Lee Revell <rlrevell@joe-job.com>
9 * --
12 * --
28 if ((epcm = voice->epcm) == NULL) in snd_emu10k1_pcm_interrupt()
30 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt()
33 dev_dbg(emu->card->dev, in snd_emu10k1_pcm_interrupt()
35 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt()
36 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt()
37 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt()
[all …]
/kernel/linux/linux-6.6/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.h6 * 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()
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
Dv4l2-ctrls-defs.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c1 // 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c1 // 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/video/fbdev/via/
Dhw.h1 /* 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 …]

123456789