/linux-6.1.9/drivers/cdrom/ |
D | cdrom.c | 323 #define CDROM_CAN(type) (cdi->ops->capability & ~cdi->mask & (type)) 337 static void signal_media_change(struct cdrom_device_info *cdi) in signal_media_change() argument 339 cdi->mc_flags = 0x3; /* set media changed bits, on both queues */ in signal_media_change() 340 cdi->last_media_change_ms = ktime_to_ms(ktime_get()); in signal_media_change() 343 int cdrom_dummy_generic_packet(struct cdrom_device_info *cdi, in cdrom_dummy_generic_packet() argument 357 static int cdrom_flush_cache(struct cdrom_device_info *cdi) in cdrom_flush_cache() argument 366 return cdi->ops->generic_packet(cdi, &cgc); in cdrom_flush_cache() 370 static int cdrom_get_disc_info(struct cdrom_device_info *cdi, in cdrom_get_disc_info() argument 373 const struct cdrom_device_ops *cdo = cdi->ops; in cdrom_get_disc_info() 383 ret = cdo->generic_packet(cdi, &cgc); in cdrom_get_disc_info() [all …]
|
D | gdrom.c | 458 static int gdrom_audio_ioctl(struct cdrom_device_info *cdi, unsigned int cmd, in gdrom_audio_ioctl() argument
|
/linux-6.1.9/drivers/scsi/ |
D | sr_ioctl.c | 36 static int sr_read_tochdr(struct cdrom_device_info *cdi, in sr_read_tochdr() argument 39 struct scsi_cd *cd = cdi->handle; in sr_read_tochdr() 69 static int sr_read_tocentry(struct cdrom_device_info *cdi, in sr_read_tocentry() argument 72 struct scsi_cd *cd = cdi->handle; in sr_read_tocentry() 117 static int sr_fake_playtrkind(struct cdrom_device_info *cdi, struct cdrom_ti *ti) in sr_fake_playtrkind() argument 124 ret = sr_read_tochdr(cdi, &tochdr); in sr_fake_playtrkind() 140 ret = sr_read_tocentry(cdi, &trk0_te); in sr_fake_playtrkind() 143 ret = sr_read_tocentry(cdi, &trk1_te); in sr_fake_playtrkind() 157 return sr_do_ioctl(cdi->handle, &cgc); in sr_fake_playtrkind() 160 static int sr_play_trkind(struct cdrom_device_info *cdi, in sr_play_trkind() argument [all …]
|
D | sr.c | 118 static unsigned int sr_check_events(struct cdrom_device_info *cdi, 121 static int sr_read_cdda_bpc(struct cdrom_device_info *cdi, void __user *ubuf, 202 static unsigned int sr_check_events(struct cdrom_device_info *cdi, in sr_check_events() argument 205 struct scsi_cd *cd = cdi->handle; in sr_check_events() 398 cd->cdi.media_written = 1; in sr_init_command() 480 sr_cd_check(&cd->cdi); in sr_revalidate_disk() 498 ret = cdrom_open(&cd->cdi, bdev, mode); in sr_block_open() 512 cdrom_release(&cd->cdi, mode); in sr_block_release() 539 ret = cdrom_ioctl(&cd->cdi, bdev, mode, cmd, arg); in sr_block_ioctl() 559 return cdrom_check_events(&cd->cdi, clearing); in sr_block_check_events() [all …]
|
D | sr_vendor.c | 95 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()
|
D | sr.h | 51 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.1.9/tools/thermal/tmon/ |
D | sysfs.c | 96 static int probe_cdev(struct cdev_info *cdi, char *path) in probe_cdev() argument 98 sysfs_get_string(path, "type", cdi->type); in probe_cdev() 99 sysfs_get_ulong(path, "max_state", &cdi->max_state); in probe_cdev() 100 sysfs_get_ulong(path, "cur_state", &cdi->cur_state); in probe_cdev() 104 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); in probe_cdev() 366 sysfs_get_string(cdev_name, "type", ptdata.cdi[k].type); in scan_cdevs() 367 ptdata.cdi[k].instance = i; in scan_cdevs() 368 if (strstr(ptdata.cdi[k].type, ctrl_cdev)) { in scan_cdevs() 369 ptdata.cdi[k].flag |= CDEV_FLAG_IN_CONTROL; in scan_cdevs() 450 ptdata.cdi = calloc(ptdata.max_cdev_instance + 1, in probe_thermal_sysfs() [all …]
|
D | tui.c | 217 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()
|
D | tmon.c | 190 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()
|
D | tmon.h | 95 struct cdev_info *cdi; member
|
/linux-6.1.9/include/linux/ |
D | cdrom.h | 75 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, 104 extern int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev, 106 extern void cdrom_release(struct cdrom_device_info *cdi, fmode_t mode); 107 extern int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev, 109 extern unsigned int cdrom_check_events(struct cdrom_device_info *cdi, 112 extern int register_cdrom(struct gendisk *disk, struct cdrom_device_info *cdi); 113 extern void unregister_cdrom(struct cdrom_device_info *cdi); [all …]
|
D | blkdev.h | 193 struct cdrom_device_info *cdi; member 237 #define disk_to_cdi(disk) ((disk)->cdi)
|
/linux-6.1.9/fs/udf/ |
D | lowlevel.c | 30 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.1.9/drivers/block/paride/ |
D | pcd.c | 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, [all …]
|
/linux-6.1.9/fs/hfsplus/ |
D | wrapper.c | 128 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.1.9/fs/hfs/ |
D | mdb.c | 35 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.1.9/Documentation/cdrom/ |
D | cdrom-standard.rst | 326 int open(struct cdrom_device_info *cdi, int purpose) 342 void release(struct cdrom_device_info *cdi) 353 int drive_status(struct cdrom_device_info *cdi, int slot_nr) 369 int tray_move(struct cdrom_device_info *cdi, int position) 384 int lock_door(struct cdrom_device_info *cdi, int lock) 399 int select_speed(struct cdrom_device_info *cdi, int speed) 423 int get_last_session(struct cdrom_device_info *cdi, 427 device *cdi->dev*, the start of the last session of the current disc 440 int get_mcn(struct cdrom_device_info *cdi, 453 int reset(struct cdrom_device_info *cdi) [all …]
|
/linux-6.1.9/fs/isofs/ |
D | inode.c | 549 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.1.9/net/sched/ |
D | Kconfig | 70 <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
|
/linux-6.1.9/ |
D | CREDITS | 909 E: devik@cdi.cz 910 W: http://luxik.cdi.cz/~devik/qos/
|