include/linux/mfd/tps6507x.h

Source file repositories/reference/linux-study-clean/include/linux/mfd/tps6507x.h

File Facts

System
Linux kernel
Corpus path
include/linux/mfd/tps6507x.h
Extension
.h
Size
5055 bytes
Lines
169
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

struct tps6507x_board {
	struct regulator_init_data *tps6507x_pmic_init_data;
	struct touchscreen_init_data *tps6507x_ts_init_data;
};

/**
 * struct tps6507x_dev - tps6507x sub-driver chip access routines
 * @read_dev() - I2C register read function
 * @write_dev() - I2C register write function
 *
 * Device data may be used to access the TPS6507x chip
 */

struct tps6507x_dev {
	struct device *dev;
	struct i2c_client *i2c_client;
	int (*read_dev)(struct tps6507x_dev *tps6507x, char reg, int size,
			void *dest);
	int (*write_dev)(struct tps6507x_dev *tps6507x, char reg, int size,
			 void *src);

	/* Client devices */
	struct tps6507x_pmic *pmic;
};

#endif /*  __LINUX_MFD_TPS6507X_H */

Annotation

Implementation Notes