Lines Matching refs:dev_softc
123 probed_pdev = ahd->dev_softc; in ahd_linux_pci_dev_probe()
183 ahd->dev_softc = pci; in ahd_linux_pci_dev_probe()
245 *base = pci_resource_start(ahd->dev_softc, 0); in ahd_linux_pci_reserve_io_regions()
251 *base2 = pci_resource_start(ahd->dev_softc, 3); in ahd_linux_pci_reserve_io_regions()
253 *base = ahd_pci_read_config(ahd->dev_softc, AHD_PCI_IOADDR0, 4); in ahd_linux_pci_reserve_io_regions()
254 *base2 = ahd_pci_read_config(ahd->dev_softc, AHD_PCI_IOADDR1, 4); in ahd_linux_pci_reserve_io_regions()
296 start = pci_resource_start(ahd->dev_softc, 1); in ahd_linux_pci_reserve_mem_region()
300 start = ahd_pci_read_config(ahd->dev_softc, PCIR_MAPS+4, 4); in ahd_linux_pci_reserve_mem_region()
338 command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, 4); in ahd_pci_map_registers()
350 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, in ahd_pci_map_registers()
357 ahd_get_pci_bus(ahd->dev_softc), in ahd_pci_map_registers()
358 ahd_get_pci_slot(ahd->dev_softc), in ahd_pci_map_registers()
359 ahd_get_pci_function(ahd->dev_softc)); in ahd_pci_map_registers()
372 ahd_get_pci_bus(ahd->dev_softc), in ahd_pci_map_registers()
373 ahd_get_pci_slot(ahd->dev_softc), in ahd_pci_map_registers()
374 ahd_get_pci_function(ahd->dev_softc), in ahd_pci_map_registers()
392 ahd_get_pci_bus(ahd->dev_softc), in ahd_pci_map_registers()
393 ahd_get_pci_slot(ahd->dev_softc), in ahd_pci_map_registers()
394 ahd_get_pci_function(ahd->dev_softc), in ahd_pci_map_registers()
398 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, 4); in ahd_pci_map_registers()
407 error = request_irq(ahd->dev_softc->irq, ahd_linux_isr, in ahd_pci_map_int()
410 ahd->platform_data->irq = ahd->dev_softc->irq; in ahd_pci_map_int()
419 pci_set_power_state(ahd->dev_softc, new_state); in ahd_power_state_change()
429 cap_offset = ahd_pci_read_config(ahd->dev_softc, in ahd_power_state_change()
433 cap = ahd_pci_read_config(ahd->dev_softc, in ahd_power_state_change()
439 pm_control = ahd_pci_read_config(ahd->dev_softc, in ahd_power_state_change()
444 ahd_pci_write_config(ahd->dev_softc, in ahd_power_state_change()