Searched refs:dev_softc (Results 1 - 9 of 9) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic7xxx/
H A Daic79xx_osm_pci.c111 struct pci_dev *pdev = ahd->dev_softc, *master_pdev;
178 ahd->dev_softc = pci;
214 *base = pci_resource_start(ahd->dev_softc, 0);
220 *base2 = pci_resource_start(ahd->dev_softc, 3);
248 start = pci_resource_start(ahd->dev_softc, 1);
279 command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, 4);
290 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND,
297 ahd_get_pci_bus(ahd->dev_softc),
298 ahd_get_pci_slot(ahd->dev_softc),
299 ahd_get_pci_function(ahd->dev_softc));
[all...]
H A Daic7xxx_osm_pci.c158 struct pci_dev *pdev = ahc->dev_softc, *master_pdev;
227 ahc->dev_softc = pci;
264 *base = pci_resource_start(ahc->dev_softc, 0);
281 start = pci_resource_start(ahc->dev_softc, 1);
309 command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, 4);
318 ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND,
329 ahc_get_pci_bus(ahc->dev_softc),
330 ahc_get_pci_slot(ahc->dev_softc),
331 ahc_get_pci_function(ahc->dev_softc));
342 ahc_get_pci_bus(ahc->dev_softc),
[all...]
H A Daic79xx_pci.c308 subvendor = ahd_pci_read_config(ahd->dev_softc,
317 devconfig = ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4);
345 devconfig = ahd_pci_read_config(ahd->dev_softc,
348 ahd_pci_write_config(ahd->dev_softc, DEVCONFIG,
353 command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);
355 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, /*bytes*/2);
368 ahd_pci_read_config(ahd->dev_softc, CSIZE_LATTIME,
411 cmd = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);
412 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND,
444 pci_status1 = ahd_pci_read_config(ahd->dev_softc,
[all...]
H A Daic7xxx_pci.c729 pci_set_power_state(ahc->dev_softc, AHC_POWER_STATE_D0);
743 devconfig = ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4);
762 ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4);
765 command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/2);
768 ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, /*bytes*/2);
843 ahc_pci_read_config(ahc->dev_softc, CSIZE_LATTIME,
850 ahc_pci_write_config(ahc->dev_softc, CSIZE_LATTIME,
862 devconfig = ahc_pci_read_config(ahc->dev_softc,
928 ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4);
930 ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAN
[all...]
H A Daic7xxx_osm.c404 pci_unmap_sg(ahc->dev_softc, sg, cmd->use_sg,
407 pci_unmap_single(ahc->dev_softc,
808 *vaddr = pci_alloc_consistent(ahc->dev_softc,
819 pci_free_consistent(ahc->dev_softc, dmat->maxsize,
1067 (ahc->dev_softc ? &ahc->dev_softc->dev : NULL));
1472 nseg = pci_map_sg(ahc->dev_softc, cur_seg, cmd->use_sg,
1514 addr = pci_map_single(ahc->dev_softc,
H A Daic79xx_osm.c383 pci_unmap_sg(ahd->dev_softc, sg, cmd->use_sg, direction);
385 pci_unmap_single(ahd->dev_softc,
820 *vaddr = pci_alloc_consistent(ahd->dev_softc,
831 pci_free_consistent(ahd->dev_softc, dmat->maxsize,
1110 retval = scsi_add_host(host, &ahd->dev_softc->dev);
1496 nseg = pci_map_sg(ahd->dev_softc, cur_seg,
1516 addr = pci_map_single(ahd->dev_softc,
H A Daic79xx.h1085 ahd_dev_softc_t dev_softc; member in struct:ahd_softc
H A Daic7xxx.h948 ahc_dev_softc_t dev_softc; member in struct:ahc_softc
H A Daic79xx_core.c5468 cmd = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2);
5482 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND,
5509 ahd_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1,
5511 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND,

Completed in 188 milliseconds