Searched refs:page3p (Results 1 – 4 of 4) sorted by relevance
2009 struct mode_format *page3p; in amr_mode_sense() local2026 page3p = (struct mode_format *)((caddr_t)headerp + in amr_mode_sense()2028 page3p->mode_page.code = BE_8(SD_MODE_SENSE_PAGE3_CODE); in amr_mode_sense()2029 page3p->mode_page.length = BE_8(sizeof (struct mode_format)); in amr_mode_sense()2030 page3p->data_bytes_sect = BE_16(AMR_DEFAULT_SECTORS); in amr_mode_sense()2031 page3p->sect_track = BE_16(AMR_DEFAULT_CYLINDERS); in amr_mode_sense()
7842 struct mode_format *page3p = NULL; in mrsas_mode_sense_build() local7846 page3p = (void *)((caddr_t)modehdrp + in mrsas_mode_sense_build()7848 page3p->mode_page.code = 0x3; in mrsas_mode_sense_build()7849 page3p->mode_page.length = in mrsas_mode_sense_build()7851 page3p->data_bytes_sect = 512; in mrsas_mode_sense_build()7852 page3p->sect_track = 63; in mrsas_mode_sense_build()
4083 struct mode_format *page3p; in aac_mode_sense() local4085 page3p = (void *)next_page; in aac_mode_sense()4086 page3p->mode_page.code = SD_MODE_SENSE_PAGE3_CODE; in aac_mode_sense()4087 page3p->mode_page.length = sizeof (struct mode_format); in aac_mode_sense()4088 page3p->data_bytes_sect = BE_16(AAC_SECTOR_SIZE); in aac_mode_sense()4089 page3p->sect_track = BE_16(AAC_SECTORS_PER_TRACK); in aac_mode_sense()
4378 struct mode_format *page3p; in sd_get_physical_geometry() local4468 page3p = (struct mode_format *) in sd_get_physical_geometry()4471 if (page3p->mode_page.code != SD_MODE_SENSE_PAGE3_CODE) { in sd_get_physical_geometry()4474 "%d\n", page3p->mode_page.code); in sd_get_physical_geometry()4484 sector_size = BE_16(page3p->data_bytes_sect); in sd_get_physical_geometry()4495 nsect = BE_16(page3p->sect_track); in sd_get_physical_geometry()4496 intrlv = BE_16(page3p->interleave); in sd_get_physical_geometry()4502 page3p->mode_page.code, nsect, sector_size); in sd_get_physical_geometry()4505 BE_16(page3p->track_skew), in sd_get_physical_geometry()4506 BE_16(page3p->cylinder_skew)); in sd_get_physical_geometry()