Searched refs:dev_softc (Results  1 – 9 of 9) sorted by relevance
| /linux-4.1.27/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() 351 	*base = pci_resource_start(ahc->dev_softc, 0);  in ahc_linux_pci_reserve_io_region() 368 	start = pci_resource_start(ahc->dev_softc, 1);  in ahc_linux_pci_reserve_mem_region() 396 	command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, 4);  in ahc_pci_map_registers() 405 		ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND,  in ahc_pci_map_registers() 416 			       ahc_get_pci_bus(ahc->dev_softc),  in ahc_pci_map_registers() 417 			       ahc_get_pci_slot(ahc->dev_softc),  in ahc_pci_map_registers() 418 			       ahc_get_pci_function(ahc->dev_softc));  in ahc_pci_map_registers() 429 		       ahc_get_pci_bus(ahc->dev_softc),  in ahc_pci_map_registers() [all …] 
 | 
| D | aic79xx_pci.c | 308 	subvendor = ahd_pci_read_config(ahd->dev_softc,  in ahd_pci_config() 317 	devconfig = ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4);  in ahd_pci_config() 343 		devconfig = ahd_pci_read_config(ahd->dev_softc,  in ahd_pci_config() 346 		ahd_pci_write_config(ahd->dev_softc, DEVCONFIG,  in ahd_pci_config() 351 	command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);  in ahd_pci_config() 353 	ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, /*bytes*/2);  in ahd_pci_config() 366 	    ahd_pci_read_config(ahd->dev_softc, CSIZE_LATTIME,  in ahd_pci_config() 397 	    ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4);  in ahd_pci_suspend() 399 	    ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/1);  in ahd_pci_suspend() 401 	    ahd_pci_read_config(ahd->dev_softc, CSIZE_LATTIME, /*bytes*/1);  in ahd_pci_suspend() [all …] 
 | 
| D | aic7xxx_pci.c | 730 	pci_set_power_state(ahc->dev_softc, AHC_POWER_STATE_D0);  in ahc_pci_config() 744 	devconfig = ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4);  in ahc_pci_config() 763 	ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4);  in ahc_pci_config() 766 	command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/2);  in ahc_pci_config() 769 	ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, /*bytes*/2);  in ahc_pci_config() 850 	    ahc_pci_read_config(ahc->dev_softc, CSIZE_LATTIME,  in ahc_pci_config() 857 		ahc_pci_write_config(ahc->dev_softc, CSIZE_LATTIME,  in ahc_pci_config() 869 		devconfig = ahc_pci_read_config(ahc->dev_softc,  in ahc_pci_config() 935 	    ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4);  in ahc_pci_config() 937 	    ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/1);  in ahc_pci_config() [all …] 
 | 
| D | aic7xxx_osm.c | 865 	*vaddr = pci_alloc_consistent(ahc->dev_softc,  in ahc_dmamem_alloc() 876 	pci_free_consistent(ahc->dev_softc, dmat->maxsize,  in ahc_dmamem_free() 1129 			(ahc->dev_softc ? &ahc->dev_softc->dev : NULL));  in ahc_linux_register_host()
  | 
| D | aic7xxx.h | 951 	ahc_dev_softc_t		  dev_softc;  member
  | 
| D | aic79xx_osm.c | 970 	*vaddr = pci_alloc_consistent(ahd->dev_softc,  in ahd_dmamem_alloc() 981 	pci_free_consistent(ahd->dev_softc, dmat->maxsize,  in ahd_dmamem_free() 1264 	retval = scsi_add_host(host, &ahd->dev_softc->dev);  in ahd_linux_register_host()
  | 
| D | aic79xx.h | 1095 	ahd_dev_softc_t		  dev_softc;  member
  | 
| D | aic79xx_core.c | 6271 	cmd = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);  in ahd_reset() 6285 		ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND,  in ahd_reset() 6312 		ahd_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1,  in ahd_reset() 6314 		ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND,  in ahd_reset()
  |