Searched refs:dev_softc (Results  1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/scsi/aic7xxx/ | 
| D | aic79xx_osm_pci.c | 141 	struct pci_dev *pdev = ahd->dev_softc, *master_pdev;  in ahd_linux_pci_inherit_flags()207 	ahd->dev_softc = pci;  in ahd_linux_pci_dev_probe()
 254 	*base = pci_resource_start(ahd->dev_softc, 0);  in ahd_linux_pci_reserve_io_regions()
 260 	*base2 = pci_resource_start(ahd->dev_softc, 3);  in ahd_linux_pci_reserve_io_regions()
 288 	start = pci_resource_start(ahd->dev_softc, 1);  in ahd_linux_pci_reserve_mem_region()
 319 	command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, 4);  in ahd_pci_map_registers()
 330 		ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND,  in ahd_pci_map_registers()
 337 			       ahd_get_pci_bus(ahd->dev_softc),  in ahd_pci_map_registers()
 338 			       ahd_get_pci_slot(ahd->dev_softc),  in ahd_pci_map_registers()
 339 			       ahd_get_pci_function(ahd->dev_softc));  in ahd_pci_map_registers()
 [all …]
 
 | 
| D | aic7xxx_osm_pci.c | 184 	struct pci_dev *pdev = ahc->dev_softc, *master_pdev;  in ahc_linux_pci_inherit_flags()252 	ahc->dev_softc = pci;  in ahc_linux_pci_dev_probe()
 352 	*base = pci_resource_start(ahc->dev_softc, 0);  in ahc_linux_pci_reserve_io_region()
 369 	start = pci_resource_start(ahc->dev_softc, 1);  in ahc_linux_pci_reserve_mem_region()
 397 	command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, 4);  in ahc_pci_map_registers()
 406 		ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND,  in ahc_pci_map_registers()
 417 			       ahc_get_pci_bus(ahc->dev_softc),  in ahc_pci_map_registers()
 418 			       ahc_get_pci_slot(ahc->dev_softc),  in ahc_pci_map_registers()
 419 			       ahc_get_pci_function(ahc->dev_softc));  in ahc_pci_map_registers()
 430 		       ahc_get_pci_bus(ahc->dev_softc),  in ahc_pci_map_registers()
 [all …]
 
 | 
| D | aic79xx_pci.c | 300 	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()
 389 	    ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4);  in ahd_pci_suspend()
 391 	    ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/1);  in ahd_pci_suspend()
 393 	    ahd_pci_read_config(ahd->dev_softc, CSIZE_LATTIME, /*bytes*/1);  in ahd_pci_suspend()
 [all …]
 
 | 
| D | aic7xxx_pci.c | 723 	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 …]
 
 | 
| D | aic7xxx.h | 945 	ahc_dev_softc_t		  dev_softc;  member
 | 
| D | aic79xx_osm.c | 968 	*vaddr = pci_alloc_consistent(ahd->dev_softc,  in ahd_dmamem_alloc()979 	pci_free_consistent(ahd->dev_softc, dmat->maxsize,  in ahd_dmamem_free()
 1262 	retval = scsi_add_host(host, &ahd->dev_softc->dev);  in ahd_linux_register_host()
 
 | 
| D | aic79xx.h | 1087 	ahd_dev_softc_t		  dev_softc;  member
 | 
| D | aic79xx_core.c | 6257 	cmd = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);  in ahd_reset()6271 		ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND,  in ahd_reset()
 6298 		ahd_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1,  in ahd_reset()
 6300 		ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND,  in ahd_reset()
 
 |