Lines Matching refs:aac_dev

299 	SYSCTL_ADD_INT(device_get_sysctl_ctx(sc->aac_dev),  in aac_attach()
300 SYSCTL_CHILDREN(device_get_sysctl_tree(sc->aac_dev)), in aac_attach()
311 device_printf(sc->aac_dev, in aac_attach()
319 unit = device_get_unit(sc->aac_dev); in aac_attach()
333 sc->aac_dev, SHUTDOWN_PRI_DEFAULT)) == NULL) in aac_attach()
334 device_printf(sc->aac_dev, in aac_attach()
380 device_printf(sc->aac_dev, "aac_add event: unknown event %d\n", in aac_add_event()
403 device_printf(sc->aac_dev, "Error probing container %d\n", cid); in aac_get_container_info()
444 bus_attach_children(sc->aac_dev); in aac_startup()
476 if ((child = device_add_child(sc->aac_dev, "aacd", DEVICE_UNIT_ANY)) == NULL) in aac_add_container()
477 device_printf(sc->aac_dev, "device_add_child failed\n"); in aac_add_container()
518 device_printf(sc->aac_dev, "can't allocate buffer DMA tag\n"); in aac_alloc()
540 device_printf(sc->aac_dev, "can't allocate FIB DMA tag\n"); in aac_alloc()
560 device_printf(sc->aac_dev, in aac_alloc()
566 device_printf(sc->aac_dev, "can't allocate common structure\n"); in aac_alloc()
634 bus_teardown_intr(sc->aac_dev, sc->aac_irq, sc->aac_intr); in aac_free()
636 bus_release_resource(sc->aac_dev, SYS_RES_IRQ, in aac_free()
638 pci_release_msi(sc->aac_dev); in aac_free()
651 bus_release_resource(sc->aac_dev, SYS_RES_MEMORY, in aac_free()
654 bus_release_resource(sc->aac_dev, SYS_RES_MEMORY, in aac_free()
682 msleep(sc->aac_dev, &sc->aac_io_lock, PUSER, "aacdch", 0); in aac_detach()
739 device_printf(sc->aac_dev, "shutting down controller..."); in aac_shutdown()
1072 device_printf(sc->aac_dev, "unknown command " in aac_command_thread()
1106 wakeup(sc->aac_dev); in aac_command_thread()
1141 device_printf(sc->aac_dev, in aac_complete()
1472 device_printf(sc->aac_dev, in aac_alloc_commands()
1698 device_printf(sc->aac_dev, "FATAL: selftest failed\n"); in aac_check_firmware()
1702 device_printf(sc->aac_dev, in aac_check_firmware()
1707 device_printf(sc->aac_dev, in aac_check_firmware()
1721 device_printf(sc->aac_dev, in aac_check_firmware()
1730 device_printf(sc->aac_dev, in aac_check_firmware()
1744 device_printf(sc->aac_dev, in aac_check_firmware()
1760 device_printf(sc->aac_dev, in aac_check_firmware()
1778 bus_release_resource(sc->aac_dev, SYS_RES_MEMORY, rid, in aac_check_firmware()
1780 sc->aac_regs_res1 = bus_alloc_resource_anywhere(sc->aac_dev, in aac_check_firmware()
1784 sc->aac_dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); in aac_check_firmware()
1786 device_printf(sc->aac_dev, in aac_check_firmware()
1829 device_printf(sc->aac_dev, "Enable Raw I/O\n"); in aac_check_firmware()
1834 device_printf(sc->aac_dev, "Enable 64-bit array\n"); in aac_check_firmware()
1887 device_printf(sc->aac_dev, "New comm. interface enabled\n"); in aac_init()
1986 device_printf(sc->aac_dev, in aac_init()
2002 if (bus_setup_intr(sc->aac_dev, sc->aac_irq, in aac_setup_intr()
2005 device_printf(sc->aac_dev, "can't set up interrupt\n"); in aac_setup_intr()
2009 if (bus_setup_intr(sc->aac_dev, sc->aac_irq, in aac_setup_intr()
2012 device_printf(sc->aac_dev, in aac_setup_intr()
2349 device_printf(sc->aac_dev, in aac_timeout()
2361 device_printf(sc->aac_dev, "WARNING! Controller is no " in aac_timeout()
2701 device_printf(sc->aac_dev, "RequestAdapterInfo failed\n"); in aac_describe_controller()
2712 device_printf(sc->aac_dev, "%s %dMHz, %dMB memory " in aac_describe_controller()
2721 device_printf(sc->aac_dev, in aac_describe_controller()
2729 device_printf(sc->aac_dev, "Supported Options=%b\n", in aac_describe_controller()
2756 device_printf(sc->aac_dev, in aac_describe_controller()
2762 device_printf(sc->aac_dev, "%s, aac driver %d.%d.%d-%d\n", in aac_describe_controller()
2797 device_busy(sc->aac_dev); in aac_open()
2999 device_printf(sc->aac_dev, "incoming FIB oversized (%d > %d)\n", in aac_ioctl_sendfib()
3015 device_printf(sc->aac_dev, in aac_ioctl_sendfib()
3025 device_printf(sc->aac_dev, "outbound FIB oversized (%d > %d)\n", in aac_ioctl_sendfib()
3206 device_unbusy(sc->aac_dev); in aac_cdevpriv_dtor()
3303 device_delete_child(sc->aac_dev, in aac_handle_aif()
3324 bus_attach_children(sc->aac_dev); in aac_handle_aif()
3573 device_printf(sc->aac_dev, in aac_return_aif()
3594 pciinf.bus = pci_get_bus(sc->aac_dev); in aac_get_pci_info()
3595 pciinf.slot = pci_get_slot(sc->aac_dev); in aac_get_pci_info()
3682 query_disk.Bus = device_get_unit(sc->aac_dev); in aac_query_disk()
3722 device_printf(sc->aac_dev, "Error %d sending " in aac_get_bus_info()
3731 device_printf(sc->aac_dev, "VM_ContainerConfig returned 0x%x\n", in aac_get_bus_info()
3752 device_printf(sc->aac_dev, "Error %d sending VMIoctl command\n", in aac_get_bus_info()
3761 device_printf(sc->aac_dev, "VM_Ioctl returned %d\n", in aac_get_bus_info()
3780 device_printf(sc->aac_dev, in aac_get_bus_info()
3785 child = device_add_child(sc->aac_dev, "aacp", DEVICE_UNIT_ANY); in aac_get_bus_info()
3787 device_printf(sc->aac_dev, in aac_get_bus_info()
3808 bus_attach_children(sc->aac_dev); in aac_get_bus_info()