Home
last modified time | relevance | path

Searched refs:dev_softc (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/scsi/aic7xxx/
Daic79xx_osm_pci.c121 struct pci_dev *pdev = ahd->dev_softc, *master_pdev; in ahd_linux_pci_inherit_flags()
187 ahd->dev_softc = pci; in ahd_linux_pci_dev_probe()
235 *base = pci_resource_start(ahd->dev_softc, 0); in ahd_linux_pci_reserve_io_regions()
241 *base2 = pci_resource_start(ahd->dev_softc, 3); in ahd_linux_pci_reserve_io_regions()
269 start = pci_resource_start(ahd->dev_softc, 1); in ahd_linux_pci_reserve_mem_region()
300 command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, 4); in ahd_pci_map_registers()
311 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_pci_map_registers()
318 ahd_get_pci_bus(ahd->dev_softc), in ahd_pci_map_registers()
319 ahd_get_pci_slot(ahd->dev_softc), in ahd_pci_map_registers()
320 ahd_get_pci_function(ahd->dev_softc)); in ahd_pci_map_registers()
[all …]
Daic7xxx_osm_pci.c160 struct pci_dev *pdev = ahc->dev_softc, *master_pdev; in ahc_linux_pci_inherit_flags()
228 ahc->dev_softc = pci; in ahc_linux_pci_dev_probe()
328 *base = pci_resource_start(ahc->dev_softc, 0); in ahc_linux_pci_reserve_io_region()
345 start = pci_resource_start(ahc->dev_softc, 1); in ahc_linux_pci_reserve_mem_region()
373 command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, 4); in ahc_pci_map_registers()
382 ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, in ahc_pci_map_registers()
393 ahc_get_pci_bus(ahc->dev_softc), in ahc_pci_map_registers()
394 ahc_get_pci_slot(ahc->dev_softc), in ahc_pci_map_registers()
395 ahc_get_pci_function(ahc->dev_softc)); in ahc_pci_map_registers()
406 ahc_get_pci_bus(ahc->dev_softc), in ahc_pci_map_registers()
[all …]
Daic79xx_pci.c300 subvendor = ahd_pci_read_config(ahd->dev_softc, in ahd_pci_config()
309 devconfig = ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4); in ahd_pci_config()
335 devconfig = ahd_pci_read_config(ahd->dev_softc, in ahd_pci_config()
338 ahd_pci_write_config(ahd->dev_softc, DEVCONFIG, in ahd_pci_config()
343 command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_pci_config()
345 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, /*bytes*/2); in ahd_pci_config()
358 ahd_pci_read_config(ahd->dev_softc, CSIZE_LATTIME, in ahd_pci_config()
388 ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4); in ahd_pci_suspend()
390 ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/1); in ahd_pci_suspend()
392 ahd_pci_read_config(ahd->dev_softc, CSIZE_LATTIME, /*bytes*/1); in ahd_pci_suspend()
[all …]
Daic7xxx_pci.c723 pci_set_power_state(ahc->dev_softc, AHC_POWER_STATE_D0); in ahc_pci_config()
737 devconfig = ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_pci_config()
756 ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahc_pci_config()
759 command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahc_pci_config()
762 ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, /*bytes*/2); in ahc_pci_config()
843 ahc_pci_read_config(ahc->dev_softc, CSIZE_LATTIME, in ahc_pci_config()
850 ahc_pci_write_config(ahc->dev_softc, CSIZE_LATTIME, in ahc_pci_config()
862 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_config()
928 ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_pci_config()
930 ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/1); in ahc_pci_config()
[all …]
Daic7xxx.h943 ahc_dev_softc_t dev_softc; member
Daic79xx_osm.c949 *vaddr = dma_alloc_coherent(&ahd->dev_softc->dev, dmat->maxsize, mapp, in ahd_dmamem_alloc()
960 dma_free_coherent(&ahd->dev_softc->dev, dmat->maxsize, vaddr, map); in ahd_dmamem_free()
1242 retval = scsi_add_host(host, &ahd->dev_softc->dev); in ahd_linux_register_host()
Daic79xx.h1087 ahd_dev_softc_t dev_softc; member
Daic79xx_core.c6216 cmd = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_reset()
6230 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_reset()
6257 ahd_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_reset()
6259 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_reset()