File Index
Files and directories
Sign in
FILE

dpll_nl.h

File preview with syntax highlighting.

linux-6.19.14/drivers/dpll/dpll_nl.h C
 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 */
16extern const struct nla_policy dpll_pin_parent_device_nl_policy[DPLL_A_PIN_PHASE_OFFSET + 1];
17extern const struct nla_policy dpll_pin_parent_pin_nl_policy[DPLL_A_PIN_STATE + 1];
18extern const struct nla_policy dpll_reference_sync_nl_policy[DPLL_A_PIN_STATE + 1];
19
20int dpll_lock_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
21		   struct genl_info *info);
22int dpll_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
23		  struct genl_info *info);
24int dpll_pin_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
25		      struct genl_info *info);
26void
27dpll_unlock_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
28		 struct genl_info *info);
29void
30dpll_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
31	       struct genl_info *info);
32void
33dpll_pin_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
34		   struct genl_info *info);
35
36int dpll_nl_device_id_get_doit(struct sk_buff *skb, struct genl_info *info);
37int dpll_nl_device_get_doit(struct sk_buff *skb, struct genl_info *info);
38int dpll_nl_device_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
39int dpll_nl_device_set_doit(struct sk_buff *skb, struct genl_info *info);
40int dpll_nl_pin_id_get_doit(struct sk_buff *skb, struct genl_info *info);
41int dpll_nl_pin_get_doit(struct sk_buff *skb, struct genl_info *info);
42int dpll_nl_pin_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
43int dpll_nl_pin_set_doit(struct sk_buff *skb, struct genl_info *info);
44
45enum {
46	DPLL_NLGRP_MONITOR,
47};
48
49extern struct genl_family dpll_nl_family;
50
51#endif /* _LINUX_DPLL_GEN_H */
~/ Read-only file preview.