Lines Matching refs:aac_dev

301 	SYSCTL_ADD_INT(device_get_sysctl_ctx(sc->aac_dev),  in aac_attach()
302 SYSCTL_CHILDREN(device_get_sysctl_tree(sc->aac_dev)), in aac_attach()
313 device_printf(sc->aac_dev, in aac_attach()
321 unit = device_get_unit(sc->aac_dev); in aac_attach()
335 sc->aac_dev, SHUTDOWN_PRI_DEFAULT)) == NULL) in aac_attach()
336 device_printf(sc->aac_dev, in aac_attach()
382 device_printf(sc->aac_dev, "aac_add event: unknown event %d\n", in aac_add_event()
405 device_printf(sc->aac_dev, "Error probing container %d\n", cid); in aac_get_container_info()
446 if (bus_generic_attach(sc->aac_dev)) in aac_startup()
447 device_printf(sc->aac_dev, "bus_generic_attach failed\n"); in aac_startup()
479 if ((child = device_add_child(sc->aac_dev, "aacd", -1)) == NULL) in aac_add_container()
480 device_printf(sc->aac_dev, "device_add_child failed\n"); in aac_add_container()
521 device_printf(sc->aac_dev, "can't allocate buffer DMA tag\n"); in aac_alloc()
543 device_printf(sc->aac_dev, "can't allocate FIB DMA tag\n"); in aac_alloc()
563 device_printf(sc->aac_dev, in aac_alloc()
569 device_printf(sc->aac_dev, "can't allocate common structure\n"); in aac_alloc()
637 bus_teardown_intr(sc->aac_dev, sc->aac_irq, sc->aac_intr); in aac_free()
639 bus_release_resource(sc->aac_dev, SYS_RES_IRQ, in aac_free()
641 pci_release_msi(sc->aac_dev); in aac_free()
654 bus_release_resource(sc->aac_dev, SYS_RES_MEMORY, in aac_free()
657 bus_release_resource(sc->aac_dev, SYS_RES_MEMORY, in aac_free()
681 msleep(sc->aac_dev, &sc->aac_io_lock, PUSER, "aacdch", 0); in aac_detach()
744 device_printf(sc->aac_dev, "shutting down controller..."); in aac_shutdown()
1077 device_printf(sc->aac_dev, "unknown command " in aac_command_thread()
1111 wakeup(sc->aac_dev); in aac_command_thread()
1146 device_printf(sc->aac_dev, in aac_complete()
1477 device_printf(sc->aac_dev, in aac_alloc_commands()
1703 device_printf(sc->aac_dev, "FATAL: selftest failed\n"); in aac_check_firmware()
1707 device_printf(sc->aac_dev, in aac_check_firmware()
1712 device_printf(sc->aac_dev, in aac_check_firmware()
1726 device_printf(sc->aac_dev, in aac_check_firmware()
1735 device_printf(sc->aac_dev, in aac_check_firmware()
1749 device_printf(sc->aac_dev, in aac_check_firmware()
1765 device_printf(sc->aac_dev, in aac_check_firmware()
1783 bus_release_resource(sc->aac_dev, SYS_RES_MEMORY, rid, in aac_check_firmware()
1785 sc->aac_regs_res1 = bus_alloc_resource_anywhere(sc->aac_dev, in aac_check_firmware()
1789 sc->aac_dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); in aac_check_firmware()
1791 device_printf(sc->aac_dev, in aac_check_firmware()
1834 device_printf(sc->aac_dev, "Enable Raw I/O\n"); in aac_check_firmware()
1839 device_printf(sc->aac_dev, "Enable 64-bit array\n"); in aac_check_firmware()
1892 device_printf(sc->aac_dev, "New comm. interface enabled\n"); in aac_init()
1991 device_printf(sc->aac_dev, in aac_init()
2007 if (bus_setup_intr(sc->aac_dev, sc->aac_irq, in aac_setup_intr()
2010 device_printf(sc->aac_dev, "can't set up interrupt\n"); in aac_setup_intr()
2014 if (bus_setup_intr(sc->aac_dev, sc->aac_irq, in aac_setup_intr()
2017 device_printf(sc->aac_dev, in aac_setup_intr()
2354 device_printf(sc->aac_dev, in aac_timeout()
2366 device_printf(sc->aac_dev, "WARNING! Controller is no " in aac_timeout()
2706 device_printf(sc->aac_dev, "RequestAdapterInfo failed\n"); in aac_describe_controller()
2717 device_printf(sc->aac_dev, "%s %dMHz, %dMB memory " in aac_describe_controller()
2726 device_printf(sc->aac_dev, in aac_describe_controller()
2734 device_printf(sc->aac_dev, "Supported Options=%b\n", in aac_describe_controller()
2761 device_printf(sc->aac_dev, in aac_describe_controller()
2767 device_printf(sc->aac_dev, "%s, aac driver %d.%d.%d-%d\n", in aac_describe_controller()
2802 device_busy(sc->aac_dev); in aac_open()
3004 device_printf(sc->aac_dev, "incoming FIB oversized (%d > %d)\n", in aac_ioctl_sendfib()
3020 device_printf(sc->aac_dev, in aac_ioctl_sendfib()
3030 device_printf(sc->aac_dev, "outbound FIB oversized (%d > %d)\n", in aac_ioctl_sendfib()
3212 device_unbusy(sc->aac_dev); in aac_cdevpriv_dtor()
3309 device_delete_child(sc->aac_dev, in aac_handle_aif()
3330 bus_generic_attach(sc->aac_dev); in aac_handle_aif()
3579 device_printf(sc->aac_dev, in aac_return_aif()
3600 pciinf.bus = pci_get_bus(sc->aac_dev); in aac_get_pci_info()
3601 pciinf.slot = pci_get_slot(sc->aac_dev); in aac_get_pci_info()
3688 query_disk.Bus = device_get_unit(sc->aac_dev); in aac_query_disk()
3728 device_printf(sc->aac_dev, "Error %d sending " in aac_get_bus_info()
3737 device_printf(sc->aac_dev, "VM_ContainerConfig returned 0x%x\n", in aac_get_bus_info()
3758 device_printf(sc->aac_dev, "Error %d sending VMIoctl command\n", in aac_get_bus_info()
3767 device_printf(sc->aac_dev, "VM_Ioctl returned %d\n", in aac_get_bus_info()
3786 device_printf(sc->aac_dev, in aac_get_bus_info()
3791 child = device_add_child(sc->aac_dev, "aacp", -1); in aac_get_bus_info()
3793 device_printf(sc->aac_dev, in aac_get_bus_info()
3814 bus_generic_attach(sc->aac_dev); in aac_get_bus_info()