Home
last modified time | relevance | path

Searched +full:1 +full:- +full:47 (Results 1 – 25 of 1058) sorted by relevance

12345678910>>...43

/linux-6.14.4/Documentation/translations/zh_CN/core-api/
Dpacking.rst1 .. SPDX-License-Identifier: GPL-2.0+
3 .. include:: ../disclaimer-zh_CN.rst
5 :Original: Documentation/core-api/packing.rst
22 --------
42 --------
46 - 将一个CPU可使用的数字打包到内存缓冲区中(具有硬件约束/特殊性)。
47 - 将内存缓冲区(具有硬件约束/特殊性)解压缩为一个CPU可使用的数字。
54 以下示例介绍了打包u64字段的内存布局。打包缓冲区中的字节偏移量始终默认为0,1...7。
57 1. 通常情况下(无特殊性),我们会这样做:
61 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/verifier/
Ddirect_value_access.c2 "direct map access, write test 1",
4 BPF_MOV64_IMM(BPF_REG_0, 1),
9 .fixup_map_array_48b = { 1 },
11 .retval = 1,
16 BPF_MOV64_IMM(BPF_REG_0, 1),
21 .fixup_map_array_48b = { 1 },
23 .retval = 1,
28 BPF_MOV64_IMM(BPF_REG_0, 1),
33 .fixup_map_array_48b = { 1 },
35 .retval = 1,
[all …]
/linux-6.14.4/arch/x86/mm/
Dmmap.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright 2003-2009 Red Hat Inc.
21 #include <linux/elf-randomize.h>
28 .flags = -1,
44 if (current->flags & PF_RANDOMIZE) { in stack_maxrandom_size()
45 max = (-1UL) & __STACK_RND_MASK(task_size == task_size_32bit()); in stack_maxrandom_size()
64 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
65 return 1; in mmap_is_legacy()
72 if (!(current->flags & PF_RANDOMIZE)) in arch_rnd()
74 return (get_random_long() & ((1UL << rndbits) - 1)) << PAGE_SHIFT; in arch_rnd()
[all …]
/linux-6.14.4/tools/testing/selftests/hid/tests/
Dtest_multitouch.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
20 KERNEL_MODULE = ("hid-multitouch", "hid_multitouch")
24 return 1 << x
29 "SLOT_IS_CONTACTID": BIT(1),
109 input_info=(BusType.USB, 1, 2), argument
130 self.max_contacts = 1
155 self.scantime += 1
179 return (1, [])
187 return (1, [])
[all …]
/linux-6.14.4/arch/arm64/tools/
Dsysreg1 # SPDX-License-Identifier: GPL-2.0-only
52 # NI - Not implemented
53 # IMP - Implemented
95 Res0 5:1
109 Sysreg OSLAR_EL1 2 0 1 0 4
110 Res0 63:1
114 Sysreg ID_PFR0_EL1 3 0 0 1 0
155 Sysreg ID_PFR1_EL1 3 0 0 1 1
195 Sysreg ID_DFR0_EL1 3 0 0 1 2
247 Sysreg ID_AFR0_EL1 3 0 0 1 3
[all …]
/linux-6.14.4/Documentation/hwmon/
Dsmsc47m1.rst16 http://www.smsc.com/media/Downloads_Public/Data_Sheets/47b272.pdf
18 http://www.smsc.com/media/Downloads_Public/Data_Sheets/47m10x.pdf
20 http://www.smsc.com/media/Downloads_Public/Data_Sheets/47m112.pdf
44 - Mark D. Studebaker <[email protected]>,
45 - With assistance from Bruce Allen <[email protected]>, and his
48 - http://www.lsc-group.phys.uwm.edu/%7Eballen/driver/
50 - Gabriele Gorla <[email protected]>,
51 - Jean Delvare <[email protected]>
54 -----------
56 The Standard Microsystems Corporation (SMSC) 47M1xx Super I/O chips
[all …]
/linux-6.14.4/drivers/infiniband/hw/irdma/
Ddefs.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /* Copyright (c) 2015 - 2021 Intel Corporation */
14 #define IRDMA_PE_DB_SIZE_4M 1
18 #define IRDMA_IRD_HW_SIZE_16 1
25 IRDMA_IWARP_PROTOCOL_ONLY = 1,
30 #define IRDMA_QP_STATE_IDLE 1
56 #define RDMA_READ_REQ_OPCODE 1
60 #define IRDMA_TERM_SENT 1
65 #define IRDMA_CQP_WAIT_POLL_REGS 1
87 #define IRDMA_TCP_STATE_CLOSED 1
[all …]
/linux-6.14.4/drivers/media/i2c/
Dtvp514x.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * TI TVP5146/47 decoder driver
15 * Karicheri Muralidharan <m-[email protected]>
26 #include <linux/v4l2-mediabus.h>
30 #include <media/media-entity.h>
31 #include <media/v4l2-async.h>
32 #include <media/v4l2-common.h>
33 #include <media/v4l2-ctrls.h>
34 #include <media/v4l2-device.h>
35 #include <media/v4l2-fwnode.h>
[all …]
/linux-6.14.4/Documentation/core-api/
Dpacking.rst6 -----------------
10 One can memory-map a pointer to a carefully crafted struct over the hardware
23 were performed byte-by-byte. Also the code can easily get cluttered, and the
24 high-level idea might get lost among the many bit shifts required.
25 Many drivers take the bit-shifting approach and then attempt to reduce the
30 ------------
34 - Packing a CPU-usable number into a memory buffer (with hardware
36 - Unpacking a memory buffer (which has hardware constraints/quirks)
37 into a CPU-usable number.
48 The byte offsets in the packed buffer are always implicitly 0, 1, ... 7.
[all …]
/linux-6.14.4/drivers/hid/
Dhid-appleir.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Ported to recent 2.6 kernel versions by Greg Kroah-Hartman <[email protected]>
11 * Copyright (C) 2008 Greg Kroah-Hartman <[email protected]>
21 #include "hid-ids.h"
34 * 25 87 ee 83 0c -
45 * 25 87 ee ca 0d -
60 * 25 87 ee 47 0b +
61 * 25 87 ee 47 0d -
62 * 25 87 ee 47 08 <<
63 * 25 87 ee 47 07 >>
[all …]
/linux-6.14.4/arch/alpha/kernel/
Dsys_dp264.c1 // SPDX-License-Identifier: GPL-2.0
50 unsigned long isa_enable = 1UL << 55; in tsunami_update_irq_hw()
59 mask1 = mask & cpu_irq_affinity[1]; in tsunami_update_irq_hw()
64 else if (bcpu == 1) mask1 |= isa_enable; in tsunami_update_irq_hw()
68 dim0 = &cchip->dim0.csr; in tsunami_update_irq_hw()
69 dim1 = &cchip->dim1.csr; in tsunami_update_irq_hw()
70 dim2 = &cchip->dim2.csr; in tsunami_update_irq_hw()
71 dim3 = &cchip->dim3.csr; in tsunami_update_irq_hw()
73 if (!cpu_possible(1)) dim1 = &dummy; in tsunami_update_irq_hw()
88 if (bcpu == 0) dimB = &cchip->dim0.csr; in tsunami_update_irq_hw()
[all …]
/linux-6.14.4/arch/x86/include/asm/
Dpage_64_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define KASAN_STACK_ORDER 1
18 #define EXCEPTION_STACK_ORDER (1 + KASAN_STACK_ORDER)
28 #define IST_INDEX_NMI 1
37 * The gap is to allow a space for LDT remap for PTI (1 pgd slot) and space for
57 #define __VIRTUAL_MASK_SHIFT (pgtable_l5_enabled() ? 56 : 47)
60 #define __VIRTUAL_MASK_SHIFT 47
61 #define task_size_max() ((_AC(1,UL) << __VIRTUAL_MASK_SHIFT) - PAGE_SIZE)
65 #define DEFAULT_MAP_WINDOW ((1UL << 47) - PAGE_SIZE)
70 #define IA32_PAGE_OFFSET ((current->personality & ADDR_LIMIT_3GB) ? \
[all …]
Dkasan.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 ((-1UL << __VIRTUAL_MASK_SHIFT) >> \
19 * 47 bits for kernel address -> (47 - KASAN_SHADOW_SCALE_SHIFT) bits for shadow
20 * 56 bits for kernel address -> (56 - KASAN_SHADOW_SCALE_SHIFT) bits for shadow
23 (1ULL << (__VIRTUAL_MASK_SHIFT - \
/linux-6.14.4/arch/arm/boot/dts/aspeed/
Daspeed-bmc-delta-ahe50dc.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
4 #include "aspeed-g4.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
9 compatible = "regulator-output"; \
10 vout-supply = <&efuse##n>; \
19 shunt-resistor-micro-ohms = <675>; \
22 regulator-name = __stringify(efuse##num##-reg); \
28 model = "Delta Power AHE-50DC";
29 compatible = "delta,ahe50dc-bmc", "aspeed,ast2400";
[all …]
/linux-6.14.4/include/dt-bindings/clock/
Dimx8ulp-clock.h1 /* SPDX-License-Identifier: GPL-2.0+ OR MIT */
54 #define IMX8ULP_CLK_SOSC_DIV3_GATE 47
68 #define IMX8ULP_CLK_PLL4 1
114 #define IMX8ULP_CLK_HIFI_DIVPLAT 47
121 #define IMX8ULP_CLK_WDOG4 1
167 #define IMX8ULP_CLK_MU0_B 47
173 #define IMX8ULP_CLK_TPM6 1
200 #define IMX8ULP_CLK_SAI6 1
246 #define IMX8ULP_CLK_DMA2_CH27 47
Dgoogle,gs101.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
13 #define CLK_FOUT_SHARED0_PLL 1
61 #define CLK_MOUT_CMU_HSI0_USB31DRD 47
244 #define CLK_MOUT_APM_FUNC 1
290 #define CLK_GOUT_APM_CLK_APM_USI1_UART_CLK 47
317 #define CLK_FOUT_USB_PLL 1
363 #define CLK_GOUT_HSI0_USB31DRD_I_USBPCS_APB_CLK 47
371 #define CLK_MOUT_HSI2_BUS_USER 1
417 #define CLK_GOUT_HSI2_SYSREG_HSI2_PCLK 47
433 #define CLK_MOUT_MISC_BUS_USER 1
[all …]
/linux-6.14.4/tools/testing/selftests/x86/
Dsysret_rip.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sigreturn.c - tests that x86 avoids Intel SYSRET pitfalls
4 * Copyright (c) 2014-2016 Andrew Lutomirski
43 err(1, "sigaction"); in sethandler()
53 err(1, "sigaction"); in clearhandler()
65 if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { in sigsegv_for_sigreturn_test()
67 rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RIP]); in sigsegv_for_sigreturn_test()
69 _exit(1); in sigsegv_for_sigreturn_test()
72 memcpy(&ctx->uc_mcontext.gregs, &initial_regs, sizeof(gregset_t)); in sigsegv_for_sigreturn_test()
81 memcpy(&initial_regs, &ctx->uc_mcontext.gregs, sizeof(gregset_t)); in sigusr1()
[all …]
/linux-6.14.4/Documentation/arch/arm64/
Dkasan-offsets.sh7 printf "%02d\t" $1
8 printf "0x%08x00000000\n" $(( (0xffffffff & (-1 << ($1 - 1 - 32))) \
9 - (1 << (64 - 32 - $2)) ))
15 print_kasan_offset 47 3
23 print_kasan_offset 47 4
/linux-6.14.4/drivers/media/platform/verisilicon/
Dhantro_g2_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
24 #define G2_REG_INTERRUPT G2_SWREG(1)
34 #define BUS_WIDTH_64 1
115 #define g2_tile_e G2_DEC_REG(10, 1, 0x1)
133 #define g2_transq_bypass G2_DEC_REG(12, 1, 0x1)
194 #define vp9_segment_upd_e G2_DEC_REG(13, 1, 0x1)
233 #define hevc_cur_poc_04 G2_DEC_REG(47, 24, 0xff)
234 #define hevc_cur_poc_05 G2_DEC_REG(47, 16, 0xff)
235 #define hevc_cur_poc_06 G2_DEC_REG(47, 8, 0xff)
236 #define hevc_cur_poc_07 G2_DEC_REG(47, 0, 0xff)
[all …]
/linux-6.14.4/drivers/staging/media/ipu3/
Dipu3-tables.c1 // SPDX-License-Identifier: GPL-2.0
4 #include "ipu3-tables.h"
10 /* Scale factor 32 / (32 + 0) = 1 */
22 /* Scale factor 32 / (32 + 1) = 0.969697 */
25 { 0, 0, 122, 7, 7, -1, 0 },
26 { 0, -3, 122, 7, 10, -1, 0 },
27 { 0, -5, 121, 7, 14, -2, 0 },
28 { 0, -7, 120, 7, 18, -3, 0 },
29 { 0, -9, 118, 7, 23, -4, 0 },
30 { 0, -11, 116, 7, 27, -4, 0 },
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hubbub/dcn20/
Ddcn20_hubbub.c32 hubbub1->regs->reg
35 hubbub1->base.ctx
39 hubbub1->shifts->field_name, hubbub1->masks->field_name
42 hubbub1->regs->reg
45 hubbub1->base.ctx
49 hubbub1->shifts->field_name, hubbub1->masks->field_name
91 if (bytes_per_element == 1) { in hubbub2_dcc_support_swizzle()
176 if (bytes_per_element == 1) { in hubbub2_get_blk256_size()
221 struct dc *dc = hubbub->ctx->dc; in hubbub2_get_dcc_compression_cap()
230 if (dc->debug.disable_dcc == DCC_DISABLE) in hubbub2_get_dcc_compression_cap()
[all …]
/linux-6.14.4/arch/s390/include/asm/
Dnmi.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 #define MCIC_SUBCLASS_MASK (1ULL<<63 | 1ULL<<62 | 1ULL<<61 | \
18 1ULL<<59 | 1ULL<<58 | 1ULL<<56 | \
19 1ULL<<55 | 1ULL<<54 | 1ULL<<53 | \
20 1ULL<<52 | 1ULL<<47 | 1ULL<<46 | \
21 1ULL<<45 | 1ULL<<44)
23 #define MCCK_CODE_EXT_DAMAGE BIT(63 - 5)
24 #define MCCK_CODE_CP BIT(63 - 9)
25 #define MCCK_CODE_STG_ERROR BIT(63 - 16)
26 #define MCCK_CODE_STG_KEY_ERROR BIT(63 - 18)
[all …]
/linux-6.14.4/arch/arm/boot/dts/xilinx/
Dzynq-7000.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2011 - 2014 Xilinx
7 #address-cells = <1>;
8 #size-cells = <1>;
9 compatible = "xlnx,zynq-7000";
12 #address-cells = <1>;
13 #size-cells = <0>;
16 compatible = "arm,cortex-a9";
20 clock-latency = <1000>;
21 cpu0-supply = <&regulator_vccpint>;
[all …]
/linux-6.14.4/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c1 // SPDX-License-Identifier: GPL-2.0-only
41 _exit(1); in child()
47 _exit(1); in child()
54 _exit(1); in child()
58 case 1: in child()
59 *addr = 47; in child()
62 *(uint16_t *)addr = 47; in child()
65 *(uint32_t *)addr = 47; in child()
68 *(uint64_t *)addr = 47; in child()
85 const unsigned int byte_mask = ((1 << size) - 1) << offset; in set_watchpoint()
[all …]
/linux-6.14.4/tools/testing/selftests/hid/
Dhid_bpf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2022-2024 Red Hat */
26 if (self->hidraw_fd) in detach_bpf()
27 close(self->hidraw_fd); in detach_bpf()
28 self->hidraw_fd = 0; in detach_bpf()
30 if (!self->skel) in detach_bpf()
33 hid__detach(self->skel); in detach_bpf()
35 for (i = 0; i < ARRAY_SIZE(self->hid_links); i++) { in detach_bpf()
36 if (self->hid_links[i]) in detach_bpf()
37 bpf_link__destroy(self->hid_links[i]); in detach_bpf()
[all …]

12345678910>>...43