Lines Matching refs:subpage
859 lun->mode_pages.index[i].subpage); in ctl_isc_announce_lun()
963 uint8_t page, uint8_t subpage) in ctl_isc_announce_mode() argument
973 page && lun->mode_pages.index[i].subpage == subpage) in ctl_isc_announce_mode()
991 msg->mode.subpage = subpage; in ctl_isc_announce_mode()
1437 lun->mode_pages.index[i].subpage == msg->mode.subpage) in ctl_isc_mode_sync()
4096 KASSERT(page_index->subpage == SMS_SUBPAGE_PAGE_0, in ctl_init_page_index()
4098 page_index->subpage, page_code)); in ctl_init_page_index()
4116 KASSERT(page_index->subpage == SMS_SUBPAGE_PAGE_0, in ctl_init_page_index()
4118 page_index->subpage, page_code)); in ctl_init_page_index()
4138 KASSERT(page_index->subpage == SMS_SUBPAGE_PAGE_0, in ctl_init_page_index()
4140 page_index->subpage, page_code)); in ctl_init_page_index()
4168 switch (page_index->subpage) { in ctl_init_page_index()
4227 page_index->subpage, page_code); in ctl_init_page_index()
4232 switch (page_index->subpage) { in ctl_init_page_index()
4323 page_index->subpage, page_code); in ctl_init_page_index()
4328 KASSERT(page_index->subpage == SMS_SUBPAGE_PAGE_0, in ctl_init_page_index()
4330 page_index->subpage, page_code)); in ctl_init_page_index()
4387 lun->log_pages.subpages_page[k*2+1] = page_index->subpage; in ctl_init_log_page_index()
5928 page_index->page_code, page_index->subpage); in ctl_default_page_handler()
6085 if (page_index->subpage == sph->subpage) { in ctl_do_mode_select()
6276 lun->mode_pages.index[i].subpage); in ctl_mode_select()
6371 int pc, page_code, llba, subpage; in ctl_mode_sense() local
6395 subpage = cdb->subpage; in ctl_mode_sense()
6419 subpage = cdb->subpage; in ctl_mode_sense()
6445 if ((subpage != SMS_SUBPAGE_PAGE_0) in ctl_mode_sense()
6446 && (subpage != SMS_SUBPAGE_ALL)) { in ctl_mode_sense()
6475 if ((page_index->subpage != 0) in ctl_mode_sense()
6476 && (subpage == SMS_SUBPAGE_PAGE_0)) in ctl_mode_sense()
6507 if ((page_index->subpage != subpage) in ctl_mode_sense()
6508 && (subpage != SMS_SUBPAGE_ALL)) in ctl_mode_sense()
6629 if ((page_index->subpage != 0) in ctl_mode_sense()
6630 && (subpage == SMS_SUBPAGE_PAGE_0)) in ctl_mode_sense()
6663 if ((page_index->subpage != subpage) in ctl_mode_sense()
6664 && (subpage != SMS_SUBPAGE_ALL)) in ctl_mode_sense()
6882 int i, pc, page_code, subpage; in ctl_log_sense() local
6893 subpage = cdb->subpage; in ctl_log_sense()
6905 if (page_index->subpage != subpage) in ctl_log_sense()
6933 if (page_index->subpage) { in ctl_log_sense()
6935 header->subpage = page_index->subpage; in ctl_log_sense()