Lines Matching refs:hdlp
116 ddi_intr_handle_impl_t *hdlp, void *result);
4715 ddi_intr_handle_impl_t *hdlp)
4729 "dip=%p rdip=%p hdlp=%p \n",
4730 (void *)dip, (void *)rdip, (void *)hdlp);
4761 handler.handler = (f_tt *)hdlp->ih_cb_func;
4762 handler.arg1 = hdlp->ih_cb_arg1;
4763 handler.arg2 = hdlp->ih_cb_arg2;
4787 intr->intr = hdlp->ih_cb_func;
4789 intr->arg1 = hdlp->ih_cb_arg1;
4790 intr->arg2 = hdlp->ih_cb_arg2;
4813 hdlp->ih_pri = sockp->ls_intr_pri;
4829 hdlp->ih_pri = pispec->intrspec_pri;
4859 hdlp->ih_pri = (uint_t)(uintptr_t)*handler.iblk_cookie;
4870 ddi_intr_handle_impl_t *hdlp)
4882 " dip=%p rdip=%p hdlp=%p\n",
4883 (void *)dip, (void *)rdip, (void *)hdlp);
4974 ddi_intr_handle_impl_t *hdlp, void *result)
4993 *(int *)result = hdlp->ih_scratch1;
4998 if (pcmcia_add_intr_impl(dip, rdip, hdlp) != DDI_SUCCESS)
5000 *(int *)result = hdlp->ih_pri;
5001 pcmcia_remove_intr_impl(dip, rdip, hdlp);
5006 ret = pcmcia_add_intr_impl(dip, rdip, hdlp);
5009 pcmcia_remove_intr_impl(dip, rdip, hdlp);
5079 ddi_intr_handle_impl_t *hdlp)
5090 "dip=0x%p rdip=0x%p hdlp=0x%p\n",
5091 (void *)dip, (void *)rdip, (void *)hdlp);
5112 hdlp->ih_cb_func != pcmcia_mfc_intr) {
5127 intr->intr = (uint32_t (*)())hdlp->ih_cb_func;
5129 intr->arg1 = hdlp->ih_cb_arg1;
5130 intr->arg2 = hdlp->ih_cb_arg2;
5156 if (hdlp->ih_cb_func == pcmcia_mfc_intr) {
5165 ((ihdl_plat_t *)hdlp->ih_private)->ip_ispecp = ispecp;
5179 hdlp->ih_vector = sockp->ls_intr_vec = irq;
5193 ispecp->intrspec_func = hdlp->ih_cb_func;
5203 ddi_intr_handle_impl_t *hdlp)
5217 "dip=0x%p rdip=0x%p hdlp=0x%p\n",
5218 (void *)dip, (void *)rdip, (void *)hdlp);
5231 ((ihdl_plat_t *)hdlp->ih_private)->ip_ispecp !=
5239 hdlp->ih_cb_func = pcmcia_mfc_intr;
5240 hdlp->ih_cb_arg1 = (caddr_t)sockp;
5241 hdlp->ih_cb_arg2 = NULL;
5245 hdlp, NULL);
5256 hdlp->ih_vector = ispecp->intrspec_vec = sockp->ls_intr_vec;
5257 hdlp->ih_pri = sockp->ls_intr_pri;
5260 sockp->ls_idev.idev_vector = (ushort_t)hdlp->ih_vector;
5267 if (hdlp->ih_cb_func == pcmcia_mfc_intr)
5276 parent, rdip, DDI_INTROP_ENABLE, hdlp, NULL);
5295 handler.handler = (f_tt *)hdlp->ih_cb_func;
5296 handler.arg1 = hdlp->ih_cb_arg1;
5297 handler.arg2 = hdlp->ih_cb_arg2;
5300 ispecp->intrspec_func = hdlp->ih_cb_func;
5310 ispecp->intrspec_func = hdlp->ih_cb_func;
5322 ddi_intr_handle_impl_t *hdlp)
5332 "dip=0x%p rdip=0x%p hdlp=0x%p\n",
5333 (void *)dip, (void *)rdip, (void *)hdlp);
5336 ispecp = pcmcia_intr_get_ispec(rdip, hdlp->ih_inum, &sockp);
5342 ((ihdl_plat_t *)hdlp->ih_private)->ip_ispecp !=
5395 ddi_intr_handle_impl_t *hdlp)
5405 (ihdl_plat_t *)hdlp->ih_private;
5410 "dip=0x%p rdip=0x%p hdlp=0x%p\n",
5411 (void *)dip, (void *)rdip, (void *)hdlp);
5451 parent, rdip, DDI_INTROP_DISABLE, hdlp, NULL);
5452 (void) pcmcia_return_intr(dip, hdlp->ih_vector);
5474 ddi_intr_handle_impl_t *hdlp, void *result)
5482 "dip=0x%p rdip=0x%p op=0x%x hdlp=0x%p\n",
5483 (void *)dip, (void *)rdip, intr_op, (void *)hdlp);
5506 if ((ispecp = pcmcia_intr_get_ispec(rdip, hdlp->ih_inum,
5509 *(int *)result = hdlp->ih_scratch1;
5514 ispecp = pcmcia_intr_get_ispec(rdip, hdlp->ih_inum, &sockp);
5525 ispecp = pcmcia_intr_get_ispec(rdip, hdlp->ih_inum, &sockp);
5530 if ((ispecp = pcmcia_intr_add_isr(dip, rdip, hdlp)) == NULL)
5532 ((ihdl_plat_t *)hdlp->ih_private)->ip_ispecp = ispecp;
5535 pcmcia_intr_remove_isr(dip, rdip, hdlp);
5538 if (pcmcia_intr_enable_isr(dip, rdip, hdlp) != DDI_SUCCESS)
5542 pcmcia_intr_disable_isr(dip, rdip, hdlp);