Lines Matching refs:device_get_softc
62 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_probe()
84 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_attach()
138 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_detach()
164 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_suspend()
176 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_resume()
219 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_alloc_resource()
223 int unit = ((struct ata_channel *)device_get_softc(child))->unit; in ata_pci_alloc_resource()
281 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_release_resource()
282 int unit = ((struct ata_channel *)device_get_softc(child))->unit; 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()
628 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_attach()
629 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_attach()
651 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_detach()
652 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_detach()
670 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_suspend()
671 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_suspend()
689 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_resume()
690 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_resume()
705 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_reset()
706 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_reset()
722 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_setmode()
733 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_pcichannel_getrev()
734 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_getrev()
804 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_setup_interrupt()
840 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_set_desc()