drm/vkms: Add support for ABGR8888 pixel format
[drm/drm-misc.git] / drivers / net / ethernet / microchip / sparx5 / sparx5_vcap_debugfs.h
blobf9ede03441f257b91ea57834f49d98b3788df3c2
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* Microchip Sparx5 Switch driver VCAP implementation
4 * Copyright (c) 2022 Microchip Technology Inc. and its subsidiaries.
5 */
7 #ifndef __SPARX5_VCAP_DEBUGFS_H__
8 #define __SPARX5_VCAP_DEBUGFS_H__
10 #include <linux/netdevice.h>
12 #include <vcap_api.h>
13 #include <vcap_api_client.h>
15 #if defined(CONFIG_DEBUG_FS)
17 /* Provide port information via a callback interface */
18 int sparx5_port_info(struct net_device *ndev,
19 struct vcap_admin *admin,
20 struct vcap_output_print *out);
22 #else
24 static inline int sparx5_port_info(struct net_device *ndev,
25 struct vcap_admin *admin,
26 struct vcap_output_print *out)
28 return 0;
31 #endif
33 #endif /* __SPARX5_VCAP_DEBUGFS_H__ */