Home
last modified time | relevance | path

Searched refs:protect (Results 1 – 25 of 202) sorted by relevance

123456789

/linux/Documentation/misc-devices/
A Deeprom.rst38 Atmel 34C02B 2K 0x50 - 0x57, SW write protect at 0x30-37
39 Catalyst 34FC02 2K 0x50 - 0x57, SW write protect at 0x30-37
40 Catalyst 34RC02 2K 0x50 - 0x57, SW write protect at 0x30-37
41 Fairchild 34W02 2K 0x50 - 0x57, SW write protect at 0x30-37
42 Microchip 24AA52 2K 0x50 - 0x57, SW write protect at 0x30-37
43 ST M34C02 2K 0x50 - 0x57, SW write protect at 0x30-37
78 software write protect register at 0x30 - 0x37 (0x20 less than the memory
82 this address will write protect the memory array permanently, and the
/linux/tools/laptop/freefall/
A Dfreefall.c80 static void protect(int seconds) in protect() function
102 protect(0); in ignore_me()
162 protect(21); in main()
/linux/arch/arm64/include/asm/
A Dkfence.h15 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
17 set_memory_valid(addr, 1, !protect); in kfence_protect_page()
/linux/arch/powerpc/include/asm/
A Dkfence.h19 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
23 if (protect) { in kfence_protect_page()
/linux/arch/parisc/include/asm/
A Dkfence.h22 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
34 if (protect) in kfence_protect_page()
/linux/arch/s390/include/asm/
A Dkfence.h36 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
38 __kernel_map_pages(virt_to_page(addr), 1, !protect); in kfence_protect_page()
/linux/tools/testing/selftests/powerpc/mm/
A Dpkey_siginfo.c97 static void *protect(void *p) in protect() function
301 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test()
309 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test()
317 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test()
/linux/drivers/target/
A Dtarget_core_sbc.c664 protect ? TARGET_PROT_DOUT_PASS : in sbc_set_prot_op_checks()
666 switch (protect) { in sbc_set_prot_op_checks()
685 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks()
690 protect ? TARGET_PROT_DIN_PASS : in sbc_set_prot_op_checks()
692 switch (protect) { in sbc_set_prot_op_checks()
711 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks()
728 if (unlikely(protect && in sbc_check_prot()
743 if (protect) in sbc_check_prot()
765 if (!protect) in sbc_check_prot()
770 "PROTECT: 0x%02x\n", cmd->t_task_cdb[0], protect); in sbc_check_prot()
[all …]
/linux/arch/x86/include/asm/
A Dkfence.h41 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
56 if (protect) in kfence_protect_page()
/linux/arch/x86/kernel/
A Dmachine_kexec_64.c518 kexec_mark_range(unsigned long start, unsigned long end, bool protect) in kexec_mark_range() argument
532 if (protect) in kexec_mark_range()
538 static void kexec_mark_crashkres(bool protect) in kexec_mark_crashkres() argument
542 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres()
547 kexec_mark_range(crashk_res.start, control + PAGE_SIZE - 1, protect); in kexec_mark_crashkres()
549 kexec_mark_range(control, crashk_res.end, protect); in kexec_mark_crashkres()
/linux/Documentation/devicetree/bindings/sound/
A Dqcom,msm8916-wcd-analog.txt15 "cdc_spk_ocp_int" - Speaker over current protect interrupt.
21 "cdc_ear_ocp_int" - Earphone over current protect interrupt.
22 "cdc_hphr_ocp_int" - Headphone R over current protect interrupt.
23 "cdc_hphl_ocp_det" - Headphone L over current protect interrupt.
/linux/arch/riscv/include/asm/
A Dkfence.h49 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
53 if (protect) in kfence_protect_page()
/linux/arch/s390/kernel/
A Dmachine_kexec.c159 static void crash_protect_pages(int protect) in crash_protect_pages() argument
166 if (protect) in crash_protect_pages()
/linux/Documentation/devicetree/bindings/nvmem/
A Dnvmem.yaml36 GPIO to which the write-protect pin of the chip is connected.
37 The write-protect GPIO is asserted, when it's driven high
/linux/drivers/irqchip/
A Dirq-vic.c71 u32 protect; member
112 writel(vic->protect, base + VIC_PROTECT); in resume_one_vic()
141 vic->protect = readl(base + VIC_PROTECT); in suspend_one_vic()
/linux/drivers/mtd/devices/
A Ddocg3.c1668 int protect, dps0, dps0_low, dps0_high, dps1, dps1_low, dps1_high; in protection_show() local
1671 protect = doc_register_readb(docg3, DOC_PROTECTION); in protection_show()
1680 seq_printf(s, "Protection = 0x%02x (", protect); in protection_show()
1681 if (protect & DOC_PROTECT_FOUNDRY_OTP_LOCK) in protection_show()
1683 if (protect & DOC_PROTECT_CUSTOMER_OTP_LOCK) in protection_show()
1685 if (protect & DOC_PROTECT_LOCK_INPUT) in protection_show()
1687 if (protect & DOC_PROTECT_STICKY_LOCK) in protection_show()
1689 if (protect & DOC_PROTECT_PROTECTION_ENABLED) in protection_show()
1691 if (protect & DOC_PROTECT_IPL_DOWNLOAD_LOCK) in protection_show()
1693 if (protect & DOC_PROTECT_PROTECTION_ERROR) in protection_show()
/linux/drivers/iommu/
A Dmtk_iommu_v1.c548 void *protect; in mtk_iommu_probe() local
558 protect = devm_kzalloc(dev, MTK_PROTECT_PA_ALIGN * 2, in mtk_iommu_probe()
560 if (!protect) in mtk_iommu_probe()
562 data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN); in mtk_iommu_probe()
/linux/drivers/gpu/drm/nouveau/dispnv04/
A Dhw.h243 static inline void NVVgaProtect(struct drm_device *dev, int head, bool protect) in NVVgaProtect() argument
247 if (protect) { in NVVgaProtect()
255 NVSetEnablePalette(dev, head, protect); in NVVgaProtect()
/linux/Documentation/devicetree/bindings/mmc/
A Dmmc-controller.yaml100 When set, no physical write-protect line is present. This
102 dedicated write-protect detection logic. If a GPIO is always used
103 for the write-protect detection logic, it is sufficient to not
104 specify the wp-gpios property in the absence of a write-protect
110 GPIO to use for the write-protect detection.
/linux/drivers/input/mouse/
A Dpsmouse.h153 bool protect; member
175 .protect = _protect, \
/linux/Documentation/driver-api/thermal/
A Dnouveau_thermal.rst28 In order to protect the GPU from overheating, Nouveau supports 4 configurable
38 Shut the computer down to protect your GPU.
/linux/Documentation/RCU/
A DarrayRCU.rst6 Although RCU is more commonly used to protect linked lists, it can
7 also be used to protect arrays. Three situations are as follows:
17 of RCU to instead protect the index into an array, however, this use
/linux/drivers/gpu/host1x/
A DKconfig20 Say yes if kernel should protect command streams from tampering.
/linux/Documentation/security/
A Dlsm-development.rst7 what it tries to protect against and in what cases one would expect to
/linux/Documentation/devicetree/bindings/memory-controllers/
A Darm,pl172.txt63 - mpmc,write-protect: Enable write protect.

Completed in 39 milliseconds

123456789