Searched refs:TYPE_DISK (Results 1 - 30 of 30) sorted by relevance

/linux-4.1.27/drivers/target/
H A Dtarget_core_pscsi.c387 * for TYPE_DISK using supplied udev_path
405 pr_debug("CORE_PSCSI[%d] - Added TYPE_DISK for %d:%d:%d:%llu\n",
546 case TYPE_DISK: pscsi_configure_device()
593 * struct scsi_device with TYPE_DISK from pscsi_create_type_disk() pscsi_free_device()
595 if ((sd->type == TYPE_DISK) && pdv->pdv_bd) { pscsi_free_device()
610 if ((sd->type == TYPE_DISK) || (sd->type == TYPE_ROM)) pscsi_free_device()
1043 if (pdv->pdv_sd->type == TYPE_DISK) pscsi_execute_cmd()
H A Dtarget_core_spc.c930 case TYPE_DISK: spc_modesense_write_protect()
941 case TYPE_DISK: spc_modesense_dpofua()
1015 if (!dbd && type == TYPE_DISK) { spc_emulate_modesense()
H A Dtarget_core_tpg.c155 if (dev->transport->get_device_type(dev) == TYPE_DISK) core_tpg_add_node_to_devs()
H A Dtarget_core_sbc.c1096 return TYPE_DISK; sbc_get_device_type()
/linux-4.1.27/drivers/scsi/aacraid/
H A Dlinit.c405 if (aac->jbod && (sdev->type == TYPE_DISK)) aac_slave_configure()
407 if ((sdev->type == TYPE_DISK) && aac_slave_configure()
416 if (sdev->tagged_supported && (sdev->type == TYPE_DISK) && aac_slave_configure()
436 if (dev->tagged_supported && (dev->type == TYPE_DISK) && __shost_for_each_device()
471 if (sdev->tagged_supported && (sdev->type == TYPE_DISK) && aac_change_queue_depth()
478 if (dev->tagged_supported && (dev->type == TYPE_DISK) && __shost_for_each_device()
504 ((aac->jbod && (sdev->type == TYPE_DISK)) ? "JBOD\n" : "")); aac_show_raid_level()
H A Daachba.c426 if ((inq_data & 0x20) && (inq_data & 0x1f) == TYPE_DISK) { aac_expose_phy_device()
/linux-4.1.27/arch/powerpc/platforms/ps3/
H A Dplatform.h85 PS3_DEV_TYPE_STOR_DISK = TYPE_DISK, /* 0 */
/linux-4.1.27/include/scsi/
H A Dscsi.h327 #define TYPE_DISK 0x00 macro
335 * - treated as TYPE_DISK */
/linux-4.1.27/drivers/scsi/
H A Du14-34f.c238 * Redo i/o on target status CHECK_CONDITION for TYPE_DISK only.
540 #define TLDEV(type) ((type) == TYPE_DISK || (type) == TYPE_ROM)
1816 else if (tstatus != GOOD && SCpnt->device->type == TYPE_DISK ihdlr()
1822 && SCpnt->device->type == TYPE_DISK ihdlr()
1832 if (spp->target_status && SCpnt->device->type == TYPE_DISK && ihdlr()
H A Dsd.c91 MODULE_ALIAS_SCSI_DEVICE(TYPE_DISK); variable
164 if (sdp->type != TYPE_DISK) cache_type_store()
262 if (sdp->type != TYPE_DISK) allow_restart_store()
392 if (sdp->type != TYPE_DISK) provisioning_mode_store()
459 if (sdp->type != TYPE_DISK) max_write_same_blocks_store()
2498 if (sdp->type != TYPE_DISK) sd_read_app_tag_own()
2929 if (sdp->type != TYPE_DISK && sdp->type != TYPE_MOD && sdp->type != TYPE_RBC) sd_probe()
H A Deata.c298 * Redo i/o on target status CHECK_CONDITION for TYPE_DISK only.
608 #define TLDEV(type) ((type) == TYPE_DISK || (type) == TYPE_ROM)
2414 else if (tstatus != GOOD && SCpnt->device->type == TYPE_DISK ihdlr()
2422 && SCpnt->device->type == TYPE_DISK ihdlr()
2433 if (spp->target_status && SCpnt->device->type == TYPE_DISK && ihdlr()
H A Dipr.h368 ((IPR_STD_INQ_PERI_DEV_TYPE((std_inq).peri_qual_dev_type) == TYPE_DISK) && \
H A Dips.c1209 if (SDptr->tagged_supported && SDptr->type == TYPE_DISK) { ips_slave_configure()
3332 if ((inquiryData.DeviceType & 0x1f) == TYPE_DISK) { ips_map_status()
3980 if ((inquiryData.DeviceType & 0x1f) == TYPE_DISK) ips_chkstatus()
H A Dhpsa.c1292 if (dev[j]->devtype != TYPE_DISK) hpsa_figure_phys_disk_ptrs()
1334 if (dev[i]->devtype != TYPE_DISK) hpsa_update_log_drive_phys_drive_ptrs()
2696 if (this_device->devtype == TYPE_DISK && hpsa_update_device_info()
3185 case TYPE_DISK: hpsa_update_scsi_devices()
H A Dmegaraid.c1562 ((c & 0x1F ) == TYPE_DISK)) { mega_cmd_done()
2418 (scsi_inq[0] & 0x1F) != TYPE_DISK ) { proc_show_pdrv()
H A Ddc395x.c3243 /* ((dcb->dev_type == TYPE_DISK) disc_tagq_set()
3262 /* if (bval1 == TYPE_DISK || bval1 == TYPE_MOD) */ add_dev()
H A D3w-xxxx.c1456 request_buffer[0] = TYPE_DISK; /* Peripheral device type */ tw_scsiop_inquiry_complete()
H A Dgdth.c2346 inq.type_qual = (ha->hdr[t].devtype&4) ? TYPE_ROM:TYPE_DISK; gdth_internal_cache_cmd()
/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc_tgt.c398 tgt->dev_type = TYPE_DISK; bnx2fc_init_tgt()
H A Dbnx2fc_hwi.c1713 if ((dev_type == TYPE_DISK) && (bd_count == 1)) { bnx2fc_init_task()
1795 if (dev_type == TYPE_DISK) { bnx2fc_init_task()
/linux-4.1.27/drivers/usb/storage/
H A Dscsiglue.c149 if (sdev->type == TYPE_DISK) { slave_configure()
/linux-4.1.27/drivers/message/fusion/
H A Dmptscsih.c2332 else if (sdev->type == TYPE_DISK && mptscsih_change_queue_depth()
3025 if (vdevice->vtarget->type != TYPE_DISK || vdevice->vtarget->deleted || mptscsih_synchronize_cache()
/linux-4.1.27/drivers/firewire/
H A Dsbp2.c1542 if (sdev->type == TYPE_DISK && sbp2_scsi_slave_configure()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_mbox.c2318 if ((c & 0x1F ) == TYPE_DISK) { megaraid_mbox_dpc()
H A Dmegaraid_sas_fusion.c1718 timeout_limit = (scmd->device->type == TYPE_DISK) ? megasas_build_dcdb_fusion()
/linux-4.1.27/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c1927 if (sdev->type == TYPE_DISK) { ibmvscsi_slave_configure()
H A Dibmvfc.c2887 if (sdev->type == TYPE_DISK) ibmvfc_slave_configure()
/linux-4.1.27/drivers/infiniband/ulp/srp/
H A Dib_srp.c2548 if (sdev->type == TYPE_DISK) { srp_slave_configure()
/linux-4.1.27/drivers/usb/gadget/function/
H A Df_mass_storage.c1102 buf[0] = curlun->cdrom ? TYPE_ROM : TYPE_DISK; do_inquiry()
/linux-4.1.27/drivers/ata/
H A Dlibata-scsi.c2008 TYPE_DISK, ata_scsiop_inq_std()

Completed in 657 milliseconds