/linux-6.6.21/drivers/cdrom/ |
D | cdrom.c | 324 #define CDROM_CAN(type) (cdi->ops->capability & ~cdi->mask & (type)) 338 static void signal_media_change(struct cdrom_device_info *cdi) in signal_media_change() argument 340 cdi->mc_flags = 0x3; /* set media changed bits, on both queues */ in signal_media_change() 341 cdi->last_media_change_ms = ktime_to_ms(ktime_get()); in signal_media_change() 344 int cdrom_dummy_generic_packet(struct cdrom_device_info *cdi, in cdrom_dummy_generic_packet() argument 358 static int cdrom_flush_cache(struct cdrom_device_info *cdi) in cdrom_flush_cache() argument 367 return cdi->ops->generic_packet(cdi, &cgc); in cdrom_flush_cache() 371 static int cdrom_get_disc_info(struct cdrom_device_info *cdi, in cdrom_get_disc_info() argument 374 const struct cdrom_device_ops *cdo = cdi->ops; in cdrom_get_disc_info() 384 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.6.21/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, 205 static unsigned int sr_check_events(struct cdrom_device_info *cdi, in sr_check_events() argument 208 struct scsi_cd *cd = cdi->handle; in sr_check_events() 401 cd->cdi.media_written = 1; in sr_init_command() 483 sr_cd_check(&cd->cdi); in sr_revalidate_disk() 501 ret = cdrom_open(&cd->cdi, mode); in sr_block_open() 515 cdrom_release(&cd->cdi); in sr_block_release() 542 ret = cdrom_ioctl(&cd->cdi, bdev, cmd, arg); in sr_block_ioctl() 562 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.6.21/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.6.21/include/linux/ |
D | cdrom.h | 76 unsigned int (*check_events) (struct cdrom_device_info *cdi, 93 int (*read_cdda_bpc)(struct cdrom_device_info *cdi, void __user *ubuf, 99 int cdrom_multisession(struct cdrom_device_info *cdi, 101 int cdrom_read_tocentry(struct cdrom_device_info *cdi, 105 int cdrom_open(struct cdrom_device_info *cdi, blk_mode_t mode); 106 void cdrom_release(struct cdrom_device_info *cdi); 107 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 | 197 struct cdrom_device_info *cdi; member 242 #define disk_to_cdi(disk) ((disk)->cdi)
|
/linux-6.6.21/fs/udf/ |
D | lowlevel.c | 26 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in udf_get_last_session() local 29 if (!cdi) { in udf_get_last_session() 35 if (cdrom_multisession(cdi, &ms_info) == 0) { in udf_get_last_session() 46 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in udf_get_last_block() local 53 if (!cdi || cdrom_get_last_written(cdi, &lblock) || lblock == 0) { in udf_get_last_block()
|
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/net/sched/ |
D | Kconfig | 53 <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
|
/linux-6.6.21/ |
D | CREDITS | 918 E: devik@cdi.cz 919 W: http://luxik.cdi.cz/~devik/qos/
|