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 files24
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- samsung/
- tegra/
- Kconfig
- Makefile
- Makefile.asm-offsets
- atmel-ebi.c
- atmel-sdramc.c
- brcmstb_dpfe.c
- da8xx-ddrctl.c
- emif-asm-offsets.c
- emif.c
- emif.h
- fsl-corenet-cf.c
- fsl_ifc.c
- jz4780-nemc.c
- mtk-smi.c
- mvebu-devbus.c
- of_memory.c
- of_memory.h
- omap-gpmc.c
- pl172.c
- ti-aemif.c
- ti-emif-pm.c
- ti-emif-sram-pm.S
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/memory/of_memory.h
Text · 1,078 bytes/*
* OpenFirmware helpers for memory drivers
*
* Copyright (C) 2012 Texas Instruments, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef __LINUX_MEMORY_OF_REG_H
#define __LINUX_MEMORY_OF_REG_H
#if defined(CONFIG_OF) && defined(CONFIG_DDR)
extern const struct lpddr2_min_tck *of_get_min_tck(struct device_node *np,
struct device *dev);
extern const struct lpddr2_timings
*of_get_ddr_timings(struct device_node *np_ddr, struct device *dev,
u32 device_type, u32 *nr_frequencies);
#else
static inline const struct lpddr2_min_tck
*of_get_min_tck(struct device_node *np, struct device *dev)
{
return NULL;
}
static inline const struct lpddr2_timings
*of_get_ddr_timings(struct device_node *np_ddr, struct device *dev,
u32 device_type, u32 *nr_frequencies)
{
return NULL;
}
#endif /* CONFIG_OF && CONFIG_DDR */
#endif /* __LINUX_MEMORY_OF_REG_ */