Lines Matching defs:select

3289  * Description: This routine attempts to select descriptor sense format
3295 * presumably the mode select will fail. Everything will
3380 "sd_enable_descr_sense: mode select ctrl page failed\n");
9428 * we get all of the mode sense data otherwise, the mode select
9490 * Construct select buffer length based on the
9517 /* Clear reserved bits before mode select. */
9521 * Clear out mode header for mode select.
9536 /* Issue mode select to change the cache settings */
9583 * do mode select to clear wce
9590 * do mode select to set wce
13885 * transfer can use the CDB we select.
15223 * allow mpxio to select another path the next time
23218 * the mode select and flush are complete.
26896 uchar_t *select = NULL;
26972 * there is no need to send the mode select to change the size
26978 /* Build the select data for the requested block size */
26979 select = kmem_zalloc(BUFLEN_CHG_BLK_MODE, KM_SLEEP);
26980 select_mhp = (struct mode_header *)select;
26982 (struct block_descriptor *)(select + MODE_HEADER_LENGTH);
26992 /* Send the mode select for the requested block size */
26995 select, BUFLEN_CHG_BLK_MODE, SD_DONTSAVE_PAGE,
27002 * The mode select failed for the requested block size,
27005 * return value for the failed mode select.
27012 select, BUFLEN_CHG_BLK_MODE, SD_DONTSAVE_PAGE,
27030 if (select) {
27031 kmem_free(select, BUFLEN_CHG_BLK_MODE);
27083 uchar_t *select = NULL;
27157 * there is no need to send the mode select to change the speed
27163 /* Build the select data for the requested drive speed */
27164 select = kmem_zalloc(BUFLEN_MODE_CDROM_SPEED, KM_SLEEP);
27165 select_mhp = (struct mode_header *)select;
27168 (struct mode_speed *)(select + MODE_HEADER_LENGTH);
27170 (struct mode_speed *)(select + MODE_HEADER_LENGTH);
27175 /* Send the mode select for the requested block size */
27177 rval = sd_send_scsi_MODE_SELECT(ssc, CDB_GROUP0, select,
27183 * The mode select failed for the requested drive speed,
27186 * return value for the failed mode select.
27192 (void) sd_send_scsi_MODE_SELECT(ssc, CDB_GROUP0, select,
27206 if (select) {
27207 kmem_free(select, BUFLEN_MODE_CDROM_SPEED);
28436 uchar_t *select;
28458 select = kmem_zalloc(20, KM_SLEEP);
28459 select[3] = 0x08;
28460 select[10] = ((blksize >> 8) & 0xff);
28461 select[11] = (blksize & 0xff);
28462 select[12] = 0x01;
28463 select[13] = 0x06;
28464 select[14] = sense[14];
28465 select[15] = sense[15];
28467 select[14] |= 0x01;
28471 rval = sd_send_scsi_MODE_SELECT(ssc, CDB_GROUP0, select, 20,
28487 kmem_free(select, 20);
29022 uchar_t *select;
29050 select = kmem_zalloc(select_buflen, KM_SLEEP);
29061 kmem_free(select, select_buflen);
29065 select_mhp = (struct mode_header_grp2 *)select;
29073 kmem_free(select, select_buflen);
29078 select_page = (uchar_t *)(select + MODE_HEADER_LENGTH_GRP2);
29089 select = kmem_zalloc(select_buflen, KM_SLEEP);
29100 kmem_free(select, select_buflen);
29104 select_mhp = (struct mode_header *)select;
29110 kmem_free(select, select_buflen);
29115 select_page = (uchar_t *)(select + MODE_HEADER_LENGTH);
29124 /* Build the select data for the user volume data */
29149 rval = sd_send_scsi_MODE_SELECT(ssc, CDB_GROUP1, select,
29152 rval = sd_send_scsi_MODE_SELECT(ssc, CDB_GROUP0, select,
29158 kmem_free(select, select_buflen);