Searched refs:wce (Results 1 – 6 of 6) sorted by relevance
632 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()
1557 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()
428 } __packed wce:3; /* Byte 8 Bits 3-5 */ member
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()
3601 bool wce = false; in target_check_wce() local3604 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()
3571 u8 wce; in ata_mselect_caching() local3587 wce = buf[0] & (1 << 2); in ata_mselect_caching()3606 tf->feature = wce ? SETFEATURES_WC_ON : SETFEATURES_WC_OFF; in ata_mselect_caching()