Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : 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, Directory : /usr/src/linux-headers-4.4.0-31/include/linux/ |
Upload File : |
/* * include/linux/mg_disk.c * * Private data for mflash platform driver * * (c) 2008 mGine Co.,LTD * (c) 2008 unsik Kim <donari75@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __MG_DISK_H__ #define __MG_DISK_H__ /* name for platform device */ #define MG_DEV_NAME "mg_disk" /* names of GPIO resource */ #define MG_RST_PIN "mg_rst" /* except MG_BOOT_DEV, reset-out pin should be assigned */ #define MG_RSTOUT_PIN "mg_rstout" /* device attribution */ /* use mflash as boot device */ #define MG_BOOT_DEV (1 << 0) /* use mflash as storage device */ #define MG_STORAGE_DEV (1 << 1) /* same as MG_STORAGE_DEV, but bootloader already done reset sequence */ #define MG_STORAGE_DEV_SKIP_RST (1 << 2) /* private driver data */ struct mg_drv_data { /* disk resource */ u32 use_polling; /* device attribution */ u32 dev_attr; /* internally used */ void *host; }; #endif