Home
last modified time | relevance | path

Searched refs:cdi (Results 1 – 19 of 19) sorted by relevance

/linux-6.3-rc2/drivers/cdrom/
A Dcdrom.c601 disk->cdi = cdi; in register_cdrom()
654 cdi->exit(cdi); in unregister_cdrom()
963 cdi->ops->generic_packet(cdi, &cgc); in cdrom_dvd_rw_close_write()
969 cdi->ops->generic_packet(cdi, &cgc); in cdrom_dvd_rw_close_write()
976 cdi->ops->generic_packet(cdi, &cgc); in cdrom_dvd_rw_close_write()
1169 ret = cdi->ops->open(cdi, 1); in cdrom_open()
1191 cdi->name, cdi->use_count); in cdrom_open()
1195 cdi->ops->lock_door(cdi, 0); in cdrom_open()
1198 cdi->ops->release(cdi); in cdrom_open()
2286 return cdi->ops->tray_move(cdi, 1); in cdrom_ioctl_eject()
[all …]
A Dgdrom.c458 static int gdrom_audio_ioctl(struct cdrom_device_info *cdi, unsigned int cmd, in gdrom_audio_ioctl() argument
/linux-6.3-rc2/drivers/scsi/
A Dsr_ioctl.c39 struct scsi_cd *cd = cdi->handle; in sr_read_tochdr()
72 struct scsi_cd *cd = cdi->handle; in sr_read_tocentry()
124 ret = sr_read_tochdr(cdi, &tochdr); in sr_fake_playtrkind()
164 struct scsi_cd *cd = cdi->handle; in sr_play_trkind()
274 Scsi_CD *cd = cdi->handle; in sr_tray_move()
287 Scsi_CD *cd = cdi->handle; in sr_lock_door()
295 struct scsi_cd *cd = cdi->handle; in sr_drive_status()
352 Scsi_CD *cd = cdi->handle; in sr_disk_status()
384 Scsi_CD *cd = cdi->handle; in sr_get_last_session()
394 Scsi_CD *cd = cdi->handle; in sr_get_mcn()
[all …]
A Dsr.c401 cd->cdi.media_written = 1; in sr_init_command()
483 sr_cd_check(&cd->cdi); in sr_revalidate_disk()
667 cd->cdi.ops = &sr_dops; in sr_probe()
668 cd->cdi.handle = cd; in sr_probe()
669 cd->cdi.mask = 0; in sr_probe()
670 cd->cdi.capacity = 1; in sr_probe()
839 cd->cdi.speed = 1; in get_capabilities()
857 cd->cdi.speed, in get_capabilities()
869 cd->cdi.mask |= CDC_DVD; in get_capabilities()
881 cd->cdi.mask |= CDC_CD_R; in get_capabilities()
[all …]
A Dsr_vendor.c95 cd->cdi.mask |= CDC_MULTI_SESSION; in sr_vendor_init()
110 cd->cdi.mask |= ( in sr_vendor_init()
171 int sr_cd_check(struct cdrom_device_info *cdi) in sr_cd_check() argument
173 Scsi_CD *cd = cdi->handle; in sr_cd_check()
179 if (cd->cdi.mask & CDC_MULTI_SESSION) in sr_cd_check()
324 if (CDS_AUDIO != sr_disk_status(cdi) && 1 == sr_is_xa(cd)) in sr_cd_check()
331 cdi->mask |= CDC_MULTI_SESSION; in sr_cd_check()
A Dsr.h51 struct cdrom_device_info cdi; member
57 sdev_prefix_printk(prefix, (cd)->device, (cd)->cdi.name, fmt, ##a)
68 int sr_select_speed(struct cdrom_device_info *cdi, int speed);
/linux-6.3-rc2/tools/thermal/tmon/
A Dsysfs.c98 sysfs_get_string(path, "type", cdi->type); in probe_cdev()
104 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); in probe_cdev()
367 ptdata.cdi[k].instance = i; in scan_cdevs()
452 if (!ptdata.cdi) { in probe_thermal_sysfs()
515 ptdata.cdi[i].instance); in update_thermal_data()
516 probe_cdev(&ptdata.cdi[i], cdev_name); in update_thermal_data()
517 val = ptdata.cdi[i].cur_state; in update_thermal_data()
543 if (ptdata.cdi[i].max_state < 10) { in set_ctrl_state()
553 CDEV, ptdata.cdi[i].instance); in set_ctrl_state()
574 ptdata.cdi[i].instance); in get_ctrl_state()
[all …]
A Dtui.c217 ptdata.cdi[j].instance, in show_cooling_device()
218 ptdata.cdi[j].type, in show_cooling_device()
219 ptdata.cdi[j].cur_state, in show_cooling_device()
220 ptdata.cdi[j].max_state); in show_cooling_device()
237 cdev_inst = ptdata.cdi[j].instance; in show_cooling_device()
303 ptdata.cdi[j].type, ptdata.cdi[j].instance); in show_dialogue()
430 CDEV, ptdata.cdi[ch].instance); in handle_input_val()
456 ptdata.cdi[cdev_id].type, in handle_input_choice()
457 ptdata.cdi[cdev_id].instance); in handle_input_choice()
A Dtmon.c190 i, ptdata.cdi[i].type); in prepare_logging()
199 fprintf(tmon_log, "%s%d ", ptdata.cdi[i].type, in prepare_logging()
200 ptdata.cdi[i].instance); in prepare_logging()
A Dtmon.h95 struct cdev_info *cdi; member
/linux-6.3-rc2/include/linux/
A Dcdrom.h75 unsigned int (*check_events) (struct cdrom_device_info *cdi,
92 int (*read_cdda_bpc)(struct cdrom_device_info *cdi, void __user *ubuf,
98 int cdrom_multisession(struct cdrom_device_info *cdi,
100 int cdrom_read_tocentry(struct cdrom_device_info *cdi,
109 extern unsigned int cdrom_check_events(struct cdrom_device_info *cdi,
113 extern void unregister_cdrom(struct cdrom_device_info *cdi);
118 int cdi; member
124 extern int cdrom_number_of_slots(struct cdrom_device_info *cdi);
125 extern int cdrom_mode_select(struct cdrom_device_info *cdi,
127 extern int cdrom_mode_sense(struct cdrom_device_info *cdi,
[all …]
A Dblkdev.h193 struct cdrom_device_info *cdi; member
237 #define disk_to_cdi(disk) ((disk)->cdi)
/linux-6.3-rc2/fs/udf/
A Dlowlevel.c30 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in udf_get_last_session() local
33 if (!cdi) { in udf_get_last_session()
39 if (cdrom_multisession(cdi, &ms_info) == 0) { in udf_get_last_session()
50 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in udf_get_last_block() local
57 if (!cdi || cdrom_get_last_written(cdi, &lblock) || lblock == 0) { in udf_get_last_block()
/linux-6.3-rc2/fs/hfsplus/
A Dwrapper.c128 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in hfsplus_get_last_session() local
137 if (!cdi) in hfsplus_get_last_session()
142 if (cdrom_read_tocentry(cdi, &te) || in hfsplus_get_last_session()
148 } else if (cdi) { in hfsplus_get_last_session()
152 if (cdrom_multisession(cdi, &ms_info) == 0 && ms_info.xa_flag) in hfsplus_get_last_session()
/linux-6.3-rc2/fs/hfs/
A Dmdb.c35 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in hfs_get_last_session() local
44 if (!cdi) in hfs_get_last_session()
49 if (cdrom_read_tocentry(cdi, &te) || in hfs_get_last_session()
56 } else if (cdi) { in hfs_get_last_session()
60 if (cdrom_multisession(cdi, &ms_info) == 0 && ms_info.xa_flag) in hfs_get_last_session()
/linux-6.3-rc2/Documentation/cdrom/
A Dcdrom-standard.rst326 int open(struct cdrom_device_info *cdi, int purpose)
342 void release(struct cdrom_device_info *cdi)
384 int lock_door(struct cdrom_device_info *cdi, int lock)
423 int get_last_session(struct cdrom_device_info *cdi,
440 int get_mcn(struct cdrom_device_info *cdi,
453 int reset(struct cdrom_device_info *cdi)
464 int audio_ioctl(struct cdrom_device_info *cdi,
492 int dev_ioctl(struct cdrom_device_info *cdi,
744 int register_cdrom(struct cdrom_device_info *cdi)
770 void unregister_cdrom(struct cdrom_device_info *cdi)
[all …]
/linux-6.3-rc2/fs/isofs/
A Dinode.c549 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in isofs_get_last_session() local
555 if (!cdi) in isofs_get_last_session()
560 if (cdrom_read_tocentry(cdi, &te) == 0) { in isofs_get_last_session()
571 if (cdi) { in isofs_get_last_session()
575 if (cdrom_multisession(cdi, &ms_info) == 0) { in isofs_get_last_session()
/linux-6.3-rc2/net/sched/
A DKconfig53 <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
/linux-6.3-rc2/
A DCREDITS909 E: devik@cdi.cz
910 W: http://luxik.cdi.cz/~devik/qos/

Completed in 55 milliseconds