Lines Matching refs:sbus_arg
1694 struct sbus_wrapper_arg *sbus_arg;
1756 sbus_arg = softsp->intr_list[ino];
1758 if (sbus_arg) {
1768 DPRINTF(SBUS_INTERRUPT_DEBUG, ("Add intr:sbus_arg exists "
1769 "0x%p\n", (void *)sbus_arg));
1779 intr_handler->next = sbus_arg->handler_list;
1780 sbus_arg->handler_list = intr_handler;
1784 sbus_arg = kmem_zalloc(sizeof (struct sbus_wrapper_arg),
1787 softsp->intr_list[ino] = sbus_arg;
1788 sbus_arg->clear_reg = (softsp->clr_intr_reg +
1791 "clear reg: 0x%p\n", ino, (void *)sbus_arg->clear_reg));
1792 sbus_arg->softsp = softsp;
1793 sbus_arg->handler_list = intr_handler;
1804 (caddr_t)sbus_arg, NULL);
1848 sbus_arg->pil = hdlp->ih_pri;
1850 DPRINTF(SBUS_INTERRUPT_DEBUG, ("Add intr:Alloc sbus_arg "
1851 "0x%p\n", (void *)sbus_arg));
1874 *sbus_arg->clear_reg = tmpreg;
1889 struct sbus_wrapper_arg *sbus_arg)
1893 if (sbus_arg) {
1895 listp = sbus_arg->handler_list;
1903 sbus_arg->handler_list = prevp;
1932 struct sbus_wrapper_arg *sbus_arg;
1976 sbus_arg = softsp->intr_list[ino];
1982 "ino 0x%x, sbus_arg 0x%p intr cntr %d\n", (void *)softsp,
1983 hdlp->ih_vector, ino, (void *)sbus_arg,
1986 ASSERT(sbus_arg != NULL);
1987 ASSERT(sbus_arg->handler_list != NULL);
1988 sbus_free_handler(rdip, hdlp->ih_inum, sbus_arg);
1991 if (sbus_arg->handler_list == NULL)
2006 ASSERT(sbus_arg->handler_list == NULL);
2015 if (sbus_arg->handler_list == NULL) {
2017 "0x%p\n", (void *)sbus_arg));
2018 kmem_free(sbus_arg, sizeof (struct sbus_wrapper_arg));
2608 struct sbus_wrapper_arg *sbus_arg;
2620 sbus_arg = softsp->intr_list[ino];
2622 ASSERT(sbus_arg != NULL);
2623 ASSERT(sbus_arg->handler_list != NULL);
2624 intr_handler = sbus_arg->handler_list;