treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / pic32 / pic32mzda / pic32mzda.h
blobb7a93d8fe12e73d410ee3d1cc69cdf6984fcaf99
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Joshua Henderson <joshua.henderson@microchip.com>
4 * Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
5 */
6 #ifndef PIC32MZDA_COMMON_H
7 #define PIC32MZDA_COMMON_H
9 /* early clock */
10 u32 pic32_get_pbclk(int bus);
11 u32 pic32_get_sysclk(void);
13 /* Device configuration */
14 void __init pic32_config_init(void);
15 int pic32_set_lcd_mode(int mode);
16 int pic32_set_sdhci_adma_fifo_threshold(u32 rthrs, u32 wthrs);
17 u32 pic32_get_boot_status(void);
18 int pic32_disable_lcd(void);
19 int pic32_enable_lcd(void);
21 #endif