Server IP : 104.21.38.3 / Your IP : 162.158.107.16 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-142/include/linux/mfd/atc260x/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Core MFD defines for ATC260x PMICs * * Copyright (C) 2019 Manivannan Sadhasivam <[email protected]> * Copyright (C) 2020 Cristian Ciocaltea <[email protected]> */ #ifndef __LINUX_MFD_ATC260X_CORE_H #define __LINUX_MFD_ATC260X_CORE_H #include <linux/mfd/atc260x/atc2603c.h> #include <linux/mfd/atc260x/atc2609a.h> enum atc260x_type { ATC2603A = 0, ATC2603C, ATC2609A, }; enum atc260x_ver { ATC260X_A = 0, ATC260X_B, ATC260X_C, ATC260X_D, ATC260X_E, ATC260X_F, ATC260X_G, ATC260X_H, }; struct atc260x { struct device *dev; struct regmap *regmap; const struct regmap_irq_chip *regmap_irq_chip; struct regmap_irq_chip_data *irq_data; struct mutex *regmap_mutex; /* mutex for custom regmap locking */ const struct mfd_cell *cells; int nr_cells; int irq; enum atc260x_type ic_type; enum atc260x_ver ic_ver; const char *type_name; unsigned int rev_reg; const struct atc260x_init_regs *init_regs; /* regs for device init */ }; struct regmap_config; int atc260x_match_device(struct atc260x *atc260x, struct regmap_config *regmap_cfg); int atc260x_device_probe(struct atc260x *atc260x); #endif /* __LINUX_MFD_ATC260X_CORE_H */