Merge tag 'mm-hotfixes-stable-2024-06-26-17-28' of git://git.kernel.org/pub/scm/linux...
[linux.git] / drivers / dpll / dpll_nl.h
blobf491262bee4f0c16e97624353bef6a4938b761aa
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 */
6 #ifndef _LINUX_DPLL_GEN_H
7 #define _LINUX_DPLL_GEN_H
9 #include <net/netlink.h>
10 #include <net/genetlink.h>
12 #include <uapi/linux/dpll.h>
14 /* Common nested types */
15 extern const struct nla_policy dpll_pin_parent_device_nl_policy[DPLL_A_PIN_PHASE_OFFSET + 1];
16 extern const struct nla_policy dpll_pin_parent_pin_nl_policy[DPLL_A_PIN_STATE + 1];
18 int dpll_lock_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
19 struct genl_info *info);
20 int dpll_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
21 struct genl_info *info);
22 int dpll_pin_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
23 struct genl_info *info);
24 void
25 dpll_unlock_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
26 struct genl_info *info);
27 void
28 dpll_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
29 struct genl_info *info);
30 void
31 dpll_pin_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
32 struct genl_info *info);
34 int dpll_nl_device_id_get_doit(struct sk_buff *skb, struct genl_info *info);
35 int dpll_nl_device_get_doit(struct sk_buff *skb, struct genl_info *info);
36 int dpll_nl_device_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
37 int dpll_nl_device_set_doit(struct sk_buff *skb, struct genl_info *info);
38 int dpll_nl_pin_id_get_doit(struct sk_buff *skb, struct genl_info *info);
39 int dpll_nl_pin_get_doit(struct sk_buff *skb, struct genl_info *info);
40 int dpll_nl_pin_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
41 int dpll_nl_pin_set_doit(struct sk_buff *skb, struct genl_info *info);
43 enum {
44 DPLL_NLGRP_MONITOR,
47 extern struct genl_family dpll_nl_family;
49 #endif /* _LINUX_DPLL_GEN_H */