Searched refs:wce (Results 1 – 5 of 5) sorted by relevance
84 __u8 wce; member
521 struct virtio_blk_config, wce, in virtblk_get_cache_mode()561 virtio_cwrite8(vdev, offsetof(struct virtio_blk_config, wce), i); in virtblk_cache_type_store()
3441 bool wce = false; in target_check_wce() local3444 wce = dev->transport->get_write_cache(dev); in target_check_wce()3446 wce = true; in target_check_wce()3448 return wce; in target_check_wce()
158 int ct, rcd, wce, sp; in cache_type_store() local186 wce = (ct & 0x02) && !sdkp->write_prot ? 1 : 0; in cache_type_store()189 sdkp->WCE = wce; in cache_type_store()203 buffer_data[2] |= wce << 2 | rcd; in cache_type_store()
3869 u8 wce; in ata_mselect_caching() local3885 wce = buf[0] & (1 << 2); in ata_mselect_caching()3904 tf->feature = wce ? SETFEATURES_WC_ON : SETFEATURES_WC_OFF; in ata_mselect_caching()