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 files133
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- include/
- Kconfig
- Makefile
- Makefile.boot
- am200epd.c
- am300epd.c
- balloon3.c
- capc7117.c
- cm-x255.c
- cm-x270.c
- cm-x2xx-pci.c
- cm-x2xx-pci.h
- cm-x2xx.c
- cm-x300.c
- colibri-evalboard.c
- colibri-pxa270-income.c
- colibri-pxa270.c
- colibri-pxa300.c
- colibri-pxa320.c
- colibri-pxa3xx.c
- colibri.h
- corgi.c
- corgi_pm.c
- csb701.c
- csb726.c
- csb726.h
- devices.c
- devices.h
- em-x270.c
- eseries-irq.h
- eseries.c
- ezx.c
- generic.c
- generic.h
- gumstix.c
- gumstix.h
- h5000.c
- h5000.h
- himalaya.c
- hx4700.c
- icontrol.c
- idp.c
- idp.h
- irq.c
- littleton.c
- littleton.h
- lpd270.c
- lpd270.h
- lubbock.c
- magician.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/arm/mach-pxa/pxa2xx.c
C · 1,367 bytes/*
* linux/arch/arm/mach-pxa/pxa2xx.c
*
* code specific to pxa2xx
*
* Copyright (C) 2008 Dmitry Baryshkov
*
* 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.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/io.h>
#include <mach/hardware.h>
#include <mach/pxa2xx-regs.h>
#include "mfp-pxa25x.h"
#include <mach/reset.h>
#include <linux/platform_data/irda-pxaficp.h>
void pxa2xx_clear_reset_status(unsigned int mask)
{
/* RESET_STATUS_* has a 1:1 mapping with RCSR */
RCSR = mask;
}
static unsigned long pxa2xx_mfp_fir[] = {
GPIO46_FICP_RXD,
GPIO47_FICP_TXD,
};
static unsigned long pxa2xx_mfp_sir[] = {
GPIO46_STUART_RXD,
GPIO47_STUART_TXD,
};
static unsigned long pxa2xx_mfp_off[] = {
GPIO46_GPIO | MFP_LPM_DRIVE_LOW,
GPIO47_GPIO | MFP_LPM_DRIVE_LOW,
};
void pxa2xx_transceiver_mode(struct device *dev, int mode)
{
if (mode & IR_OFF) {
pxa2xx_mfp_config(pxa2xx_mfp_off, ARRAY_SIZE(pxa2xx_mfp_off));
} else if (mode & IR_SIRMODE) {
pxa2xx_mfp_config(pxa2xx_mfp_sir, ARRAY_SIZE(pxa2xx_mfp_sir));
} else if (mode & IR_FIRMODE) {
pxa2xx_mfp_config(pxa2xx_mfp_fir, ARRAY_SIZE(pxa2xx_mfp_fir));
} else
BUG();
}
EXPORT_SYMBOL_GPL(pxa2xx_transceiver_mode);