pic32mzda.h (9938b04472d5c59f8bd8152a548533a8599596a2) pic32mzda.h (04dc82e1160ebd9ef0de90874cce1b5a0554deaa)
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*
2 * Joshua Henderson <joshua.henderson@microchip.com>
3 * Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
2/*
3 * Joshua Henderson <joshua.henderson@microchip.com>
4 * Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
4 *
5 * This program is free software; you can distribute it and/or modify it
6 * under the terms of the GNU General Public License (Version 2) as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
13 */
14#ifndef PIC32MZDA_COMMON_H
15#define PIC32MZDA_COMMON_H
16
17/* early clock */
18u32 pic32_get_pbclk(int bus);
19u32 pic32_get_sysclk(void);
20
21/* Device configuration */
22void __init pic32_config_init(void);
23int pic32_set_lcd_mode(int mode);
24int pic32_set_sdhci_adma_fifo_threshold(u32 rthrs, u32 wthrs);
25u32 pic32_get_boot_status(void);
26int pic32_disable_lcd(void);
27int pic32_enable_lcd(void);
28
29#endif
5 */
6#ifndef PIC32MZDA_COMMON_H
7#define PIC32MZDA_COMMON_H
8
9/* early clock */
10u32 pic32_get_pbclk(int bus);
11u32 pic32_get_sysclk(void);
12
13/* Device configuration */
14void __init pic32_config_init(void);
15int pic32_set_lcd_mode(int mode);
16int pic32_set_sdhci_adma_fifo_threshold(u32 rthrs, u32 wthrs);
17u32 pic32_get_boot_status(void);
18int pic32_disable_lcd(void);
19int pic32_enable_lcd(void);
20
21#endif