/linux-2.4.37.9/drivers/scsi/aic7xxx/ |
D | aic79xx_osm_pci.c | 123 probed_pdev = ahd->dev_softc; in ahd_linux_pci_dev_probe() 183 ahd->dev_softc = pci; in ahd_linux_pci_dev_probe() 245 *base = pci_resource_start(ahd->dev_softc, 0); in ahd_linux_pci_reserve_io_regions() 251 *base2 = pci_resource_start(ahd->dev_softc, 3); in ahd_linux_pci_reserve_io_regions() 253 *base = ahd_pci_read_config(ahd->dev_softc, AHD_PCI_IOADDR0, 4); in ahd_linux_pci_reserve_io_regions() 254 *base2 = ahd_pci_read_config(ahd->dev_softc, AHD_PCI_IOADDR1, 4); in ahd_linux_pci_reserve_io_regions() 296 start = pci_resource_start(ahd->dev_softc, 1); in ahd_linux_pci_reserve_mem_region() 300 start = ahd_pci_read_config(ahd->dev_softc, PCIR_MAPS+4, 4); in ahd_linux_pci_reserve_mem_region() 338 command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, 4); in ahd_pci_map_registers() 350 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_pci_map_registers() [all …]
|
D | aic7xxx_osm_pci.c | 126 probed_pdev = ahc->dev_softc; in ahc_linux_pci_dev_probe() 175 ahc->dev_softc = pci; in ahc_linux_pci_dev_probe() 239 *base = pci_resource_start(ahc->dev_softc, 0); in ahc_linux_pci_reserve_io_region() 241 *base = ahc_pci_read_config(ahc->dev_softc, PCIR_MAPS, 4); in ahc_linux_pci_reserve_io_region() 270 start = pci_resource_start(ahc->dev_softc, 1); in ahc_linux_pci_reserve_mem_region() 274 start = ahc_pci_read_config(ahc->dev_softc, PCIR_MAPS+4, 4); in ahc_linux_pci_reserve_mem_region() 312 command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, 4); in ahc_pci_map_registers() 322 ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, in ahc_pci_map_registers() 333 ahc_get_pci_bus(ahc->dev_softc), in ahc_pci_map_registers() 334 ahc_get_pci_slot(ahc->dev_softc), in ahc_pci_map_registers() [all …]
|
D | aic79xx_pci.c | 323 subvendor = ahd_pci_read_config(ahd->dev_softc, in ahd_pci_config() 332 devconfig = ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4); in ahd_pci_config() 360 devconfig = ahd_pci_read_config(ahd->dev_softc, in ahd_pci_config() 363 ahd_pci_write_config(ahd->dev_softc, DEVCONFIG, in ahd_pci_config() 368 command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_pci_config() 370 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, /*bytes*/2); in ahd_pci_config() 383 ahd_pci_read_config(ahd->dev_softc, CSIZE_LATTIME, in ahd_pci_config() 433 cmd = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_pci_test_register_access() 434 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_pci_test_register_access() 466 pci_status1 = ahd_pci_read_config(ahd->dev_softc, in ahd_pci_test_register_access() [all …]
|
D | aic7xxx_pci.c | 815 devconfig = ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_pci_config() 834 ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahc_pci_config() 837 command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahc_pci_config() 840 ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, /*bytes*/2); in ahc_pci_config() 923 ahc_pci_read_config(ahc->dev_softc, CSIZE_LATTIME, in ahc_pci_config() 930 ahc_pci_write_config(ahc->dev_softc, CSIZE_LATTIME, in ahc_pci_config() 942 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_config() 1008 ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_pci_config() 1010 ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/1); in ahc_pci_config() 1012 ahc_pci_read_config(ahc->dev_softc, CSIZE_LATTIME, /*bytes*/1); in ahc_pci_config() [all …]
|
D | aic7xxx_osm.c | 721 pci_unmap_sg(ahc->dev_softc, sg, cmd->use_sg, in ahc_linux_unmap_scb() 724 pci_unmap_single(ahc->dev_softc, in ahc_linux_unmap_scb() 1437 if (ahc->dev_softc != NULL) 1438 ahc_pci_set_dma_mask(ahc->dev_softc, 0xFFFFFFFF); 1439 *vaddr = pci_alloc_consistent(ahc->dev_softc, 1441 if (ahc->dev_softc != NULL) 1442 ahc_pci_set_dma_mask(ahc->dev_softc, 1465 pci_free_consistent(ahc->dev_softc, dmat->maxsize, 1561 value = ahc_get_pci_bus(lahc->dev_softc) 1562 - ahc_get_pci_bus(rahc->dev_softc); [all …]
|
D | aic79xx_osm.c | 732 pci_unmap_sg(ahd->dev_softc, sg, cmd->use_sg, direction); in ahd_linux_unmap_scb() 734 pci_unmap_single(ahd->dev_softc, in ahd_linux_unmap_scb() 1802 if (ahd->dev_softc != NULL) 1803 ahd_pci_set_dma_mask(ahd->dev_softc, 0xFFFFFFFF); 1804 *vaddr = pci_alloc_consistent(ahd->dev_softc, 1806 if (ahd->dev_softc != NULL) 1807 ahd_pci_set_dma_mask(ahd->dev_softc, 1830 pci_free_consistent(ahd->dev_softc, dmat->maxsize, 1910 value = ahd_get_pci_bus(lahd->dev_softc) 1911 - ahd_get_pci_bus(rahd->dev_softc); [all …]
|
D | aic7xxx_osm.h | 974 #define ahc_pci_set_dma_mask(dev_softc, mask) \ argument 975 (((dev_softc)->dma_mask = mask) && 0)
|
D | aic79xx_osm.h | 1005 #define ahd_pci_set_dma_mask(dev_softc, mask) \ argument 1006 (((dev_softc)->dma_mask = mask) && 0)
|
D | aic7xxx.h | 961 ahc_dev_softc_t dev_softc; member
|
D | aic79xx.h | 1089 ahd_dev_softc_t dev_softc; member
|
D | aic79xx_core.c | 4866 list_pci = list_ahd->dev_softc; in ahd_softc_insert() 4867 pci = ahd->dev_softc; in ahd_softc_insert() 5052 cmd = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_reset() 5066 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_reset() 5093 ahd_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_reset() 5095 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_reset()
|
D | aic7xxx_core.c | 3897 list_pci = list_ahc->dev_softc; in ahc_softc_insert() 3898 pci = ahc->dev_softc; in ahc_softc_insert()
|