Home
last modified time | relevance | path

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

/Linux-v6.6/Documentation/scsi/
Dsd-parameters.rst12 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-v6.6/drivers/scsi/
Dsd.c125 if (sdkp->WCE) { in sd_set_flush_flag()
169 sdkp->WCE = wce; in cache_type_store()
343 int ct = sdkp->RCD + 2*sdkp->WCE; in cache_type_show()
2830 int old_wce = sdkp->WCE; in sd_read_cache_type()
2935 sdkp->WCE = ((buffer[offset + 2] & 0x04) != 0); in sd_read_cache_type()
2938 sdkp->WCE = ((buffer[offset + 2] & 0x01) == 0); in sd_read_cache_type()
2954 if (sdkp->WCE && sdkp->write_prot) in sd_read_cache_type()
2955 sdkp->WCE = 0; in sd_read_cache_type()
2957 if (sdkp->first_scan || old_wce != sdkp->WCE || in sd_read_cache_type()
2961 sdkp->WCE ? "enabled" : "disabled", in sd_read_cache_type()
[all …]
Dsd.h137 unsigned WCE : 1; /* state of disk WCE bit */ member
/Linux-v6.6/drivers/scsi/megaraid/
Dmegaraid_sas.h661 u32 WCE:1; member
679 u32 WCE:1;