Home
last modified time | relevance | path

Searched refs:host_set (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dsata_nv.c124 static void nv_host_stop (struct ata_host_set *host_set);
126 static void nv_disable_hotplug(struct ata_host_set *host_set);
127 static void nv_check_hotplug(struct ata_host_set *host_set);
129 static void nv_disable_hotplug_ck804(struct ata_host_set *host_set);
130 static void nv_check_hotplug_ck804(struct ata_host_set *host_set);
178 void (*disable_hotplug)(struct ata_host_set *host_set);
179 void (*check_hotplug)(struct ata_host_set *host_set);
294 struct ata_host_set *host_set = dev_instance; in nv_interrupt() local
295 struct nv_host *host = host_set->private_data; in nv_interrupt()
300 spin_lock_irqsave(&host_set->lock, flags); in nv_interrupt()
[all …]
Dsata_qstor.c119 static void qs_host_stop(struct ata_host_set *host_set);
224 u8 __iomem *chan = ap->host_set->mmio_base + (ap->port_no * 0x4000); in qs_enter_reg_mode()
232 u8 __iomem *chan = ap->host_set->mmio_base + (ap->port_no * 0x4000); in qs_reset_channel_logic()
346 u8 __iomem *chan = ap->host_set->mmio_base + (ap->port_no * 0x4000); in qs_packet_start()
379 static inline unsigned int qs_intr_pkt(struct ata_host_set *host_set) in qs_intr_pkt() argument
383 u8 __iomem *mmio_base = host_set->mmio_base; in qs_intr_pkt()
395 struct ata_port *ap = host_set->ports[port_no]; in qs_intr_pkt()
426 static inline unsigned int qs_intr_mmio(struct ata_host_set *host_set) in qs_intr_mmio() argument
430 for (port_no = 0; port_no < host_set->n_ports; ++port_no) { in qs_intr_mmio()
432 ap = host_set->ports[port_no]; in qs_intr_mmio()
[all …]
Dsata_promise.c243 struct device *dev = ap->host_set->dev; in pdc_port_start()
278 struct device *dev = ap->host_set->dev; in pdc_port_stop()
374 struct ata_host_set *host_set = ap->host_set; in pdc_eng_timeout() local
381 spin_lock_irqsave(&host_set->lock, flags); in pdc_eng_timeout()
417 spin_unlock_irqrestore(&host_set->lock, flags); in pdc_eng_timeout()
452 struct ata_host_set *host_set = ap->host_set; in pdc_irq_clear() local
453 void __iomem *mmio = host_set->mmio_base; in pdc_irq_clear()
460 struct ata_host_set *host_set = dev_instance; in pdc_interrupt() local
469 if (!host_set || !host_set->mmio_base) { in pdc_interrupt()
474 mmio_base = host_set->mmio_base; in pdc_interrupt()
[all …]
Dsata_sx4.c162 static void pdc20621_host_stop(struct ata_host_set *host_set);
246 static void pdc20621_host_stop(struct ata_host_set *host_set) in pdc20621_host_stop() argument
248 struct pci_dev *pdev = to_pci_dev(host_set->dev); in pdc20621_host_stop()
249 struct pdc_host_priv *hpriv = host_set->private_data; in pdc20621_host_stop()
255 pci_iounmap(pdev, host_set->mmio_base); in pdc20621_host_stop()
260 struct device *dev = ap->host_set->dev; in pdc_port_start()
295 struct device *dev = ap->host_set->dev; in pdc_port_stop()
455 void __iomem *mmio = ap->host_set->mmio_base; in pdc20621_dma_prep()
456 struct pdc_host_priv *hpriv = ap->host_set->private_data; in pdc20621_dma_prep()
516 void __iomem *mmio = ap->host_set->mmio_base; in pdc20621_nodata_prep()
[all …]
Dlibata-core.c1128 spin_lock_irqsave(&ap->host_set->lock, flags); in ata_dev_identify()
1130 spin_unlock_irqrestore(&ap->host_set->lock, flags); in ata_dev_identify()
1137 spin_lock_irqsave(&ap->host_set->lock, flags); in ata_dev_identify()
1139 spin_unlock_irqrestore(&ap->host_set->lock, flags); in ata_dev_identify()
1900 spin_lock_irqsave(&ap->host_set->lock, flags); in ata_bus_edd()
1902 spin_unlock_irqrestore(&ap->host_set->lock, flags); in ata_bus_edd()
2272 spin_lock_irqsave(&ap->host_set->lock, flags); in ata_dev_set_xfermode()
2274 spin_unlock_irqrestore(&ap->host_set->lock, flags); in ata_dev_set_xfermode()
2320 spin_lock_irqsave(&ap->host_set->lock, flags); in ata_dev_reread_id()
2322 spin_unlock_irqrestore(&ap->host_set->lock, flags); in ata_dev_reread_id()
[all …]
Dahci.c518 struct device *dev = ap->host_set->dev; in ahci_port_start()
519 struct ahci_host_priv *hpriv = ap->host_set->private_data; in ahci_port_start()
521 void __iomem *mmio = ap->host_set->mmio_base; in ahci_port_start()
597 struct device *dev = ap->host_set->dev; in ahci_port_stop()
599 void __iomem *mmio = ap->host_set->mmio_base; in ahci_port_stop()
777 void __iomem *mmio = ap->host_set->mmio_base; in ahci_restart_port()
836 struct ata_host_set *host_set = ap->host_set; in ahci_eng_timeout() local
837 void __iomem *mmio = host_set->mmio_base; in ahci_eng_timeout()
844 spin_lock_irqsave(&host_set->lock, flags); in ahci_eng_timeout()
863 spin_unlock_irqrestore(&host_set->lock, flags); in ahci_eng_timeout()
[all …]
Dsata_vsc.c106 mask_addr = ap->host_set->mmio_base + in vsc_intr_mask_update()
189 struct ata_host_set *host_set = dev_instance; in vsc_sata_interrupt() local
194 spin_lock(&host_set->lock); in vsc_sata_interrupt()
196 int_status = readl(host_set->mmio_base + VSC_SATA_INT_STAT_OFFSET); in vsc_sata_interrupt()
198 for (i = 0; i < host_set->n_ports; i++) { in vsc_sata_interrupt()
202 ap = host_set->ports[i]; in vsc_sata_interrupt()
214 spin_unlock(&host_set->lock); in vsc_sata_interrupt()
Dsata_sis.c162 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in sis_scr_cfg_read()
182 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in sis_scr_cfg_write()
199 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in sis_scr_read()
221 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in sis_scr_write()
Data_piix.c361 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in piix_pata_cbl_detect()
394 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in piix_pata_phy_reset()
426 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in piix_sata_probe()
495 struct pci_dev *dev = to_pci_dev(ap->host_set->dev); in piix_set_piomode()
547 struct pci_dev *dev = to_pci_dev(ap->host_set->dev); in piix_set_dmamode()
Dsata_uli.c147 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in uli_scr_cfg_read()
157 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in uli_scr_cfg_write()
Dsata_sil.c245 struct ata_host_set *host_set = ap->host_set; in sil_post_set_mode() local
248 host_set->mmio_base + sil_port[ap->port_no].xfer_mode; in sil_post_set_mode()
Dsata_svw.c263 np = pci_device_to_OF_node(to_pci_dev(ap->host_set->dev)); in k2_sata_proc_info()
268 index = (ap == ap->host_set->ports[0]) ? 0 : 1; in k2_sata_proc_info()
Dlibata-scsi.c2388 spin_lock(&ap->host_set->lock); in ata_scsi_queuecmd()
2411 spin_unlock(&ap->host_set->lock); in ata_scsi_queuecmd()
/linux-2.4.37.9/include/linux/
Dlibata.h348 struct ata_host_set *host_set; member
398 void (*host_stop) (struct ata_host_set *host_set);
440 extern void ata_host_set_remove(struct ata_host_set *host_set);
463 extern void ata_host_stop (struct ata_host_set *host_set);
522 extern void ata_pci_host_stop (struct ata_host_set *host_set);