Lines Matching refs:mpd
2584 aac_modep_data mpd; in aac_scsi_cmd() local
2592 memset((char *)&mpd, 0, sizeof(aac_modep_data)); in aac_scsi_cmd()
2595 mpd.hd.data_length = sizeof(mpd.hd) - 1; in aac_scsi_cmd()
2597 mpd.hd.med_type = 0; in aac_scsi_cmd()
2601 mpd.hd.dev_par = 0; in aac_scsi_cmd()
2604 mpd.hd.dev_par = 0x10; in aac_scsi_cmd()
2606 mpd.hd.bd_length = 0; /* Block descriptor length */ in aac_scsi_cmd()
2608 mpd.hd.bd_length = sizeof(mpd.bd); in aac_scsi_cmd()
2609 mpd.hd.data_length += mpd.hd.bd_length; in aac_scsi_cmd()
2610 mpd.bd.block_length[0] = in aac_scsi_cmd()
2612 mpd.bd.block_length[1] = in aac_scsi_cmd()
2614 mpd.bd.block_length[2] = in aac_scsi_cmd()
2617 mpd.mpc_buf[0] = scsicmd->cmnd[2]; in aac_scsi_cmd()
2620 mpd.mpc_buf[1] = 0xa; in aac_scsi_cmd()
2622 mpd.hd.data_length = 23; in aac_scsi_cmd()
2625 mpd.hd.data_length = 15; in aac_scsi_cmd()
2629 mpd.bd.block_count[0] = 0xff; in aac_scsi_cmd()
2630 mpd.bd.block_count[1] = 0xff; in aac_scsi_cmd()
2631 mpd.bd.block_count[2] = 0xff; in aac_scsi_cmd()
2633 mpd.bd.block_count[0] = (capacity >> 16) & 0xff; in aac_scsi_cmd()
2634 mpd.bd.block_count[1] = (capacity >> 8) & 0xff; in aac_scsi_cmd()
2635 mpd.bd.block_count[2] = capacity & 0xff; in aac_scsi_cmd()
2640 mpd.hd.data_length += 3; in aac_scsi_cmd()
2641 mpd.mpc_buf[0] = 8; in aac_scsi_cmd()
2642 mpd.mpc_buf[1] = 1; in aac_scsi_cmd()
2643 mpd.mpc_buf[2] = ((aac_cache & 6) == 2) in aac_scsi_cmd()
2645 mode_buf_length = sizeof(mpd); in aac_scsi_cmd()
2651 mode_buf_length = sizeof(mpd); in aac_scsi_cmd()
2653 (char *)&mpd, in aac_scsi_cmd()