Searched refs:removable (Results 1 – 24 of 24) sorted by relevance
| /drivers/usb/gadget/function/ |
| A D | f_mass_storage.h | 11 bool removable[FSG_MAX_LUNS]; member 37 _FSG_MODULE_PARAM_ARRAY(prefix, params, removable, bool, \ 90 char removable; member
|
| A D | storage_common.c | 367 return sprintf(buf, "%u\n", curlun->removable); in fsg_show_removable() 494 bool removable; in fsg_store_removable() local 497 ret = kstrtobool(buf, &removable); in fsg_store_removable() 501 curlun->removable = removable; in fsg_store_removable()
|
| A D | f_mass_storage.c | 1067 buf[1] = curlun->removable ? 0x80 : 0; in do_inquiry() 1370 } else if (!curlun->removable) { in do_start_stop() 1420 } else if (!common->curlun->removable) { in do_prevent_allow() 2857 return lun->removable ? (S_IWUSR | S_IRUGO) : S_IRUGO; in fsg_lun_dev_is_visible() 2885 if (!cfg->filename && !cfg->removable) { in fsg_common_create_lun() 2899 lun->removable = !!cfg->removable; in fsg_common_create_lun() 2936 lun->removable ? "removable " : "", in fsg_common_create_lun() 3207 CONFIGFS_ATTR(fsg_lun_opts_, removable); 3321 config.removable = true; in fsg_lun_make() 3511 config.removable = true; in fsg_alloc_inst() [all …]
|
| A D | storage_common.h | 105 unsigned int removable:1; member
|
| /drivers/pci/hotplug/ |
| A D | acpi_pcihp.c | 148 unsigned long long removable; in pcihp_is_ejectable() local 153 status = acpi_evaluate_integer(handle, "_RMV", NULL, &removable); in pcihp_is_ejectable() 154 if (ACPI_SUCCESS(status) && removable) in pcihp_is_ejectable()
|
| /drivers/s390/block/ |
| A D | dasd_fba.h | 57 unsigned char removable:1; member
|
| /drivers/scsi/ |
| A D | scsi_ioctl.c | 102 if (sdev->removable) in ioctl_internal_command() 106 if (sdev->removable) { in ioctl_internal_command() 141 if (!sdev->removable || !sdev->lockable) in scsi_set_medium_removal()
|
| A D | scsi_scan.c | 925 sdev->removable = 1; in scsi_add_lun() 928 sdev->removable = (inq_result[1] & 0x80) >> 7; in scsi_add_lun() 970 sdev->lockable = sdev->removable; in scsi_add_lun()
|
| A D | sd.c | 1487 if (sdkp->device->removable || sdkp->write_prot) { in sd_need_revalidate() 1541 if (sdev->removable && !sdkp->media_present && in sd_open() 1563 if ((atomic_inc_return(&sdkp->openers) == 1) && sdev->removable) { in sd_open() 1594 if (atomic_dec_return(&sdkp->openers) == 0 && sdev->removable) { in sd_release() 1677 if (sdkp->device->removable) { in set_media_not_present() 2612 if (sdp->removable && in read_capacity_error() 4006 if (sdp->removable) { in sd_probe() 4032 sdp->removable ? "removable " : ""); in sd_probe()
|
| A D | scsi_lib.c | 810 if (cmd->device->removable) { in scsi_io_completion_action() 2415 if (sdev->removable && result > 0 && scsi_sense_valid(sshdr) && in scsi_test_unit_ready()
|
| A D | Kconfig | 802 drive (a 100 MB removable media device). 830 drive (a 100 MB removable media device).
|
| A D | scsi_debug.c | 7358 module_param_named(removable, sdebug_removable, bool, S_IRUGO | S_IWUSR); 7439 MODULE_PARM_DESC(removable, "claim to have removable media (def=0)"); 8270 static DRIVER_ATTR_RW(removable);
|
| A D | sg.c | 1364 && sdp->device->removable) { in sg_rq_end_io()
|
| /drivers/pnp/pnpacpi/ |
| A D | core.c | 247 if (device->flags.removable) in pnpacpi_add_device()
|
| /drivers/mtd/maps/ |
| A D | vmu-flash.c | 43 u32 removable; member 622 card->removable = basic_flash_data >> 7 & 1; in vmu_connect()
|
| /drivers/usb/gadget/legacy/ |
| A D | nokia.c | 38 .removable = { 1, 1, },
|
| /drivers/mtd/chips/ |
| A D | Kconfig | 229 or removable media. Use of this driver as a fallback chip probe
|
| /drivers/base/ |
| A D | memory.c | 528 static DEVICE_ATTR_RO(removable);
|
| A D | core.c | 2820 switch (dev->removable) { in removable_show() 2832 static DEVICE_ATTR_RO(removable);
|
| /drivers/usb/core/ |
| A D | hub.c | 2570 bool removable = true; in set_usb_port_removable() local 2607 removable = false; in set_usb_port_removable() 2610 removable = false; in set_usb_port_removable() 2613 if (removable) in set_usb_port_removable()
|
| /drivers/acpi/ |
| A D | Kconfig | 265 This driver supports ACPI-controlled docking stations and removable
|
| A D | scan.c | 1159 device->flags.removable = 1; in acpi_bus_get_flags()
|
| /drivers/scsi/aacraid/ |
| A D | linit.c | 418 sdev->removable = 1; in aac_sdev_configure()
|
| A D | aachba.c | 3002 scsicmd->device->removable = 1; in aac_scsi_cmd() 3029 scsicmd->device->removable = 1; in aac_scsi_cmd()
|
Completed in 97 milliseconds