Home
last modified time | relevance | path

Searched refs:amr_dev (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/sys/dev/amr/
H A Damr_pci.c197 sc->amr_dev = dev; in amr_pci_attach()
244 if (bus_setup_intr(sc->amr_dev, sc->amr_irq, in amr_pci_attach()
247 device_printf(sc->amr_dev, "can't set up interrupt\n"); in amr_pci_attach()
391 device_printf(sc->amr_dev, "flushing cache..."); in amr_pci_shutdown()
424 device_printf(sc->amr_dev, "flushing cache..."); in amr_pci_suspend()
511 bus_teardown_intr(sc->amr_dev, sc->amr_irq, sc->amr_intr); in amr_pci_free()
521 bus_release_resource(sc->amr_dev, in amr_pci_free()
594 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()
690 device_printf(sc->amr_dev, "can't allocate ccb tag\n"); in amr_ccb_map()
[all …]
H A Damr.c257 child = device_add_child(sc->amr_dev, "amrp", -1); in amr_attach()
262 bus_generic_attach(sc->amr_dev); in amr_attach()
272 if (device_get_unit(sc->amr_dev) == 0) in amr_attach()
356 SYSCTL_ADD_INT(device_get_sysctl_ctx(sc->amr_dev), in amr_init_sysctl()
357 SYSCTL_CHILDREN(device_get_sysctl_tree(sc->amr_dev)), in amr_init_sysctl()
384 device_delete_child(sc->amr_dev, sc->amr_pass); in amr_free()
501 device_printf(sc->amr_dev, "idle controller\n"); in amr_rescan_drives()
509 device_printf(sc->amr_dev, "flushing cache..."); in amr_rescan_drives()
515 if((error = device_delete_child(sc->amr_dev, in amr_rescan_drives()
1327 device_printf(sc->amr_dev, in amr_bio_command()
[all …]
H A Damrreg.h586 pci_write_config((sc)->amr_dev, 0x40, pci_read_config((sc)->amr_dev, 0x40, 1) | 0x20, 1); \
587 pci_write_config((sc)->amr_dev, 0x64, 0x1122, 1); \
589 #define AMR_QGET_INITSTATUS(sc) pci_read_config((sc)->amr_dev, 0x9c, 1)
590 #define AMR_QGET_INITCHAN(sc) pci_read_config((sc)->amr_dev, 0x9f, 1)
591 #define AMR_QGET_INITTARG(sc) pci_read_config((sc)->amr_dev, 0x9e, 1)
H A Damr_cam.c180 amr_cam_poll, "amr", sc, device_get_unit(sc->amr_dev), in amr_cam_attach()
183 device_printf(sc->amr_dev, "CAM SIM attach failed\n"); in amr_cam_attach()
189 error = xpt_bus_register(sc->amr_cam_sim[chn], sc->amr_dev,chn); in amr_cam_attach()
192 device_printf(sc->amr_dev, in amr_cam_attach()
H A Damrvar.h177 device_t amr_dev; member