Home
last modified time | relevance | path

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

12345

/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
162 bool "Disable run-time self tests"
165 Disable run-time self tests that normally take place at
169 bool "Enable extra run-time crypto self tests"
172 Enable extra run-time self tests of registered crypto algorithms,
241 menu "Public-key cryptography"
244 tristate "RSA (Rivest-Shamir-Adleman)"
250 RSA (Rivest-Shamir-Adleman) public key algorithm (RFC8017)
253 tristate "DH (Diffie-Hellman)"
257 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,
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt()
31 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt()
34 dev_dbg(emu->card->dev, in snd_emu10k1_pcm_interrupt()
36 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt()
37 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt()
38 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/media/platform/verisilicon/
Dhantro_g1_h264_dec.c1 // 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 …]
/Linux-v6.1/Documentation/admin-guide/media/
Dcpia2.rst1 .. SPDX-License-Identifier: GPL-2.0
12 ------------
28 --------
30 - Supports cameras with the Vision stv6410 (CIF) and stv6500 (VGA) cmos
32 - Image formats: VGA, QVGA, CIF, QCIF, and a number of sizes in between.
35 - Palette: YCrCb, compressed with MJPEG.
36 - Some compression parameters are settable.
37 - Sensor framerate is adjustable (up to 30 fps CIF, 15 fps VGA).
38 - Adjust brightness, color, contrast while streaming.
39 - Flicker control settable for 50 or 60 Hz mains frequency.
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dext-ctrls-codec.rst1 .. 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.1/drivers/media/usb/msi2500/
Dmsi2500.c1 // 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.1/drivers/clk/qcom/
Dlcc-ipq806x.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/clk-provider.h>
16 #include <dt-bindings/clock/qcom,lcc-ipq806x.h>
19 #include "clk-regmap.h"
20 #include "clk-pll.h"
21 #include "clk-rcg.h"
22 #include "clk-branch.h"
23 #include "clk-regmap-divider.h"
24 #include "clk-regmap-mux.h"
122 .p = {
[all …]
/Linux-v6.1/drivers/mtd/nand/onenand/
Donenand_omap2.c1 // 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.1/sound/soc/samsung/
Ds3c-i2s-v2.c1 // SPDX-License-Identifier: GPL-2.0+
3 // ALSA Soc Audio Layer - I2S core for newer Samsung SoCs.
9 // Copyright (c) 2008, 2007, 2004-2005 Simtec Electronics
21 #include "regs-i2s-v2.h"
22 #include "s3c-i2s-v2.h"
63 void __iomem *regs = i2s->regs; in s3c2412_snd_txctrl()
91 dev_err(i2s->dev, "TXEN: Invalid MODE %x in IISMOD\n", in s3c2412_snd_txctrl()
120 dev_err(i2s->dev, "TXDIS: Invalid MODE %x in IISMOD\n", in s3c2412_snd_txctrl()
136 void __iomem *regs = i2s->regs; in s3c2412_snd_rxctrl()
164 dev_err(i2s->dev, "RXEN: Invalid MODE %x in IISMOD\n", in s3c2412_snd_rxctrl()
[all …]
/Linux-v6.1/drivers/video/fbdev/
Dps3fb.c2 * 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 …]
/Linux-v6.1/drivers/staging/media/deprecated/saa7146/common/
Dsaa7146_fops.c1 // SPDX-License-Identifier: GPL-2.0-only
12 struct saa7146_dev *dev = fh->dev; in saa7146_res_get()
13 struct saa7146_vv *vv = dev->vv_data; in saa7146_res_get()
15 if (fh->resources & bit) { in saa7146_res_get()
17 bit, vv->resources); in saa7146_res_get()
23 if (vv->resources & bit) { in saa7146_res_get()
24 DEB_D("locked! vv->resources:0x%02x, we want:0x%02x\n", in saa7146_res_get()
25 vv->resources, bit); in saa7146_res_get()
30 fh->resources |= bit; in saa7146_res_get()
31 vv->resources |= bit; in saa7146_res_get()
[all …]

12345