Searched refs:WCE (Results 1 – 2 of 2) sorted by relevance
141 if (sdkp->WCE) { in sd_set_flush_flag()191 sdkp->WCE = wce; in cache_type_store()275 int ct = sdkp->RCD + 2*sdkp->WCE; in cache_type_show()2385 int old_wce = sdkp->WCE; in sd_read_cache_type()2489 sdkp->WCE = ((buffer[offset + 2] & 0x04) != 0); in sd_read_cache_type()2492 sdkp->WCE = ((buffer[offset + 2] & 0x01) == 0); in sd_read_cache_type()2507 if (sdkp->WCE && sdkp->write_prot) in sd_read_cache_type()2508 sdkp->WCE = 0; in sd_read_cache_type()2510 if (sdkp->first_scan || old_wce != sdkp->WCE || in sd_read_cache_type()2514 sdkp->WCE ? "enabled" : "disabled", in sd_read_cache_type()[all …]
84 unsigned WCE : 1; /* state of disk WCE bit */ member