Home
last modified time | relevance | path

Searched refs:to_pci_dev (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/include/linux/
Dlibata-compat.h38 static inline struct pci_dev *to_pci_dev(struct device *dev) in to_pci_dev() function
64 pci_alloc_consistent(to_pci_dev(dev),(sz),(dma))
66 pci_free_consistent(to_pci_dev(dev),(sz),(addr),(dma_addr))
69 pci_map_sg(to_pci_dev(dev),(a),(b),(c))
71 pci_unmap_sg(to_pci_dev(dev),(a),(b),(c))
74 pci_map_single(to_pci_dev(dev),(a),(b),(c))
76 pci_unmap_single(to_pci_dev(dev),(a),(b),(c))
81 pci_get_drvdata(to_pci_dev(dev))
83 pci_set_drvdata(to_pci_dev(dev),(ptr))
/linux-2.4.37.9/drivers/scsi/
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_nv.c356 struct pci_dev *pdev = to_pci_dev(host_set->dev); in nv_host_stop()
524 struct pci_dev *pdev = to_pci_dev(probe_ent->dev); in nv_enable_hotplug_ck804()
542 struct pci_dev *pdev = to_pci_dev(host_set->dev); in nv_disable_hotplug_ck804()
Dahci.c944 to_pci_dev(ap->host_set->dev); in ahci_interrupt()
955 to_pci_dev(ap->host_set->dev); in ahci_interrupt()
1003 struct pci_dev *pdev = to_pci_dev(probe_ent->dev); in ahci_host_init()
1147 struct pci_dev *pdev = to_pci_dev(probe_ent->dev); in ahci_print_info()
Dsata_svw.c263 np = pci_device_to_OF_node(to_pci_dev(ap->host_set->dev)); in k2_sata_proc_info()
Dsata_qstor.c550 struct pci_dev *pdev = to_pci_dev(host_set->dev); in qs_host_stop()
Dlibata-core.c4196 host->pci_dev = to_pci_dev(ent->dev); in ata_host_init()
4536 pci_name(to_pci_dev(dev))); in ata_probe_ent_alloc()
4573 struct pci_dev *pdev = to_pci_dev(host_set->dev); in ata_pci_host_stop()
Dsata_sx4.c248 struct pci_dev *pdev = to_pci_dev(host_set->dev); in pdc20621_host_stop()