Lines Matching refs:cdi

172 static int pcd_open(struct cdrom_device_info *cdi, int purpose);
173 static void pcd_release(struct cdrom_device_info *cdi);
174 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr);
175 static unsigned int pcd_check_events(struct cdrom_device_info *cdi,
177 static int pcd_tray_move(struct cdrom_device_info *cdi, int position);
178 static int pcd_lock_door(struct cdrom_device_info *cdi, int lock);
179 static int pcd_drive_reset(struct cdrom_device_info *cdi);
180 static int pcd_get_mcn(struct cdrom_device_info *cdi, struct cdrom_mcn *mcn);
181 static int pcd_audio_ioctl(struct cdrom_device_info *cdi,
183 static int pcd_packet(struct cdrom_device_info *cdi,
303 static int pcd_open(struct cdrom_device_info *cdi, int purpose) in pcd_open() argument
305 struct pcd_unit *cd = cdi->handle; in pcd_open()
311 static void pcd_release(struct cdrom_device_info *cdi) in pcd_release() argument
476 static int pcd_packet(struct cdrom_device_info *cdi, struct packet_command *cgc) in pcd_packet() argument
478 return pcd_atapi(cdi->handle, cgc->cmd, cgc->buflen, cgc->buffer, in pcd_packet()
484 static unsigned int pcd_check_events(struct cdrom_device_info *cdi, in pcd_check_events() argument
487 struct pcd_unit *cd = cdi->handle; in pcd_check_events()
494 static int pcd_lock_door(struct cdrom_device_info *cdi, int lock) in pcd_lock_door() argument
498 return pcd_atapi(cdi->handle, un_cmd, 0, pcd_scratch, in pcd_lock_door()
502 static int pcd_tray_move(struct cdrom_device_info *cdi, int position) in pcd_tray_move() argument
506 return pcd_atapi(cdi->handle, ej_cmd, 0, pcd_scratch, in pcd_tray_move()
547 static int pcd_drive_reset(struct cdrom_device_info *cdi) in pcd_drive_reset() argument
549 return pcd_reset(cdi->handle); in pcd_drive_reset()
572 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr) in pcd_drive_status() argument
575 struct pcd_unit *cd = cdi->handle; in pcd_drive_status()
813 static int pcd_audio_ioctl(struct cdrom_device_info *cdi, unsigned int cmd, void *arg) in pcd_audio_ioctl() argument
815 struct pcd_unit *cd = cdi->handle; in pcd_audio_ioctl()
878 static int pcd_get_mcn(struct cdrom_device_info *cdi, struct cdrom_mcn *mcn) in pcd_get_mcn() argument
884 if (pcd_atapi(cdi->handle, cmd, 24, buffer, "get mcn")) in pcd_get_mcn()