Searched refs:dpit (Results 1 – 1 of 1) sorted by relevance
706 struct bnxt_qplib_dpi_tbl *dpit = &res->dpi_tbl; in bnxt_qplib_alloc_dpi() local711 reg = &dpit->wcreg; in bnxt_qplib_alloc_dpi()714 bit_num = find_first_bit(dpit->tbl, dpit->max); in bnxt_qplib_alloc_dpi()715 if (bit_num == dpit->max) { in bnxt_qplib_alloc_dpi()721 clear_bit(bit_num, dpit->tbl); in bnxt_qplib_alloc_dpi()722 dpit->app_tbl[bit_num] = app; in bnxt_qplib_alloc_dpi()725 dpi->dpi = bit_num + (reg->offset - dpit->ucreg.offset) / PAGE_SIZE; in bnxt_qplib_alloc_dpi()733 dpi->umdbr = dpit->ucreg.bar_base + in bnxt_qplib_alloc_dpi()734 dpit->ucreg.offset + bit_num * PAGE_SIZE; in bnxt_qplib_alloc_dpi()735 dpi->dbr = dpit->priv_db; in bnxt_qplib_alloc_dpi()[all …]