Lines Matching refs:dev_softc
184 struct pci_dev *pdev = ahc->dev_softc, *master_pdev;
253 ahc->dev_softc = pci;
352 *base = pci_resource_start(ahc->dev_softc, 0);
369 start = pci_resource_start(ahc->dev_softc, 1);
397 command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, 4);
406 ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND,
417 ahc_get_pci_bus(ahc->dev_softc),
418 ahc_get_pci_slot(ahc->dev_softc),
419 ahc_get_pci_function(ahc->dev_softc));
430 ahc_get_pci_bus(ahc->dev_softc),
431 ahc_get_pci_slot(ahc->dev_softc),
432 ahc_get_pci_function(ahc->dev_softc),
449 ahc_get_pci_bus(ahc->dev_softc),
450 ahc_get_pci_slot(ahc->dev_softc),
451 ahc_get_pci_function(ahc->dev_softc),
455 ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, 4);
464 error = request_irq(ahc->dev_softc->irq, ahc_linux_isr,
467 ahc->platform_data->irq = ahc->dev_softc->irq;