Home
last modified time | relevance | path

Searched refs:scsi_id (Results 1 – 43 of 43) sorted by relevance

/linux-4.1.27/drivers/scsi/
Dsim710.c99 int scsi_id) in sim710_probe_common() argument
107 irq, clock, base_addr, scsi_id); in sim710_probe_common()
133 host->this_id = scsi_id; in sim710_probe_common()
188 unsigned char irq, differential = 0, scsi_id = 7; in sim710_eisa_probe() local
196 scsi_id = ffs(val) - 1; in sim710_eisa_probe()
198 if(scsi_id > 7 || (val & ~(1<<scsi_id)) != 0) { in sim710_eisa_probe()
200 scsi_id = 7; in sim710_eisa_probe()
215 differential, scsi_id); in sim710_eisa_probe()
Dsym53c416.c215 int scsi_id; member
500 static void sym53c416_init(int base, int scsi_id) in sym53c416_init() argument
507 outb(EPC | scsi_id, base + CONF_REG_1); in sym53c416_init()
515 static int sym53c416_probeirq(int base, int scsi_id) in sym53c416_probeirq() argument
525 sym53c416_init(base, scsi_id); in sym53c416_probeirq()
539 sym53c416_init(base, scsi_id); in sym53c416_probeirq()
691 hosts[i].irq = sym53c416_probeirq(hosts[i].base, hosts[i].scsi_id); in sym53c416_detect()
707 shpnt->this_id = hosts[i].scsi_id; in sym53c416_detect()
708 sym53c416_init(hosts[i].base, hosts[i].scsi_id); in sym53c416_detect()
726 int scsi_id = 0; in sym53c416_info() local
[all …]
Dsun_esp.c128 esp->scsi_id = of_getintprop_default(dp, "initiator-id", 0xff); in esp_get_scsi_id()
129 if (esp->scsi_id != 0xff) in esp_get_scsi_id()
132 esp->scsi_id = of_getintprop_default(dp, "scsi-initiator-id", 0xff); in esp_get_scsi_id()
133 if (esp->scsi_id != 0xff) in esp_get_scsi_id()
136 esp->scsi_id = of_getintprop_default(espdma->dev.of_node, in esp_get_scsi_id()
140 esp->host->this_id = esp->scsi_id; in esp_get_scsi_id()
141 esp->scsi_id_mask = (1 << esp->scsi_id); in esp_get_scsi_id()
Djazz_esp.c178 esp->scsi_id = 7; in esp_jazz_probe()
179 esp->host->this_id = esp->scsi_id; in esp_jazz_probe()
180 esp->scsi_id_mask = (1 << esp->scsi_id); in esp_jazz_probe()
Ddpt_i2o.c581 unit, (int)d->scsi_channel, (int)d->scsi_id, d->scsi_lun, in adpt_show_info()
1462 s16 scsi_id; in adpt_i2o_parse_lct() local
1496 scsi_id = buf[1]; in adpt_i2o_parse_lct()
1502 if (scsi_id >= MAX_ID){ in adpt_i2o_parse_lct()
1509 if(scsi_id > pHba->top_scsi_id){ in adpt_i2o_parse_lct()
1510 pHba->top_scsi_id = scsi_id; in adpt_i2o_parse_lct()
1548 pHba->channel[bus_no].scsi_id = buf[1]; in adpt_i2o_parse_lct()
1567 scsi_id = -1; in adpt_i2o_parse_lct()
1571 scsi_id = buf[1]; in adpt_i2o_parse_lct()
1576 if (scsi_id >= MAX_ID) { in adpt_i2o_parse_lct()
[all …]
Dsun3x_esp.c242 esp->scsi_id = 7; in esp_sun3x_probe()
243 esp->host->this_id = esp->scsi_id; in esp_sun3x_probe()
244 esp->scsi_id_mask = (1 << esp->scsi_id); in esp_sun3x_probe()
DNCR_Q720.c82 __u8 scsi_id; in NCR_Q720_probe_one() local
89 scsi_id = scsr1 >> 4; in NCR_Q720_probe_one()
102 device.host_id = scsi_id; in NCR_Q720_probe_one()
Dam53c974.c394 esp->scsi_id = EEbuf[DC390_EE_ADAPT_SCSI_ID]; in dc390_check_eeprom()
488 esp->scsi_id = 7; in pci_esp_probe_one()
491 shost->this_id = esp->scsi_id; in pci_esp_probe_one()
497 esp->scsi_id_mask = (1 << esp->scsi_id); in pci_esp_probe_one()
Deata_pio.c625 …1:%d ID2:%d QUEUE:%d SG:%d SEC:%d\n", gc->HAA_valid, gc->scsi_id[3], gc->scsi_id[2], gc->scsi_id[1… in print_pio_config()
673 …if ((buff = get_pio_board_data(base, gc->IRQ, gc->scsi_id[3], cplen = (cpu_to_be32(gc->cplen) + 1)… in register_pio_HBA()
754 SD(sh)->hostid = gc->scsi_id[3]; in register_pio_HBA()
755 SD(sh)->devflags = 1 << gc->scsi_id[3]; in register_pio_HBA()
763 sh->this_id = gc->scsi_id[3]; in register_pio_HBA()
Da100u2w.h232 u8 scsi_id; /* H/A SCSI ID */ member
286 u8 scsi_id; /* 10 - Channel 0 SCSI ID */ member
Dqlogicpti.c281 qpti->host_param.initiator_scsi_id = qpti->scsi_id; in qlogicpti_set_hostdev_defaults()
624 param[2] = (unsigned short) qpti->scsi_id; in qlogicpti_load_firmware()
759 qpti->scsi_id = of_getintprop_default(dp, "initiator-id", -1); in qpti_get_scsi_id()
760 if (qpti->scsi_id == -1) in qpti_get_scsi_id()
761 qpti->scsi_id = of_getintprop_default(dp, "scsi-initiator-id", in qpti_get_scsi_id()
763 if (qpti->scsi_id == -1) in qpti_get_scsi_id()
764 qpti->scsi_id = in qpti_get_scsi_id()
767 qpti->qhost->this_id = qpti->scsi_id; in qpti_get_scsi_id()
770 printk("SCSI ID %d ", qpti->scsi_id); in qpti_get_scsi_id()
Dmac_esp.c516 esp->scsi_id = 7; in esp_mac_probe()
517 host->this_id = esp->scsi_id; in esp_mac_probe()
518 esp->scsi_id_mask = 1 << esp->scsi_id; in esp_mac_probe()
Ddpti.h186 u8 scsi_id; member
196 u8 scsi_id; member
DBusLogic.h569 unsigned char scsi_id; /* Byte 14 */ member
959 unsigned char scsi_id; /* Byte 6 */ member
1008 unsigned char scsi_id; member
DBusLogic.c1376 adapter->scsi_id = fpinfo->scsi_id; in blogic_rdconfig()
1525 adapter->scsi_id = config.id; in blogic_rdconfig()
1865 blogic_info("Host Adapter SCSI ID: %d\n", adapter, adapter->scsi_id); in blogic_reportconfig()
1869 alltgt_mask &= ~(1 << adapter->scsi_id); in blogic_reportconfig()
1898 syncstr[adapter->scsi_id] = '#'; in blogic_reportconfig()
1911 widestr[adapter->scsi_id] = '#'; in blogic_reportconfig()
1922 discon_str[adapter->scsi_id] = '#'; in blogic_reportconfig()
1933 tagq_str[adapter->scsi_id] = '#'; in blogic_reportconfig()
2303 host->this_id = adapter->scsi_id; in blogic_inithoststruct()
Deata_generic.h229 __u8 scsi_id[4]; /* SCSI ID of controller 2-0 Byte 0 res. * member
Da100u2w.c543 host->scsi_id = nvramp->scsi_id; in init_orchid()
1157 shost->this_id = host->scsi_id; /* Assign HCS index */ in inia100_probe_one()
Dqlogicpti.h364 int scsi_id; member
Desp_scsi.h485 u8 scsi_id; member
Dinitio.h502 u8 scsi_id; /* 05 */ member
Dinitio.c604 host->scsi_id = i91unvramp->NVM_SCSIInfo[0].NVM_ChSCSIID; in initio_init()
605 host->idmask = ~(1 << host->scsi_id); in initio_init()
620 outb(host->scsi_id << 4, host->addr + TUL_SScsiId); in initio_init()
669 host->bios_addr, host->scsi_id); in initio_init()
1213 outb((host->scsi_id << 4) | (scb->target & 0x0F), in tulip_scsi()
2930 shost->this_id = host->scsi_id; /* Assign HCS index */ in initio_probe_one()
Dhpsa_cmd.h663 u8 scsi_id; /* SCSI ID on this bus */ member
Ddc395x.c216 u8 scsi_id; /* 74 Host Adapter SCSI ID */ member
668 eeprom->scsi_id = (u8)cfg_data[CFG_ADAPTER_ID].value; in eeprom_override()
4238 eeprom->scsi_id, in print_eeprom_settings()
4389 acb->scsi_host->this_id = eeprom->scsi_id; in adapter_init_params()
4423 host->this_id = (int)eeprom->scsi_id; in adapter_init_scsi_host()
4432 if (host->max_id - 1 == eeprom->scsi_id) in adapter_init_scsi_host()
Desp_scsi.c316 if (esp->scsi_id >= 8) in esp_reset_esp()
2223 esp->config1 = (ESP_CONFIG1_PENABLE | (esp->scsi_id & 7)); in esp_get_revision()
2418 esp->cfreq / 1000000, esp->cfact, esp->scsi_id); in scsi_esp_register()
Dipr.h780 u8 scsi_id; member
Dsg.c921 __put_user((int) sdp->device->id, &sg_idp->scsi_id); in sg_ioctl()
/linux-4.1.27/drivers/scsi/ibmvscsi/
Dibmvfc.h218 __be64 scsi_id; member
236 __be32 scsi_id[1]; member
281 __be64 scsi_id; member
318 __be64 scsi_id; member
330 __be64 scsi_id; member
346 __be64 scsi_id; member
481 __be64 scsi_id; member
509 u32 scsi_id; member
577 volatile __be64 scsi_id; member
614 u64 scsi_id; member
[all …]
Dibmvfc.c169 entry->scsi_id = be64_to_cpu(vfc_cmd->tgt_scsi_id); in ibmvfc_trc_start()
202 entry->scsi_id = be64_to_cpu(vfc_cmd->tgt_scsi_id); in ibmvfc_trc_end()
1094 fc_starget_port_id(starget) = tgt ? tgt->scsi_id : -1; in ibmvfc_get_starget_port_id()
1729 tmf->scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_timeout()
1768 if (tgt->scsi_id == port_id) { in ibmvfc_bsg_plogi()
1786 plogi->scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_plogi()
1915 mad->iu.scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_request()
2182 tmf->scsi_id = cpu_to_be64(rport->port_id); in ibmvfc_cancel_all()
2639 " node_name: %llx%s\n", desc->desc, crq->scsi_id, crq->wwpn, crq->node_name, in ibmvfc_handle_async()
2683 if (!crq->scsi_id && !crq->wwpn && !crq->node_name) in ibmvfc_handle_async()
[all …]
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_rnode.h115 uint32_t scsi_id; /* Transport given SCSI id */ member
Dcsio_attr.c106 rn->scsi_id = rport->scsi_target_id; in csio_reg_rnode()
Dcsio_scsi.c2080 cmnd->device->lun, rn->flowid, rn->scsi_id); in csio_eh_lun_reset_handler()
/linux-4.1.27/include/scsi/
Dsg.h107 int scsi_id; /* scsi id of target device */ member
/linux-4.1.27/drivers/infiniband/ulp/srp/
Dib_srp.h207 unsigned int scsi_id; member
Dib_srp.c2800 0, target->scsi_id, SCAN_WILD_CARD, 0); in srp_add_target()
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.h175 uint8_t scsi_id; member
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_ctl.h171 uint8_t scsi_id; member
/linux-4.1.27/drivers/s390/scsi/
Dzfcp_dbf.h213 u32 scsi_id; member
Dzfcp_dbf.c420 rec->scsi_id = sc->device->id; in zfcp_dbf_scsi()
/linux-4.1.27/drivers/block/
Dida_cmd.h205 __u8 scsi_id; member
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic7xxx_core.c145 u_int scsi_id, char channel);
148 u_int scsi_id, char channel, int force);
2140 ahc_alloc_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel) in ahc_alloc_tstate() argument
2148 scsi_id += 8; in ahc_alloc_tstate()
2151 if (ahc->enabled_targets[scsi_id] != NULL in ahc_alloc_tstate()
2152 && ahc->enabled_targets[scsi_id] != master_tstate) in ahc_alloc_tstate()
2177 ahc->enabled_targets[scsi_id] = tstate; in ahc_alloc_tstate()
2187 ahc_free_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel, int force) in ahc_free_tstate() argument
2195 if (((channel == 'B' && scsi_id == ahc->our_id_b) in ahc_free_tstate()
2196 || (channel == 'A' && scsi_id == ahc->our_id)) in ahc_free_tstate()
[all …]
Daic79xx_core.c118 u_int scsi_id, char channel);
121 u_int scsi_id, char channel, int force);
3629 ahd_alloc_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel) in ahd_alloc_tstate() argument
3636 if (ahd->enabled_targets[scsi_id] != NULL in ahd_alloc_tstate()
3637 && ahd->enabled_targets[scsi_id] != master_tstate) in ahd_alloc_tstate()
3661 ahd->enabled_targets[scsi_id] = tstate; in ahd_alloc_tstate()
3671 ahd_free_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel, int force) in ahd_free_tstate() argument
3679 if (scsi_id == ahd->our_id in ahd_free_tstate()
3683 tstate = ahd->enabled_targets[scsi_id]; in ahd_free_tstate()
3686 ahd->enabled_targets[scsi_id] = NULL; in ahd_free_tstate()
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_mbox.c4090 int scsi_id = -1; in megaraid_sysfs_show_ldnum() local
4114 scsi_id = sdev->id; in megaraid_sysfs_show_ldnum()
4134 return snprintf(buf, 36, "%d %d %d %d\n", scsi_id, logical_drv, in megaraid_sysfs_show_ldnum()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_scsi.c3873 uint32_t queue_depth, scsi_id; in lpfc_scsi_cmd_iocb_cmpl() local
4093 scsi_id = cmd->device->id; in lpfc_scsi_cmd_iocb_cmpl()