Lines Matching refs:mpd
3040 aac_modep_data mpd; in aac_scsi_cmd() local
3048 memset((char *)&mpd, 0, sizeof(aac_modep_data)); in aac_scsi_cmd()
3051 mpd.hd.data_length = sizeof(mpd.hd) - 1; in aac_scsi_cmd()
3053 mpd.hd.med_type = 0; in aac_scsi_cmd()
3057 mpd.hd.dev_par = 0; in aac_scsi_cmd()
3060 mpd.hd.dev_par = 0x10; in aac_scsi_cmd()
3062 mpd.hd.bd_length = 0; /* Block descriptor length */ in aac_scsi_cmd()
3064 mpd.hd.bd_length = sizeof(mpd.bd); in aac_scsi_cmd()
3065 mpd.hd.data_length += mpd.hd.bd_length; in aac_scsi_cmd()
3066 mpd.bd.block_length[0] = in aac_scsi_cmd()
3068 mpd.bd.block_length[1] = in aac_scsi_cmd()
3070 mpd.bd.block_length[2] = in aac_scsi_cmd()
3073 mpd.mpc_buf[0] = scsicmd->cmnd[2]; in aac_scsi_cmd()
3076 mpd.mpc_buf[1] = 0xa; in aac_scsi_cmd()
3078 mpd.hd.data_length = 23; in aac_scsi_cmd()
3081 mpd.hd.data_length = 15; in aac_scsi_cmd()
3085 mpd.bd.block_count[0] = 0xff; in aac_scsi_cmd()
3086 mpd.bd.block_count[1] = 0xff; in aac_scsi_cmd()
3087 mpd.bd.block_count[2] = 0xff; in aac_scsi_cmd()
3089 mpd.bd.block_count[0] = (capacity >> 16) & 0xff; in aac_scsi_cmd()
3090 mpd.bd.block_count[1] = (capacity >> 8) & 0xff; in aac_scsi_cmd()
3091 mpd.bd.block_count[2] = capacity & 0xff; in aac_scsi_cmd()
3096 mpd.hd.data_length += 3; in aac_scsi_cmd()
3097 mpd.mpc_buf[0] = 8; in aac_scsi_cmd()
3098 mpd.mpc_buf[1] = 1; in aac_scsi_cmd()
3099 mpd.mpc_buf[2] = ((aac_cache & 6) == 2) in aac_scsi_cmd()
3101 mode_buf_length = sizeof(mpd); in aac_scsi_cmd()
3107 mode_buf_length = sizeof(mpd); in aac_scsi_cmd()
3109 (char *)&mpd, in aac_scsi_cmd()