Searched refs:amr_dev (Results 1 – 5 of 5) sorted by relevance
/dragonfly/sys/dev/raid/amr/ |
H A D | amr_pci.c | 196 sc->amr_dev = dev; in amr_pci_attach() 263 if (bus_setup_intr(sc->amr_dev, sc->amr_irq, in amr_pci_attach() 266 device_printf(sc->amr_dev, "can't set up interrupt\n"); in amr_pci_attach() 399 device_printf(sc->amr_dev, "flushing cache..."); in amr_pci_shutdown() 432 device_printf(sc->amr_dev, "flushing cache..."); in amr_pci_suspend() 514 bus_teardown_intr(sc->amr_dev, sc->amr_irq, sc->amr_intr); in amr_pci_free() 524 bus_release_resource(sc->amr_dev, in amr_pci_free() 596 device_printf(sc->amr_dev, "can't allocate s/g table\n"); in amr_sglist_map() 640 device_printf(sc->amr_dev, "can't allocate mailbox tag\n"); in amr_setup_mbox() 688 device_printf(sc->amr_dev, "can't allocate ccb tag\n"); in amr_ccb_map() [all …]
|
H A D | amr.c | 250 child = device_add_child(sc->amr_dev, "amrp", -1); in amr_attach() 255 bus_generic_attach(sc->amr_dev); in amr_attach() 265 if (device_get_unit(sc->amr_dev) == 0) in amr_attach() 334 if ((error = bus_generic_attach(sc->amr_dev)) != 0) in amr_startup() 377 device_delete_child(sc->amr_dev, sc->amr_pass); in amr_free() 461 device_printf(sc->amr_dev, "idle controller\n"); in amr_rescan_drives() 469 device_printf(sc->amr_dev, "flushing cache..."); in amr_rescan_drives() 475 if((error = device_delete_child(sc->amr_dev, in amr_rescan_drives() 1289 device_printf(sc->amr_dev, in amr_bio_command() 1449 device_printf(sc->amr_dev, "adapter is busy\n"); in amr_quartz_poll_command1() [all …]
|
H A D | amrreg.h | 587 pci_write_config((sc)->amr_dev, 0x40, pci_read_config((sc)->amr_dev, 0x40, 1) | 0x20, 1); \ 588 pci_write_config((sc)->amr_dev, 0x64, 0x1122, 1); \ 590 #define AMR_QGET_INITSTATUS(sc) pci_read_config((sc)->amr_dev, 0x9c, 1) 591 #define AMR_QGET_INITCHAN(sc) pci_read_config((sc)->amr_dev, 0x9f, 1) 592 #define AMR_QGET_INITTARG(sc) pci_read_config((sc)->amr_dev, 0x9e, 1)
|
H A D | amr_cam.c | 174 amr_cam_poll, "amr", sc, device_get_unit(sc->amr_dev), in amr_cam_attach() 177 device_printf(sc->amr_dev, "CAM SIM attach failed\n"); in amr_cam_attach() 186 device_printf(sc->amr_dev, in amr_cam_attach()
|
H A D | amrvar.h | 179 device_t amr_dev; member
|