tag | line | file | source code |
schi | 1962 | drivers/cdrom/cdu31a.c | struct cdrom_subchnl schi; |
schi | 1975 | drivers/cdrom/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(schi)); |
schi | 1976 | drivers/cdrom/cdu31a.c | verify_area(VERIFY_WRITE, (char *) arg, sizeof(schi)); |
schi | 1978 | drivers/cdrom/cdu31a.c | memcpy_fromfs(&schi, (char *) arg, sizeof(schi)); |
schi | 1994 | drivers/cdrom/cdu31a.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1995 | drivers/cdrom/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
schi | 2005 | drivers/cdrom/cdu31a.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 2006 | drivers/cdrom/cdu31a.c | schi.cdsc_adr = last_sony_subcode.address; |
schi | 2007 | drivers/cdrom/cdu31a.c | schi.cdsc_ctrl = last_sony_subcode.control; |
schi | 2008 | drivers/cdrom/cdu31a.c | schi.cdsc_trk = bcd_to_int(last_sony_subcode.track_num); |
schi | 2009 | drivers/cdrom/cdu31a.c | schi.cdsc_ind = bcd_to_int(last_sony_subcode.index_num); |
schi | 2010 | drivers/cdrom/cdu31a.c | if (schi.cdsc_format == CDROM_MSF) |
schi | 2012 | drivers/cdrom/cdu31a.c | schi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode.abs_msf[0]); |
schi | 2013 | drivers/cdrom/cdu31a.c | schi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode.abs_msf[1]); |
schi | 2014 | drivers/cdrom/cdu31a.c | schi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode.abs_msf[2]); |
schi | 2016 | drivers/cdrom/cdu31a.c | schi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode.rel_msf[0]); |
schi | 2017 | drivers/cdrom/cdu31a.c | schi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode.rel_msf[1]); |
schi | 2018 | drivers/cdrom/cdu31a.c | schi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode.rel_msf[2]); |
schi | 2020 | drivers/cdrom/cdu31a.c | else if (schi.cdsc_format == CDROM_LBA) |
schi | 2022 | drivers/cdrom/cdu31a.c | schi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode.abs_msf); |
schi | 2023 | drivers/cdrom/cdu31a.c | schi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode.rel_msf); |
schi | 2026 | drivers/cdrom/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
schi | 1005 | drivers/cdrom/sonycd535.c | struct cdrom_subchnl schi; |
schi | 1016 | drivers/cdrom/sonycd535.c | err = verify_area(VERIFY_WRITE /* and read */ , (char *)arg, sizeof schi); |
schi | 1020 | drivers/cdrom/sonycd535.c | memcpy_fromfs(&schi, (char *)arg, sizeof schi); |
schi | 1034 | drivers/cdrom/sonycd535.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1035 | drivers/cdrom/sonycd535.c | memcpy_tofs((char *)arg, &schi, sizeof schi); |
schi | 1045 | drivers/cdrom/sonycd535.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1046 | drivers/cdrom/sonycd535.c | schi.cdsc_adr = last_sony_subcode->address; |
schi | 1047 | drivers/cdrom/sonycd535.c | schi.cdsc_ctrl = last_sony_subcode->control; |
schi | 1048 | drivers/cdrom/sonycd535.c | schi.cdsc_trk = bcd_to_int(last_sony_subcode->track_num); |
schi | 1049 | drivers/cdrom/sonycd535.c | schi.cdsc_ind = bcd_to_int(last_sony_subcode->index_num); |
schi | 1050 | drivers/cdrom/sonycd535.c | if (schi.cdsc_format == CDROM_MSF) { |
schi | 1051 | drivers/cdrom/sonycd535.c | schi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode->abs_msf[0]); |
schi | 1052 | drivers/cdrom/sonycd535.c | schi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode->abs_msf[1]); |
schi | 1053 | drivers/cdrom/sonycd535.c | schi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode->abs_msf[2]); |
schi | 1055 | drivers/cdrom/sonycd535.c | schi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode->rel_msf[0]); |
schi | 1056 | drivers/cdrom/sonycd535.c | schi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode->rel_msf[1]); |
schi | 1057 | drivers/cdrom/sonycd535.c | schi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode->rel_msf[2]); |
schi | 1058 | drivers/cdrom/sonycd535.c | } else if (schi.cdsc_format == CDROM_LBA) { |
schi | 1059 | drivers/cdrom/sonycd535.c | schi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode->abs_msf); |
schi | 1060 | drivers/cdrom/sonycd535.c | schi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode->rel_msf); |
schi | 1062 | drivers/cdrom/sonycd535.c | memcpy_tofs((char *)arg, &schi, sizeof schi); |