Searched refs:mlup (Results 1 – 1 of 1) sorted by relevance
1461 mlxcx_cmd_alloc_uar(mlxcx_t *mlxp, mlxcx_uar_t *mlup) in mlxcx_cmd_alloc_uar() argument1483 mlup->mlu_allocated = B_TRUE; in mlxcx_cmd_alloc_uar()1484 mlup->mlu_num = from_be24(out.mlxo_alloc_uar_uar); in mlxcx_cmd_alloc_uar()1485 VERIFY3U(mlup->mlu_num, >, 0); in mlxcx_cmd_alloc_uar()1486 mlup->mlu_base = mlup->mlu_num * MLXCX_HW_PAGE_SIZE; in mlxcx_cmd_alloc_uar()1489 mlup->mlu_bf[i].mbf_even = mlup->mlu_base + in mlxcx_cmd_alloc_uar()1491 mlup->mlu_bf[i].mbf_odd = mlup->mlu_bf[i].mbf_even + in mlxcx_cmd_alloc_uar()1500 mlxcx_cmd_dealloc_uar(mlxcx_t *mlxp, mlxcx_uar_t *mlup) in mlxcx_cmd_dealloc_uar() argument1513 VERIFY(mlup->mlu_allocated); in mlxcx_cmd_dealloc_uar()1514 in.mlxi_dealloc_uar_uar = to_be24(mlup->mlu_num); in mlxcx_cmd_dealloc_uar()[all …]