Lines Matching refs:dev_softc
141 struct pci_dev *pdev = ahd->dev_softc, *master_pdev;
208 ahd->dev_softc = pci;
255 *base = pci_resource_start(ahd->dev_softc, 0);
261 *base2 = pci_resource_start(ahd->dev_softc, 3);
289 start = pci_resource_start(ahd->dev_softc, 1);
320 command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, 4);
331 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND,
338 ahd_get_pci_bus(ahd->dev_softc),
339 ahd_get_pci_slot(ahd->dev_softc),
340 ahd_get_pci_function(ahd->dev_softc));
351 ahd_get_pci_bus(ahd->dev_softc),
352 ahd_get_pci_slot(ahd->dev_softc),
353 ahd_get_pci_function(ahd->dev_softc),
370 ahd_get_pci_bus(ahd->dev_softc),
371 ahd_get_pci_slot(ahd->dev_softc),
372 ahd_get_pci_function(ahd->dev_softc),
377 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, 4);
386 error = request_irq(ahd->dev_softc->irq, ahd_linux_isr,
389 ahd->platform_data->irq = ahd->dev_softc->irq;
397 pci_set_power_state(ahd->dev_softc, new_state);