• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/

Lines Matching defs:cdi

1815 	struct cdrom_device_info *cdi = &info->devinfo;
1827 req.cmd[7] = cdi->sanyo_slot % 3;
1965 struct cdrom_device_info *cdi = &info->devinfo;
2119 stat = cdrom_get_last_written(cdi, &last_written);
2226 static int ide_cdrom_packet(struct cdrom_device_info *cdi,
2230 ide_drive_t *drive = cdi->handle;
2257 int ide_cdrom_audio_ioctl (struct cdrom_device_info *cdi,
2261 ide_drive_t *drive = cdi->handle;
2337 int ide_cdrom_reset (struct cdrom_device_info *cdi)
2339 ide_drive_t *drive = cdi->handle;
2361 int ide_cdrom_tray_move (struct cdrom_device_info *cdi, int position)
2363 ide_drive_t *drive = cdi->handle;
2376 int ide_cdrom_lock_door (struct cdrom_device_info *cdi, int lock)
2378 ide_drive_t *drive = cdi->handle;
2386 struct cdrom_device_info *cdi = &info->devinfo;
2400 stat = cdrom_mode_sense(cdi, &cgc, GPMODE_CAPABILITIES_PAGE, 0);
2426 int ide_cdrom_select_speed (struct cdrom_device_info *cdi, int speed)
2428 ide_drive_t *drive = cdi->handle;
2438 cdi->speed = CDROM_STATE_FLAGS(drive)->current_speed;
2449 int ide_cdrom_drive_status (struct cdrom_device_info *cdi, int slot_nr)
2451 ide_drive_t *drive = cdi->handle;
2463 if (!cdrom_get_media_event(cdi, &med)) {
2490 int ide_cdrom_get_last_session (struct cdrom_device_info *cdi,
2494 ide_drive_t *drive = cdi->handle;
2511 int ide_cdrom_get_mcn (struct cdrom_device_info *cdi,
2516 ide_drive_t *drive = cdi->handle;
2537 int ide_cdrom_check_media_change_real (struct cdrom_device_info *cdi,
2540 ide_drive_t *drive = cdi->handle;
2555 int ide_cdrom_open_real (struct cdrom_device_info *cdi, int purpose)
2565 void ide_cdrom_release_real (struct cdrom_device_info *cdi)
2567 ide_drive_t *drive = cdi->handle;
2569 if (!cdi->use_count)
2643 struct cdrom_device_info *cdi = &info->devinfo;
2664 * drive from cdi->handle. Since this device hasn't been
2666 * Same goes for cdi->ops.
2668 cdi->handle = drive;
2669 cdi->ops = &ide_cdrom_dops;
2709 if (cdi->sanyo_slot > 0) {
2718 if ((nslots = cdrom_number_of_slots(cdi)) > 1) {
2849 struct cdrom_device_info *cdi = &info->devinfo;
2892 cdi->mask |= CDC_SELECT_SPEED;
2897 cdi->sanyo_slot = 0;
2944 cdi->sanyo_slot = 3;
3093 static int idecd_set_spindown(struct cdrom_device_info *cdi, unsigned long arg)
3105 stat = cdrom_mode_sense(cdi, &cgc, GPMODE_CDROM_PAGE, 0);
3110 return cdrom_mode_select(cdi, &cgc);
3113 static int idecd_get_spindown(struct cdrom_device_info *cdi, unsigned long arg)
3122 stat = cdrom_mode_sense(cdi, &cgc, GPMODE_CDROM_PAGE, 0);