Home
last modified time | relevance | path

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

/drivers/scsi/
Dsd_dif.c46 int dif, dix; in sd_dif_config_host() local
49 dix = scsi_host_dix_capable(sdp->host, type); in sd_dif_config_host()
51 if (!dix && scsi_host_dix_capable(sdp->host, 0)) { in sd_dif_config_host()
52 dif = 0; dix = 1; in sd_dif_config_host()
55 if (!dix) in sd_dif_config_host()
Dsd.h178 static inline unsigned int sd_prot_op(bool write, bool dix, bool dif) in sd_prot_op() argument
192 return ops[write << 2 | dix << 1 | dif]; in sd_prot_op()
Dsd.c328 unsigned int dif, dix; in protection_mode_show() local
331 dix = scsi_host_dix_capable(sdp->host, sdkp->protection_type); in protection_mode_show()
333 if (!dix && scsi_host_dix_capable(sdp->host, SD_DIF_TYPE0_PROTECTION)) { in protection_mode_show()
335 dix = 1; in protection_mode_show()
338 if (!dif && !dix) in protection_mode_show()
341 return snprintf(buf, 20, "%s%u\n", dix ? "dix" : "dif", dif); in protection_mode_show()
616 unsigned int dix, unsigned int dif) in sd_setup_protect_cmnd() argument
619 unsigned int prot_op = sd_prot_op(rq_data_dir(scmd->request), dix, dif); in sd_setup_protect_cmnd()
622 if (dix) { /* DIX Type 0, 1, 2, 3 */ in sd_setup_protect_cmnd()
911 unsigned int dif, dix; in sd_setup_read_write_cmnd() local
[all …]
Dscsi_debug.c3144 module_param_named(dix, scsi_debug_dix, int, S_IRUGO);
3190 MODULE_PARM_DESC(dix, "data integrity extensions mask (def=0)");
3656 static DRIVER_ATTR_RO(dix);