Searched refs:protection_type (Results 1 – 3 of 3) sorted by relevance
45 u8 type = sdkp->protection_type; in sd_dif_config_host()119 if (sdkp->protection_type == SD_DIF_TYPE3_PROTECTION) in sd_dif_prepare()170 if (sdkp->protection_type == SD_DIF_TYPE3_PROTECTION || good_bytes == 0) in sd_dif_complete()
80 u8 protection_type;/* Data Integrity Field */ member
296 return snprintf(buf, 20, "%u\n", sdkp->protection_type); in protection_type_show()316 sdkp->protection_type = val; in protection_type_store()320 static DEVICE_ATTR_RW(protection_type);330 dif = scsi_host_dif_capable(sdp->host, sdkp->protection_type); in protection_mode_show()331 dix = scsi_host_dix_capable(sdp->host, sdkp->protection_type); in protection_mode_show()1011 dif = scsi_host_dif_capable(SCpnt->device->host, sdkp->protection_type); in sd_setup_read_write_cmnd()1018 if (protect && sdkp->protection_type == SD_DIF_TYPE2_PROTECTION) { in sd_setup_read_write_cmnd()1885 if (sdkp->first_scan || type != sdkp->protection_type) in sd_read_protection_type()1902 sdkp->protection_type = type; in sd_read_protection_type()2501 if (sdkp->protection_type == 0) in sd_read_app_tag_own()