Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* Copyright (c) 2019, Intel Corporation. */
0003 
0004 #ifndef _ICE_DEVLINK_H_
0005 #define _ICE_DEVLINK_H_
0006 
0007 struct ice_pf *ice_allocate_pf(struct device *dev);
0008 
0009 void ice_devlink_register(struct ice_pf *pf);
0010 void ice_devlink_unregister(struct ice_pf *pf);
0011 int ice_devlink_register_params(struct ice_pf *pf);
0012 void ice_devlink_unregister_params(struct ice_pf *pf);
0013 int ice_devlink_create_pf_port(struct ice_pf *pf);
0014 void ice_devlink_destroy_pf_port(struct ice_pf *pf);
0015 int ice_devlink_create_vf_port(struct ice_vf *vf);
0016 void ice_devlink_destroy_vf_port(struct ice_vf *vf);
0017 
0018 void ice_devlink_init_regions(struct ice_pf *pf);
0019 void ice_devlink_destroy_regions(struct ice_pf *pf);
0020 
0021 #endif /* _ICE_DEVLINK_H_ */