18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright (c) 2019, Intel Corporation. */ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#ifndef _ICE_DEVLINK_H_ 58c2ecf20Sopenharmony_ci#define _ICE_DEVLINK_H_ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cistruct ice_pf *ice_allocate_pf(struct device *dev); 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciint ice_devlink_register(struct ice_pf *pf); 108c2ecf20Sopenharmony_civoid ice_devlink_unregister(struct ice_pf *pf); 118c2ecf20Sopenharmony_ciint ice_devlink_create_port(struct ice_vsi *vsi); 128c2ecf20Sopenharmony_civoid ice_devlink_destroy_port(struct ice_vsi *vsi); 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_civoid ice_devlink_init_regions(struct ice_pf *pf); 158c2ecf20Sopenharmony_civoid ice_devlink_destroy_regions(struct ice_pf *pf); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#endif /* _ICE_DEVLINK_H_ */ 18