Searched refs:dpit (Results 1 – 1 of 1) sorted by relevance
717 struct bnxt_qplib_dpi_tbl *dpit = &res->dpi_tbl; in bnxt_qplib_alloc_dpi() local722 reg = &dpit->wcreg; in bnxt_qplib_alloc_dpi()725 bit_num = find_first_bit(dpit->tbl, dpit->max); in bnxt_qplib_alloc_dpi()726 if (bit_num == dpit->max) { in bnxt_qplib_alloc_dpi()732 clear_bit(bit_num, dpit->tbl); in bnxt_qplib_alloc_dpi()733 dpit->app_tbl[bit_num] = app; in bnxt_qplib_alloc_dpi()736 dpi->dpi = bit_num + (reg->offset - dpit->ucreg.offset) / PAGE_SIZE; in bnxt_qplib_alloc_dpi()744 dpi->umdbr = dpit->ucreg.bar_base + in bnxt_qplib_alloc_dpi()745 dpit->ucreg.offset + bit_num * PAGE_SIZE; in bnxt_qplib_alloc_dpi()746 dpi->dbr = dpit->priv_db; in bnxt_qplib_alloc_dpi()[all …]