tag | line | file | source code |
schi | 1910 | drivers/block/cdu31a.c | struct cdrom_subchnl schi; |
schi | 1923 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(schi)); |
schi | 1924 | drivers/block/cdu31a.c | verify_area(VERIFY_WRITE, (char *) arg, sizeof(schi)); |
schi | 1926 | drivers/block/cdu31a.c | memcpy_fromfs(&schi, (char *) arg, sizeof(schi)); |
schi | 1942 | drivers/block/cdu31a.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1943 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
schi | 1953 | drivers/block/cdu31a.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1954 | drivers/block/cdu31a.c | schi.cdsc_adr = last_sony_subcode.address; |
schi | 1955 | drivers/block/cdu31a.c | schi.cdsc_ctrl = last_sony_subcode.control; |
schi | 1956 | drivers/block/cdu31a.c | schi.cdsc_trk = bcd_to_int(last_sony_subcode.track_num); |
schi | 1957 | drivers/block/cdu31a.c | schi.cdsc_ind = bcd_to_int(last_sony_subcode.index_num); |
schi | 1958 | drivers/block/cdu31a.c | if (schi.cdsc_format == CDROM_MSF) |
schi | 1960 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode.abs_msf[0]); |
schi | 1961 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode.abs_msf[1]); |
schi | 1962 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode.abs_msf[2]); |
schi | 1964 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode.rel_msf[0]); |
schi | 1965 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode.rel_msf[1]); |
schi | 1966 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode.rel_msf[2]); |
schi | 1968 | drivers/block/cdu31a.c | else if (schi.cdsc_format == CDROM_LBA) |
schi | 1970 | drivers/block/cdu31a.c | schi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode.abs_msf); |
schi | 1971 | drivers/block/cdu31a.c | schi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode.rel_msf); |
schi | 1974 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
schi | 1042 | drivers/block/sonycd535.c | struct cdrom_subchnl schi; |
schi | 1053 | drivers/block/sonycd535.c | err = verify_area(VERIFY_WRITE /* and read */ , (char *)arg, sizeof schi); |
schi | 1057 | drivers/block/sonycd535.c | memcpy_fromfs(&schi, (char *)arg, sizeof schi); |
schi | 1071 | drivers/block/sonycd535.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1072 | drivers/block/sonycd535.c | memcpy_tofs((char *)arg, &schi, sizeof schi); |
schi | 1082 | drivers/block/sonycd535.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1083 | drivers/block/sonycd535.c | schi.cdsc_adr = last_sony_subcode->address; |
schi | 1084 | drivers/block/sonycd535.c | schi.cdsc_ctrl = last_sony_subcode->control; |
schi | 1085 | drivers/block/sonycd535.c | schi.cdsc_trk = bcd_to_int(last_sony_subcode->track_num); |
schi | 1086 | drivers/block/sonycd535.c | schi.cdsc_ind = bcd_to_int(last_sony_subcode->index_num); |
schi | 1087 | drivers/block/sonycd535.c | if (schi.cdsc_format == CDROM_MSF) { |
schi | 1088 | drivers/block/sonycd535.c | schi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode->abs_msf[0]); |
schi | 1089 | drivers/block/sonycd535.c | schi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode->abs_msf[1]); |
schi | 1090 | drivers/block/sonycd535.c | schi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode->abs_msf[2]); |
schi | 1092 | drivers/block/sonycd535.c | schi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode->rel_msf[0]); |
schi | 1093 | drivers/block/sonycd535.c | schi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode->rel_msf[1]); |
schi | 1094 | drivers/block/sonycd535.c | schi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode->rel_msf[2]); |
schi | 1095 | drivers/block/sonycd535.c | } else if (schi.cdsc_format == CDROM_LBA) { |
schi | 1096 | drivers/block/sonycd535.c | schi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode->abs_msf); |
schi | 1097 | drivers/block/sonycd535.c | schi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode->rel_msf); |
schi | 1099 | drivers/block/sonycd535.c | memcpy_tofs((char *)arg, &schi, sizeof schi); |