Searched refs:shost (Results 26 - 50 of 102) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aacraid/
H A Dlinit.c267 * @shost: Scsi host to report on
272 static const char *aac_info(struct Scsi_Host *shost) argument
274 struct aac_dev *dev = (struct aac_dev *)shost->hostdata;
878 struct Scsi_Host *shost; local
910 shost = scsi_host_alloc(&aac_driver_template, sizeof(struct aac_dev));
911 if (!shost)
914 shost->irq = pdev->irq;
915 shost->base = pci_resource_start(pdev, 0);
916 shost->unique_id = unique_id;
917 shost
1044 struct Scsi_Host *shost = pci_get_drvdata(dev); local
1052 struct Scsi_Host *shost = pci_get_drvdata(pdev); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dpas16.c594 static int pas16_release(struct Scsi_Host *shost) argument
596 if (shost->irq)
597 free_irq(shost->irq, NULL);
598 NCR5380_exit(shost);
599 if (shost->dma_channel != 0xff)
600 free_dma(shost->dma_channel);
601 if (shost->io_port && shost->n_io_port)
602 release_region(shost->io_port, shost
[all...]
H A Ddtc.c448 static int dtc_release(struct Scsi_Host *shost) argument
451 NCR5380_setup(shost);
452 if (shost->irq)
453 free_irq(shost->irq, NULL);
454 NCR5380_exit(shost);
455 if (shost->io_port && shost->n_io_port)
456 release_region(shost->io_port, shost->n_io_port);
457 scsi_unregister(shost);
[all...]
H A Dscsi_transport_spi.c170 struct Scsi_Host *shost = dev_to_shost(dev); local
172 spi_signalling(shost) = SPI_SIGNAL_UNKNOWN;
186 struct Scsi_Host *shost; local
192 shost = dev_to_shost(dev);
193 if (!shost->transportt || shost->transportt->host_attrs.ac.class
197 i = to_spi_internal(shost->transportt);
284 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \
286 struct spi_internal *i = to_spi_internal(shost->transportt); \
300 struct Scsi_Host *shost
453 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
469 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
519 struct Scsi_Host *shost = transport_class_to_shost(cdev); local
530 struct Scsi_Host *shost = transport_class_to_shost(cdev); local
788 struct Scsi_Host *shost = sdev->host; local
1281 struct Scsi_Host *shost; local
1304 struct Scsi_Host *shost; local
[all...]
H A Da100u2w.c1046 struct Scsi_Host *shost; local
1074 shost = scsi_host_alloc(&inia100_template, sizeof(ORC_HCS));
1075 if (!shost)
1078 pHCB = (ORC_HCS *)shost->hostdata;
1112 shost->io_port = pHCB->HCS_Base;
1113 shost->n_io_port = 0xff;
1114 shost->can_queue = ORC_MAXQUEUE;
1115 shost->unique_id = shost->io_port;
1116 shost
1160 struct Scsi_Host *shost = pci_get_drvdata(pdev); local
[all...]
H A Dscsi_transport_iscsi.c121 struct Scsi_Host *shost = dev_to_shost(dev); local
122 struct iscsi_host *ihost = shost->shost_data;
207 struct Scsi_Host *shost; local
209 shost = iscsi_session_to_shost(session);
210 scsi_host_put(shost);
219 static int iscsi_user_scan(struct Scsi_Host *shost, uint channel, argument
222 struct iscsi_host *ihost = shost->shost_data;
269 iscsi_alloc_session(struct Scsi_Host *shost, argument
286 scsi_host_get(shost);
287 session->dev.parent = &shost
298 struct Scsi_Host *shost = iscsi_session_to_shost(session); local
335 iscsi_create_session(struct Scsi_Host *shost, struct iscsi_transport *transport, unsigned int target_id) argument
355 struct Scsi_Host *shost = iscsi_session_to_shost(session); local
695 struct Scsi_Host *shost; local
756 struct Scsi_Host *shost; local
1224 struct Scsi_Host *shost; local
1247 struct Scsi_Host *shost; local
1270 struct Scsi_Host *shost; local
[all...]
H A Daha1542.c175 static int aha1542_restart(struct Scsi_Host *shost);
176 static void aha1542_intr_handle(struct Scsi_Host *shost, void *dev_id);
420 struct Scsi_Host *shost; local
422 shost = aha_host[irq - 9];
423 if (!shost)
426 spin_lock_irqsave(shost->host_lock, flags);
427 aha1542_intr_handle(shost, dev_id);
428 spin_unlock_irqrestore(shost->host_lock, flags);
433 static void aha1542_intr_handle(struct Scsi_Host *shost, void *dev_id) argument
445 mb = HOSTDATA(shost)
1265 aha1542_release(struct Scsi_Host *shost) argument
1277 aha1542_restart(struct Scsi_Host *shost) argument
[all...]
H A Dgdth_proc.h8 int gdth_execute(struct Scsi_Host *shost, gdth_cmd_str *gdtcmd, char *cmnd,
H A Dpsi240i.c256 struct Scsi_Host *shost; // Pointer to host data block local
265 shost = PsiHost[irq - 10];
266 if ( !shost )
269 padapter = HOSTDATA(shost);
366 SCpnt->result = DecodeError (shost, status);
638 static int Psi240i_Release(struct Scsi_Host *shost) argument
640 if (shost->irq)
641 free_irq(shost->irq, NULL);
642 if (shost->io_port && shost
[all...]
H A Dscsi_tgt_if.c107 struct Scsi_Host *shost = scsi_tgt_cmd_to_host(cmd); local
112 ev.p.cmd_req.host_no = shost->host_no;
119 dprintk("%p %d %u %x %llx\n", cmd, shost->host_no,
132 struct Scsi_Host *shost = scsi_tgt_cmd_to_host(cmd); local
137 ev.p.cmd_done.host_no = shost->host_no;
141 dprintk("%p %d %llu %u %x\n", cmd, shost->host_no,
H A Dmac_esp.c462 static int mac_esp_release(struct Scsi_Host *shost) argument
464 if (shost->irq)
465 free_irq(shost->irq, NULL);
466 if (shost->io_port && shost->n_io_port)
467 release_region(shost->io_port, shost->n_io_port);
468 scsi_unregister(shost);
H A Dqlogicfas408.h85 struct Scsi_Host *shost; /* pointer back to host */ member in struct:qlogicfas408_priv
H A Dlibiscsi.c44 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); local
45 return iscsi_hostdata(shost->hostdata);
1354 struct Scsi_Host *shost; local
1359 shost = scsi_host_alloc(iscsit->host_template,
1361 if (!shost)
1364 shost->max_id = 1;
1365 shost->max_channel = 0;
1366 shost->max_lun = iscsit->max_lun;
1367 shost->max_cmd_len = iscsit->max_cmd_len;
1368 shost
1455 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); local
1908 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/libsas/
H A Dsas_scsi_host.c289 to_sas_internal(task->dev->port->ha->core.shost->transportt);
356 to_sas_internal(dev->port->ha->core.shost->transportt);
384 to_sas_internal(dev->port->ha->core.shost->transportt);
424 to_sas_internal(dev->port->ha->core.shost->transportt);
459 static int try_to_reset_cmd_device(struct Scsi_Host *shost, argument
464 if (!shost->hostt->eh_device_reset_handler)
467 res = shost->hostt->eh_device_reset_handler(cmd);
472 if (shost->hostt->eh_bus_reset_handler)
473 return shost->hostt->eh_bus_reset_handler(cmd);
478 static int sas_eh_handle_sas_errors(struct Scsi_Host *shost, argument
607 sas_scsi_recover_host(struct Scsi_Host *shost) argument
681 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent); local
[all...]
H A Dsas_phy.c64 to_sas_internal(sas_ha->core.shost->transportt);
96 to_sas_internal(sas_ha->core.shost->transportt);
151 phy->phy = sas_phy_alloc(&sas_ha->core.shost->shost_gendev,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/lpfc/
H A Dlpfc_attr.c1470 lpfc_get_host_port_id(struct Scsi_Host *shost) argument
1472 struct lpfc_hba *phba = (struct lpfc_hba*)shost->hostdata;
1474 fc_host_port_id(shost) = phba->fc_myDID;
1478 lpfc_get_host_port_type(struct Scsi_Host *shost) argument
1480 struct lpfc_hba *phba = (struct lpfc_hba*)shost->hostdata;
1482 spin_lock_irq(shost->host_lock);
1487 fc_host_port_type(shost) = FC_PORTTYPE_NLPORT;
1489 fc_host_port_type(shost) = FC_PORTTYPE_LPORT;
1492 fc_host_port_type(shost) = FC_PORTTYPE_NPORT;
1494 fc_host_port_type(shost)
1503 lpfc_get_host_port_state(struct Scsi_Host *shost) argument
1546 lpfc_get_host_speed(struct Scsi_Host *shost) argument
1576 lpfc_get_host_fabric_name(struct Scsi_Host *shost) argument
1597 lpfc_get_host_symbolic_name(struct Scsi_Host *shost) argument
1607 lpfc_get_stats(struct Scsi_Host *shost) argument
1712 lpfc_reset_stats(struct Scsi_Host *shost) argument
1792 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
[all...]
H A Dlpfc_init.c1437 int lpfc_scan_finished(struct Scsi_Host *shost, unsigned long time) argument
1439 struct lpfc_hba *phba = (struct lpfc_hba *)shost->hostdata;
1459 spin_lock_irq(shost->host_lock);
1461 spin_unlock_irq(shost->host_lock);
1469 fc_host_node_name(shost) = wwn_to_u64(phba->fc_nodename.u.wwn);
1470 fc_host_port_name(shost) = wwn_to_u64(phba->fc_portname.u.wwn);
1471 fc_host_supported_classes(shost) = FC_COS_CLASS3;
1473 memset(fc_host_supported_fc4s(shost), 0,
1474 sizeof(fc_host_supported_fc4s(shost)));
1475 fc_host_supported_fc4s(shost)[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla2xxx/
H A Dqla_attr.c743 qla2x00_get_host_port_id(struct Scsi_Host *shost) argument
745 scsi_qla_host_t *ha = to_qla_host(shost);
747 fc_host_port_id(shost) = ha->d_id.b.domain << 16 |
752 qla2x00_get_host_speed(struct Scsi_Host *shost) argument
754 scsi_qla_host_t *ha = to_qla_host(shost);
768 fc_host_speed(shost) = speed;
772 qla2x00_get_host_port_type(struct Scsi_Host *shost) argument
774 scsi_qla_host_t *ha = to_qla_host(shost);
791 fc_host_port_type(shost) = port_type;
873 qla2x00_issue_lip(struct Scsi_Host *shost) argument
882 qla2x00_get_fc_host_stats(struct Scsi_Host *shost) argument
920 qla2x00_get_host_symbolic_name(struct Scsi_Host *shost) argument
928 qla2x00_set_host_system_hostname(struct Scsi_Host *shost) argument
936 qla2x00_get_host_fabric_name(struct Scsi_Host *shost) argument
950 qla2x00_get_host_port_state(struct Scsi_Host *shost) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/ibmvscsi/
H A Dibmvstgt.c190 struct Scsi_Host *shost = target->shost; local
203 err = srp_cmd_queue(shost, cmd, iue, 0);
313 struct Scsi_Host *shost = target->shost; local
341 info->port_max_txu[0] = shost->hostt->max_sectors << 9;
415 scsi_tgt_tsk_mgmt_request(iue->target->shost, fn,
762 struct Scsi_Host *shost = class_to_shost(cdev); local
763 struct srp_target *target = host_to_srp_target(shost);
795 struct Scsi_Host *shost; local
856 struct Scsi_Host *shost = target->shost; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic94xx/
H A Daic94xx_init.c546 sas_remove_host(asd_ha->sas_ha.core.shost);
547 scsi_remove_host(asd_ha->sas_ha.core.shost);
548 scsi_host_put(asd_ha->sas_ha.core.shost);
562 struct Scsi_Host *shost; local
579 shost = scsi_host_alloc(&aic94xx_sht, sizeof(void *));
580 if (!shost)
597 SHOST_TO_SAS_HA(shost) = &asd_ha->sas_ha;
598 asd_ha->sas_ha.core.shost = shost;
599 shost
776 asd_scan_start(struct Scsi_Host *shost) argument
787 asd_scan_finished(struct Scsi_Host *shost, unsigned long time) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/scsi/
H A Dscsi_device.h234 * @shost: the &struct scsi_host to iterate over
236 * Iterator that returns each device attached to @shost. This loop
240 #define shost_for_each_device(sdev, shost) \
241 for ((sdev) = __scsi_iterate_devices((shost), NULL); \
243 (sdev) = __scsi_iterate_devices((shost), (sdev)))
248 * @shost: the &struct scsi_host to iterate over
250 * Iterator that returns each device attached to @shost. It does _not_
252 * protected by shost->host_lock.
258 #define __shost_for_each_device(sdev, shost) \
259 list_for_each_entry((sdev), &((shost)
[all...]
H A Dlibsrp.h29 struct Scsi_Host *shost; member in struct:srp_target
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c2266 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2267 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
2271 ahd_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2280 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2281 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
2286 shost->this_id, starget->id, &tstate);
2310 ahd_compile_devinfo(&devinfo, shost->this_id, starget->id, 0,
2330 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2331 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
2336 shost
2365 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2407 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2446 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2486 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2522 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2558 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2602 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2652 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); local
2680 ahd_linux_get_signalling(struct Scsi_Host *shost) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.h196 void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram);
201 static inline void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram) { } argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/scsi/
H A Dzfcp_scsi.c614 struct Scsi_Host *shost; local
617 shost = adapter->scsi_host;
618 if (!shost)
625 fc_remove_host(shost);
626 scsi_remove_host(shost);
627 scsi_host_put(shost);
713 zfcp_get_fc_host_stats(struct Scsi_Host *shost) argument
720 adapter = (struct zfcp_adapter *)shost->hostdata[0];
748 zfcp_reset_fc_host_stats(struct Scsi_Host *shost) argument
754 adapter = (struct zfcp_adapter *)shost
[all...]

Completed in 675 milliseconds

12345