Searched refs:starget (Results 1 - 25 of 32) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/fusion/
H A Dmptspi.c392 static int mptspi_target_alloc(struct scsi_target *starget) argument
394 struct Scsi_Host *shost = dev_to_shost(&starget->dev);
407 vtarget->id = (u8)starget->id;
408 vtarget->channel = (u8)starget->channel;
409 vtarget->starget = starget;
410 starget->hostdata = vtarget;
412 if (starget->channel == 1) {
413 if (mptscsih_is_phys_disk(hd->ioc, 0, starget->id) == 0)
420 starget
449 mptspi_target_destroy(struct scsi_target *starget) argument
464 mptspi_print_write_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) argument
489 mptspi_print_read_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) argument
506 mptspi_read_spi_device_pg0(struct scsi_target *starget, struct _CONFIG_PAGE_SCSI_DEVICE_0 *pass_pg0) argument
566 mptspi_getRP(struct scsi_target *starget) argument
586 mptspi_read_parameters(struct scsi_target *starget) argument
698 struct scsi_target *starget; local
782 struct scsi_target *starget = scsi_target(sdev); local
827 mptspi_write_spi_device_pg1(struct scsi_target *starget, struct _CONFIG_PAGE_SCSI_DEVICE_1 *pass_pg1) argument
888 mptspi_write_offset(struct scsi_target *starget, int offset) argument
913 mptspi_write_period(struct scsi_target *starget, int period) argument
945 mptspi_write_dt(struct scsi_target *starget, int dt) argument
968 mptspi_write_iu(struct scsi_target *starget, int iu) argument
1013 mptspi_write_qas(struct scsi_target *starget, int qas) argument
1036 mptspi_write_width(struct scsi_target *starget, int width) argument
1082 struct scsi_target *starget = scsi_target(sdev); local
1140 mptspi_deny_binding(struct scsi_target *starget) argument
1209 struct scsi_target *starget; local
[all...]
H A Dmptfc.c98 static int mptfc_target_alloc(struct scsi_target *starget);
102 static void mptfc_target_destroy(struct scsi_target *starget);
471 if (ri->starget) {
472 vtarget = ri->starget->hostdata;
508 mptfc_target_destroy(struct scsi_target *starget) argument
513 rport = starget_to_rport(starget);
517 ri->starget = NULL;
519 if (starget->hostdata)
520 kfree(starget->hostdata);
521 starget
530 mptfc_target_alloc(struct scsi_target *starget) argument
573 struct scsi_target *starget; local
[all...]
H A Dmptsas.c167 struct scsi_target *starget; member in struct:mptsas_portinfo_details
437 return phy_info->port_details->starget;
444 starget)
447 phy_info->port_details->starget = starget;
541 port_details->starget =
929 mptsas_target_alloc(struct scsi_target *starget) argument
931 struct Scsi_Host *host = dev_to_shost(&starget->dev);
943 vtarget->starget = starget;
443 mptsas_set_starget(struct mptsas_phyinfo *phy_info, struct scsi_target * starget) argument
997 mptsas_target_destroy(struct scsi_target *starget) argument
1036 struct scsi_target *starget; local
2384 mptsas_reprobe_target(struct scsi_target *starget, int uld_attach) argument
2474 struct scsi_target * starget; local
[all...]
H A Dmptscsih.c2312 struct scsi_target *starget; local
2314 starget = scsi_target(sdev);
2315 vtarget = starget->hostdata;
2338 struct scsi_target *starget; local
2342 starget = scsi_target(sdev);
2343 vtarget = starget->hostdata;
2379 struct scsi_target *starget; local
2382 starget = scsi_target(sdev);
2383 vtarget = starget->hostdata;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dscsi_transport_spi.c207 struct scsi_target *starget = sdev->sdev_target; local
212 spi_support_sync(starget) = scsi_device_sync(sdev);
213 spi_support_wide(starget) = scsi_device_wide(sdev);
214 spi_support_dt(starget) = scsi_device_dt(sdev);
215 spi_support_dt_only(starget) = scsi_device_dt_only(sdev);
216 spi_support_ius(starget) = scsi_device_ius(sdev);
217 spi_support_qas(starget) = scsi_device_qas(sdev);
226 struct scsi_target *starget = to_scsi_target(dev); local
228 spi_period(starget) = -1; /* illegal value */
229 spi_min_period(starget)
373 struct scsi_target *starget = transport_class_to_starget(cdev); local
452 struct scsi_target *starget = transport_class_to_starget(cdev); local
468 struct scsi_target *starget = transport_class_to_starget(cdev); local
492 struct scsi_target *starget = transport_class_to_starget(cdev); local
503 struct scsi_target *starget = transport_class_to_starget(cdev); local
684 struct scsi_target *starget = sdev->sdev_target; local
787 struct scsi_target *starget = sdev->sdev_target; local
912 struct scsi_target *starget = sdev->sdev_target; local
1023 spi_display_xfer_agreement(struct scsi_target *starget) argument
1305 struct scsi_target *starget; local
[all...]
H A Dscsi_scan.c232 static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget, argument
237 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
248 sdev->id = starget->id;
250 sdev->channel = starget->channel;
258 sdev->sdev_gendev.parent = get_device(&starget->dev);
259 sdev->sdev_target = starget;
284 put_device(&starget->dev);
321 struct scsi_target *starget = to_scsi_target(dev); local
323 kfree(starget);
336 struct scsi_target *starget, *found_starge local
374 struct scsi_target *starget; local
453 struct scsi_target *starget = local
478 scsi_target_reap(struct scsi_target *starget) argument
938 scsi_probe_and_add_lun(struct scsi_target *starget, uint lun, int *bflagsp, struct scsi_device **sdevp, int rescan, void *hostdata) argument
1085 scsi_sequential_lun_scan(struct scsi_target *starget, int bflags, int scsi_level, int rescan) argument
1231 scsi_report_lun_scan(struct scsi_target *starget, int bflags, int rescan) argument
1431 struct scsi_target *starget; local
1489 struct scsi_target *starget; local
1798 struct scsi_target *starget; local
[all...]
H A Dscsi.c879 * @starget: target whose devices we want to iterate over.
885 void starget_for_each_device(struct scsi_target *starget, void * data, argument
888 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
892 if ((sdev->channel == starget->channel) &&
893 (sdev->id == starget->id))
901 * @starget: SCSI target pointer
905 * @starget. The returned scsi_device does not have an additional
913 struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *starget, argument
918 list_for_each_entry(sdev, &starget->devices, same_target_siblings) {
929 * @starget
936 scsi_device_lookup_by_target(struct scsi_target *starget, uint lun) argument
[all...]
H A Dscsi_sysfs.c225 struct scsi_target *starget; local
231 starget = to_scsi_target(parent);
234 starget->reap_ref++;
785 void __scsi_remove_target(struct scsi_target *starget) argument
787 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
792 starget->reap_ref++;
795 if (sdev->channel != starget->channel ||
796 sdev->id != starget->id ||
805 scsi_target_reap(starget);
817 * @dev: generic starget o
928 struct scsi_target *starget = sdev->sdev_target; local
[all...]
H A Desp_scsi.c512 struct scsi_target *target = tp->starget;
519 struct scsi_target *target = tp->starget;
739 if (spi_width(tp->starget) == tp->nego_goal_width &&
740 spi_period(tp->starget) == tp->nego_goal_period &&
741 spi_offset(tp->starget) == tp->nego_goal_offset) {
1161 dev = __scsi_device_lookup_by_target(tp->starget, lun);
1364 spi_period(tp->starget) = scsi_period;
1365 spi_offset(tp->starget) = scsi_offset;
1366 spi_width(tp->starget) = (tp->flags & ESP_TGT_WIDE) ? 1 : 0;
1396 spi_display_xfer_agreement(tp->starget);
[all...]
H A Dncr53c8xx.c1270 struct scsi_target *starget; member in struct:tcb
4056 struct scsi_target *starget = tp->starget; local
4060 if (spi_support_wide(starget)) {
4068 if (spi_support_sync(starget)) {
4072 dev_info(&starget->dev, "target did not report SYNC.\n");
5448 spi_display_xfer_agreement(tp->starget);
6571 struct scsi_target *starget = tp->starget; local
6729 spi_period(starget)
8371 ncr53c8xx_set_period(struct scsi_target *starget, int period) argument
8387 ncr53c8xx_set_offset(struct scsi_target *starget, int offset) argument
8403 ncr53c8xx_set_width(struct scsi_target *starget, int width) argument
[all...]
H A Dscsi_transport_fc.c43 * sdev/starget/host objects.
267 * The attribute containers for the starget and host are are
288 struct scsi_target *starget = to_scsi_target(dev); local
289 struct fc_rport *rport = starget_to_rport(starget);
297 fc_starget_node_name(starget) = rport->node_name;
298 fc_starget_port_name(starget) = rport->port_name;
299 fc_starget_port_id(starget) = rport->port_id;
301 fc_starget_node_name(starget) = -1;
302 fc_starget_port_name(starget) = -1;
303 fc_starget_port_id(starget)
[all...]
H A Dscsi_lib.c478 struct scsi_target *starget = scsi_target(current_sdev); local
482 starget->starget_sdev_user = NULL;
494 if (starget->starget_sdev_user)
496 list_for_each_entry_safe(sdev, tmp, &starget->devices,
2078 scsi_target_quiesce(struct scsi_target *starget) argument
2080 starget_for_each_device(starget, NULL, device_quiesce_fn);
2091 scsi_target_resume(struct scsi_target *starget) argument
2093 starget_for_each_device(starget, NULL, device_resume_fn);
H A Desp_scsi.h301 * protocol values are maintained in spi_{offset,period,wide}(starget).
323 struct scsi_target *starget; member in struct:esp_target_data
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c442 ahd_linux_target_in_softc(struct scsi_target *starget) argument
445 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata);
448 target_offset = starget->id;
449 if (starget->channel != 0)
452 return &ahd->platform_data->starget[target_offset];
456 ahd_linux_target_alloc(struct scsi_target *starget) argument
459 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata);
462 struct scsi_target **ahd_targp = ahd_linux_target_in_softc(starget);
466 char channel = starget->channel + 'A';
472 *ahd_targp = starget;
516 ahd_linux_target_destroy(struct scsi_target *starget) argument
1188 struct scsi_target *starget; local
1565 struct scsi_target *starget; local
2264 ahd_linux_set_width(struct scsi_target *starget, int width) argument
2278 ahd_linux_set_period(struct scsi_target *starget, int period) argument
2328 ahd_linux_set_offset(struct scsi_target *starget, int offset) argument
2363 ahd_linux_set_dt(struct scsi_target *starget, int dt) argument
2405 ahd_linux_set_qas(struct scsi_target *starget, int qas) argument
2444 ahd_linux_set_iu(struct scsi_target *starget, int iu) argument
2484 ahd_linux_set_rd_strm(struct scsi_target *starget, int rdstrm) argument
2520 ahd_linux_set_wr_flow(struct scsi_target *starget, int wrflow) argument
2556 ahd_linux_set_rti(struct scsi_target *starget, int rti) argument
2600 ahd_linux_set_pcomp_en(struct scsi_target *starget, int pcomp) argument
2650 ahd_linux_set_hold_mcs(struct scsi_target *starget, int hold) argument
[all...]
H A Daic7xxx_osm.c489 ahc_linux_target_in_softc(struct scsi_target *starget) argument
492 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata);
495 target_offset = starget->id;
496 if (starget->channel != 0)
499 return &ahc->platform_data->starget[target_offset];
503 ahc_linux_target_alloc(struct scsi_target *starget) argument
506 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata);
509 struct scsi_target **ahc_targp = ahc_linux_target_in_softc(starget);
514 char channel = starget->channel + 'A';
518 target_offset = starget
577 ahc_linux_target_destroy(struct scsi_target *starget) argument
589 struct scsi_target *starget = sdev->sdev_target; local
1172 struct scsi_target *starget; local
1590 struct scsi_target *starget; local
2314 ahc_linux_set_width(struct scsi_target *starget, int width) argument
2328 ahc_linux_set_period(struct scsi_target *starget, int period) argument
2367 ahc_linux_set_offset(struct scsi_target *starget, int offset) argument
2395 ahc_linux_set_dt(struct scsi_target *starget, int dt) argument
[all...]
H A Daic79xx_proc.c209 struct scsi_target *starget; local
219 starget = ahd->platform_data->starget[target_id];
220 if (starget == NULL)
231 dev = scsi_device_lookup_by_target(starget, lun);
H A Daic7xxx_proc.c185 struct scsi_target *starget; local
197 starget = ahc->platform_data->starget[target_offset];
198 if (!starget)
209 sdev = scsi_device_lookup_by_target(starget, lun);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/scsi/
H A Dscsi_transport.h93 scsi_transport_target_data(struct scsi_target *starget) argument
95 struct Scsi_Host *shost = dev_to_shost(&starget->dev);
96 return (u8 *)starget->starget_data
H A Dscsi_device.h204 #define starget_printk(prefix, starget, fmt, a...) \
205 dev_printk(prefix, &(starget)->dev, fmt, ##a)
H A Dlibsas.h371 starget_to_domain_dev(struct scsi_target *starget) { argument
372 return starget->hostdata;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c84 dev_info(&tp->starget->dev, "%s: ", label);
1333 static void sym_check_goals(struct sym_hcb *np, struct scsi_target *starget, argument
1336 if (!spi_support_wide(starget))
1339 if (!spi_support_sync(starget)) {
1347 if (spi_support_dt(starget)) {
1348 if (spi_support_dt_only(starget))
1391 struct scsi_target *starget = tp->starget; local
1396 sym_check_goals(np, starget, goal);
1405 } else if (spi_width(starget) !
2008 struct scsi_target *starget = tp->starget; local
2036 struct scsi_target *starget = tp->starget; local
2063 struct scsi_target *starget = tp->starget; local
3166 struct scsi_target *starget; local
[all...]
H A Dsym_glue.c810 dev_info(&tp->starget->dev,
878 tp->starget = sdev->sdev_target;
890 starget_printk(KERN_INFO, tp->starget,
898 starget_printk(KERN_INFO, tp->starget,
906 spi_min_period(tp->starget) = tp->usr_period;
907 spi_max_width(tp->starget) = tp->usr_width;
1935 static void sym2_set_offset(struct scsi_target *starget, int offset) argument
1937 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
1939 struct sym_tcb *tp = &np->target[starget->id];
1945 static void sym2_set_period(struct scsi_target *starget, in argument
1960 sym2_set_width(struct scsi_target *starget, int width) argument
1975 sym2_set_dt(struct scsi_target *starget, int dt) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla2xxx/
H A Dqla_attr.c795 qla2x00_get_starget_node_name(struct scsi_target *starget) argument
797 struct Scsi_Host *host = dev_to_shost(starget->dev.parent);
803 if (starget->id == fcport->os_target_id) {
809 fc_starget_node_name(starget) = node_name;
813 qla2x00_get_starget_port_name(struct scsi_target *starget) argument
815 struct Scsi_Host *host = dev_to_shost(starget->dev.parent);
821 if (starget->id == fcport->os_target_id) {
827 fc_starget_port_name(starget) = port_name;
831 qla2x00_get_starget_port_id(struct scsi_target *starget) argument
833 struct Scsi_Host *host = dev_to_shost(starget
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/lpfc/
H A Dlpfc_attr.c1790 lpfc_get_node_by_target(struct scsi_target *starget) argument
1792 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
1800 starget->id == ndlp->nlp_sid) {
1810 lpfc_get_starget_port_id(struct scsi_target *starget) argument
1812 struct lpfc_nodelist *ndlp = lpfc_get_node_by_target(starget);
1814 fc_starget_port_id(starget) = ndlp ? ndlp->nlp_DID : -1;
1818 lpfc_get_starget_node_name(struct scsi_target *starget) argument
1820 struct lpfc_nodelist *ndlp = lpfc_get_node_by_target(starget);
1822 fc_starget_node_name(starget) =
1827 lpfc_get_starget_port_name(struct scsi_target *starget) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/libsas/
H A Dsas_scsi_host.c708 static inline struct domain_device *sas_find_target(struct scsi_target *starget) argument
710 struct sas_rphy *rphy = dev_to_rphy(starget->dev.parent);
715 int sas_target_alloc(struct scsi_target *starget) argument
717 struct domain_device *found_dev = sas_find_target(starget);
722 starget->hostdata = found_dev;

Completed in 286 milliseconds

12