Home
last modified time | relevance | path

Searched refs:removable (Results 1 – 24 of 24) sorted by relevance

/drivers/usb/gadget/function/
A Df_mass_storage.h11 bool removable[FSG_MAX_LUNS]; member
37 _FSG_MODULE_PARAM_ARRAY(prefix, params, removable, bool, \
90 char removable; member
A Dstorage_common.c367 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 Df_mass_storage.c1067 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 Dstorage_common.h105 unsigned int removable:1; member
/drivers/pci/hotplug/
A Dacpi_pcihp.c148 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 Ddasd_fba.h57 unsigned char removable:1; member
/drivers/scsi/
A Dscsi_ioctl.c102 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 Dscsi_scan.c925 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 Dsd.c1487 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 Dscsi_lib.c810 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 DKconfig802 drive (a 100 MB removable media device).
830 drive (a 100 MB removable media device).
A Dscsi_debug.c7358 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 Dsg.c1364 && sdp->device->removable) { in sg_rq_end_io()
/drivers/pnp/pnpacpi/
A Dcore.c247 if (device->flags.removable) in pnpacpi_add_device()
/drivers/mtd/maps/
A Dvmu-flash.c43 u32 removable; member
622 card->removable = basic_flash_data >> 7 & 1; in vmu_connect()
/drivers/usb/gadget/legacy/
A Dnokia.c38 .removable = { 1, 1, },
/drivers/mtd/chips/
A DKconfig229 or removable media. Use of this driver as a fallback chip probe
/drivers/base/
A Dmemory.c528 static DEVICE_ATTR_RO(removable);
A Dcore.c2820 switch (dev->removable) { in removable_show()
2832 static DEVICE_ATTR_RO(removable);
/drivers/usb/core/
A Dhub.c2570 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 DKconfig265 This driver supports ACPI-controlled docking stations and removable
A Dscan.c1159 device->flags.removable = 1; in acpi_bus_get_flags()
/drivers/scsi/aacraid/
A Dlinit.c418 sdev->removable = 1; in aac_sdev_configure()
A Daachba.c3002 scsicmd->device->removable = 1; in aac_scsi_cmd()
3029 scsicmd->device->removable = 1; in aac_scsi_cmd()

Completed in 97 milliseconds