Searched refs:rsrc_pool (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_rsrc.c | 189 ASSERT(rsrc_pool != NULL); in tavor_rsrc_alloc() 331 ASSERT(rsrc_pool != NULL); in tavor_rsrc_free() 1710 rsrc_pool->rsrc_pool_size, rsrc_pool->rsrc_align, in tavor_rsrc_mbox_init() 1721 rsrc_pool->rsrc_start = in tavor_rsrc_mbox_init() 1727 rsrc_pool->rsrc_ddr_offset, rsrc_pool->rsrc_pool_size, in tavor_rsrc_mbox_init() 1816 rsrc_pool->rsrc_pool_size, rsrc_pool->rsrc_align, in tavor_rsrc_hw_entries_init() 1826 rsrc_pool->rsrc_start = in tavor_rsrc_hw_entries_init() 1830 rsrc_pool->rsrc_ddr_offset = rsrc_pool->rsrc_start; in tavor_rsrc_hw_entries_init() 1843 rsrc_pool->rsrc_ddr_offset, rsrc_pool->rsrc_pool_size, in tavor_rsrc_hw_entries_init() 1919 if (rsrc_pool->rsrc_ddr_offset != rsrc_pool->rsrc_start) { in tavor_rsrc_hw_entries_fini() [all …]
|
H A D | tavor.c | 1913 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_hca_config_setup() local 1932 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_QPC]; in tavor_hca_config_setup() 1945 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_CQC]; in tavor_hca_config_setup() 1953 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_SRQC]; in tavor_hca_config_setup() 1962 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_EQPC]; in tavor_hca_config_setup() 1971 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_EQC]; in tavor_hca_config_setup() 1979 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_RDB]; in tavor_hca_config_setup() 1986 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MCG]; in tavor_hca_config_setup() 1999 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MPT]; in tavor_hca_config_setup() 2007 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MTT]; in tavor_hca_config_setup() [all …]
|
H A D | tavor_mr.c | 163 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_mr_register_shared() local 334 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MTT]; in tavor_mr_register_shared() 335 mtt_ddrbaseaddr = (uint64_t)(uintptr_t)rsrc_pool->rsrc_ddr_offset; in tavor_mr_register_shared() 1016 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_mr_common_reg() local 1078 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MTT]; in tavor_mr_common_reg() 1079 mtt_ddrbaseaddr = (uint64_t)(uintptr_t)rsrc_pool->rsrc_ddr_offset; in tavor_mr_common_reg() 1915 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_mr_rereg_xlat_helper() local 2259 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MTT]; in tavor_mr_rereg_xlat_helper() 2260 mtt_ddrbaseaddr = (uint64_t)(uintptr_t)rsrc_pool->rsrc_ddr_offset; in tavor_mr_rereg_xlat_helper()
|
H A D | tavor_srq.c | 602 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_srq_modify() local 746 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_MTT]; in tavor_srq_modify() 747 mtt_ddrbaseaddr = (uint64_t)(uintptr_t)rsrc_pool->rsrc_ddr_offset; in tavor_srq_modify()
|
H A D | tavor_qp.c | 64 tavor_rsrc_pool_info_t *rsrc_pool; in tavor_qp_alloc() local 274 rsrc_pool = &state->ts_rsrc_hdl[TAVOR_RDB]; in tavor_qp_alloc() 275 qp->qp_rdb_ddraddr = (uintptr_t)rsrc_pool->rsrc_ddr_offset + in tavor_qp_alloc()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_rsrc.c | 191 ASSERT(rsrc_pool != NULL); in hermon_rsrc_alloc() 316 ASSERT(rsrc_pool != NULL); in hermon_rsrc_reserve() 547 ASSERT(rsrc_pool != NULL); in hermon_rsrc_free() 851 rsrc_pool->rsrc_type = i; in hermon_rsrc_init_phase2() 1024 rsrc_pool->rsrc_type = i; in hermon_rsrc_init_phase2() 1498 ASSERT(rsrc_pool != NULL); in hermon_rsrc_mbox_init() 1539 ASSERT(rsrc_pool != NULL); in hermon_rsrc_mbox_fini() 1564 ASSERT(rsrc_pool != NULL); in hermon_rsrc_hw_entries_init() 1590 rsrc_pool->rsrc_type, rsrc_pool->rsrc_start); in hermon_rsrc_hw_entries_init() 1605 rsrc_pool->rsrc_pool_size, rsrc_pool->rsrc_quantum, in hermon_rsrc_hw_entries_init() [all …]
|
H A D | hermon_fm.c | 485 hermon_rsrc_pool_info_t *rsrc_pool; in hermon_fm_ereport_init() local 650 rsrc_pool = &state->hs_rsrc_hdl[HERMON_UARPG]; in hermon_fm_ereport_init() 651 rsrc_pool->rsrc_type = HERMON_UARPG; in hermon_fm_ereport_init() 652 rsrc_pool->rsrc_loc = HERMON_IN_UAR; in hermon_fm_ereport_init() 653 rsrc_pool->rsrc_pool_size = (num << PAGESHIFT); in hermon_fm_ereport_init() 654 rsrc_pool->rsrc_shift = PAGESHIFT; in hermon_fm_ereport_init() 655 rsrc_pool->rsrc_quantum = (uint_t)PAGESIZE; in hermon_fm_ereport_init() 656 rsrc_pool->rsrc_align = PAGESIZE; in hermon_fm_ereport_init() 657 rsrc_pool->rsrc_state = state; in hermon_fm_ereport_init() 658 rsrc_pool->rsrc_start = (void *)state->hs_reg_uar_baseaddr; in hermon_fm_ereport_init() [all …]
|