| 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/dpll.yaml */ |
| 4 | /* YNL-GEN kernel header */ |
| 5 | /* To regenerate run: tools/net/ynl/ynl-regen.sh */ |
| 6 | |
| 7 | #ifndef _LINUX_DPLL_GEN_H |
| 8 | #define _LINUX_DPLL_GEN_H |
| 9 | |
| 10 | #include <net/netlink.h> |
| 11 | #include <net/genetlink.h> |
| 12 | |
| 13 | #include <uapi/linux/dpll.h> |
| 14 | |
| 15 | /* Common nested types */ |
| 16 | extern const struct nla_policy dpll_pin_parent_device_nl_policy[DPLL_A_PIN_PHASE_OFFSET + 1]; |
| 17 | extern const struct nla_policy dpll_pin_parent_pin_nl_policy[DPLL_A_PIN_STATE + 1]; |
| 18 | extern const struct nla_policy dpll_reference_sync_nl_policy[DPLL_A_PIN_STATE + 1]; |
| 19 | |
| 20 | int dpll_lock_doit(const struct genl_split_ops *ops, struct sk_buff *skb, |
| 21 | struct genl_info *info); |
| 22 | int dpll_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb, |
| 23 | struct genl_info *info); |
| 24 | int dpll_pin_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb, |
| 25 | struct genl_info *info); |
| 26 | void |
| 27 | dpll_unlock_doit(const struct genl_split_ops *ops, struct sk_buff *skb, |
| 28 | struct genl_info *info); |
| 29 | void |
| 30 | dpll_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb, |
| 31 | struct genl_info *info); |
| 32 | void |
| 33 | dpll_pin_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb, |
| 34 | struct genl_info *info); |
| 35 | |
| 36 | int dpll_nl_device_id_get_doit(struct sk_buff *skb, struct genl_info *info); |
| 37 | int dpll_nl_device_get_doit(struct sk_buff *skb, struct genl_info *info); |
| 38 | int dpll_nl_device_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb); |
| 39 | int dpll_nl_device_set_doit(struct sk_buff *skb, struct genl_info *info); |
| 40 | int dpll_nl_pin_id_get_doit(struct sk_buff *skb, struct genl_info *info); |
| 41 | int dpll_nl_pin_get_doit(struct sk_buff *skb, struct genl_info *info); |
| 42 | int dpll_nl_pin_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb); |
| 43 | int dpll_nl_pin_set_doit(struct sk_buff *skb, struct genl_info *info); |
| 44 | |
| 45 | enum { |
| 46 | DPLL_NLGRP_MONITOR, |
| 47 | }; |
| 48 | |
| 49 | extern struct genl_family dpll_nl_family; |
| 50 | |
| 51 | #endif /* _LINUX_DPLL_GEN_H */ |
| 52 | |