Searched refs:schi (Results 1 – 2 of 2) sorted by relevance
1008 struct cdrom_subchnl schi; in sony_get_subchnl_info() local1019 err = verify_area(VERIFY_WRITE /* and read */ , (char *)arg, sizeof schi); in sony_get_subchnl_info()1023 copy_from_user(&schi, (char *)arg, sizeof schi); in sony_get_subchnl_info()1037 schi.cdsc_audiostatus = sony_audio_status; in sony_get_subchnl_info()1038 copy_to_user((char *)arg, &schi, sizeof schi); in sony_get_subchnl_info()1048 schi.cdsc_audiostatus = sony_audio_status; in sony_get_subchnl_info()1049 schi.cdsc_adr = last_sony_subcode->address; in sony_get_subchnl_info()1050 schi.cdsc_ctrl = last_sony_subcode->control; in sony_get_subchnl_info()1051 schi.cdsc_trk = bcd_to_int(last_sony_subcode->track_num); in sony_get_subchnl_info()1052 schi.cdsc_ind = bcd_to_int(last_sony_subcode->index_num); in sony_get_subchnl_info()[all …]
2351 static int sony_get_subchnl_info(struct cdrom_subchnl *schi) in sony_get_subchnl_info() argument2375 schi->cdsc_audiostatus = sony_audio_status; in sony_get_subchnl_info()2385 schi->cdsc_audiostatus = sony_audio_status; in sony_get_subchnl_info()2386 schi->cdsc_adr = last_sony_subcode.address; in sony_get_subchnl_info()2387 schi->cdsc_ctrl = last_sony_subcode.control; in sony_get_subchnl_info()2388 schi->cdsc_trk = last_sony_subcode.track_num; in sony_get_subchnl_info()2389 schi->cdsc_ind = last_sony_subcode.index_num; in sony_get_subchnl_info()2390 if (schi->cdsc_format == CDROM_MSF) { in sony_get_subchnl_info()2391 schi->cdsc_absaddr.msf.minute = in sony_get_subchnl_info()2393 schi->cdsc_absaddr.msf.second = in sony_get_subchnl_info()[all …]