Home
last modified time | relevance | path

Searched refs:wce (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/include/uapi/linux/
Dvirtio_blk.h84 __u8 wce; member
/Linux-v4.19/drivers/block/
Dvirtio_blk.c521 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()
/Linux-v4.19/drivers/target/
Dtarget_core_transport.c3441 bool wce = false; in target_check_wce() local
3444 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()
/Linux-v4.19/drivers/scsi/
Dsd.c158 int ct, rcd, wce, sp; in cache_type_store() local
186 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()
/Linux-v4.19/drivers/ata/
Dlibata-scsi.c3869 u8 wce; in ata_mselect_caching() local
3885 wce = buf[0] & (1 << 2); in ata_mselect_caching()
3904 tf->feature = wce ? SETFEATURES_WC_ON : SETFEATURES_WC_OFF; in ata_mselect_caching()