Searched refs:protection_type (Results 1 – 3 of 3) sorted by relevance
45 u8 type = sdkp->protection_type; in sd_dif_config_host()124 if (sdkp->protection_type == SD_DIF_TYPE3_PROTECTION) in sd_dif_prepare()175 if (sdkp->protection_type == SD_DIF_TYPE3_PROTECTION || good_bytes == 0) in sd_dif_complete()
81 u8 protection_type;/* Data Integrity Field */ member
298 return snprintf(buf, 20, "%u\n", sdkp->protection_type); in protection_type_show()318 sdkp->protection_type = val; in protection_type_store()322 static DEVICE_ATTR_RW(protection_type);332 dif = scsi_host_dif_capable(sdp->host, sdkp->protection_type); in protection_mode_show()333 dix = scsi_host_dix_capable(sdp->host, sdkp->protection_type); in protection_mode_show()1026 dif = scsi_host_dif_capable(SCpnt->device->host, sdkp->protection_type); in sd_setup_read_write_cmnd()1033 if (protect && sdkp->protection_type == SD_DIF_TYPE2_PROTECTION) { in sd_setup_read_write_cmnd()1995 if (sdkp->first_scan || type != sdkp->protection_type) in sd_read_protection_type()2012 sdkp->protection_type = type; in sd_read_protection_type()2608 if (sdkp->protection_type == 0) in sd_read_app_tag_own()