/openbmc/u-boot/drivers/pch/ |
H A D | sandbox_pch.c | 11 bool protect; member 18 return priv->protect; in sandbox_get_pch_spi_protect() 28 static int sandbox_pch_set_spi_protect(struct udevice *dev, bool protect) in sandbox_pch_set_spi_protect() argument 32 priv->protect = protect; in sandbox_pch_set_spi_protect()
|
H A D | pch7.c | 25 static int pch7_set_spi_protect(struct udevice *dev, bool protect) in pch7_set_spi_protect() argument 31 if (protect) in pch7_set_spi_protect()
|
H A D | pch-uclass.c | 22 int pch_set_spi_protect(struct udevice *dev, bool protect) in pch_set_spi_protect() argument 29 return ops->set_spi_protect(dev, protect); in pch_set_spi_protect()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kfence.h | 24 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 28 __kernel_map_pages(page, 1, !protect); in kfence_protect_page() 33 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 37 if (protect) { in kfence_protect_page()
|
/openbmc/linux/Documentation/misc-devices/ |
H A D | eeprom.rst | 38 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
|
/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/ |
H A D | eflash.c | 109 flash_info[0].protect[i] = 0; in flash_init() 120 flash_info[0].protect[i] = (tmp >> (i%32)) & 1; in flash_init() 123 flash_info[0].protect[i] = 1; in flash_init() 144 info->protect[i] ? " (RO)" : " " in flash_print_info() 184 info->protect[i] = (tmp >> (i%32)) & 1; in flash_real_protect()
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | armada-385-atl-x530.dts | 11 nand-protect { 12 compatible = "atl,nand-protect"; 13 protect-gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
|
H A D | armada-385-atl-x530DP.dts | 12 nand-protect { 13 compatible = "atl,nand-protect"; 14 protect-gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | kfence.h | 15 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()
|
/openbmc/linux/tools/laptop/freefall/ |
H A D | freefall.c | 80 static void protect(int seconds) in protect() function 102 protect(0); in ignore_me() 162 protect(21); in main()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | kfence.h | 36 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 38 __kernel_map_pages(virt_to_page((void *)addr), 1, !protect); in kfence_protect_page()
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | kfence.h | 22 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 34 if (protect) in kfence_protect_page()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | kfence.h | 16 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 20 if (protect) in kfence_protect_page()
|
/openbmc/qemu/hw/intc/ |
H A D | allwinner-a10-pic.c | 69 return s->protect; in aw_a10_pic_read() 102 s->protect = value; in aw_a10_pic_write() 148 VMSTATE_UINT32(protect, AwA10PICState), 178 s->protect = 0; in aw_a10_pic_reset()
|
/openbmc/u-boot/board/freescale/m5253demo/ |
H A D | flash.c | 63 info->protect[0] = 0; in flash_get_offsets() 67 info->protect[i] = 0; in flash_get_offsets() 120 info->start[i], info->protect[i] ? " (RO)" : " "); in flash_print_info() 207 if (info->protect[sect]) { in flash_erase() 265 if (info->protect[sect] == 0) { /* not protected */ in flash_erase()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | kfence.h | 41 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 56 if (protect) in kfence_protect_page()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | kfence.h | 46 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()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | kfence.h | 42 static inline bool kfence_protect_page(unsigned long addr, bool protect) in kfence_protect_page() argument 49 if (protect) in kfence_protect_page()
|
/openbmc/u-boot/include/ |
H A D | pch.h | 49 int (*set_spi_protect)(struct udevice *dev, bool protect); 106 int pch_set_spi_protect(struct udevice *dev, bool protect);
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_siginfo.c | 97 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()
|
/openbmc/u-boot/board/cobra5272/ |
H A D | flash.c | 47 info->protect[i] ? " (RO)" : " "); in flash_print_info() 69 memset (flash_info[i].protect, 0, CONFIG_SYS_MAX_FLASH_SECT); in flash_init() 152 if (info->protect[sect]) { in flash_erase() 180 if (info->protect[sect] == 0) { /* not protected */ in flash_erase()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_sbc.c | 606 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 …]
|
/openbmc/u-boot/common/ |
H A D | flash.c | 67 info->protect[i] = 0; in flash_protect() 75 info->protect[i] = 1; in flash_protect() 148 (info->protect[i] != 0) ) { in flash_write()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | machine_kexec_64.c | 553 kexec_mark_range(unsigned long start, unsigned long end, bool protect) in kexec_mark_range() argument 567 if (protect) in kexec_mark_range() 573 static void kexec_mark_crashkres(bool protect) in kexec_mark_crashkres() argument 577 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres() 581 kexec_mark_range(crashk_res.start, control - 1, protect); in kexec_mark_crashkres() 583 kexec_mark_range(control, crashk_res.end, protect); in kexec_mark_crashkres()
|
/openbmc/u-boot/arch/x86/cpu/intel_common/ |
H A D | lpc.c | 83 int lpc_set_spi_protect(struct udevice *dev, int bios_ctrl, bool protect) in lpc_set_spi_protect() argument 89 if (protect) { in lpc_set_spi_protect()
|