Home
last modified time | relevance | path

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

/drivers/scsi/
Dmyrs.c1559 if (ldev_info->ldev_control.wce == MYRS_LOGICALDEVICE_RO) in myrs_mode_sense()
1572 if (ldev_info->ldev_control.wce == MYRS_WRITECACHE_ENABLED || in myrs_mode_sense()
1573 ldev_info->ldev_control.wce == MYRS_INTELLIGENT_WRITECACHE_ENABLED) in myrs_mode_sense()
1906 if (ldev_info->ldev_control.wce == MYRS_WRITECACHE_ENABLED || in myrs_slave_configure()
1907 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.c139 int ct, rcd, wce, sp; in cache_type_store() local
167 wce = (ct & 0x02) && !sdkp->write_prot ? 1 : 0; in cache_type_store()
170 sdkp->WCE = wce; in cache_type_store()
184 buffer_data[2] |= wce << 2 | rcd; in cache_type_store()
/drivers/target/
Dtarget_core_transport.c3660 bool wce = false; in target_check_wce() local
3663 wce = dev->transport->get_write_cache(dev); in target_check_wce()
3665 wce = true; in target_check_wce()
3667 return wce; in target_check_wce()
/drivers/block/
Dvirtio_blk.c1137 struct virtio_blk_config, wce, in virtblk_get_cache_mode()
1176 virtio_cwrite8(vdev, offsetof(struct virtio_blk_config, wce), i); in cache_type_store()
/drivers/ata/
Dlibata-scsi.c3675 u8 wce; in ata_mselect_caching() local
3688 wce = buf[0] & (1 << 2); in ata_mselect_caching()
3707 tf->feature = wce ? SETFEATURES_WC_ON : SETFEATURES_WC_OFF; in ata_mselect_caching()