Home
last modified time | relevance | path

Searched refs:cdrom (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/gadget/function/
Dstorage_common.c231 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()
Df_mass_storage.h12 bool cdrom[FSG_MAX_LUNS]; member
39 _FSG_MODULE_PARAM_ARRAY(prefix, params, cdrom, bool, \
91 char cdrom; member
Df_mass_storage.c1058 buf[0] = curlun->cdrom ? TYPE_ROM : TYPE_DISK; in do_inquiry()
1950 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command()
1962 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command()
2763 return lun->cdrom ? S_IRUGO : (S_IWUSR | S_IRUGO); in fsg_lun_dev_is_visible()
2804 lun->cdrom = !!cfg->cdrom; in fsg_common_create_lun()
2805 lun->ro = cfg->cdrom || cfg->ro; in fsg_common_create_lun()
2849 lun->cdrom ? "CD-ROM " : "", in fsg_common_create_lun()
2900 pn ?: ((*common->luns)->cdrom in fsg_common_set_inquiry_string()
3137 CONFIGFS_ATTR(fsg_lun_opts_, cdrom);
3499 lun->cdrom = !!params->cdrom[i]; in fsg_config_from_params()
Dstorage_common.h106 unsigned int cdrom:1; member
/drivers/cdrom/
DMakefile2 obj-$(CONFIG_CDROM) += cdrom.o
/drivers/block/xen-blkback/
Dxenbus.c481 int cdrom) in xen_vbd_create() argument
512 if (vbd->bdev->bd_disk->flags & GENHD_FL_CD || cdrom) in xen_vbd_create()
712 int cdrom = 0; in backend_changed() local
750 cdrom = strcmp(device_type, "cdrom") == 0; in backend_changed()
766 !strchr(be->mode, 'w'), cdrom); in backend_changed()
/drivers/
DMakefile94 obj-y += cdrom/
/drivers/block/
DKconfig329 See the file <file:Documentation/cdrom/packet-writing.rst>
/drivers/scsi/
DKconfig165 don't need this for those tiny 6-slot cdrom changers. Media