Sindbad~EG File Manager

Current Path : /usr/src/kernels/4.18.0-553.52.1.el8_10.x86_64/include/linux/platform_data/
Upload File :
Current File : //usr/src/kernels/4.18.0-553.52.1.el8_10.x86_64/include/linux/platform_data/max732x.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_I2C_MAX732X_H
#define __LINUX_I2C_MAX732X_H

/* platform data for the MAX732x 8/16-bit I/O expander driver */

struct max732x_platform_data {
	/* number of the first GPIO */
	unsigned	gpio_base;

	/* interrupt base */
	int		irq_base;

	void		*context;	/* param to setup/teardown */

	int		(*setup)(struct i2c_client *client,
				unsigned gpio, unsigned ngpio,
				void *context);
	int		(*teardown)(struct i2c_client *client,
				unsigned gpio, unsigned ngpio,
				void *context);
};
#endif /* __LINUX_I2C_MAX732X_H */

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists