Home
last modified time | relevance | path

Searched refs:WCE (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/Documentation/scsi/
Dsd-parameters.txt8 cache_type string | WCE RCD | Write cache | Read cache
DChangeLog.megaraid_sas499 ii. FW enables WCE bit in Mode Sense cmd for drives that are configured
501 Disks are exposed with WCE=1. User is advised to enable Write Back
/Linux-v4.19/drivers/scsi/
Dsd.c145 if (sdkp->WCE) { in sd_set_flush_flag()
189 sdkp->WCE = wce; in cache_type_store()
282 int ct = sdkp->RCD + 2*sdkp->WCE; in cache_type_show()
2668 int old_wce = sdkp->WCE; in sd_read_cache_type()
2772 sdkp->WCE = ((buffer[offset + 2] & 0x04) != 0); in sd_read_cache_type()
2775 sdkp->WCE = ((buffer[offset + 2] & 0x01) == 0); in sd_read_cache_type()
2791 if (sdkp->WCE && sdkp->write_prot) in sd_read_cache_type()
2792 sdkp->WCE = 0; in sd_read_cache_type()
2794 if (sdkp->first_scan || old_wce != sdkp->WCE || in sd_read_cache_type()
2798 sdkp->WCE ? "enabled" : "disabled", in sd_read_cache_type()
[all …]
Dsd.h103 unsigned WCE : 1; /* state of disk WCE bit */ member
/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas.h658 u32 WCE:1; member
676 u32 WCE:1;