Home
last modified time | relevance | path

Searched +full:4 +full:c (Results 1 – 25 of 3179) sorted by relevance

12345678910>>...128

/linux/arch/x86/crypto/
H A Dtwofish-i586-asm_32.S3 * Copyright (C) 2006 by Joachim Fritschi, <jfritschi@freenet.de> *
17 #define ctx 4 /* Twofish context structure */
20 #define b_offset 4
63 * c input register containing c
67 #define encrypt_round(a,b,c,d,round)\ argument
70 mov s1(%ebp,%edi,4),d ## D;\
72 mov s2(%ebp,%edi,4),%esi;\
75 xor s2(%ebp,%edi,4),d ## D;\
78 xor s3(%ebp,%edi,4),%esi;\
80 xor s3(%ebp,%edi,4),d ## D;\
[all …]
/linux/arch/microblaze/lib/
H A Dmemmove.c2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
4 * Copyright (C) 2007 John Williams
6 * Reasonably optimised generic C-code for memcpy on Microblaze
7 * This is generic C code to do efficient, alignment-aware memmove.
34 void *memmove(void *v_dst, const void *v_src, __kernel_size_t c) in memmove() argument
41 if (!c) in memmove()
46 return memcpy(v_dst, v_src, c); in memmove()
56 dst += c; in memmove()
57 src += c; in memmove()
[all …]
H A Dmemcpy.c2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
4 * Copyright (C) 2007 John Williams
6 * Reasonably optimised generic C-code for memcpy on Microblaze
7 * This is generic C code to do efficient, alignment-aware memcpy.
35 void *memcpy(void *v_dst, const void *v_src, __kernel_size_t c) in memcpy() argument
49 if (likely(c >= 4)) { in memcpy()
57 --c; in memcpy()
61 --c; in memcpy()
65 --c; in memcpy()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dyuv-formats.rst2 .. c:namespace:: V4L
30 direction are possible, common factors are 1 (no subsampling), 2 and 4, with
34 - `4:4:4`: No subsampling
35 - `4:2:2`: Horizontal subsampling by 2, no vertical subsampling
36 - `4:2:0`: Horizontal subsampling by 2, vertical subsampling by 2
37 - `4:1:1`: Horizontal subsampling by 4, no vertical subsampling
38 - `4:1:0`: Horizontal subsampling by 4, vertical subsampling by 4
57 The following examples show different combination of chroma siting in a 4x4
60 .. flat-table:: 4:2:2 subsampling, interstitially sited
74 - C
[all …]
/linux/lib/crypto/arm/
H A Dsha1-armv4-large.S31 @ full unroll ~5100/+260% ~1260/+4% ~1300/+5%
76 sub sp,sp,#15*4
86 ldrb r12,[r1],#4
93 ldr r9,[r1],#4 @ handles unaligned
103 eor r10,r10,r6,ror#2 @ F_00_19(B,C,D)
104 str r9,[r14,#-4]!
105 add r7,r7,r10 @ E+=F_00_19(B,C,D)
111 ldrb r12,[r1],#4
118 ldr r9,[r1],#4 @ handles unaligned
128 eor r10,r10,r5,ror#2 @ F_00_19(B,C,D)
[all …]
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_utils.c3 * Copyright (c) 2024, The Linux Foundation. All rights reserved.
14 u8 c[4]; in msm_dp_utils_get_g0_value() local
15 u8 g[4]; in msm_dp_utils_get_g0_value()
19 for (i = 0; i < 4; i++) in msm_dp_utils_get_g0_value()
20 c[i] = (data >> i) & 0x01; in msm_dp_utils_get_g0_value()
22 g[0] = c[3]; in msm_dp_utils_get_g0_value()
23 g[1] = c[0] ^ c[3]; in msm_dp_utils_get_g0_value()
24 g[2] = c[1]; in msm_dp_utils_get_g0_value()
25 g[3] = c[2]; in msm_dp_utils_get_g0_value()
27 for (i = 0; i < 4; i++) in msm_dp_utils_get_g0_value()
[all …]
/linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/
H A Dtie-asm.h9 * Copyright (C) 1999-2009 Tensilica Inc.
39 xchal_sa_align \ptr, 0, 1024-4, 4, 4
42 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
45 xchal_sa_align \ptr, 0, 1024-4, 4, 4
48 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
51 xchal_sa_align \ptr, 0, 1024-4, 4, 4
54 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
66 xchal_sa_align \ptr, 0, 1024-4, 4, 4
69 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
72 xchal_sa_align \ptr, 0, 1024-4, 4, 4
[all …]
/linux/drivers/media/usb/pwc/
H A Dpwc-dec23.c4 (C) 2004-2006 Luc Saillard (luc@saillard.org)
24 * 0: use a C version of this tests: { a<0?0:(a>255?255:a) }
129 p0[k + 0x30] = (4 * pw) + 0x80; in build_table_color()
133 p0[k + 0x70] = (-4 * pw) + 0x80; in build_table_color()
166 * yyyy = get_bits(4)
181 * op == 2 when (i%4)==0
186 static const unsigned char hash_table_ops[64*4] = {
260 {4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4,},
262 {4, 5, 5, 4, 4, 5, 5, 4, 4, 5, 5, 4, 4, 5, 5, 4,},
268 {4, 5, 5, 4, 5, 4, 4, 5, 5, 4, 4, 5, 4, 5, 5, 4,},
[all …]
/linux/drivers/input/touchscreen/
H A Dtsc2007.h4 * Copyright (c) 2008 MtekVision Co., Ltd.
8 * - ads7846.c
9 * Copyright (c) 2005 David Brownell
10 * Copyright (c) 2006 Nokia Corporation
11 * - corgi_ts.c
12 * Copyright (C) 2004-2005 Richard Purdie
13 * - omap_ts.[hc], ads7846.h, ts_osk.c
14 * Copyright (C) 2002 MontaVista Software
15 * Copyright (C) 2004 Texas Instruments
16 * Copyright (C) 2005 Dirk Behme
[all …]
/linux/net/ceph/
H A Darmor.c15 static int encode_bits(int c) in encode_bits() argument
17 return pem_key[c]; in encode_bits()
20 static int decode_bits(char c) in decode_bits() argument
22 if (c >= 'A' && c <= 'Z') in decode_bits()
23 return c - 'A'; in decode_bits()
24 if (c >= 'a' && c <= 'z') in decode_bits()
25 return c - 'a' + 26; in decode_bits()
26 if (c >= '0' && c <= '9') in decode_bits()
27 return c - '0' + 52; in decode_bits()
28 if (c == '+') in decode_bits()
[all …]
/linux/arch/nios2/lib/
H A Dmemset.c2 * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
3 * Copyright (C) 2004 Microtronix Datacom Ltd
13 void *memset(void *s, int c, size_t count) in memset() argument
20 c &= 0xFF; in memset()
26 *xs++ = c; in memset()
31 /* fill8 %3, %5 (c & 0xff) */ in memset()
32 " slli %4, %5, 8\n" in memset()
33 " or %4, %4, %5\n" in memset()
34 " slli %3, %4, 16\n" in memset()
35 " or %3, %3, %4\n" in memset()
[all …]
/linux/arch/powerpc/crypto/
H A Daes-tab-4k.S3 * 4K AES tables for PPC AES implementation
5 * Copyright (c) 2015 Markus Stockhausen <stockhausen@collogia.de>
10 * crypto/aes_generic.c and are designed to be simply accessed by a combination
12 * one required). Thus they are aligned to 4K. The locality of rotated values
25 #define R(a, b, c, d) \ argument
26 0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a
32 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */
33 .long R(c6, 63, 63, a5), R(f8, 7c, 7c, 84)
40 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a)
47 .long R(23, 9c, 9c, bf), R(53, a4, a4, f7)
[all …]
/linux/net/mac80211/tests/
H A Dtpe.c5 * Copyright (C) 2024 Intel Corporation
29 struct cfg80211_chan_def c; member
35 .c.width = NL80211_CHAN_WIDTH_20,
36 .c.chan = &chan6g_1,
37 .c.center_freq1 = 5955,
43 .c.width = NL80211_CHAN_WIDTH_40,
44 .c.chan = &chan6g_1,
45 .c.center_freq1 = 5965,
52 .c.width = NL80211_CHAN_WIDTH_80P80,
53 .c.chan = &chan6g_1,
[all …]
/linux/drivers/media/firewire/
H A Dfiredtv-avc.c5 * Copyright (C) 2004 Andreas Monitzer <andy@monitzer.com>
6 * Copyright (C) 2008 Ben Backx <ben@bbackx.com>
7 * Copyright (C) 2008 Henrik Kurelid <henrik@kurelid.se>
90 static inline void clear_operands(struct avc_command_frame *c, int from, int to) in clear_operands() argument
92 memset(&c->operand[from], 0, to - from + 1); in clear_operands()
95 static void pad_operands(struct avc_command_frame *c, int from) in pad_operands() argument
97 int to = ALIGN(from, 4); in pad_operands()
100 clear_operands(c, from, to); in pad_operands()
138 static int fake_ca_system_ids[4] = { -1, -1, -1, -1 };
180 data[4] != SFE_VENDOR_DE_COMPANYID_1 || in debug_fcp_opcode()
[all …]
/linux/lib/crypto/arm64/
H A Dsha1-ce-core.S5 * Copyright (C) 2014 Linaro Ltd <ard.biesheuvel@linaro.org>
36 add t1.4s, v\s0\().4s, \rc\().4s
39 sha1\op dg0q, \dg1, t0.4s
41 sha1\op dg0q, dg1s, t0.4s
45 add t0.4s, v\s0\().4s, \rc\().4s
48 sha1\op dg0q, dg2s, t1.4s
53 sha1su0 v\s0\().4s, v\s1\().4s, v\s2\().4s
55 sha1su1 v\s0\().4s, v\s3\().4s
70 loadrc k0.4s, 0x5a827999, w6
71 loadrc k1.4s, 0x6ed9eba1, w6
[all …]
/linux/lib/crypto/x86/
H A Dsha256-avx2-asm.S4 # Copyright (C) 2013 Intel Corporation.
9 # Tim Chen <tim.c.chen@linux.intel.com>
48 # This code schedules 2 blocks at a time, with 4 lanes per block
95 c = %ecx define
115 _XFER_SIZE = 2*64*4 # 2 blocks, 64 rounds, 4 bytes/round
147 d = c
148 c = b define
161 or c, y3 # y3 = a|c # MAJA
162 vpalignr $4, X2, X3, XTMP0 # XTMP0 = W[-7]
176 and b, y3 # y3 = (a|c)&b # MAJA
[all …]
/linux/arch/m68k/fpsp040/
H A Dtbldo.S17 | Copyright (C) Motorola, Inc. 1990
53 .long smovcr |$00-4 fmovecr all
62 .long sintd |$01-4 fint denorm inx
71 .long ssinhd |$02-4 fsinh denorm
80 .long snzrinx |$03-4 fintrz denorm inx
89 .long serror |$04-4 ERROR - illegal extension
98 .long serror |$05-4 ERROR - illegal extension
107 .long slognp1d |$06-4 flognp1 denorm
116 .long serror |$07-4 ERROR - illegal extension
125 .long setoxm1d |$08-4 fetoxm1 denorm
[all …]
/linux/drivers/watchdog/
H A Dsbc8360.c5 * (c) Copyright 2005 Webcon, Inc.
7 * Based on ib700wdt.c, which is based on advantechwdt.c which is based
8 * on acquirewdt.c which is based on wdt.c.
10 * (c) Copyright 2001 Charles Howes <chowes@vsol.net>
12 * Based on advantechwdt.c which is based on acquirewdt.c which
13 * is based on wdt.c.
15 * (c) Copyright 2000-2001 Marek Michalkiewicz <marekm@linux.org.pl>
17 * Based on acquirewdt.c which is based on wdt.c.
20 * (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>,
27 * (c) Copyright 1995 Alan Cox <alan@lxorguk.ukuu.org.uk>
[all …]
/linux/drivers/w1/slaves/
H A Dw1_ds2423.c3 * w1_ds2423.c
5 * Copyright (c) 2010 Mika Laitio <lamikr@pilppa.org>
7 * This driver will read and write the value of 4 counters to w1_slave file in
27 #define COUNTER_COUNT 4
40 ssize_t c; in w1_slave_show() local
45 c = PAGE_SIZE; in w1_slave_show()
54 for (p = 0; p < 4; p++) { in w1_slave_show()
57 * 4 bytes for counter in w1_slave_show()
58 * 4 bytes for zero bits in w1_slave_show()
65 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
[all …]
/linux/arch/powerpc/perf/
H A Dppc970-pmu.c23 #define PM_BYTE_SH 4 /* Byte number of event bus to use */
32 #define PM_IFU 4
112 * 32-34: count of events needing PMC3/4/7/8 0x0007_0000_0000
133 (1<<4) | (1<<5), /* PMC4: PM_MRK_GRP_CMPL, PM_MRK_CRU_FIN */
134 (1<<4) | (1<<5), /* PMC5: PM_GRP_MRK, PM_MRK_GRP_TIMEO */
135 (1<<3) | (1<<4) | (1<<5),
137 (1<<4) | (1<<5), /* PMC7: PM_MRK_FPU_FIN, PM_MRK_INST_FIN */
138 (1<<4) /* PMC8: PM_MRK_LSU_FIN */
156 bit = (pmc <= 4)? pmc - 1: 8 - pmc; in p970_marked_instr_event()
158 bit = 4; in p970_marked_instr_event()
[all …]
/linux/tools/testing/selftests/net/
H A Dsrv6_end_x_next_csid_l3vpn_test.sh7 # This script is designed for testing the support of NEXT-C-SID flavor for SRv6
14 # IPv4/IPv6 L3 VPN service, offered by routers rt-1, rt-2, rt-3 and rt-4 using
15 # the NEXT-C-SID flavor. The key components for such VPNs are:
24 # iii) The NEXT-C-SID mechanism [2] offers the possibility of encoding several
26 # Compressed SID (C-SID) container. In this way, the length of the SID
28 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End.X behavior
29 # which advances the current C-SID (i.e. the Locator-Node Function defined
31 # When no more C-SIDs are available in the Argument, the SRv6 End.X
61 # fcf0:0:1:4::/64 | . | fcf0:0:2:3::/64
64 # | fcf0:0:2:4::/64 . |
[all …]
/linux/arch/xtensa/variants/test_kc705_hifi/include/variant/
H A Dtie-asm.h11 Copyright (c) 1999-2014 Tensilica Inc.
62 * (register must contain a 4 byte aligned address).
81 xchal_sa_align \ptr, 0, 1020, 4, 4
84 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
86 xchal_sa_align \ptr, 0, 1020, 4, 4
87 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
91 xchal_sa_align \ptr, 0, 1016, 4, 4
95 s32i \at1, \ptr, .Lxchal_ofs_+4
98 xchal_sa_align \ptr, 0, 1016, 4, 4
103 xchal_sa_align \ptr, 0, 1000, 4, 4
[all …]
/linux/arch/xtensa/variants/test_kc705_be/include/variant/
H A Dtie-asm.h11 Copyright (c) 1999-2015 Cadence Design Systems Inc.
61 * (register must contain a 4 byte aligned address).
80 xchal_sa_align \ptr, 0, 1020, 4, 4
83 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
85 xchal_sa_align \ptr, 0, 1020, 4, 4
86 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
90 xchal_sa_align \ptr, 0, 1016, 4, 4
94 s32i \at1, \ptr, .Lxchal_ofs_+4
97 xchal_sa_align \ptr, 0, 1016, 4, 4
102 xchal_sa_align \ptr, 0, 1000, 4, 4
[all …]
/linux/drivers/media/usb/go7007/
H A Dgo7007-fw.c3 * Copyright (C) 2005-2006 Micronas USA Inc.
34 #define FLAG_MODE_H263 (1<<4)
44 #define SPECIAL_AV_SYNC 4
82 3, 3, 3, 3, 3, 4, 4, 4, 4, 4,
93 3, 3, 3, 3, 3, 4, 4, 4, 4, 4,
94 4, 4, 4, 4, 5, 5, 5, 5, 5, 6,
104 static const s16 LAMBDA_table[4][101] = {
169 { 0x01, 1 }, { 0x03, 3 }, { 0x02, 3 }, { 0x03, 4 },
170 { 0x02, 4 }, { 0x03, 5 }, { 0x02, 5 }, { 0x07, 7 },
198 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
[all …]
/linux/include/dt-bindings/pinctrl/
H A Dpinctrl-sg2000.h3 * Copyright (C) 2024 Inochi Amaoto <inochiama@outlook.com>
17 #define PIN_MIPIRX0N PINPOS('A', 4)
27 #define PIN_MIPIRX0P PINPOS('B', 4)
38 #define PIN_MIPI_TXP2 PINPOS('C', 1)
39 #define PIN_MIPI_TXM2 PINPOS('C', 2)
40 #define PIN_CAM_PD0 PINPOS('C', 3)
41 #define PIN_CAM_MCLK0 PINPOS('C', 4)
42 #define PIN_MIPIRX1P PINPOS('C', 5)
43 #define PIN_MIPIRX2P PINPOS('C', 6)
44 #define PIN_MIPIRX3N PINPOS('C', 7)
[all …]

12345678910>>...128