Searched refs:WCE (Results 1 – 5 of 5) sorted by relevance
8 cache_type string | WCE RCD | Write cache | Read cache
499 ii. FW enables WCE bit in Mode Sense cmd for drives that are configured501 Disks are exposed with WCE=1. User is advised to enable Write Back
145 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 …]
103 unsigned WCE : 1; /* state of disk WCE bit */ member
658 u32 WCE:1; member676 u32 WCE:1;