Home
last modified time | relevance | path

Searched refs:TYPE_DISK (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.15/drivers/scsi/aacraid/
H A Dlinit.c417 if (aac->jbod && (sdev->type == TYPE_DISK)) in aac_sdev_configure()
420 if (sdev->type == TYPE_DISK in aac_sdev_configure()
433 && sdev->type == TYPE_DISK in aac_sdev_configure()
451 && dev->type == TYPE_DISK in aac_sdev_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-6.15/drivers/target/
H A Dtarget_core_pscsi.c386 phv->phv_host_id, sd->type == TYPE_DISK ? "DISK" : "ZBC", in pscsi_create_type_disk()
505 case TYPE_DISK: in pscsi_configure_device()
566 if ((sd->type == TYPE_DISK || sd->type == TYPE_ZBC) && in pscsi_destroy_device()
964 if (pdv->pdv_sd->type == TYPE_DISK || in pscsi_execute_cmd()
H A Dtarget_core_spc.c146 if (cmd->se_dev->transport->get_device_type(dev) == TYPE_DISK) in spc_emulate_inquiry_std()
486 if ((dev->transport->get_device_type(dev) == TYPE_DISK) && in spc_emulate_evpd_86()
975 case TYPE_DISK: in spc_modesense_write_protect()
986 case TYPE_DISK: in spc_modesense_dpofua()
1062 if (!dbd && type == TYPE_DISK) { in spc_emulate_modesense()
H A Dtarget_core_tpg.c131 if (dev->transport->get_device_type(dev) == TYPE_DISK) in core_tpg_add_node_to_devs()
H A Dtarget_core_sbc.c1073 return TYPE_DISK; in sbc_get_device_type()
/linux-6.15/arch/powerpc/platforms/ps3/
H A Dplatform.h73 PS3_DEV_TYPE_STOR_DISK = TYPE_DISK, /* 0 */
/linux-6.15/include/scsi/
H A Dscsi_proto.h241 #define TYPE_DISK 0x00 macro
/linux-6.15/drivers/usb/storage/
H A Dscsiglue.c134 if (sdev->type == TYPE_DISK) { in sdev_configure()
/linux-6.15/drivers/hwmon/
H A Ddrivetemp.c446 if (sdev->type != TYPE_DISK && sdev->type != TYPE_ZBC) in drivetemp_identify()
/linux-6.15/drivers/scsi/
H A Dsd.c98 MODULE_ALIAS_SCSI_DEVICE(TYPE_DISK);
152 if (sdp->type != TYPE_DISK && sdp->type != TYPE_ZBC) in cache_type_store()
340 if (sdp->type != TYPE_DISK && sdp->type != TYPE_ZBC) in allow_restart_store()
476 if (sdp->type != TYPE_DISK) in provisioning_mode_store()
577 if (sdp->type != TYPE_DISK && sdp->type != TYPE_ZBC) in max_write_same_blocks_store()
3271 if (sdp->type != TYPE_DISK && sdp->type != TYPE_ZBC) in sd_read_app_tag_own()
3920 if (sdp->type != TYPE_DISK && in sd_probe()
H A Dhpsa.c791 if (hdev->devtype == TYPE_DISK || hdev->devtype == TYPE_ZBC) in host_show_hp_ssd_smart_path_enabled()
858 if ((hdev->devtype == TYPE_DISK || hdev->devtype == TYPE_ZBC) && in path_info_show()
1237 case TYPE_DISK: in hpsa_show_dev_msg()
1723 if (dev[j]->devtype != TYPE_DISK && in hpsa_figure_phys_disk_ptrs()
1777 if (dev[i]->devtype != TYPE_DISK && in hpsa_update_log_drive_phys_drive_ptrs()
3989 if ((this_device->devtype == TYPE_DISK || in hpsa_update_device_info()
4489 case TYPE_DISK: in hpsa_update_scsi_devices()
H A Dmegaraid.c1561 ((c & 0x1F ) == TYPE_DISK)) { in mega_cmd_done()
2402 (scsi_inq[0] & 0x1F) != TYPE_DISK ) { in proc_show_pdrv()
H A Dipr.h364 ((IPR_STD_INQ_PERI_DEV_TYPE((std_inq).peri_qual_dev_type) == TYPE_DISK) && \
H A Dips.c1183 if (SDptr->tagged_supported && SDptr->type == TYPE_DISK) { in ips_sdev_configure()
3297 if ((inquiryData.DeviceType & 0x1f) == TYPE_DISK) { in ips_map_status()
3946 if ((inquiryData.DeviceType & 0x1f) == TYPE_DISK) in ips_chkstatus()
H A D3w-xxxx.c1467 request_buffer[0] = TYPE_DISK; /* Peripheral device type */ in tw_scsiop_inquiry_complete()
H A Dscsi_debug.c152 #define DEF_PTYPE TYPE_DISK
2041 is_disk = (sdebug_ptype == TYPE_DISK); in resp_inquiry()
2917 is_disk = (sdebug_ptype == TYPE_DISK); in resp_mode_sense()
8498 sdebug_ptype = TYPE_DISK; in scsi_debug_init()
/linux-6.15/drivers/scsi/bnx2fc/
H A Dbnx2fc_tgt.c396 tgt->dev_type = TYPE_DISK; in bnx2fc_init_tgt()
H A Dbnx2fc_hwi.c1733 if ((dev_type == TYPE_DISK) && (bd_count == 1)) { in bnx2fc_init_task()
1818 if (dev_type == TYPE_DISK) { in bnx2fc_init_task()
/linux-6.15/drivers/scsi/device_handler/
H A Dscsi_dh_alua.c282 if (sdev->type != TYPE_DISK) { in alua_check_tpgs()
/linux-6.15/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c1716 if (device->devtype == TYPE_DISK) { in pqi_get_logical_device_info()
2034 if (device->devtype == TYPE_DISK) in pqi_dev_info()
2045 if (device->devtype == TYPE_DISK || in pqi_dev_info()
2098 if (existing_device->devtype == TYPE_DISK) { in pqi_scsi_update_device()
3741 if (pqi_is_logical_device(device) && device->devtype == TYPE_DISK) in pqi_mark_volumes_for_rescan()
7249 if ((device->devtype == TYPE_DISK || in pqi_path_info_show()
7351 if (pqi_is_logical_device(device) && device->devtype == TYPE_DISK) in pqi_raid_level_show()
/linux-6.15/drivers/message/fusion/
H A Dmptscsih.c2319 else if (sdev->type == TYPE_DISK && in mptscsih_change_queue_depth()
3010 if (vdevice->vtarget->type != TYPE_DISK || vdevice->vtarget->deleted || in mptscsih_synchronize_cache()
/linux-6.15/drivers/firewire/
H A Dsbp2.c1525 if (sdev->type == TYPE_DISK && in sbp2_scsi_sdev_configure()
/linux-6.15/Documentation/scsi/
H A DChangeLog.megaraid_sas162 7. Fix megasas_build_dcdb_fusion() to not filter by TYPE_DISK.
/linux-6.15/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c1878 if (sdev->type == TYPE_DISK) { in ibmvscsi_sdev_configure()
/linux-6.15/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c3111 instance->pd_list[pd_index].driveType == TYPE_DISK) { in megasas_build_syspd_fusion()
3178 timeout_limit = (scmd->device->type == TYPE_DISK) ? in megasas_build_syspd_fusion()

12