Home
last modified time | relevance | path

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

12

/drivers/target/
Dtarget_core_sbc.c671 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument
676 protect ? TARGET_PROT_DOUT_PASS : in sbc_set_prot_op_checks()
678 switch (protect) { in sbc_set_prot_op_checks()
697 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks()
702 protect ? TARGET_PROT_DIN_PASS : in sbc_set_prot_op_checks()
704 switch (protect) { in sbc_set_prot_op_checks()
723 pr_err("Unsupported protect field %d\n", protect); in sbc_set_prot_op_checks()
735 u8 protect = cdb[1] >> 5; in sbc_check_prot() local
741 if (unlikely(protect && in sbc_check_prot()
756 if (protect) in sbc_check_prot()
[all …]
/drivers/mtd/devices/
Ddocg3.c1763 int protect, dps0, dps0_low, dps0_high, dps1, dps1_low, dps1_high; in dbg_protection_show() local
1766 protect = doc_register_readb(docg3, DOC_PROTECTION); in dbg_protection_show()
1775 seq_printf(s, "Protection = 0x%02x (", protect); in dbg_protection_show()
1776 if (protect & DOC_PROTECT_FOUNDRY_OTP_LOCK) in dbg_protection_show()
1778 if (protect & DOC_PROTECT_CUSTOMER_OTP_LOCK) in dbg_protection_show()
1780 if (protect & DOC_PROTECT_LOCK_INPUT) in dbg_protection_show()
1782 if (protect & DOC_PROTECT_STICKY_LOCK) in dbg_protection_show()
1784 if (protect & DOC_PROTECT_PROTECTION_ENABLED) in dbg_protection_show()
1786 if (protect & DOC_PROTECT_IPL_DOWNLOAD_LOCK) in dbg_protection_show()
1788 if (protect & DOC_PROTECT_PROTECTION_ERROR) in dbg_protection_show()
/drivers/input/mouse/
Dpsmouse.h128 bool protect; member
150 .protect = _protect, \
Dpsmouse-base.c1706 if (attr->protect) { in psmouse_attr_set_helper()
1722 if (attr->protect) { in psmouse_attr_set_helper()
/drivers/irqchip/
Dirq-vic.c81 u32 protect; member
122 writel(vic->protect, base + VIC_PROTECT); in resume_one_vic()
151 vic->protect = readl(base + VIC_PROTECT); in suspend_one_vic()
/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h244 static inline void NVVgaProtect(struct drm_device *dev, int head, bool protect) in NVVgaProtect() argument
248 if (protect) { in NVVgaProtect()
256 NVSetEnablePalette(dev, head, protect); in NVVgaProtect()
/drivers/iommu/
Dmtk_iommu.c538 void *protect; in mtk_iommu_probe() local
547 protect = devm_kzalloc(dev, MTK_PROTECT_PA_ALIGN * 2, GFP_KERNEL); in mtk_iommu_probe()
548 if (!protect) in mtk_iommu_probe()
550 data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN); in mtk_iommu_probe()
Dmtk_iommu_v1.c583 void *protect; in mtk_iommu_probe() local
593 protect = devm_kzalloc(dev, MTK_PROTECT_PA_ALIGN * 2, in mtk_iommu_probe()
595 if (!protect) in mtk_iommu_probe()
597 data->protect_base = ALIGN(virt_to_phys(protect), MTK_PROTECT_PA_ALIGN); in mtk_iommu_probe()
/drivers/gpu/host1x/
DKconfig18 Say yes if kernel should protect command streams from tampering.
/drivers/nvme/host/
Dscsi.c524 u8 protect; in nvme_trans_standard_inquiry_page() local
535 protect = 0x01; in nvme_trans_standard_inquiry_page()
537 protect = 0; in nvme_trans_standard_inquiry_page()
544 inq_response[5] = protect; /* sccs=0 | acc=0 | tpgs=0 | pc3=0 */ in nvme_trans_standard_inquiry_page()
704 u8 grd_chk, app_chk, ref_chk, protect; in nvme_trans_ext_inq_page() local
720 protect = 0x01; in nvme_trans_ext_inq_page()
722 protect = 0; in nvme_trans_ext_inq_page()
725 grd_chk = protect << 2; in nvme_trans_ext_inq_page()
726 app_chk = protect << 1; in nvme_trans_ext_inq_page()
727 ref_chk = protect; in nvme_trans_ext_inq_page()
/drivers/net/wireless/ti/wl18xx/
Dscan.c76 cmd->protect = 0; in wl18xx_scan_send()
212 cmd->protect = 0; in wl18xx_scan_sched_scan_config()
Dscan.h68 u8 protect; /* ??? */ member
/drivers/scsi/
Dsd.c610 unsigned int protect = 0; in sd_setup_protect_cmnd() local
631 protect = 3 << 5; /* Disable target PI checking */ in sd_setup_protect_cmnd()
633 protect = 1 << 5; /* Enable target PI checking */ in sd_setup_protect_cmnd()
640 return protect; in sd_setup_protect_cmnd()
918 unsigned char protect; in sd_setup_read_write_cmnd() local
1039 protect = sd_setup_protect_cmnd(SCpnt, dix, dif); in sd_setup_read_write_cmnd()
1041 protect = 0; in sd_setup_read_write_cmnd()
1043 if (protect && sdkp->protection_type == T10_PI_TYPE2_PROTECTION) { in sd_setup_read_write_cmnd()
1056 SCpnt->cmnd[10] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_setup_read_write_cmnd()
1081 SCpnt->cmnd[1] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_setup_read_write_cmnd()
[all …]
/drivers/ras/
DKconfig6 of RAS have a multitude of features that protect data integrity
/drivers/infiniband/hw/qib/
Dqib_mad.h192 u8 protect; member
/drivers/mtd/ubi/
Dwl.c649 int err, scrubbing = 0, torture = 0, protect = 0, erroneous = 0; local
778 protect = 1;
820 protect = 1;
916 if (protect)
/drivers/gpu/drm/exynos/
Dexynos5433_drm_decon.c249 bool protect) in decon_shadow_protect_win() argument
252 protect ? ~0 : 0); in decon_shadow_protect_win()
Dexynos7_drm_decon.c372 unsigned int win, bool protect) in decon_shadow_protect_win() argument
379 if (protect) in decon_shadow_protect_win()
Dexynos_drm_fimd.c676 unsigned int win, bool protect) in fimd_shadow_protect_win() argument
699 if (protect) in fimd_shadow_protect_win()
/drivers/w1/slaves/
DKconfig77 Say Y here to protect DS2433 data with a CRC16.
/drivers/misc/eeprom/
DKconfig21 has any software write-protect mechanism you may want to review the
/drivers/extcon/
DKconfig114 and switch that is optimized to protect low voltage system
/drivers/staging/rtl8192e/
Dlicense34 To protect your rights, we need to make restrictions that forbid anyone to
44 We protect your rights with two steps: (1) copyright the software, and (2)
/drivers/staging/rtl8192u/
Dcopying28 To protect your rights, we need to make restrictions that forbid
39 We protect your rights with two steps: (1) copyright the software, and
/drivers/video/fbdev/
Ds3c-fb.c425 static void shadow_protect_win(struct s3c_fb_win *win, bool protect) in shadow_protect_win() argument
430 if (protect) { in shadow_protect_win()

12