Lines Matching defs:handle

36 hpi_fzc_ldg_num_set(hpi_handle_t handle, uint8_t ld, uint8_t ldg)
41 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL,
47 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL,
55 HXGE_REG_WR32(handle, LD_GRP_CTRL + LD_NUM_OFFSET(ld), gnum.value);
64 hpi_ldsv_ldfs_get(hpi_handle_t handle, uint8_t ldg, uint32_t *vector0_p,
69 if ((status = hpi_ldsv_get(handle, ldg, VECTOR0, vector0_p))) {
72 if ((status = hpi_ldsv_get(handle, ldg, VECTOR1, vector1_p))) {
83 hpi_ldsv_get(hpi_handle_t handle, uint8_t ldg, ldsv_type_t vector,
89 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL,
104 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL,
109 HXGE_REG_RD32(handle, offset, ldf_p);
118 hpi_intr_mask_set(hpi_handle_t handle, uint8_t ld, uint8_t ldf_mask)
123 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL,
131 HPI_DEBUG_MSG((handle.function, HPI_VIR_CTL,
135 HXGE_REG_WR32(handle, offset, (uint32_t)ldf_mask);
144 hpi_intr_ldg_mgmt_set(hpi_handle_t handle, uint8_t ldg, boolean_t arm,
150 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL,
156 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL,
165 HXGE_REG_RD32(handle, LD_INTR_MGMT + LDSV_OFFSET(ldg),
170 HXGE_REG_WR32(handle, LD_INTR_MGMT + LDSV_OFFSET(ldg), mgm.value);
172 HPI_DEBUG_MSG((handle.function, HPI_VIR_CTL,
183 hpi_fzc_ldg_timer_res_set(hpi_handle_t handle, uint32_t res)
188 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL,
197 HXGE_REG_WR32(handle, LD_INTR_TIM_RES, tm.value);
206 hpi_fzc_sid_set(hpi_handle_t handle, fzc_sid_t sid)
211 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL,
217 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL,
226 HXGE_REG_WR32(handle, SID + LDG_SID_OFFSET(sid.ldg), sd.value);
235 hpi_fzc_sys_err_mask_set(hpi_handle_t handle, boolean_t mask)
249 HXGE_REG_WR32(handle, DEV_ERR_MASK, dev_mask.value);
257 hpi_fzc_sys_err_stat_get(hpi_handle_t handle, dev_err_stat_t *statp)
259 HXGE_REG_RD32(handle, DEV_ERR_STAT, &statp->value);