File Index
Files and directories
Sign in
FILE

smemc.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/soc/pxa/smemc.h C
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2#ifndef __PXA_REGS_H
 3#define __PXA_REGS_H
 4
 5#include <linux/types.h>
 6
 7void pxa_smemc_set_pcmcia_timing(int sock, u32 mcmem, u32 mcatt, u32 mcio);
 8void pxa_smemc_set_pcmcia_socket(int nr);
 9int pxa2xx_smemc_get_sdram_rows(void);
10unsigned int pxa3xx_smemc_get_memclkdiv(void);
11void __iomem *pxa_smemc_get_mdrefr(void);
12
13/*
14 * Once fully converted to the clock framework, all these functions should be
15 * removed, and replaced with a clk_get(NULL, "core").
16 */
17#ifdef CONFIG_PXA25x
18extern unsigned pxa25x_get_clk_frequency_khz(int);
19#else
20#define pxa25x_get_clk_frequency_khz(x)		(0)
21#endif
22
23#ifdef CONFIG_PXA27x
24extern unsigned pxa27x_get_clk_frequency_khz(int);
25#else
26#define pxa27x_get_clk_frequency_khz(x)		(0)
27#endif
28
29#endif
~/ Read-only file preview.