Searched refs:nhd (Results 1 – 6 of 6) sorted by relevance
132 nxge_hio_data_t *nhd; in nxge_hio_init() local135 nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_hio_init()136 if (nhd == NULL) { in nxge_hio_init()137 nhd = KMEM_ZALLOC(sizeof (*nhd), KM_SLEEP); in nxge_hio_init()138 MUTEX_INIT(&nhd->lock, NULL, MUTEX_DRIVER, NULL); in nxge_hio_init()139 nhd->type = NXGE_HIO_TYPE_SERVICE; in nxge_hio_init()140 nxge->nxge_hw_p->hio = (uintptr_t)nhd; in nxge_hio_init()169 nhd->hio.ldoms = B_FALSE; in nxge_hio_init()179 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_hio_uninit() local183 if (nhd != NULL) { in nxge_hio_uninit()[all …]
177 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_hio_vr_add() local194 if (nhd->type == NXGE_HIO_TYPE_SERVICE) { in nxge_hio_vr_add()198 ASSERT(nhd->type == NXGE_HIO_TYPE_GUEST); in nxge_hio_vr_add()214 fp = &nhd->hio.vr; in nxge_hio_vr_add()234 MUTEX_ENTER(&nhd->lock); in nxge_hio_vr_add()236 if (nhd->vr[vr_index].nxge == 0) { in nxge_hio_vr_add()237 nhd->vr[vr_index].nxge = (uintptr_t)nxge; in nxge_hio_vr_add()241 MUTEX_EXIT(&nhd->lock); in nxge_hio_vr_add()252 vr = &nhd->vr[vr_index]; in nxge_hio_vr_add()281 tx = &nhd->hio.tx; in nxge_hio_vr_add()[all …]
50 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_hio_hv_init() local57 vr = &nhd->hio.vr; in nxge_hio_hv_init()69 tx = &nhd->hio.tx; in nxge_hio_hv_init()85 rx = &nhd->hio.rx; in nxge_hio_hv_init()
832 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_init_fzc_rdc_tbl() local842 MUTEX_ENTER(&nhd->lock); in nxge_init_fzc_rdc_tbl()843 table = &nhd->rdc_tbl[rdc_tbl]; in nxge_init_fzc_rdc_tbl()845 MUTEX_EXIT(&nhd->lock); in nxge_init_fzc_rdc_tbl()852 MUTEX_EXIT(&nhd->lock); in nxge_init_fzc_rdc_tbl()871 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in rdc_tbl_bind() local877 MUTEX_ENTER(&nhd->lock); in rdc_tbl_bind()880 table = &nhd->rdc_tbl[rdc_tbl]; in rdc_tbl_bind()885 MUTEX_EXIT(&nhd->lock); in rdc_tbl_bind()890 nx_rdc_tbl_t *table = &nhd->rdc_tbl[i]; in rdc_tbl_bind()[all …]
779 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_hio_tdsv_add() local781 nxhv_dc_fp_t *tx = &nhd->hio.tx; in nxge_hio_tdsv_add()845 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_hio_rdsv_add() local847 nxhv_dc_fp_t *rx = &nhd->hio.rx; in nxge_hio_rdsv_add()
1719 nxge_hio_data_t *nhd = in nxge_txdma_hung() local1722 MUTEX_ENTER(&nhd->lock); in nxge_txdma_hung()1724 MUTEX_EXIT(&nhd->lock); in nxge_txdma_hung()