Lines Matching refs:cdb
129 u8 cdb[MAX_COMMAND_SIZE]; in submit_rtpg() local
137 memset(cdb, 0x0, MAX_COMMAND_SIZE); in submit_rtpg()
138 cdb[0] = MAINTENANCE_IN; in submit_rtpg()
140 cdb[1] = MI_REPORT_TARGET_PGS | MI_EXT_HDR_PARAM_FMT; in submit_rtpg()
142 cdb[1] = MI_REPORT_TARGET_PGS; in submit_rtpg()
143 put_unaligned_be32(bufflen, &cdb[6]); in submit_rtpg()
145 return scsi_execute_cmd(sdev, cdb, opf, buff, bufflen, in submit_rtpg()
160 u8 cdb[MAX_COMMAND_SIZE]; in submit_stpg() local
175 memset(cdb, 0x0, MAX_COMMAND_SIZE); in submit_stpg()
176 cdb[0] = MAINTENANCE_OUT; in submit_stpg()
177 cdb[1] = MO_SET_TARGET_PGS; in submit_stpg()
178 put_unaligned_be32(stpg_len, &cdb[6]); in submit_stpg()
180 return scsi_execute_cmd(sdev, cdb, opf, stpg_data, in submit_stpg()