• Home
  • Raw
  • Download

Lines Matching refs:p_params

938 		     struct qed_load_req_params *p_params)  in qed_mcp_load_req()  argument
949 rc = eocre_get_mfw_drv_role(p_hwfn, p_params->drv_role, &mfw_drv_role); in qed_mcp_load_req()
954 in_params.timeout_val = p_params->timeout_val; in qed_mcp_load_req()
959 in_params.avoid_eng_reset = p_params->avoid_eng_reset; in qed_mcp_load_req()
983 p_params->override_force_load)) { in qed_mcp_load_req()
1045 p_params->load_code = out_params.load_code; in qed_mcp_load_req()
3705 struct qed_resc_lock_params *p_params) in __qed_mcp_resc_lock() argument
3711 switch (p_params->timeout) { in __qed_mcp_resc_lock()
3714 p_params->timeout = 0; in __qed_mcp_resc_lock()
3718 p_params->timeout = 0; in __qed_mcp_resc_lock()
3725 QED_MFW_SET_FIELD(param, RESOURCE_CMD_REQ_RESC, p_params->resource); in __qed_mcp_resc_lock()
3727 QED_MFW_SET_FIELD(param, RESOURCE_CMD_REQ_AGE, p_params->timeout); in __qed_mcp_resc_lock()
3732 param, p_params->timeout, opcode, p_params->resource); in __qed_mcp_resc_lock()
3740 p_params->owner = QED_MFW_GET_FIELD(mcp_param, RESOURCE_CMD_RSP_OWNER); in __qed_mcp_resc_lock()
3746 mcp_param, opcode, p_params->owner); in __qed_mcp_resc_lock()
3750 p_params->b_granted = true; in __qed_mcp_resc_lock()
3753 p_params->b_granted = false; in __qed_mcp_resc_lock()
3767 struct qed_ptt *p_ptt, struct qed_resc_lock_params *p_params) in qed_mcp_resc_lock() argument
3775 if (p_params->sleep_b4_retry) { in qed_mcp_resc_lock()
3777 DIV_ROUND_UP(p_params->retry_interval, in qed_mcp_resc_lock()
3782 udelay(p_params->retry_interval); in qed_mcp_resc_lock()
3786 rc = __qed_mcp_resc_lock(p_hwfn, p_ptt, p_params); in qed_mcp_resc_lock()
3790 if (p_params->b_granted) in qed_mcp_resc_lock()
3792 } while (retry_cnt++ < p_params->retry_num); in qed_mcp_resc_lock()
3800 struct qed_resc_unlock_params *p_params) in qed_mcp_resc_unlock() argument
3806 opcode = p_params->b_force ? RESOURCE_OPCODE_FORCE_RELEASE in qed_mcp_resc_unlock()
3808 QED_MFW_SET_FIELD(param, RESOURCE_CMD_REQ_RESC, p_params->resource); in qed_mcp_resc_unlock()
3813 param, opcode, p_params->resource); in qed_mcp_resc_unlock()
3831 p_params->resource); in qed_mcp_resc_unlock()
3834 p_params->b_released = true; in qed_mcp_resc_unlock()
3837 p_params->b_released = false; in qed_mcp_resc_unlock()