Home
last modified time | relevance | path

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

/drivers/block/
Dvirtio_blk.c632 struct virtio_blk_config, wce, in virtblk_get_cache_mode()
671 virtio_cwrite8(vdev, offsetof(struct virtio_blk_config, wce), i); in cache_type_store()
/drivers/scsi/
Dmyrs.c1557 if (ldev_info->ldev_control.wce == MYRS_LOGICALDEVICE_RO) in myrs_mode_sense()
1570 if (ldev_info->ldev_control.wce == MYRS_WRITECACHE_ENABLED || in myrs_mode_sense()
1571 ldev_info->ldev_control.wce == MYRS_INTELLIGENT_WRITECACHE_ENABLED) in myrs_mode_sense()
1904 if (ldev_info->ldev_control.wce == MYRS_WRITECACHE_ENABLED || in myrs_slave_configure()
1905 ldev_info->ldev_control.wce == MYRS_INTELLIGENT_WRITECACHE_ENABLED) in myrs_slave_configure()
Dmyrs.h428 } __packed wce:3; /* Byte 8 Bits 3-5 */ member
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()
/drivers/target/
Dtarget_core_transport.c3601 bool wce = false; in target_check_wce() local
3604 wce = dev->transport->get_write_cache(dev); in target_check_wce()
3606 wce = true; in target_check_wce()
3608 return wce; in target_check_wce()
/drivers/ata/
Dlibata-scsi.c3571 u8 wce; in ata_mselect_caching() local
3587 wce = buf[0] & (1 << 2); in ata_mselect_caching()
3606 tf->feature = wce ? SETFEATURES_WC_ON : SETFEATURES_WC_OFF; in ata_mselect_caching()