Lines Matching defs:subchnl
27603 struct cdrom_subchnl *subchnl = &subchanel;
27617 if (ddi_copyin(data, subchnl, sizeof (struct cdrom_subchnl), flag)) {
27625 cdb[1] = (subchnl->cdsc_format & CDROM_LBA) ? 0 : 0x02;
27652 subchnl->cdsc_audiostatus = buffer[1];
27653 subchnl->cdsc_adr = (buffer[5] & 0xF0);
27654 subchnl->cdsc_ctrl = (buffer[5] & 0x0F);
27655 subchnl->cdsc_trk = buffer[6];
27656 subchnl->cdsc_ind = buffer[7];
27657 if (subchnl->cdsc_format & CDROM_LBA) {
27658 subchnl->cdsc_absaddr.lba =
27661 subchnl->cdsc_reladdr.lba =
27665 subchnl->cdsc_absaddr.msf.minute = BCD_TO_BYTE(buffer[9]);
27666 subchnl->cdsc_absaddr.msf.second = BCD_TO_BYTE(buffer[10]);
27667 subchnl->cdsc_absaddr.msf.frame = BCD_TO_BYTE(buffer[11]);
27668 subchnl->cdsc_reladdr.msf.minute = BCD_TO_BYTE(buffer[13]);
27669 subchnl->cdsc_reladdr.msf.second = BCD_TO_BYTE(buffer[14]);
27670 subchnl->cdsc_reladdr.msf.frame = BCD_TO_BYTE(buffer[15]);
27672 subchnl->cdsc_absaddr.msf.minute = buffer[9];
27673 subchnl->cdsc_absaddr.msf.second = buffer[10];
27674 subchnl->cdsc_absaddr.msf.frame = buffer[11];
27675 subchnl->cdsc_reladdr.msf.minute = buffer[13];
27676 subchnl->cdsc_reladdr.msf.second = buffer[14];
27677 subchnl->cdsc_reladdr.msf.frame = buffer[15];
27681 if (ddi_copyout(subchnl, data, sizeof (struct cdrom_subchnl), flag)