Home
last modified time | relevance | path

Searched refs:dix (Results 1 – 3 of 3) sorted by relevance

/drivers/scsi/
Dsd_dif.c306 int dif, dix; in sd_dif_config_host() local
309 dix = scsi_host_dix_capable(sdp->host, type); in sd_dif_config_host()
311 if (!dix && scsi_host_dix_capable(sdp->host, 0)) { in sd_dif_config_host()
312 dif = 0; dix = 1; in sd_dif_config_host()
315 if (!dix) in sd_dif_config_host()
Dsd.c308 unsigned int dif, dix; in sd_show_protection_mode() local
311 dix = scsi_host_dix_capable(sdp->host, sdkp->protection_type); in sd_show_protection_mode()
313 if (!dix && scsi_host_dix_capable(sdp->host, SD_DIF_TYPE0_PROTECTION)) { in sd_show_protection_mode()
315 dix = 1; in sd_show_protection_mode()
318 if (!dif && !dix) in sd_show_protection_mode()
321 return snprintf(buf, 20, "%s%u\n", dix ? "dix" : "dif", dif); in sd_show_protection_mode()
584 unsigned int dix = scsi_prot_sg_count(scmd); in sd_prot_op() local
587 if (dif && dix) in sd_prot_op()
589 else if (dif && !dix) in sd_prot_op()
591 else if (!dif && dix) in sd_prot_op()
[all …]
Dscsi_debug.c2743 module_param_named(dix, scsi_debug_dix, int, S_IRUGO);
2786 MODULE_PARM_DESC(dix, "data integrity extensions mask (def=0)");
3167 DRIVER_ATTR(dix, S_IRUGO, sdebug_dix_show, NULL);