tag | line | file | source code |
schi | 1064 | drivers/block/cdu31a.c | struct cdrom_subchnl schi; |
schi | 1077 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(schi)); |
schi | 1078 | drivers/block/cdu31a.c | verify_area(VERIFY_WRITE, (char *) arg, sizeof(schi)); |
schi | 1080 | drivers/block/cdu31a.c | memcpy_fromfs(&schi, (char *) arg, sizeof(schi)); |
schi | 1096 | drivers/block/cdu31a.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1097 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
schi | 1107 | drivers/block/cdu31a.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1108 | drivers/block/cdu31a.c | schi.cdsc_adr = last_sony_subcode->address; |
schi | 1109 | drivers/block/cdu31a.c | schi.cdsc_ctrl = last_sony_subcode->control; |
schi | 1110 | drivers/block/cdu31a.c | schi.cdsc_trk = bcd_to_int(last_sony_subcode->track_num); |
schi | 1111 | drivers/block/cdu31a.c | schi.cdsc_ind = bcd_to_int(last_sony_subcode->index_num); |
schi | 1112 | drivers/block/cdu31a.c | if (schi.cdsc_format == CDROM_MSF) |
schi | 1114 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode->abs_msf[0]); |
schi | 1115 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode->abs_msf[1]); |
schi | 1116 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode->abs_msf[2]); |
schi | 1118 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode->rel_msf[0]); |
schi | 1119 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode->rel_msf[1]); |
schi | 1120 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode->rel_msf[2]); |
schi | 1122 | drivers/block/cdu31a.c | else if (schi.cdsc_format == CDROM_LBA) |
schi | 1124 | drivers/block/cdu31a.c | schi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode->abs_msf); |
schi | 1125 | drivers/block/cdu31a.c | schi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode->rel_msf); |
schi | 1128 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |