/linux/drivers/pinctrl/sunplus/ |
H A D | sppctl_sp7021.c | 14 #define D(x, y) ((x) * 8 + (y)) macro 15 #define P(x, y) PINCTRL_PIN(D(x, y), D_PIS(x, y)) 18 D_PIS(0, 0), D_PIS(0, 1), D_PIS(0, 2), D_PIS(0, 3), 20 D_PIS(1, 0), D_PIS(1, 1), D_PIS(1, 2), D_PIS(1, 3), 21 D_PIS(1, 4), D_PIS(1, 5), D_PIS(1, 6), D_PIS(1, 7), 22 D_PIS(2, 0), D_PIS(2, 1), D_PIS(2, 2), D_PIS(2, 3), 24 D_PIS(3, 0), D_PIS(3, 1), D_PIS(3, 2), D_PIS(3, 3), 26 D_PIS(4, 0), D_PIS(4, 1), D_PIS(4, 2), D_PIS(4, 3), 28 D_PIS(5, 0), D_PIS(5, 1), D_PIS(5, 2), D_PIS(5, 3), 30 D_PIS(6, 0), D_PIS(6, 1), D_PIS(6, 2), D_PIS(6, 3), [all …]
|
/linux/arch/arm64/crypto/ |
H A D | sha3-ce-core.S | 15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 16 .set .Lv\b\().2d, \b 46 ld1 { v0.1d- v3.1d}, [x0] 47 ld1 { v4.1d- v7.1d}, [x8], #32 48 ld1 { v8.1d-v11.1d}, [x8], #32 49 ld1 {v12.1d-v15.1d}, [x8], #32 50 ld1 {v16.1d-v19.1d}, [x8], #32 51 ld1 {v20.1d-v23.1d}, [x8], #32 52 ld1 {v24.1d}, [x8] 54 0: sub w2, w2, #1 [all …]
|
H A D | ghash-ce-core.S | 64 pmull \rd\().1q, \rn\().1d, \rm\().1d 68 pmull2 \rd\().1q, \rn\().2d, \rm\().2d 72 ext t3.8b, \ad\().8b, \ad\().8b, #1 // A1 107 pmull\t \rq\().8h, \ad, \bd // D = A*B 113 uzp1 t4.2d, t3.2d, t5.2d 114 uzp2 t3.2d, t3.2d, t5.2d 115 uzp1 t6.2d, t7.2d, t9.2d 116 uzp2 t7.2d, t7.2d, t9.2d 131 zip2 t5.2d, t4.2d, t3.2d 132 zip1 t3.2d, t4.2d, t3.2d [all …]
|
H A D | sm4-ce-gcm-core.S | 18 .irp b, 0, 1, 2, 3, 24, 25, 26, 27, 28, 29, 30, 31 41 pmull r0.1q, m0.1d, m1.1d; \ 42 pmull T1.1q, m0.1d, T0.1d; \ 43 pmull2 T0.1q, m0.2d, T0.2d; \ 44 pmull2 r1.1q, m0.2d, m1.2d; \ 59 pmull r0.1q, m0.1d, m1.1d; \ 60 pmull r2.1q, m2.1d, m3.1d; \ 61 pmull r4.1q, m4.1d, m5.1d; \ 62 pmull r6.1q, m6.1d, m7.1d; \ 63 pmull T1.1q, m0.1d, T0.1d; \ [all …]
|
H A D | sha512-ce-core.S | 15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 17 .set .Lv\b\().2d, \b 85 ld1 {v\rc1\().2d}, [x4], #16 87 add v5.2d, v\rc0\().2d, v\in0\().2d 91 add v\i3\().2d, v\i3\().2d, v5.2d 94 sha512su0 v\in0\().2d, v\in1\().2d 96 sha512h q\i3, q6, v7.2d 98 sha512su1 v\in0\().2d, v\in2\().2d, v5.2d 100 add v\i4\().2d, v\i1\().2d, v\i3\().2d 101 sha512h2 q\i3, q\i1, v\i0\().2d [all …]
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_rogue_fwif_sf.h | 79 { ROGUE_FW_LOG_CREATESFID(1, ROGUE_FW_GROUP_MAIN, 6), 80 "Kick 3D: FWCtx 0x%08.8x @ %d, RTD 0x%08x. Partial render:%d, CSW resume:%d, prio:%d" }, 82 "3D finished, HWRTData0State=%x, HWRTData1State=%x" }, 84 "Kick 3D TQ: FWCtx 0x%08.8x @ %d, CSW resume:%d, prio: %d" }, 86 "3D Transfer finished" }, 88 "Kick Compute: FWCtx 0x%08.8x @ %d, prio: %d" }, 92 … "Kick TA: FWCtx 0x%08.8x @ %d, RTD 0x%08x. First kick:%d, Last kick:%d, CSW resume:%d, prio:%d" }, 102 "Kick TLA: FWCtx 0x%08.8x @ %d, prio:%d" }, 106 "cCCB Woff update = %d, DM = %d, FWCtx = 0x%08.8x" }, 108 "UFO Checks for FWCtx 0x%08.8x @ %d" }, [all …]
|
/linux/include/math-emu/ |
H A D | double.h | 47 ((_FP_W_TYPE)1 << (_FP_FRACBITS_D-2) % _FP_W_TYPE_SIZE) 49 ((_FP_W_TYPE)1 << (_FP_FRACBITS_D-1) % _FP_W_TYPE_SIZE) 51 ((_FP_W_TYPE)1 << _FP_WFRACBITS_D % _FP_W_TYPE_SIZE) 60 unsigned sign : 1; 68 unsigned sign : 1; 74 #define FP_UNPACK_RAW_D(X,val) _FP_UNPACK_RAW_2(D,X,val) 75 #define FP_UNPACK_RAW_DP(X,val) _FP_UNPACK_RAW_2_P(D,X,val) 76 #define FP_PACK_RAW_D(val,X) _FP_PACK_RAW_2(D,val,X) 80 _FP_PACK_RAW_2_P(D,val,X); \ 85 _FP_UNPACK_RAW_2(D,X,val); \ [all …]
|
/linux/sound/usb/ |
H A D | validate.c | 22 #define UAC_VERSION_ALL (unsigned char)(-1) 28 const struct uac1_ac_header_descriptor *d = p; in validate_uac1_header() local 30 return d->bLength >= sizeof(*d) && in validate_uac1_header() 31 d->bLength >= sizeof(*d) + d->bInCollection; in validate_uac1_header() 38 const struct uac_mixer_unit_descriptor *d = p; in validate_mixer_unit() local 41 if (d->bLength < sizeof(*d) || !d->bNrInPins) in validate_mixer_unit() 43 len = sizeof(*d) + d->bNrInPins; in validate_mixer_unit() 51 len += 2 + 1; /* wChannelConfig, iChannelNames */ in validate_mixer_unit() 53 len += 1; /* iMixer */ in validate_mixer_unit() 56 len += 4 + 1; /* bmChannelConfig, iChannelNames */ in validate_mixer_unit() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dump.c | 29 struct btf_dump *d; in btf_dump_all_types() local 32 d = btf_dump__new(btf, btf_dump_printf, ctx, NULL); in btf_dump_all_types() 33 err = libbpf_get_error(d); in btf_dump_all_types() 37 for (id = 1; id < type_cnt; id++) { in btf_dump_all_types() 38 err = btf_dump__dump_type(d, id); in btf_dump_all_types() 44 btf_dump__free(d); in btf_dump_all_types() 52 int err = 0, fd = -1; in test_btf_dump_case() 72 CHECK(btf__pointer_size(btf) != 8, "ptr_sz", "exp %d, got %zu\n", in test_btf_dump_case() 83 if (CHECK(f == NULL, "open_tmp", "failed to open file: %s(%d)\n", in test_btf_dump_case() 92 if (CHECK(err, "btf_dump", "failure during C dumping: %d\ in test_btf_dump_case() 136 struct btf_dump *d = NULL; test_btf_dump_incremental() local 269 btf_dump_data(struct btf * btf,struct btf_dump * d,char * name,char * prefix,__u64 flags,void * ptr,size_t ptr_sz,char * str,const char * expected_val) btf_dump_data() argument 350 test_btf_dump_int_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_int_data() argument 408 test_btf_dump_float_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_float_data() argument 453 test_btf_dump_char_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_char_data() argument 475 test_btf_dump_typedef_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_typedef_data() argument 530 test_btf_dump_enum_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_enum_data() argument 566 test_btf_dump_struct_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_struct_data() argument 801 test_btf_dump_var_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_var_data() argument 812 test_btf_datasec(struct btf * btf,struct btf_dump * d,char * str,const char * name,const char * expected_val,void * data,size_t data_sz) test_btf_datasec() argument 842 struct btf_dump *d; test_btf_dump_datasec_data() local 862 struct btf_dump *d; test_btf_dump() local [all...] |
H A D | select_reuseport.c | 37 static int reuseport_array = -1, outer_map = -1; 60 return -1; \ 74 "reuseport_array:%d errno:%d\n", reuseport_array, errno); in create_maps() 79 sizeof(__u32), sizeof(__u32), 1, &opts); in create_maps() 81 "outer_map:%d errno:%d\n", outer_map, errno); in create_maps() 95 "obj:%p PTR_ERR(obj):%d\n", obj, err); in prepare_bpf_obj() 100 RET_ERR(err, "reuse outer_map", "err:%d\n", err); in prepare_bpf_obj() 103 RET_ERR(err, "load bpf_object", "err:%d\n", err); in prepare_bpf_obj() 109 "select_by_skb_data_prog:%d\n", select_by_skb_data_prog); in prepare_bpf_obj() 115 "result_map:%d\n", result_map); in prepare_bpf_obj() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | fieldseq_bt.svg | 21 borderopacity="1" 41 inkscape:window-maximized="1" 52 …d="M 0,6040 0,0 l 5650,0 0,6040 -5650,0 z m 4786.76,-99.89 103.92,0 0,56.69 -103.92,0 0,0 85.03,-2… 57 d="m 188.622,346.001 93.5352,0 0,42.516 -93.5352,0 0,-42.516 z" 58 …oke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" 61 d="m 375.693,346.001 93.5352,0 0,42.516 -93.5352,0 0,-42.516 z" 62 …oke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" 65 d="m 282.157,346.001 93.5355,0 0,42.516 -93.5355,0 0,-42.516 z" 66 …oke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" 69 d="m 469.228,346.001 93.5352,0 0,42.516 -93.5352,0 0,-42.516 z" [all …]
|
H A D | fieldseq_tb.svg | 21 borderopacity="1" 41 inkscape:window-maximized="1" 52 …d="M 0,6000 0,0 l 5660,0 0,6000 -5660,0 z m 4786.76,-102.89 103.92,0 0,56.69 -103.92,0 0,0 85.03,-… 57 d="m 379.944,571.287 85.032,0 0,4.25156 -85.032,0 0,-4.25156 z" 58 style="fill:#d10000;fill-opacity:1;fill-rule:evenodd;stroke:none" 61 d="m 379.944,571.287 85.032,0 0,4.25156 -85.032,0 0,-4.25156 z" 62 …oke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" 65 d="m 379.944,562.784 85.032,0 0,4.25156 -85.032,0 0,-4.25156 z" 66 style="fill:#d10000;fill-opacity:1;fill-rule:evenodd;stroke:none" 69 d="m 379.944,562.784 85.032,0 0,4.25156 -85.032,0 0,-4.25156 z" [all …]
|
H A D | pixfmt-tch-td16.rst | 30 :widths: 2 1 1 1 1 1 1 1 1 33 - D'\ :sub:`00low` 34 - D'\ :sub:`00high` 35 - D'\ :sub:`01low` 36 - D'\ :sub:`01high` 37 - D'\ :sub:`02low` 38 - D'\ :sub:`02high` 39 - D'\ :sub:`03low` 40 - D'\ :sub:`03high` 42 - D'\ :sub:`10low` [all …]
|
/linux/arch/x86/crypto/ |
H A D | des3_ede-asm_64.S | 68 * 1-way 3DES 80 movl val##d, RT0d; \ 90 orl RT0d, val##d; 93 do_permutation(left##d, right##d, 4, 0x0f0f0f0f); \ 94 do_permutation(left##d, right##d, 16, 0x0000ffff); \ 95 do_permutation(right##d, left##d, 2, 0x33333333); \ 96 do_permutation(right##d, left##d, 8, 0x00ff00ff); \ 98 movl left##d, RW0d; \ 99 roll $1, right##d; \ 100 xorl right##d, RW0d; \ [all …]
|
/linux/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 30 #define OPTARG_NORMAL (INT_MAX - 1) 105 fprintf(stderr, "other: --hwp-enable | --turbo-enable (0 | 1) | --help | --force\n"); in usage() 113 exit(1); in usage() 131 fprintf(stderr, "%d = ratio_to_msr_perf(%d)\n", msr_perf, ratio); in ratio_2_msr_perf() 138 double d; in msr_perf_2_ratio() local 143 d = (double)msr_perf * (double) bdx_highest_ratio / 255.0; in msr_perf_2_ratio() 144 d = d + 0.5; /* round */ in msr_perf_2_ratio() 145 ratio = (int)d; in msr_perf_2_ratio() 148 fprintf(stderr, "%d = msr_perf_ratio(%d) {%f}\n", ratio, msr_perf, d); in msr_perf_2_ratio() 155 errx(1, "EPB not enabled on this platform"); in parse_cmdline_epb() [all …]
|
/linux/arch/m68k/math-emu/ |
H A D | multi_arith.h | 29 reg->lowmant = reg->mant.m32[1] << (8 - cnt); in fp_denormalize() 30 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | in fp_denormalize() 35 reg->lowmant = reg->mant.m32[1] >> (cnt - 8); in fp_denormalize() 36 if (reg->mant.m32[1] << (40 - cnt)) in fp_denormalize() 37 reg->lowmant |= 1; in fp_denormalize() 38 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | in fp_denormalize() 43 asm volatile ("bfextu %1{%2,#8},%0" : "=d" (reg->lowmant) in fp_denormalize() 44 : "m" (reg->mant.m32[0]), "d" (64 - cnt)); in fp_denormalize() 45 if (reg->mant.m32[1] << (40 - cnt)) in fp_denormalize() 46 reg->lowmant |= 1; in fp_denormalize() [all …]
|
/linux/tools/perf/tests/ |
H A D | time-utils-test.c | 21 pr_debug("error %d\n", err); in test__parse_nsec_time() 45 pr_debug("Error %d\n", err); in test__perf_time__parse_str() 70 static bool test__perf_time__parse_for_ranges(struct test_data *d) in test__perf_time__parse_for_ranges() argument 73 .first_sample_time = d->first, in test__perf_time__parse_for_ranges() 74 .last_sample_time = d->last, in test__perf_time__parse_for_ranges() 82 pr_debug("\nperf_time__parse_for_ranges(\"%s\")\n", d->str); in test__perf_time__parse_for_ranges() 84 if (strchr(d->str, '%')) in test__perf_time__parse_for_ranges() 86 d->first, d->last); in test__perf_time__parse_for_ranges() 88 err = perf_time__parse_for_ranges(d->str, &session, &ptime, &range_size, in test__perf_time__parse_for_ranges() 91 pr_debug("error %d\n", err); in test__perf_time__parse_for_ranges() [all …]
|
/linux/Documentation/staging/ |
H A D | lzo.rst | 43 around 255:1). The variable length encoding using #bits is always the same:: 45 length = byte & ((1 << #bits) - 1) 47 length = ((1 << #bits) - 1) 59 After any instruction except the large literal copy, 0, 1, 2 or 3 literals 84 1: LZO-RLE 86 Version 1 of LZO implements an extension to encode runs of zeros using run 93 e.g.: version 1 only. 108 (version 1 only). 132 If last instruction used to copy between 1 to 3 literals (encoded in 134 2-byte block from the dictionary within a 1kB distance. It is worth [all …]
|
/linux/arch/powerpc/crypto/ |
H A D | md5-asm.S | 61 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument 63 and rT0,b,c; /* 1: f = b and c */ \ 65 andc rT1,d,b; /* 1: f' = ~b and d */ \ 67 or rT0,rT0,rT1; /* 1: f = f or f' */ \ 68 addi w0,w0,k0l; /* 1: wk = w + k */ \ 69 add a,a,rT0; /* 1: a = a + f */ \ 70 addis w0,w0,k0h; /* 1: wk = w + k' */ \ 72 add a,a,w0; /* 1: a = a + wk */ \ 74 rotrwi a,a,p; /* 1: a = a rotl x */ \ 75 add d,d,w1; /* 2: a = a + wk */ \ [all …]
|
/linux/lib/raid6/ |
H A D | rvv.c | 30 unsigned long vl, d; in raid6_rvv1_gen_syndrome_real() local 34 p = dptr[z0 + 1]; /* XOR parity */ in raid6_rvv1_gen_syndrome_real() 45 for (d = 0; d < bytes; d += NSIZE * 1) { in raid6_rvv1_gen_syndrome_real() 46 /* wq$$ = wp$$ = *(unative_t *)&dptr[z0][d+$$*NSIZE]; */ in raid6_rvv1_gen_syndrome_real() 53 [wp0]"r"(&dptr[z0][d + 0 * NSIZE]) in raid6_rvv1_gen_syndrome_real() 56 for (z = z0 - 1 ; z >= 0 ; z--) { in raid6_rvv1_gen_syndrome_real() 62 * wd$$ = *(unative_t *)&dptr[z][d+$$*NSIZE]; in raid6_rvv1_gen_syndrome_real() 69 "vsll.vi v3, v1, 1\n" in raid6_rvv1_gen_syndrome_real() 77 [wd0]"r"(&dptr[z][d + 0 * NSIZE]), in raid6_rvv1_gen_syndrome_real() 83 * *(unative_t *)&p[d+NSIZE*$$] = wp$$; in raid6_rvv1_gen_syndrome_real() [all …]
|
/linux/arch/loongarch/mm/ |
H A D | page.S | 13 lu12i.w t0, 1 << (PAGE_SHIFT - 12) 14 add.d t0, t0, a0 15 1: 16 st.d zero, a0, 0 17 st.d zero, a0, 8 18 st.d zero, a0, 16 19 st.d zero, a0, 24 20 st.d zero, a0, 32 21 st.d zero, a0, 40 22 st.d zero, a0, 48 [all …]
|
/linux/drivers/video/fbdev/ |
H A D | c2p_core.h | 22 static inline void _transp(u32 d[], unsigned int i1, unsigned int i2, in _transp() argument 25 u32 t = (d[i1] ^ (d[i2] >> shift)) & mask; in _transp() 27 d[i1] ^= t; in _transp() 28 d[i2] ^= t << shift; in _transp() 35 case 1: in get_mask() 60 static __always_inline void transp8(u32 d[], unsigned int n, unsigned int m) in transp8() argument 65 case 1: in transp8() 66 /* First n x 1 block */ in transp8() 67 _transp(d, 0, 1, n, mask); in transp8() 68 /* Second n x 1 block */ in transp8() [all …]
|
/linux/drivers/acpi/acpica/ |
H A D | acmacros.h | 54 #define ACPI_MOVE_16_TO_16(d, s) {(( u8 *)(void *)(d))[0] = ((u8 *)(void *)(s))[1];\ argument 55 (( u8 *)(void *)(d))[1] = ((u8 *)(void *)(s))[0];} 57 #define ACPI_MOVE_16_TO_32(d, s) {(*(u32 *)(void *)(d))=0;\ argument 58 ((u8 *)(void *)(d))[2] = ((u8 *)(void *)(s))[1];\ 59 ((u8 *)(void *)(d))[3] = ((u8 *)(void *)(s))[0];} 61 #define ACPI_MOVE_16_TO_64(d, s) {(*(u64 *)(void *)(d))=0;\ argument 62 ((u8 *)(void *)(d))[6] = ((u8 *)(void *)(s))[1];\ 63 ((u8 *)(void *)(d))[7] = ((u8 *)(void *)(s))[0];} 67 #define ACPI_MOVE_32_TO_16(d, s) ACPI_MOVE_16_TO_16(d, s) /* Truncate to 16 */ argument 69 #define ACPI_MOVE_32_TO_32(d, s) {(( u8 *)(void *)(d))[0] = ((u8 *)(void *)(s))[3];\ argument [all …]
|
/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | dvb_usb_core.c | 22 static int dvb_usbv2_download_firmware(struct dvb_usb_device *d, in dvb_usbv2_download_firmware() argument 27 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_download_firmware() 29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware() 34 ret = request_firmware(&fw, name, &d->udev->dev); in dvb_usbv2_download_firmware() 36 dev_err(&d->udev->dev, in dvb_usbv2_download_firmware() 37 …"%s: Did not find the firmware file '%s' (status %d). You can use <kernel_dir>/scripts/get_dvb_fir… in dvb_usbv2_download_firmware() 42 dev_info(&d->udev->dev, "%s: downloading firmware from file '%s'\n", in dvb_usbv2_download_firmware() 45 ret = d->props->download_firmware(d, fw); in dvb_usbv2_download_firmware() 52 dev_dbg(&d->udev->dev, "%s: failed=%d\n", __func__, ret); in dvb_usbv2_download_firmware() 56 static int dvb_usbv2_i2c_init(struct dvb_usb_device *d) in dvb_usbv2_i2c_init() argument [all …]
|
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | sg2042-cpus.dtsi | 8 #address-cells = <1>; 261 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 268 d-cache-block-size = <64>; 269 d-cache-size = <65536>; 270 d-cache-sets = <512>; 277 #interrupt-cells = <1>; 281 cpu1: cpu@1 { 286 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 289 reg = <1>; 293 d-cache-block-size = <64>; [all …]
|