Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files249
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- jz4740/
- media/
- txx9/
- x86/
- ad5449.h
- ad5755.h
- ad5761.h
- ad7266.h
- ad7291.h
- ad7298.h
- ad7303.h
- ad7791.h
- ad7793.h
- ad7879.h
- ad7887.h
- adau17x1.h
- adau1977.h
- adp5588.h
- adp8860.h
- adp8870.h
- ads1015.h
- ads7828.h
- ams-delta-fiq.h
- apds990x.h
- arm-ux500-pm.h
- asoc-imx-ssi.h
- asoc-kirkwood.h
- asoc-mx27vis.h
- asoc-palm27x.h
- asoc-s3c.h
- asoc-s3c24xx_simtec.h
- asoc-ti-mcbsp.h
- asoc-ux500-msp.h
- at24.h
- at91_adc.h
- ata-pxa.h
- ata-samsung_cf.h
- atmel.h
- b53.h
- bcmgenet.h
- bd6107.h
- bh1770glc.h
- brcmfmac.h
- clk-da8xx-cfgchip.h
- clk-davinci-pll.h
- clk-integrator.h
- clk-lpss.h
- clk-st.h
- clk-u300.h
- cpuidle-exynos.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/linux/platform_data/mmc-sdhci-s3c.h
Text · 2,278 bytes/* 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 */