Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/scsi/
Dsd.c137 if (sdkp->WCE) { in sd_set_flush_flag()
181 sdkp->WCE = wce; in cache_type_store()
280 int ct = sdkp->RCD + 2*sdkp->WCE; in cache_type_show()
2637 int old_wce = sdkp->WCE; in sd_read_cache_type()
2742 sdkp->WCE = ((buffer[offset + 2] & 0x04) != 0); in sd_read_cache_type()
2745 sdkp->WCE = ((buffer[offset + 2] & 0x01) == 0); in sd_read_cache_type()
2761 if (sdkp->WCE && sdkp->write_prot) in sd_read_cache_type()
2762 sdkp->WCE = 0; in sd_read_cache_type()
2764 if (sdkp->first_scan || old_wce != sdkp->WCE || in sd_read_cache_type()
2768 sdkp->WCE ? "enabled" : "disabled", in sd_read_cache_type()
[all …]
Dsd.h136 unsigned WCE : 1; /* state of disk WCE bit */ member
/linux-6.1.9/drivers/scsi/megaraid/
Dmegaraid_sas.h661 u32 WCE:1; member
679 u32 WCE:1;