tag | line | file | source code |
schi | 1377 | drivers/block/cdu31a.c | struct cdrom_subchnl schi; |
schi | 1390 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, (char *) arg, sizeof(schi)); |
schi | 1391 | drivers/block/cdu31a.c | verify_area(VERIFY_WRITE, (char *) arg, sizeof(schi)); |
schi | 1393 | drivers/block/cdu31a.c | memcpy_fromfs(&schi, (char *) arg, sizeof(schi)); |
schi | 1409 | drivers/block/cdu31a.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1410 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |
schi | 1420 | drivers/block/cdu31a.c | schi.cdsc_audiostatus = sony_audio_status; |
schi | 1421 | drivers/block/cdu31a.c | schi.cdsc_adr = last_sony_subcode->address; |
schi | 1422 | drivers/block/cdu31a.c | schi.cdsc_ctrl = last_sony_subcode->control; |
schi | 1423 | drivers/block/cdu31a.c | schi.cdsc_trk = bcd_to_int(last_sony_subcode->track_num); |
schi | 1424 | drivers/block/cdu31a.c | schi.cdsc_ind = bcd_to_int(last_sony_subcode->index_num); |
schi | 1425 | drivers/block/cdu31a.c | if (schi.cdsc_format == CDROM_MSF) |
schi | 1427 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode->abs_msf[0]); |
schi | 1428 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode->abs_msf[1]); |
schi | 1429 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode->abs_msf[2]); |
schi | 1431 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode->rel_msf[0]); |
schi | 1432 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode->rel_msf[1]); |
schi | 1433 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode->rel_msf[2]); |
schi | 1435 | drivers/block/cdu31a.c | else if (schi.cdsc_format == CDROM_LBA) |
schi | 1437 | drivers/block/cdu31a.c | schi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode->abs_msf); |
schi | 1438 | drivers/block/cdu31a.c | schi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode->rel_msf); |
schi | 1441 | drivers/block/cdu31a.c | memcpy_tofs((char *) arg, &schi, sizeof(schi)); |