| /Linux-v5.15/drivers/target/ |
| D | target_core_spc.c | 140 if (cmd->se_dev->transport->get_device_type(dev) == TYPE_DISK) in spc_emulate_inquiry_std() 489 if ((dev->transport->get_device_type(dev) == TYPE_DISK) && in spc_emulate_evpd_86() 974 case TYPE_DISK: in spc_modesense_write_protect() 985 case TYPE_DISK: in spc_modesense_dpofua() 1061 if (!dbd && type == TYPE_DISK) { in spc_emulate_modesense()
|
| D | target_core_pscsi.c | 389 phv->phv_host_id, sd->type == TYPE_DISK ? "DISK" : "ZBC", in pscsi_create_type_disk() 508 case TYPE_DISK: in pscsi_configure_device() 569 if ((sd->type == TYPE_DISK || sd->type == TYPE_ZBC) && in pscsi_destroy_device() 1002 if (pdv->pdv_sd->type == TYPE_DISK || in pscsi_execute_cmd()
|
| D | target_core_tpg.c | 130 if (dev->transport->get_device_type(dev) == TYPE_DISK) in core_tpg_add_node_to_devs()
|
| D | target_core_sbc.c | 1163 return TYPE_DISK; in sbc_get_device_type()
|
| /Linux-v5.15/drivers/scsi/aacraid/ |
| D | linit.c | 417 if (aac->jbod && (sdev->type == TYPE_DISK)) in aac_slave_configure() 420 if (sdev->type == TYPE_DISK in aac_slave_configure() 433 && sdev->type == TYPE_DISK in aac_slave_configure() 451 && dev->type == TYPE_DISK in aac_slave_configure() 529 if (sdev->tagged_supported && (sdev->type == TYPE_DISK) && in aac_change_queue_depth() 536 if (dev->tagged_supported && (dev->type == TYPE_DISK) && in aac_change_queue_depth() 565 ((aac->jbod && (sdev->type == TYPE_DISK)) ? "JBOD\n" : "")); in aac_show_raid_level()
|
| /Linux-v5.15/include/scsi/ |
| D | scsi_proto.h | 233 #define TYPE_DISK 0x00 macro
|
| /Linux-v5.15/arch/powerpc/platforms/ps3/ |
| D | platform.h | 73 PS3_DEV_TYPE_STOR_DISK = TYPE_DISK, /* 0 */
|
| /Linux-v5.15/drivers/scsi/ |
| D | sd.c | 96 MODULE_ALIAS_SCSI_DEVICE(TYPE_DISK); 167 if (sdp->type != TYPE_DISK && sdp->type != TYPE_ZBC) in cache_type_store() 271 if (sdp->type != TYPE_DISK && sdp->type != TYPE_ZBC) in allow_restart_store() 411 if (sdp->type != TYPE_DISK) in provisioning_mode_store() 508 if (sdp->type != TYPE_DISK && sdp->type != TYPE_ZBC) in max_write_same_blocks_store() 2862 if (sdp->type != TYPE_DISK && sdp->type != TYPE_ZBC) in sd_read_app_tag_own() 3353 if (sdp->type != TYPE_DISK && in sd_probe()
|
| D | hpsa.c | 798 if (hdev->devtype == TYPE_DISK || hdev->devtype == TYPE_ZBC) in host_show_hp_ssd_smart_path_enabled() 865 if ((hdev->devtype == TYPE_DISK || hdev->devtype == TYPE_ZBC) && in path_info_show() 1240 case TYPE_DISK: in hpsa_show_dev_msg() 1726 if (dev[j]->devtype != TYPE_DISK && in hpsa_figure_phys_disk_ptrs() 1780 if (dev[i]->devtype != TYPE_DISK && in hpsa_update_log_drive_phys_drive_ptrs() 3991 if ((this_device->devtype == TYPE_DISK || in hpsa_update_device_info() 4493 case TYPE_DISK: in hpsa_update_scsi_devices()
|
| D | ipr.h | 367 ((IPR_STD_INQ_PERI_DEV_TYPE((std_inq).peri_qual_dev_type) == TYPE_DISK) && \
|
| D | scsi_debug.c | 139 #define DEF_PTYPE TYPE_DISK 1572 is_disk = (sdebug_ptype == TYPE_DISK); in resp_inquiry() 2327 is_disk = (sdebug_ptype == TYPE_DISK); in resp_mode_sense() 6802 sdebug_ptype = TYPE_DISK; in scsi_debug_init()
|
| D | megaraid.c | 1562 ((c & 0x1F ) == TYPE_DISK)) { in mega_cmd_done() 2414 (scsi_inq[0] & 0x1F) != TYPE_DISK ) { in proc_show_pdrv()
|
| D | ips.c | 1202 if (SDptr->tagged_supported && SDptr->type == TYPE_DISK) { in ips_slave_configure() 3317 if ((inquiryData.DeviceType & 0x1f) == TYPE_DISK) { in ips_map_status() 3968 if ((inquiryData.DeviceType & 0x1f) == TYPE_DISK) in ips_chkstatus()
|
| D | 3w-xxxx.c | 1465 request_buffer[0] = TYPE_DISK; /* Peripheral device type */ in tw_scsiop_inquiry_complete()
|
| /Linux-v5.15/drivers/usb/storage/ |
| D | scsiglue.c | 147 if (sdev->type == TYPE_DISK) { in slave_configure()
|
| /Linux-v5.15/drivers/hwmon/ |
| D | drivetemp.c | 443 if (sdev->type != TYPE_DISK && sdev->type != TYPE_ZBC) in drivetemp_identify()
|
| /Linux-v5.15/drivers/scsi/bnx2fc/ |
| D | bnx2fc_tgt.c | 398 tgt->dev_type = TYPE_DISK; in bnx2fc_init_tgt()
|
| D | bnx2fc_hwi.c | 1732 if ((dev_type == TYPE_DISK) && (bd_count == 1)) { in bnx2fc_init_task() 1814 if (dev_type == TYPE_DISK) { in bnx2fc_init_task()
|
| /Linux-v5.15/drivers/scsi/device_handler/ |
| D | scsi_dh_alua.c | 276 if (sdev->type != TYPE_DISK) { in alua_check_tpgs()
|
| /Linux-v5.15/drivers/message/fusion/ |
| D | mptscsih.c | 2327 else if (sdev->type == TYPE_DISK && in mptscsih_change_queue_depth() 3020 if (vdevice->vtarget->type != TYPE_DISK || vdevice->vtarget->deleted || in mptscsih_synchronize_cache()
|
| /Linux-v5.15/drivers/firewire/ |
| D | sbp2.c | 1525 if (sdev->type == TYPE_DISK && in sbp2_scsi_slave_configure()
|
| /Linux-v5.15/Documentation/scsi/ |
| D | ChangeLog.megaraid_sas | 162 7. Fix megasas_build_dcdb_fusion() to not filter by TYPE_DISK.
|
| /Linux-v5.15/drivers/scsi/ibmvscsi/ |
| D | ibmvscsi.c | 1875 if (sdev->type == TYPE_DISK) { in ibmvscsi_slave_configure()
|
| /Linux-v5.15/drivers/scsi/smartpqi/ |
| D | smartpqi_init.c | 1528 if (device->devtype == TYPE_DISK) { in pqi_get_logical_device_info() 1812 if (device->devtype == TYPE_DISK) in pqi_dev_info() 1823 if (device->devtype == TYPE_DISK || in pqi_dev_info() 6780 if ((device->devtype == TYPE_DISK || in pqi_path_info_show()
|
| /Linux-v5.15/drivers/scsi/megaraid/ |
| D | megaraid_sas_fusion.c | 3107 instance->pd_list[pd_index].driveType == TYPE_DISK) { in megasas_build_syspd_fusion() 3174 timeout_limit = (scmd->device->type == TYPE_DISK) ? in megasas_build_syspd_fusion()
|