Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/scsi/
H A Dsd-parameters.rst12 cache_type string WCE RCD Write cache Read cache
H A 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
/openbmc/qemu/tests/qemu-iotests/
H A D157.out4 === Setting WCE with qdev and with manually created BB ===
/openbmc/linux/drivers/scsi/
H A 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()
2837 int old_wce = sdkp->WCE; in sd_read_cache_type()
2942 sdkp->WCE = ((buffer[offset + 2] & 0x04) != 0); in sd_read_cache_type()
2945 sdkp->WCE = ((buffer[offset + 2] & 0x01) == 0); in sd_read_cache_type()
2961 if (sdkp->WCE && sdkp->write_prot) in sd_read_cache_type()
2962 sdkp->WCE = 0; in sd_read_cache_type()
2964 if (sdkp->first_scan || old_wce != sdkp->WCE || in sd_read_cache_type()
2968 sdkp->WCE ? "enabled" : "disabled", in sd_read_cache_type()
[all …]
H A Dsd.h137 unsigned WCE : 1; /* state of disk WCE bit */ member
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas.h661 u32 WCE:1; member
679 u32 WCE:1;