Lines Matching refs:acts
343 struct efx_tc_action_set_list *acts) in efx_mae_alloc_action_set_list() argument
351 list_for_each_entry(act, &acts->list, list) in efx_mae_alloc_action_set_list()
359 act = list_first_entry(&acts->list, struct efx_tc_action_set, list); in efx_mae_alloc_action_set_list()
360 acts->fw_id = act->fw_id; in efx_mae_alloc_action_set_list()
370 list_for_each_entry(act, &acts->list, list) { in efx_mae_alloc_action_set_list()
384 acts->fw_id = MCDI_DWORD(outbuf, MAE_ACTION_SET_LIST_ALLOC_OUT_ASL_ID); in efx_mae_alloc_action_set_list()
388 if (WARN_ON_ONCE(!efx_mae_asl_id(acts->fw_id))) { in efx_mae_alloc_action_set_list()
389 efx_mae_free_action_set_list(efx, acts); in efx_mae_alloc_action_set_list()
398 struct efx_tc_action_set_list *acts) in efx_mae_free_action_set_list() argument
408 if (efx_mae_asl_id(acts->fw_id)) { in efx_mae_free_action_set_list()
410 acts->fw_id); in efx_mae_free_action_set_list()
421 if (WARN_ON(MCDI_DWORD(outbuf, MAE_ACTION_SET_LIST_FREE_OUT_FREED_ASL_ID) != acts->fw_id)) in efx_mae_free_action_set_list()
427 acts->fw_id = MC_CMD_MAE_ACTION_SET_LIST_ALLOC_OUT_ACTION_SET_LIST_ID_NULL; in efx_mae_free_action_set_list()