Lines Matching refs:mode_buf
2302 char mode_buf[7]; in aac_scsi_cmd() local
2306 mode_buf[0] = 3; /* Mode data length */ in aac_scsi_cmd()
2307 mode_buf[1] = 0; /* Medium type - default */ in aac_scsi_cmd()
2308 mode_buf[2] = 0; /* Device-specific param, in aac_scsi_cmd()
2312 mode_buf[2] = 0x10; in aac_scsi_cmd()
2313 mode_buf[3] = 0; /* Block descriptor length */ in aac_scsi_cmd()
2316 mode_buf[0] = 6; in aac_scsi_cmd()
2317 mode_buf[4] = 8; in aac_scsi_cmd()
2318 mode_buf[5] = 1; in aac_scsi_cmd()
2319 mode_buf[6] = ((aac_cache & 6) == 2) in aac_scsi_cmd()
2325 scsi_sg_copy_from_buffer(scsicmd, mode_buf, mode_buf_length); in aac_scsi_cmd()
2333 char mode_buf[11]; in aac_scsi_cmd() local
2337 mode_buf[0] = 0; /* Mode data length (MSB) */ in aac_scsi_cmd()
2338 mode_buf[1] = 6; /* Mode data length (LSB) */ in aac_scsi_cmd()
2339 mode_buf[2] = 0; /* Medium type - default */ in aac_scsi_cmd()
2340 mode_buf[3] = 0; /* Device-specific param, in aac_scsi_cmd()
2344 mode_buf[3] = 0x10; in aac_scsi_cmd()
2345 mode_buf[4] = 0; /* reserved */ in aac_scsi_cmd()
2346 mode_buf[5] = 0; /* reserved */ in aac_scsi_cmd()
2347 mode_buf[6] = 0; /* Block descriptor length (MSB) */ in aac_scsi_cmd()
2348 mode_buf[7] = 0; /* Block descriptor length (LSB) */ in aac_scsi_cmd()
2351 mode_buf[1] = 9; in aac_scsi_cmd()
2352 mode_buf[8] = 8; in aac_scsi_cmd()
2353 mode_buf[9] = 1; in aac_scsi_cmd()
2354 mode_buf[10] = ((aac_cache & 6) == 2) in aac_scsi_cmd()
2360 scsi_sg_copy_from_buffer(scsicmd, mode_buf, mode_buf_length); in aac_scsi_cmd()