Searched refs:wce (Results 1 – 5 of 5) sorted by relevance
88 __u8 wce; member
3674 bool wce = false; in target_check_wce() local3677 wce = dev->transport->get_write_cache(dev); in target_check_wce()3679 wce = true; in target_check_wce()3681 return wce; in target_check_wce()
428 } __packed wce:3; /* Byte 8 Bits 3-5 */ member
142 int ct, rcd, wce, sp; in cache_type_store() local170 wce = (ct & 0x02) && !sdkp->write_prot ? 1 : 0; in cache_type_store()175 sdkp->WCE = wce; in cache_type_store()195 buffer_data[2] |= wce << 2 | rcd; in cache_type_store()
3814 u8 wce; in ata_mselect_caching() local3827 wce = buf[0] & (1 << 2); in ata_mselect_caching()3846 tf->feature = wce ? SETFEATURES_WC_ON : SETFEATURES_WC_OFF; in ata_mselect_caching()