Lines Matching refs:cmd

1439 	struct ice_aqc_get_sw_cfg *cmd;  in ice_aq_get_sw_cfg()  local
1444 cmd = &desc.params.get_sw_conf; in ice_aq_get_sw_cfg()
1445 cmd->element = cpu_to_le16(*req_desc); in ice_aq_get_sw_cfg()
1449 *req_desc = le16_to_cpu(cmd->element); in ice_aq_get_sw_cfg()
1450 *num_elems = le16_to_cpu(cmd->num_elems); in ice_aq_get_sw_cfg()
1469 struct ice_aqc_add_get_update_free_vsi *cmd; in ice_aq_add_vsi() local
1473 cmd = &desc.params.vsi_cmd; in ice_aq_add_vsi()
1479 cmd->vsi_num = cpu_to_le16(vsi_ctx->vsi_num | in ice_aq_add_vsi()
1481 cmd->vf_id = vsi_ctx->vf_num; in ice_aq_add_vsi()
1483 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in ice_aq_add_vsi()
1513 struct ice_aqc_add_get_update_free_vsi *cmd; in ice_aq_free_vsi() local
1517 cmd = &desc.params.vsi_cmd; in ice_aq_free_vsi()
1522 cmd->vsi_num = cpu_to_le16(vsi_ctx->vsi_num | ICE_AQ_VSI_IS_VALID); in ice_aq_free_vsi()
1524 cmd->cmd_flags = cpu_to_le16(ICE_AQ_VSI_KEEP_ALLOC); in ice_aq_free_vsi()
1548 struct ice_aqc_add_get_update_free_vsi *cmd; in ice_aq_update_vsi() local
1552 cmd = &desc.params.vsi_cmd; in ice_aq_update_vsi()
1557 cmd->vsi_num = cpu_to_le16(vsi_ctx->vsi_num | ICE_AQ_VSI_IS_VALID); in ice_aq_update_vsi()
1915 struct ice_aqc_add_get_recipe *cmd; in ice_aq_add_recipe() local
1919 cmd = &desc.params.add_get_recipe; in ice_aq_add_recipe()
1922 cmd->num_sub_recipes = cpu_to_le16(num_recipes); in ice_aq_add_recipe()
1952 struct ice_aqc_add_get_recipe *cmd; in ice_aq_get_recipe() local
1960 cmd = &desc.params.add_get_recipe; in ice_aq_get_recipe()
1963 cmd->return_index = cpu_to_le16(recipe_root); in ice_aq_get_recipe()
1964 cmd->num_sub_recipes = 0; in ice_aq_get_recipe()
1969 *num_recipes = le16_to_cpu(cmd->num_sub_recipes); in ice_aq_get_recipe()
2044 struct ice_aqc_recipe_to_profile *cmd; in ice_aq_map_recipe_to_profile() local
2047 cmd = &desc.params.recipe_to_profile; in ice_aq_map_recipe_to_profile()
2049 cmd->profile_id = cpu_to_le16(profile_id); in ice_aq_map_recipe_to_profile()
2053 cmd->recipe_assoc = cpu_to_le64(r_assoc); in ice_aq_map_recipe_to_profile()
2070 struct ice_aqc_recipe_to_profile *cmd; in ice_aq_get_recipe_to_profile() local
2074 cmd = &desc.params.recipe_to_profile; in ice_aq_get_recipe_to_profile()
2076 cmd->profile_id = cpu_to_le16(profile_id); in ice_aq_get_recipe_to_profile()
2080 *r_assoc = le64_to_cpu(cmd->recipe_assoc); in ice_aq_get_recipe_to_profile()