blob: 72c7aaa81044063167689a324e44dd648b931ea2 [file] [log] [blame]
Kyle Swenson7900a3c2021-08-12 14:34:44 -06001/*
2 * ./kernel_modules/pse/pse-sysfs.h
3 *
4 * sysfs interface for the pse-class driver
5 *
6 * Author: Cradlepoint Technology, Inc. <source@cradlepoint.com>
7 * Kyle Swenson <kswenson@cradlepoint.com>
8 *
9 * Copyright 2019 Cradlepoint Technology, Inc.
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2
13 * as published by the Free Software Foundation.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 */
21#ifndef __PSE_SYSFS_H__
22#define __PSE_SYSFS_H__
23extern const struct attribute_group *pse_port_dev_attr_groups[];
24extern uint16_t pse_port_current_table[];
25extern uint32_t pse_port_power_table[];
26
27void pse_class_sysfs_close(struct class *class);
28int pse_class_sysfs_init(struct class *class);
29void pse_port_sysfs_close(struct pse_port_device *port);
30int pse_port_sysfs_init(struct pse_port_device *port);
31
32
33#endif