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-s3cmci.h
Text · 2,084 bytes/* SPDX-License-Identifier: GPL-2.0 */
#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 */