1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 2 /* Do not edit directly, auto-generated from: */ 3 /* Documentation/netlink/specs/em.yaml */ 4 /* YNL-GEN kernel header */ 5 /* To regenerate run: tools/net/ynl/ynl-regen.sh */ 6 7 #ifndef _LINUX_EM_GEN_H 8 #define _LINUX_EM_GEN_H 9 10 #include <net/netlink.h> 11 #include <net/genetlink.h> 12 13 #include <uapi/linux/energy_model.h> 14 15 int em_nl_get_pds_doit(struct sk_buff *skb, struct genl_info *info); 16 int em_nl_get_pd_table_doit(struct sk_buff *skb, struct genl_info *info); 17 18 enum { 19 EM_NLGRP_EVENT, 20 }; 21 22 extern struct genl_family em_nl_family; 23 24 #endif /* _LINUX_EM_GEN_H */ 25