Home
last modified time | relevance | path

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

12345678

/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_catalog.c698 .protect = &a630_protect,
729 .protect = &a630_protect,
748 .protect = &a630_protect,
779 .protect = &a630_protect,
804 .protect = &a630_protect,
829 .protect = &a630_protect,
854 .protect = &a630_protect,
879 .protect = &a630_protect,
905 .protect = &a650_protect,
928 .protect = &a650_protect,
[all …]
H A Da8xx_gpu.c228 const struct adreno_protect *protect = adreno_gpu->info->a6xx->protect; in a8xx_set_cp_protect() local
246 for (i = 0; i < protect->count; i++) { in a8xx_set_cp_protect()
248 if (protect->regs[i]) { in a8xx_set_cp_protect()
249 gpu_write(gpu, REG_A8XX_CP_PROTECT_GLOBAL(i), protect->regs[i]); in a8xx_set_cp_protect()
250 final_cfg = protect->regs[i]; in a8xx_set_cp_protect()
258 a8xx_write_pipe(gpu, PIPE_BR, REG_A8XX_CP_PROTECT_PIPE(protect->count_max), final_cfg); in a8xx_set_cp_protect()
259 a8xx_write_pipe(gpu, PIPE_BV, REG_A8XX_CP_PROTECT_PIPE(protect->count_max), final_cfg); in a8xx_set_cp_protect()
/linux/arch/arm64/include/asm/
H A Dkfence.h13 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
15 set_memory_valid(addr, 1, !protect); in kfence_protect_page()
/linux/tools/laptop/freefall/
H A Dfreefall.c80 static void protect(int seconds) in protect() function
102 protect(0); in ignore_me()
162 protect(21); in main()
/linux/arch/parisc/include/asm/
H 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/riscv/include/asm/
H A Dkfence.h16 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
20 if (protect) in kfence_protect_page()
/linux/arch/x86/kernel/
H A Dmachine_kexec_64.c630 kexec_mark_range(unsigned long start, unsigned long end, bool protect) in kexec_mark_range() argument
644 if (protect) in kexec_mark_range()
650 static void kexec_mark_crashkres(bool protect) in kexec_mark_crashkres() argument
654 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres()
658 kexec_mark_range(crashk_res.start, control - 1, protect); in kexec_mark_crashkres()
660 kexec_mark_range(control, crashk_res.end, protect); in kexec_mark_crashkres()
664 static void kexec_mark_dm_crypt_keys(bool protect) in kexec_mark_dm_crypt_keys() argument
673 if (protect) in kexec_mark_dm_crypt_keys()
/linux/arch/x86/include/asm/
H 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/arm/include/asm/
H A Dkfence.h46 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
48 set_memory_valid(addr, 1, !protect); in kfence_protect_page()
/linux/drivers/target/
H A Dtarget_core_sbc.c606 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument
611 protect ? TARGET_PROT_DOUT_PASS : in sbc_set_prot_op_checks()
613 switch (protect) { in sbc_set_prot_op_checks()
632 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks()
637 protect ? TARGET_PROT_DIN_PASS : in sbc_set_prot_op_checks()
639 switch (protect) { in sbc_set_prot_op_checks()
658 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks()
667 sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char protect, in sbc_check_prot() argument
675 if (unlikely(protect && in sbc_check_prot()
690 if (protect) in sbc_check_prot()
[all …]
/linux/arch/loongarch/include/asm/
H A Dkfence.h52 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument
59 if (protect) in kfence_protect_page()
/linux/tools/testing/selftests/powerpc/dexcr/
H A DMakefile9 $(OUTPUT)/hashchk_test: CFLAGS += -fno-pie -no-pie $(call cc-option,-mno-rop-protect)
/linux/drivers/irqchip/
H A Dirq-vic.c70 u32 protect; member
111 writel(vic->protect, base + VIC_PROTECT); in resume_one_vic()
140 vic->protect = readl(base + VIC_PROTECT); in suspend_one_vic()
/linux/drivers/mtd/devices/
H A Ddocg3.c1676 int protect, dps0, dps0_low, dps0_high, dps1, dps1_low, dps1_high; in protection_show() local
1679 protect = doc_register_readb(docg3, DOC_PROTECTION); in protection_show()
1688 seq_printf(s, "Protection = 0x%02x (", protect); in protection_show()
1689 if (protect & DOC_PROTECT_FOUNDRY_OTP_LOCK) in protection_show()
1691 if (protect & DOC_PROTECT_CUSTOMER_OTP_LOCK) in protection_show()
1693 if (protect & DOC_PROTECT_LOCK_INPUT) in protection_show()
1695 if (protect & DOC_PROTECT_STICKY_LOCK) in protection_show()
1697 if (protect & DOC_PROTECT_PROTECTION_ENABLED) in protection_show()
1699 if (protect & DOC_PROTECT_IPL_DOWNLOAD_LOCK) in protection_show()
1701 if (protect & DOC_PROTECT_PROTECTION_ERROR) in protection_show()
/linux/drivers/gpu/drm/nouveau/dispnv04/
H 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/driver-api/thermal/
H 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/drivers/input/mouse/
H A Dpsmouse.h155 bool protect; member
177 .protect = _protect, \
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A DMakefile5 iwlmld-y += mld.o notif.o mac80211.o fw.o power.o iface.o link.o rx.o mcc.o session-protect.o phy.o
/linux/drivers/gpu/host1x/
H A DKconfig26 Say yes if kernel should protect command streams from tampering.
/linux/drivers/iommu/
H A Dmtk_iommu_v1.c615 void *protect; in mtk_iommu_v1_probe() local
625 protect = devm_kcalloc(dev, 2, MTK_PROTECT_PA_ALIGN, in mtk_iommu_v1_probe()
627 if (!protect) in mtk_iommu_v1_probe()
629 data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN); in mtk_iommu_v1_probe()
/linux/Documentation/security/
H A Dlsm-development.rst7 what it tries to protect against and in what cases one would expect to
/linux/drivers/net/wireless/ti/wl18xx/
H A Dscan.h54 u8 protect; /* ??? */ member
H A Dscan.c62 cmd->protect = 0; in wl18xx_scan_send()
198 cmd->protect = 0; in wl18xx_scan_sched_scan_config()
/linux/Documentation/devicetree/bindings/mtd/
H A Dlpc32xx-mlc.txt7 - gpios: GPIO specification for NAND write protect
/linux/Documentation/security/tpm/
H A Dtpm-security.rst32 evaporate. However, the goal of this document is to protect TPM
72 interception which HMAC protection alone cannot protect against, so
151 protect the integrity. Additionally, we use parameter encryption to
152 protect key sealing and parameter decryption to protect key unsealing

12345678