Lines Matching refs:protect
599 unsigned int protect = 0; in sd_setup_protect_cmnd() local
620 protect = 3 << 5; /* Disable target PI checking */ in sd_setup_protect_cmnd()
622 protect = 1 << 5; /* Enable target PI checking */ in sd_setup_protect_cmnd()
629 return protect; in sd_setup_protect_cmnd()
894 unsigned char protect; in sd_setup_read_write_cmnd() local
1014 protect = sd_setup_protect_cmnd(SCpnt, dix, dif); in sd_setup_read_write_cmnd()
1016 protect = 0; in sd_setup_read_write_cmnd()
1018 if (protect && sdkp->protection_type == SD_DIF_TYPE2_PROTECTION) { in sd_setup_read_write_cmnd()
1031 SCpnt->cmnd[10] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_setup_read_write_cmnd()
1056 SCpnt->cmnd[1] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_setup_read_write_cmnd()
1074 SCpnt->cmnd[1] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_setup_read_write_cmnd()