Lines Matching refs:device_get_softc
65 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_probe()
85 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_attach()
139 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_detach()
168 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_suspend()
180 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_resume()
223 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_alloc_resource()
227 int unit = ((struct ata_channel *)device_get_softc(child))->unit; in ata_pci_alloc_resource()
286 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_release_resource()
325 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_setup_intr()
331 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_setup_intr()
339 unit = ((struct ata_channel *)device_get_softc(child))->unit; in ata_pci_setup_intr()
353 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_teardown_intr()
358 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_teardown_intr()
362 unit = ((struct ata_channel *)device_get_softc(child))->unit; in ata_pci_teardown_intr()
381 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_generic_chipinit()
392 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pci_ch_attach()
393 struct ata_channel *ch = device_get_softc(dev); in ata_pci_ch_attach()
431 struct ata_channel *ch = device_get_softc(dev); in ata_pci_ch_detach()
447 device_get_softc(device_get_parent(dev)); in ata_pci_status()
448 struct ata_channel *ch = device_get_softc(dev); in ata_pci_status()
471 struct ata_channel *ch = device_get_softc(dev); in ata_pci_hw()
480 struct ata_channel *ch = device_get_softc(request->parent); in ata_pci_dmastart()
498 struct ata_channel *ch = device_get_softc(request->parent); in ata_pci_dmastop()
514 struct ata_channel *ch = device_get_softc(dev); in ata_pci_dmareset()
530 struct ata_channel *ch = device_get_softc(dev); in ata_pci_dmainit()
625 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_attach()
626 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_attach()
648 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_detach()
649 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_detach()
667 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_suspend()
668 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_suspend()
686 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_resume()
687 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_resume()
702 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_reset()
703 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_reset()
719 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_setmode()
730 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_getrev()
731 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_getrev()
801 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_setup_interrupt()
837 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_set_desc()