Searched refs:cdrom (Results 1 – 11 of 11) sorted by relevance
/drivers/usb/gadget/function/ |
D | storage_common.c | 231 if (curlun->cdrom) { in fsg_lun_open() 244 if (curlun->cdrom) { in fsg_lun_open() 360 return sprintf(buf, "%u\n", curlun->cdrom); in fsg_show_cdrom() 470 bool cdrom; in fsg_store_cdrom() local 473 ret = strtobool(buf, &cdrom); in fsg_store_cdrom() 478 ret = cdrom ? _fsg_store_ro(curlun, true) : 0; in fsg_store_cdrom() 481 curlun->cdrom = cdrom; in fsg_store_cdrom()
|
D | f_mass_storage.h | 12 bool cdrom[FSG_MAX_LUNS]; member 39 _FSG_MODULE_PARAM_ARRAY(prefix, params, cdrom, bool, \ 91 char cdrom; member
|
D | f_mass_storage.c | 1090 buf[0] = curlun->cdrom ? TYPE_ROM : TYPE_DISK; in do_inquiry() 1982 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command() 1994 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command() 2795 return lun->cdrom ? S_IRUGO : (S_IWUSR | S_IRUGO); in fsg_lun_dev_is_visible() 2836 lun->cdrom = !!cfg->cdrom; in fsg_common_create_lun() 2837 lun->ro = cfg->cdrom || cfg->ro; in fsg_common_create_lun() 2881 lun->cdrom ? "CD-ROM " : "", in fsg_common_create_lun() 2932 pn ?: ((*common->luns)->cdrom in fsg_common_set_inquiry_string() 3169 CONFIGFS_ATTR(fsg_lun_opts_, cdrom); 3531 lun->cdrom = !!params->cdrom[i]; in fsg_config_from_params()
|
D | storage_common.h | 106 unsigned int cdrom:1; member
|
/drivers/cdrom/ |
D | Makefile | 2 obj-$(CONFIG_CDROM) += cdrom.o
|
/drivers/ide/ |
D | ide.c | 236 module_param_named(cdrom, ide_cdroms, ide_dev_mask, 0); 237 MODULE_PARM_DESC(cdrom, "force device as a CD-ROM");
|
/drivers/block/xen-blkback/ |
D | xenbus.c | 482 int cdrom) in xen_vbd_create() argument 513 if (vbd->bdev->bd_disk->flags & GENHD_FL_CD || cdrom) in xen_vbd_create() 713 int cdrom = 0; in backend_changed() local 751 cdrom = strcmp(device_type, "cdrom") == 0; in backend_changed() 767 !strchr(be->mode, 'w'), cdrom); in backend_changed()
|
/drivers/ |
D | Makefile | 95 obj-y += cdrom/
|
/drivers/block/paride/ |
D | Kconfig | 30 select BLK_SCSI_REQUEST # only for the generic cdrom code
|
/drivers/block/ |
D | Kconfig | 351 See the file <file:Documentation/cdrom/packet-writing.rst>
|
/drivers/scsi/ |
D | Kconfig | 149 don't need this for those tiny 6-slot cdrom changers. Media
|