Home
last modified time | relevance | path

Searched refs:nhd (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_hio.c132 nxge_hio_data_t *nhd; in nxge_hio_init() local
135 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() local
183 if (nhd != NULL) { in nxge_hio_uninit()
[all …]
H A Dnxge_hio_guest.c177 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_hio_vr_add() local
194 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 …]
H A Dnxge_hv.c50 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_hio_hv_init() local
57 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()
H A Dnxge_fzc.c832 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_init_fzc_rdc_tbl() local
842 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() local
877 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 …]
H A Dnxge_intr.c779 nxge_hio_data_t *nhd = (nxge_hio_data_t *)nxge->nxge_hw_p->hio; in nxge_hio_tdsv_add() local
781 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() local
847 nxhv_dc_fp_t *rx = &nhd->hio.rx; in nxge_hio_rdsv_add()
H A Dnxge_txdma.c1719 nxge_hio_data_t *nhd = in nxge_txdma_hung() local
1722 MUTEX_ENTER(&nhd->lock); in nxge_txdma_hung()
1724 MUTEX_EXIT(&nhd->lock); in nxge_txdma_hung()