!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.4.0-216/include/linux/platform_data/   drwxr-xr-x
Free 12.96 GB of 57.97 GB (22.37%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     mmc-sdhci-s3c.h (2.22 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PLATFORM_DATA_SDHCI_S3C_H
#define __PLATFORM_DATA_SDHCI_S3C_H

struct platform_device;

enum cd_types {
    S3C_SDHCI_CD_INTERNAL,    /* use mmc internal CD line */
    S3C_SDHCI_CD_EXTERNAL,    /* use external callback */
    S3C_SDHCI_CD_GPIO,    /* use external gpio pin for CD line */
    S3C_SDHCI_CD_NONE,    /* no CD line, use polling to detect card */
    S3C_SDHCI_CD_PERMANENT,    /* no CD line, card permanently wired to host */
};

/**
 * struct s3c_sdhci_platdata() - Platform device data for Samsung SDHCI
 * @max_width: The maximum number of data bits supported.
 * @host_caps: Standard MMC host capabilities bit field.
 * @host_caps2: The second standard MMC host capabilities bit field.
 * @cd_type: Type of Card Detection method (see cd_types enum above)
 * @ext_cd_init: Initialize external card detect subsystem. Called on
 *         sdhci-s3c driver probe when cd_type == S3C_SDHCI_CD_EXTERNAL.
 *         notify_func argument is a callback to the sdhci-s3c driver
 *         that triggers the card detection event. Callback arguments:
 *         dev is pointer to platform device of the host controller,
 *         state is new state of the card (0 - removed, 1 - inserted).
 * @ext_cd_cleanup: Cleanup external card detect subsystem. Called on
 *         sdhci-s3c driver remove when cd_type == S3C_SDHCI_CD_EXTERNAL.
 *         notify_func argument is the same callback as for ext_cd_init.
 * @ext_cd_gpio: gpio pin used for external CD line, valid only if
 *         cd_type == S3C_SDHCI_CD_GPIO
 * @ext_cd_gpio_invert: invert values for external CD gpio line
 * @cfg_gpio: Configure the GPIO for a specific card bit-width
 *
 * Initialisation data specific to either the machine or the platform
 * for the device driver to use or call-back when configuring gpio or
 * card speed information.
*/
struct s3c_sdhci_platdata {
    unsigned int    max_width;
    unsigned int    host_caps;
    unsigned int    host_caps2;
    unsigned int    pm_caps;
    enum cd_types    cd_type;

    int        ext_cd_gpio;
    bool        ext_cd_gpio_invert;
    int    (*ext_cd_init)(void (*notify_func)(struct platform_device *,
                           int state));
    int    (*ext_cd_cleanup)(void (*notify_func)(struct platform_device *,
                              int state));

    void    (*cfg_gpio)(struct platform_device *dev, int width);
};


#endif /* __PLATFORM_DATA_SDHCI_S3C_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0444 ]--