Lines Matching refs:ldvp

3011 	p_nxge_ldv_t ldvp, sysldvp;
3070 ldvp = ldgvp->ldvp = KMEM_ZALLOC(
3074 ldvp = ldgvp->ldvp;
3094 ptr->ldvp = NULL;
3106 ldgp->ldvp = NULL;
3118 ldvp->ldv = (uint8_t)ldv;
3119 ldvp->is_mac = B_TRUE;
3120 ldvp->ldv_intr_handler = nxge_mac_intr;
3121 ldvp->ldv_ldf_masks = 0;
3122 ldvp->nxgep = nxgep;
3126 maxldvs, ldv, ldgp->ldg, ldgp, ldvp));
3127 nxge_ldgv_setup(&ldgp, &ldvp, ldv, endldg, nrequired_p);
3133 ldvp->ldv = (uint8_t)ldv;
3134 ldvp->is_mif = B_TRUE;
3135 ldvp->ldv_intr_handler = nxge_mif_intr;
3136 ldvp->ldv_ldf_masks = 0;
3137 ldvp->nxgep = nxgep;
3141 maxldvs, ldv, ldgp->ldg, ldgp, ldvp));
3142 nxge_ldgv_setup(&ldgp, &ldvp, ldv, endldg, nrequired_p);
3159 ldvp->use_timer = B_TRUE;
3160 ldvp->ldv = (uint8_t)ldv;
3161 ldvp->is_syserr = B_TRUE;
3162 ldvp->ldv_intr_handler = nxge_syserr_intr;
3163 ldvp->ldv_ldf_masks = 0;
3164 ldvp->nxgep = nxgep;
3165 ldgvp->ldvp_syserr = ldvp;
3170 maxldvs, ldv, ldgp->ldg, ldgp, ldvp));
3171 nxge_ldgv_setup(&ldgp, &ldvp, ldv, endldg, nrequired_p);
3201 ldvp->is_rxdma = B_TRUE;
3202 ldvp->ldv = (uint8_t)channel + NXGE_RDMA_LD_START;
3203 ldvp->channel = channel;
3204 ldvp->vdma_index = (uint8_t)channel;
3205 ldvp->ldv_intr_handler = nxge_rx_intr;
3206 ldvp->ldv_ldf_masks = 0;
3207 ldvp->nxgep = nxgep;
3213 i, maxldvs, ldv, ldgp->ldg, ldgp, ldvp));
3214 nxge_ldgv_setup(&ldgp, &ldvp, ldvp->ldv,
3227 "ldvp 0x%llx",
3228 func, nldvs, *navail_p, *nrequired_p, ldgp, ldvp));
3236 ldvp->is_txdma = B_TRUE;
3237 ldvp->ldv = (uint8_t)channel + NXGE_TDMA_LD_START;
3238 ldvp->channel = channel;
3239 ldvp->vdma_index = (uint8_t)channel;
3240 ldvp->ldv_intr_handler = nxge_tx_intr;
3241 ldvp->ldv_ldf_masks = 0;
3243 ldvp->nxgep = nxgep;
3247 channel, maxldvs, ldv, ldgp->ldg, ldgp, ldvp));
3248 nxge_ldgv_setup(&ldgp, &ldvp, ldvp->ldv,
3282 p_nxge_ldv_t ldvp;
3338 ldvp = ldgvp->ldvp = KMEM_ZALLOC(sizeof (nxge_ldv_t) * maxldvs,
3377 ldgp->ldvp = NULL;
3387 ldvp->is_rxdma = B_TRUE;
3388 ldvp->ldv = (uint8_t)channel + NXGE_RDMA_LD_START;
3389 ldvp->channel = channel;
3390 ldvp->vdma_index = (uint8_t)channel;
3391 ldvp->ldv_intr_handler = nxge_rx_intr;
3392 ldvp->ldv_ldf_masks = 0;
3393 ldvp->use_timer = B_FALSE;
3394 ldvp->nxgep = nxgep;
3395 nxge_ldgv_setup(&ldgp, &ldvp, ldvp->ldv,
3408 ldvp->is_txdma = B_TRUE;
3409 ldvp->ldv = (uint8_t)channel + NXGE_TDMA_LD_START;
3410 ldvp->channel = channel;
3411 ldvp->vdma_index = (uint8_t)channel;
3412 ldvp->ldv_intr_handler = nxge_tx_intr;
3413 ldvp->ldv_ldf_masks = 0;
3414 ldvp->use_timer = B_FALSE;
3415 ldvp->nxgep = nxgep;
3416 nxge_ldgv_setup(&ldgp, &ldvp, ldvp->ldv,
3424 ldvp->ldv = (uint8_t)ldv;
3425 ldvp->is_mif = B_TRUE;
3426 ldvp->ldv_intr_handler = nxge_mif_intr;
3427 ldvp->ldv_ldf_masks = 0;
3428 ldvp->use_timer = B_FALSE;
3429 ldvp->nxgep = nxgep;
3430 nxge_ldgv_setup(&ldgp, &ldvp, ldv, endldg, nrequired_p);
3437 ldvp->is_mac = B_TRUE;
3438 ldvp->ldv_intr_handler = nxge_mac_intr;
3439 ldvp->ldv_ldf_masks = 0;
3441 ldvp->ldv = (uint8_t)ldv;
3442 ldvp->use_timer = B_FALSE;
3443 ldvp->nxgep = nxgep;
3444 nxge_ldgv_setup(&ldgp, &ldvp, ldv, endldg, nrequired_p);
3453 ldvp->use_timer = B_TRUE;
3456 ldvp->ldv = (uint8_t)ldv;
3457 ldvp->is_syserr = B_TRUE;
3458 ldvp->ldv_intr_handler = nxge_syserr_intr;
3459 ldvp->ldv_ldf_masks = 0;
3460 ldvp->nxgep = nxgep;
3461 ldgvp->ldvp_syserr = ldvp;
3469 (void) nxge_ldgv_setup(&ldgp, &ldvp, ldv, endldg, nrequired_p);
3473 ldvp->ldv = (uint8_t)ldv;
3474 ldvp->is_syserr = B_TRUE;
3475 ldvp->ldv_intr_handler = nxge_syserr_intr;
3476 ldvp->nxgep = nxgep;
3477 ldvp->ldv_ldf_masks = 0;
3478 ldgvp->ldvp_syserr = ldvp;
3509 if (ldgvp->ldvp) {
3510 KMEM_FREE(ldgvp->ldvp, sizeof (nxge_ldv_t) * ldgvp->maxldvs);
3545 p_nxge_ldv_t ldvp;
3559 ldvp = ldgvp->ldvp;
3560 if (ldgp == NULL || ldvp == NULL) {
3562 "<== nxge_intr_mask_mgmt: Null ldgp or ldvp"));
3576 for (j = 0; j < ldgp->nldvs; j++, ldvp++) {
3579 "for ldg %d", ldvp->ldv, ldgp->ldg));
3580 rs = npi_intr_mask_set(handle, ldvp->ldv,
3581 ldvp->ldv_ldf_masks);
3587 rs, ldvp->ldv,
3588 ldvp->ldv_ldf_masks));
3595 rs, ldvp->ldv,
3596 ldvp->ldv_ldf_masks));
3629 p_nxge_ldv_t ldvp;
3652 ldvp = ldgvp->ldvp;
3653 if (ldgp == NULL || ldvp == NULL) {
3655 "<== nxge_intr_mask_mgmt_set: Null ldgp or ldvp"));
3663 for (j = 0; j < ldgp->nldvs; j++, ldvp++) {
3668 ldvp->ldv_ldf_masks = 0;
3673 ldvp->ldv_ldf_masks = (uint8_t)LD_IM1_MASK;
3677 rs = npi_intr_mask_set(handle, ldvp->ldv,
3678 ldvp->ldv_ldf_masks);
3684 rs, ldvp->ldv, ldvp->ldv_ldf_masks));
3691 on, ldvp->ldv, ldvp->ldv_ldf_masks));
3936 nxge_ldgv_setup(p_nxge_ldg_t *ldgp, p_nxge_ldv_t *ldvp, uint8_t ldv,
3941 (*ldvp)->ldg_assigned = (*ldgp)->ldg;
3942 (*ldvp)->ldgp = *ldgp;
3943 (*ldvp)->ldv = ldv;
3946 "ldv %d endldg %d ldg %d, ldvp $%p",
3947 ldv, endldg, (*ldgp)->ldg, (*ldgp)->ldvp));
3951 if ((*ldgp)->ldvp == NULL) {
3952 (*ldgp)->ldvp = *ldvp;
3958 "==> nxge_ldgv_setup: ldvp $%p ngrps %d",
3959 *ldvp, *ngrps));
3960 ++*ldvp;
3962 (*ldgp)->ldvp = *ldvp;
3965 "ldv %d endldg %d ldg %d, ldvp $%p",
3966 ldv, endldg, (*ldgp)->ldg, (*ldgp)->ldvp));
3967 ++*ldvp;
3974 "ldv %d ldvp $%p endldg %d ngrps %d",
3975 ldv, ldvp, endldg, *ngrps));