Server IP : 104.21.38.3 / Your IP : 162.158.170.29 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-143/include/linux/mfd/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Toshiba TC6393XB SoC support * * Copyright(c) 2005-2006 Chris Humbert * Copyright(c) 2005 Dirk Opfer * Copyright(c) 2005 Ian Molton <[email protected]> * Copyright(c) 2007 Dmitry Baryshkov * * Based on code written by Sharp/Lineo for 2.4 kernels * Based on locomo.c */ #ifndef MFD_TC6393XB_H #define MFD_TC6393XB_H #include <linux/fb.h> /* Also one should provide the CK3P6MI clock */ struct tc6393xb_platform_data { u16 scr_pll2cr; /* PLL2 Control */ u16 scr_gper; /* GP Enable */ int (*enable)(struct platform_device *dev); int (*disable)(struct platform_device *dev); int (*suspend)(struct platform_device *dev); int (*resume)(struct platform_device *dev); int irq_base; /* base for subdevice irqs */ int gpio_base; int (*setup)(struct platform_device *dev); void (*teardown)(struct platform_device *dev); struct tmio_nand_data *nand_data; struct tmio_fb_data *fb_data; unsigned resume_restore : 1; /* make special actions to preserve the state on suspend/resume */ }; extern int tc6393xb_lcd_mode(struct platform_device *fb, const struct fb_videomode *mode); extern int tc6393xb_lcd_set_power(struct platform_device *fb, bool on); /* * Relative to irq_base */ #define IRQ_TC6393_NAND 0 #define IRQ_TC6393_MMC 1 #define IRQ_TC6393_OHCI 2 #define IRQ_TC6393_FB 4 #define TC6393XB_NR_IRQS 8 #endif