Home
last modified time | relevance | path

Searched refs:hostdata (Results 1 – 25 of 97) sorted by relevance

1234

/linux/drivers/scsi/
H A D53c700.c232 NCR_700_offset_period_to_sxfer(struct NCR_700_Host_Parameters *hostdata, in NCR_700_offset_period_to_sxfer() argument
237 __u8 min_xferp = (hostdata->chip710 in NCR_700_offset_period_to_sxfer()
239 __u8 max_offset = (hostdata->chip710 in NCR_700_offset_period_to_sxfer()
245 if(period < hostdata->min_period) { in NCR_700_offset_period_to_sxfer()
247 period = hostdata->min_period; in NCR_700_offset_period_to_sxfer()
249 XFERP = (period*4 * hostdata->sync_clock)/1000 - 4; in NCR_700_offset_period_to_sxfer()
264 struct NCR_700_Host_Parameters *hostdata = in NCR_700_get_SXFER() local
265 (struct NCR_700_Host_Parameters *)SDp->host->hostdata[0]; in NCR_700_get_SXFER()
267 return NCR_700_offset_period_to_sxfer(hostdata, in NCR_700_get_SXFER()
295 struct NCR_700_Host_Parameters *hostdata, struc in NCR_700_detect() argument
420 struct NCR_700_Host_Parameters *hostdata = NCR_700_release() local
453 struct NCR_700_Host_Parameters *hostdata = NCR_700_data_residual() local
523 find_empty_slot(struct NCR_700_Host_Parameters * hostdata) find_empty_slot() argument
556 free_slot(struct NCR_700_command_slot * slot,struct NCR_700_Host_Parameters * hostdata) free_slot() argument
577 save_for_reselection(struct NCR_700_Host_Parameters * hostdata,struct scsi_cmnd * SCp,__u32 dsp) save_for_reselection() argument
592 NCR_700_unmap(struct NCR_700_Host_Parameters * hostdata,struct scsi_cmnd * SCp,struct NCR_700_command_slot * slot) NCR_700_unmap() argument
601 NCR_700_scsi_done(struct NCR_700_Host_Parameters * hostdata,struct scsi_cmnd * SCp,int result) NCR_700_scsi_done() argument
658 struct NCR_700_Host_Parameters *hostdata = NCR_700_chip_setup() local
768 struct NCR_700_Host_Parameters *hostdata = NCR_700_chip_reset() local
795 process_extended_message(struct Scsi_Host * host,struct NCR_700_Host_Parameters * hostdata,struct scsi_cmnd * SCp,__u32 dsp,__u32 dsps) process_extended_message() argument
875 process_message(struct Scsi_Host * host,struct NCR_700_Host_Parameters * hostdata,struct scsi_cmnd * SCp,__u32 dsp,__u32 dsps) process_message() argument
965 process_script_interrupt(__u32 dsps,__u32 dsp,struct scsi_cmnd * SCp,struct Scsi_Host * host,struct NCR_700_Host_Parameters * hostdata) process_script_interrupt() argument
1297 struct NCR_700_Host_Parameters *hostdata = process_selection() local
1373 const struct NCR_700_Host_Parameters *hostdata NCR_700_clear_fifo() local
1384 const struct NCR_700_Host_Parameters *hostdata NCR_700_flush_fifo() local
1405 struct NCR_700_Host_Parameters *hostdata = NCR_700_start_command() local
1489 struct NCR_700_Host_Parameters *hostdata = NCR_700_intr() local
1756 struct NCR_700_Host_Parameters *hostdata = NCR_700_queuecommand_lck() local
1941 struct NCR_700_Host_Parameters *hostdata = NCR_700_host_reset() local
1979 struct NCR_700_Host_Parameters *hostdata = NCR_700_set_period() local
1998 struct NCR_700_Host_Parameters *hostdata = NCR_700_set_offset() local
2034 struct NCR_700_Host_Parameters *hostdata = NCR_700_sdev_configure() local
[all...]
H A Dlasi700.c88 struct NCR_700_Host_Parameters *hostdata; in lasi700_probe() local
91 hostdata = kzalloc_obj(*hostdata); in lasi700_probe()
92 if (!hostdata) { in lasi700_probe()
97 hostdata->dev = &dev->dev; in lasi700_probe()
99 hostdata->base = ioremap(base, 0x100); in lasi700_probe()
100 hostdata->differential = 0; in lasi700_probe()
103 hostdata->clock = LASI700_CLOCK; in lasi700_probe()
104 hostdata->force_le_on_be = 1; in lasi700_probe()
106 hostdata->clock = LASI710_CLOCK; in lasi700_probe()
107 hostdata->force_le_on_be = 0; in lasi700_probe()
[all …]
H A Dsni_53c710.c57 struct NCR_700_Host_Parameters *hostdata; in snirm710_probe() local
67 hostdata = kzalloc_obj(*hostdata); in snirm710_probe()
68 if (!hostdata) in snirm710_probe()
71 hostdata->dev = &dev->dev; in snirm710_probe()
73 hostdata->base = ioremap(base, 0x100); in snirm710_probe()
74 hostdata->differential = 0; in snirm710_probe()
76 hostdata->clock = SNIRM710_CLOCK; in snirm710_probe()
77 hostdata->force_le_on_be = 1; in snirm710_probe()
78 hostdata->chip710 = 1; in snirm710_probe()
79 hostdata->burst_length = 4; in snirm710_probe()
[all …]
H A Dbvme6000_scsi.c42 struct NCR_700_Host_Parameters *hostdata; in bvme6000_probe() local
47 hostdata = kzalloc_obj(struct NCR_700_Host_Parameters); in bvme6000_probe()
48 if (!hostdata) { in bvme6000_probe()
55 hostdata->base = (void __iomem *)BVME_NCR53C710_BASE; in bvme6000_probe()
56 hostdata->clock = 40; /* XXX - depends on the CPU clock! */ in bvme6000_probe()
57 hostdata->chip710 = 1; in bvme6000_probe()
58 hostdata->dmode_extra = DMODE_FC2; in bvme6000_probe()
59 hostdata->dcntl_extra = EA_710; in bvme6000_probe()
60 hostdata->ctest7_extra = CTEST7_TT1; in bvme6000_probe()
63 host = NCR_700_detect(&bvme6000_scsi_driver_template, hostdata, in bvme6000_probe()
[all …]
H A Dmvme16x_scsi.c41 struct NCR_700_Host_Parameters *hostdata; in mvme16x_probe() local
52 hostdata = kzalloc_obj(struct NCR_700_Host_Parameters); in mvme16x_probe()
53 if (hostdata == NULL) { in mvme16x_probe()
60 hostdata->base = (void __iomem *)0xfff47000UL; in mvme16x_probe()
61 hostdata->clock = 50; /* XXX - depends on the CPU clock! */ in mvme16x_probe()
62 hostdata->chip710 = 1; in mvme16x_probe()
63 hostdata->dmode_extra = DMODE_FC2; in mvme16x_probe()
64 hostdata->dcntl_extra = EA_710; in mvme16x_probe()
65 hostdata->ctest7_extra = CTEST7_TT1; in mvme16x_probe()
68 host = NCR_700_detect(&mvme16x_scsi_driver_template, hostdata, in mvme16x_probe()
[all …]
H A Da4000t.c39 struct NCR_700_Host_Parameters *hostdata; in amiga_a4000t_scsi_probe() local
50 hostdata = kzalloc_obj(struct NCR_700_Host_Parameters); in amiga_a4000t_scsi_probe()
51 if (!hostdata) { in amiga_a4000t_scsi_probe()
59 hostdata->base = ZTWO_VADDR(scsi_addr); in amiga_a4000t_scsi_probe()
60 hostdata->clock = 50; in amiga_a4000t_scsi_probe()
61 hostdata->chip710 = 1; in amiga_a4000t_scsi_probe()
62 hostdata->dmode_extra = DMODE_FC2; in amiga_a4000t_scsi_probe()
63 hostdata->dcntl_extra = EA_710; in amiga_a4000t_scsi_probe()
66 host = NCR_700_detect(&a4000t_scsi_driver_template, hostdata, in amiga_a4000t_scsi_probe()
91 kfree(hostdata); in amiga_a4000t_scsi_probe()
[all …]
H A D53c700.h109 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_get_sense_cmnd() local
111 return hostdata->cmnd; in NCR_700_get_sense_cmnd()
117 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_set_depth() local
119 hostdata->depth = depth; in NCR_700_set_depth()
124 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_get_depth() local
126 return hostdata->depth; in NCR_700_get_depth()
258 #define bE (hostdata->force_le_on_be ? 0 : 3)
259 #define bSWAP (hostdata->force_le_on_be)
260 #define bEBus (!hostdata->force_le_on_be)
483 const struct NCR_700_Host_Parameters *hostdata in NCR_700_readb() local
[all …]
H A Dsim710.c89 struct NCR_700_Host_Parameters *hostdata = in sim710_probe_common() local
96 if(hostdata == NULL) { in sim710_probe_common()
108 hostdata->base = ioport_map(base_addr, 64); in sim710_probe_common()
109 hostdata->differential = differential; in sim710_probe_common()
110 hostdata->clock = clock; in sim710_probe_common()
111 hostdata->chip710 = 1; in sim710_probe_common()
112 hostdata->burst_length = 8; in sim710_probe_common()
115 if((host = NCR_700_detect(&sim710_driver_template, hostdata, dev)) in sim710_probe_common()
136 ioport_unmap(hostdata->base); in sim710_probe_common()
139 kfree(hostdata); in sim710_probe_common()
[all …]
H A Ddmx3191d.c25 #define NCR5380_read(reg) inb(hostdata->base + (reg))
26 #define NCR5380_write(reg, value) outb(value, hostdata->base + (reg))
62 struct NCR5380_hostdata *hostdata; in dmx3191d_probe_one() local
81 hostdata = shost_priv(shost); in dmx3191d_probe_one()
82 hostdata->base = io; in dmx3191d_probe_one()
119 struct NCR5380_hostdata *hostdata = shost_priv(shost); in dmx3191d_remove_one() local
120 unsigned long io = hostdata->base; in dmx3191d_remove_one()
H A DNCR5380.h281 static void NCR5380_information_transfer(struct NCR5380_hostdata *hostdata);
286 static bool NCR5380_select(struct NCR5380_hostdata *hostdata,
296 static inline int NCR5380_poll_politely(struct NCR5380_hostdata *hostdata, in NCR5380_poll_politely()
303 return NCR5380_poll_politely2(hostdata, reg, bit, val, in NCR5380_poll_politely()
315 static inline int NCR5380_dma_xfer_none(struct NCR5380_hostdata *hostdata, in NCR5380_dma_xfer_none()
321 static inline int NCR5380_dma_setup_none(struct NCR5380_hostdata *hostdata, in NCR5380_dma_setup_none()
327 static inline int NCR5380_dma_residual_none(struct NCR5380_hostdata *hostdata) in NCR5380_dma_residual_none()
295 NCR5380_poll_politely(struct NCR5380_hostdata * hostdata,unsigned int reg,u8 bit,u8 val,unsigned long wait) NCR5380_poll_politely() argument
314 NCR5380_dma_xfer_none(struct NCR5380_hostdata * hostdata,struct scsi_cmnd * cmd) NCR5380_dma_xfer_none() argument
320 NCR5380_dma_setup_none(struct NCR5380_hostdata * hostdata,unsigned char * data,int count) NCR5380_dma_setup_none() argument
326 NCR5380_dma_residual_none(struct NCR5380_hostdata * hostdata) NCR5380_dma_residual_none() argument
/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c110 struct ibmvscsi_host_data *hostdata);
125 struct ibmvscsi_host_data *hostdata = in ibmvscsi_handle_event() local
127 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_handle_event()
128 tasklet_schedule(&hostdata->srp_task); in ibmvscsi_handle_event()
135 * @hostdata: ibmvscsi_host_data of host
142 struct ibmvscsi_host_data *hostdata, in ibmvscsi_release_crq_queue() argument
146 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_release_crq_queue()
147 free_irq(vdev->irq, (void *)hostdata); in ibmvscsi_release_crq_queue()
148 tasklet_kill(&hostdata->srp_task); in ibmvscsi_release_crq_queue()
154 dma_unmap_single(hostdata in ibmvscsi_release_crq_queue()
195 ibmvscsi_send_crq(struct ibmvscsi_host_data * hostdata,u64 word1,u64 word2) ibmvscsi_send_crq() argument
214 struct ibmvscsi_host_data *hostdata = (struct ibmvscsi_host_data *)data; ibmvscsi_task() local
261 set_adapter_info(struct ibmvscsi_host_data * hostdata) set_adapter_info() argument
285 ibmvscsi_reset_crq_queue(struct crq_queue * queue,struct ibmvscsi_host_data * hostdata) ibmvscsi_reset_crq_queue() argument
327 ibmvscsi_init_crq_queue(struct crq_queue * queue,struct ibmvscsi_host_data * hostdata,int max_requests) ibmvscsi_init_crq_queue() argument
413 ibmvscsi_reenable_crq_queue(struct crq_queue * queue,struct ibmvscsi_host_data * hostdata) ibmvscsi_reenable_crq_queue() argument
444 initialize_event_pool(struct event_pool * pool,int size,struct ibmvscsi_host_data * hostdata) initialize_event_pool() argument
488 release_event_pool(struct event_pool * pool,struct ibmvscsi_host_data * hostdata) release_event_pool() argument
783 purge_requests(struct ibmvscsi_host_data * hostdata,int error_code) purge_requests() argument
817 ibmvscsi_set_request_limit(struct ibmvscsi_host_data * hostdata,int limit) ibmvscsi_set_request_limit() argument
830 ibmvscsi_reset_host(struct ibmvscsi_host_data * hostdata) ibmvscsi_reset_host() argument
850 struct ibmvscsi_host_data *hostdata = evt_struct->hostdata; ibmvscsi_timeout() local
873 ibmvscsi_send_srp_event(struct srp_event_struct * evt_struct,struct ibmvscsi_host_data * hostdata,unsigned long timeout) ibmvscsi_send_srp_event() argument
1050 struct ibmvscsi_host_data *hostdata = shost_priv(cmnd->device->host); ibmvscsi_queuecommand_lck() local
1143 unmap_persist_bufs(struct ibmvscsi_host_data * hostdata) unmap_persist_bufs() argument
1161 struct ibmvscsi_host_data *hostdata = evt_struct->hostdata; login_rsp() local
1200 send_srp_login(struct ibmvscsi_host_data * hostdata) send_srp_login() argument
1239 struct ibmvscsi_host_data *hostdata = evt_struct->hostdata; capabilities_rsp() local
1266 send_mad_capabilities(struct ibmvscsi_host_data * hostdata) send_mad_capabilities() argument
1335 struct ibmvscsi_host_data *hostdata = evt_struct->hostdata; fast_fail_rsp() local
1354 enable_fast_fail(struct ibmvscsi_host_data * hostdata) enable_fast_fail() argument
1391 struct ibmvscsi_host_data *hostdata = evt_struct->hostdata; adapter_info_rsp() local
1436 send_mad_adapter_info(struct ibmvscsi_host_data * hostdata) send_mad_adapter_info() argument
1466 init_adapter(struct ibmvscsi_host_data * hostdata) init_adapter() argument
1492 struct ibmvscsi_host_data *hostdata = shost_priv(cmd->device->host); ibmvscsi_eh_abort_handler() local
1631 struct ibmvscsi_host_data *hostdata = shost_priv(cmd->device->host); ibmvscsi_eh_device_reset_handler() local
1743 struct ibmvscsi_host_data *hostdata = shost_priv(cmd->device->host); ibmvscsi_eh_host_reset_handler() local
1769 ibmvscsi_handle_crq(struct viosrp_crq * crq,struct ibmvscsi_host_data * hostdata) ibmvscsi_handle_crq() argument
1910 struct ibmvscsi_host_data *hostdata = shost_priv(shost); show_host_vhost_loc() local
1930 struct ibmvscsi_host_data *hostdata = shost_priv(shost); show_host_vhost_name() local
1950 struct ibmvscsi_host_data *hostdata = shost_priv(shost); show_host_srp_version() local
1971 struct ibmvscsi_host_data *hostdata = shost_priv(shost); show_host_partition_name() local
1992 struct ibmvscsi_host_data *hostdata = shost_priv(shost); show_host_partition_number() local
2012 struct ibmvscsi_host_data *hostdata = shost_priv(shost); show_host_mad_version() local
2032 struct ibmvscsi_host_data *hostdata = shost_priv(shost); show_host_os_type() local
2064 struct ibmvscsi_host_data *hostdata = shost_priv(shost); ibmvscsi_host_reset() local
2128 ibmvscsi_do_work(struct ibmvscsi_host_data * hostdata) ibmvscsi_do_work() argument
2172 __ibmvscsi_work_to_do(struct ibmvscsi_host_data * hostdata) __ibmvscsi_work_to_do() argument
2189 ibmvscsi_work_to_do(struct ibmvscsi_host_data * hostdata) ibmvscsi_work_to_do() argument
2203 struct ibmvscsi_host_data *hostdata = data; ibmvscsi_work() local
2228 struct ibmvscsi_host_data *hostdata; ibmvscsi_probe() local
2346 struct ibmvscsi_host_data *hostdata = dev_get_drvdata(&vdev->dev); ibmvscsi_remove() local
2376 struct ibmvscsi_host_data *hostdata = dev_get_drvdata(dev); ibmvscsi_resume() local
[all...]
/linux/drivers/scsi/arm/
H A Dcumana_1.c17 #define priv(host) ((struct NCR5380_hostdata *)(host)->hostdata)
18 #define NCR5380_read(reg) cumanascsi_read(hostdata, reg)
19 #define NCR5380_write(reg, value) cumanascsi_write(hostdata, reg, value)
44 static inline int cumanascsi_pwrite(struct NCR5380_hostdata *hostdata, in cumanascsi_pwrite() argument
48 u8 __iomem *base = hostdata->io; in cumanascsi_pwrite()
49 u8 __iomem *dma = hostdata->pdma_io + 0x2000; in cumanascsi_pwrite()
104 writeb(hostdata->ctrl | 0x40, base + CTRL); in cumanascsi_pwrite()
111 static inline int cumanascsi_pread(struct NCR5380_hostdata *hostdata, in cumanascsi_pread() argument
115 u8 __iomem *base = hostdata->io; in cumanascsi_pread()
116 u8 __iomem *dma = hostdata->pdma_io + 0x2000; in cumanascsi_pread()
[all …]
H A Doak.c18 #define priv(host) ((struct NCR5380_hostdata *)(host)->hostdata)
20 #define NCR5380_read(reg) readb(hostdata->io + ((reg) << 2))
21 #define NCR5380_write(reg, value) writeb(value, hostdata->io + ((reg) << 2))
41 static inline int oakscsi_pwrite(struct NCR5380_hostdata *hostdata, in oakscsi_pwrite() argument
44 u8 __iomem *base = hostdata->io; in oakscsi_pwrite()
56 static inline int oakscsi_pread(struct NCR5380_hostdata *hostdata, in oakscsi_pread() argument
59 u8 __iomem *base = hostdata->io; in oakscsi_pread()
H A Dpowertec.c105 struct powertec_info *info = (struct powertec_info *)host->hostdata; in powertecscsi_terminator_ctl()
135 struct powertec_info *info = (struct powertec_info *)host->hostdata; in powertecscsi_dma_setup()
177 struct powertec_info *info = (struct powertec_info *)host->hostdata; in powertecscsi_dma_stop()
189 struct powertec_info *info = (struct powertec_info *)host->hostdata; in powertecscsi_info()
246 info = (struct powertec_info *)host->hostdata; in powertecscsi_show_info()
262 struct powertec_info *info = (struct powertec_info *)host->hostdata; in powertecscsi_show_term()
329 info = (struct powertec_info *)host->hostdata; in powertecscsi_probe()
405 struct powertec_info *info = (struct powertec_info *)host->hostdata; in powertecscsi_remove()
H A Dcumana_2.c125 struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata; in cumanascsi_2_terminator_ctl()
161 struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata; in cumanascsi_2_dma_setup()
214 struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata; in cumanascsi_2_dma_pseudo()
287 struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata; in cumanascsi_2_dma_stop()
301 struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata; in cumanascsi_2_info()
347 info = (struct cumanascsi2_info *)host->hostdata; in cumanascsi_2_show_info()
405 info = (struct cumanascsi2_info *)host->hostdata; in cumanascsi2_probe()
479 struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata; in cumanascsi2_remove()
H A Deesox.c124 struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata; in eesoxscsi_terminator_ctl()
162 struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata; in eesoxscsi_dma_setup()
358 struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata; in eesoxscsi_dma_pseudo()
374 struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata; in eesoxscsi_dma_stop()
386 struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata; in eesoxscsi_info()
431 info = (struct eesoxscsi_info *)host->hostdata; in eesoxscsi_show_info()
447 struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata; in eesoxscsi_show_term()
456 struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata; in eesoxscsi_store_term()
521 info = (struct eesoxscsi_info *)host->hostdata; in eesoxscsi_probe()
599 struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata; in eesoxscsi_remove()
[all...]
H A Darxescsi.c120 struct arxescsi_info *info = (struct arxescsi_info *)host->hostdata; in arxescsi_dma_pseudo()
218 struct arxescsi_info *info = (struct arxescsi_info *)host->hostdata; in arxescsi_info()
232 info = (struct arxescsi_info *)host->hostdata; in arxescsi_show_info()
281 info = (struct arxescsi_info *)host->hostdata; in arxescsi_probe()
/linux/drivers/scsi/arcmsr/
H A Darcmsr_attr.c69 struct AdapterControlBlock *acb = (struct AdapterControlBlock *) host->hostdata; in arcmsr_sysfs_iop_message_read()
116 struct AdapterControlBlock *acb = (struct AdapterControlBlock *) host->hostdata; in arcmsr_sysfs_iop_message_write()
164 struct AdapterControlBlock *acb = (struct AdapterControlBlock *) host->hostdata; in arcmsr_sysfs_iop_message_clear()
272 (struct AdapterControlBlock *) host->hostdata; in arcmsr_attr_host_driver_posted_cmd()
284 (struct AdapterControlBlock *) host->hostdata; in arcmsr_attr_host_driver_reset()
296 (struct AdapterControlBlock *) host->hostdata; in arcmsr_attr_host_driver_abort()
308 (struct AdapterControlBlock *) host->hostdata; in arcmsr_attr_host_fw_model()
320 (struct AdapterControlBlock *) host->hostdata; in arcmsr_attr_host_fw_version()
333 (struct AdapterControlBlock *) host->hostdata; in arcmsr_attr_host_fw_request_len()
346 (struct AdapterControlBlock *) host->hostdata; in arcmsr_attr_host_fw_numbers_queue()
[all …]
/linux/drivers/scsi/bfa/
H A Dbfad_attr.c32 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_id()
58 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_node_name()
84 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_name()
103 (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_host_port_id()
117 (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_host_port_type()
149 (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_host_port_state()
186 (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_host_active_fc4s()
205 (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_host_speed()
242 (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_host_fabric_name()
259 (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_stats()
[all …]
/linux/drivers/scsi/lpfc/
H A Dlpfc_attr.c121 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_cmf_info_show()
280 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_vmid_info_show()
435 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_enable_fip_show()
796 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_info_show()
816 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_guard_err_show()
828 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_apptag_err_show()
840 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_reftag_err_show()
877 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_serialnum_show()
900 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_temp_sensor_show()
918 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_modeldesc_show()
[all …]
/linux/drivers/scsi/pcmcia/
H A Dnsp_cs.c182 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_scsi_done()
197 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_queuecommand_lck()
369 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsphw_start_selection()
449 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_analyze_sdtr()
504 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_start_timer()
581 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_xfer()
621 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_dataphase_bypass()
720 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_pio_read()
823 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_pio_write()
924 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_nexus()
[all …]
H A Dnsp_message.c14 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_message_in()
55 nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata; in nsp_message_out()
/linux/drivers/scsi/aacraid/
H A Dlinit.c257 struct aac_dev *dev = (struct aac_dev *)shost->hostdata; in aac_info()
392 struct aac_dev *aac = (struct aac_dev *)sdev->host->hostdata; in aac_sdev_configure()
520 struct aac_dev *aac = (struct aac_dev *)(sdev->host->hostdata); in aac_change_queue_depth()
561 struct aac_dev *aac = (struct aac_dev *)(sdev->host->hostdata); in aac_show_raid_level()
582 struct aac_dev *aac = (struct aac_dev *)(sdev->host->hostdata); in aac_show_unique_id()
620 struct aac_dev *dev = (struct aac_dev *)sdev->host->hostdata; in aac_ioctl()
686 struct aac_dev * aac = (struct aac_dev *)host->hostdata; in aac_eh_abort()
907 struct aac_dev * aac = (struct aac_dev *)host->hostdata; in aac_eh_dev_reset()
970 struct aac_dev * aac = (struct aac_dev *)host->hostdata; in aac_eh_target_reset()
1036 struct aac_dev * aac = (struct aac_dev *)host->hostdata; in aac_eh_bus_reset()
[all …]
/linux/drivers/scsi/leapraid/
H A Dleapraid_os.c69 sdev_priv = sdev->hostdata; in leapraid_set_tm_flg()
91 sdev_priv = sdev->hostdata; in leapraid_clear_tm_flg()
318 starget_priv = starget ? starget->hostdata : NULL; in leapraid_smart_fault_detect()
544 sdev_priv = scmd->device->hostdata; in leapraid_scsiio_done()
876 struct leapraid_sdev_priv *sdev_priv = scmd->device->hostdata; in leapraid_queuecommand()
957 struct leapraid_starget_priv *starget_priv = starget->hostdata; in leapraid_exit_cmd_priv()
997 sdev_priv = scmd->device->hostdata; in leapraid_error_handler()
1156 stgt_priv = tgt->hostdata; in leapraid_sdev_init()
1159 sdev->hostdata = sdev_priv; in leapraid_sdev_init()
1210 sdev_priv = sdev->hostdata; in leapraid_slave_cfg_volume()
[all...]
/linux/drivers/scsi/elx/efct/
H A Defct_xport.c391 vport = (struct efct_vport *)shost->hostdata; in efct_scsi_new_device()
680 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_port_id()
694 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_port_type()
727 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_port_state()
742 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_speed()
793 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_host_fabric_name()
809 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_get_stats()
859 struct efct_vport *vport = (struct efct_vport *)shost->hostdata; in efct_reset_stats()
874 shost ? (struct efct_vport *)shost->hostdata : NULL; in efct_issue_lip()
912 vport = (struct efct_vport *)shost->hostdata; in efct_scsi_new_vport()
[all …]

1234