1
0

dpll_nl.h 2.0 KB

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