Searched refs:to_pci_dev (Results 1 – 10 of 10) sorted by relevance
/linux-2.4.37.9/include/linux/ |
D | libata-compat.h | 38 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/ |
D | sata_sis.c | 162 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()
|
D | ata_piix.c | 361 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()
|
D | sata_uli.c | 147 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()
|
D | sata_nv.c | 356 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()
|
D | ahci.c | 944 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()
|
D | sata_svw.c | 263 np = pci_device_to_OF_node(to_pci_dev(ap->host_set->dev)); in k2_sata_proc_info()
|
D | sata_qstor.c | 550 struct pci_dev *pdev = to_pci_dev(host_set->dev); in qs_host_stop()
|
D | libata-core.c | 4196 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()
|
D | sata_sx4.c | 248 struct pci_dev *pdev = to_pci_dev(host_set->dev); in pdc20621_host_stop()
|