Lines Matching refs:sbus_arg

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