123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /* SPDX-License-Identifier: GPL-2.0-only */
- /*
- * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- */
- #ifndef __SECDP_SYSFS_H
- #define __SECDP_SYSFS_H
- #include "secdp.h"
- struct secdp_sysfs_in {
- struct device *dev;
- struct dp_parser *parser;
- struct dp_ctrl *ctrl;
- struct dp_link *link;
- struct dp_panel *panel;
- struct dp_power *power;
- struct dp_catalog *catalog;
- struct secdp_misc *sec;
- };
- struct secdp_sysfs {
- struct class dp_class;
- };
- /**
- * secdp_sysfs_get() - get the functionalities of secdp sysfs module
- *
- *
- * return: a pointer to dp_link struct
- */
- struct secdp_sysfs *secdp_sysfs_get(struct secdp_sysfs_in *in);
- /**
- * secdp_sysfs_put() - releases the dp test module's resources
- *
- * @dp_link: an instance of dp_link module
- *
- */
- void secdp_sysfs_put(struct device *dev, struct secdp_sysfs *dp_sysfs);
- #endif /*__SECDP_SYSFS_H*/
|