????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.188.99.196 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/modules/3.13.0-49-generic/build/include/linux/platform_data/ |
Upload File : |
#ifndef _ARCH_MCI_H #define _ARCH_MCI_H /** * struct s3c24xx_mci_pdata - sd/mmc controller platform data * @no_wprotect: Set this to indicate there is no write-protect switch. * @no_detect: Set this if there is no detect switch. * @wprotect_invert: Invert the default sense of the write protect switch. * @detect_invert: Invert the default sense of the write protect switch. * @use_dma: Set to allow the use of DMA. * @gpio_detect: GPIO number for the card detect line. * @gpio_wprotect: GPIO number for the write protect line. * @ocr_avail: The mask of the available power states, non-zero to use. * @set_power: Callback to control the power mode. * * The @gpio_detect is used for card detection when @no_wprotect is unset, * and the default sense is that 0 returned from gpio_get_value() means * that a card is inserted. If @detect_invert is set, then the value from * gpio_get_value() is inverted, which makes 1 mean card inserted. * * The driver will use @gpio_wprotect to signal whether the card is write * protected if @no_wprotect is not set. A 0 returned from gpio_get_value() * means the card is read/write, and 1 means read-only. The @wprotect_invert * will invert the value returned from gpio_get_value(). * * Card power is set by @ocr_availa, using MCC_VDD_ constants if it is set * to a non-zero value, otherwise the default of 3.2-3.4V is used. */ struct s3c24xx_mci_pdata { unsigned int no_wprotect:1; unsigned int no_detect:1; unsigned int wprotect_invert:1; unsigned int detect_invert:1; /* set => detect active high */ unsigned int use_dma:1; unsigned int gpio_detect; unsigned int gpio_wprotect; unsigned long ocr_avail; void (*set_power)(unsigned char power_mode, unsigned short vdd); }; /** * s3c24xx_mci_set_platdata - set platform data for mmc/sdi device * @pdata: The platform data * * Copy the platform data supplied by @pdata so that this can be marked * __initdata. */ extern void s3c24xx_mci_set_platdata(struct s3c24xx_mci_pdata *pdata); #endif /* _ARCH_NCI_H */