Server IP : 15.235.198.142 / Your IP : 216.73.216.119 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/src/linux-headers-6.8.0-45/include/linux/soc/nxp/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Author: Kevin Wells <kevin.wells@nxp.com> * * Copyright (C) 2010 NXP Semiconductors */ #ifndef __SOC_LPC32XX_MISC_H #define __SOC_LPC32XX_MISC_H #include <linux/types.h> #include <linux/phy.h> #ifdef CONFIG_ARCH_LPC32XX extern u32 lpc32xx_return_iram(void __iomem **mapbase, dma_addr_t *dmaaddr); extern void lpc32xx_set_phy_interface_mode(phy_interface_t mode); extern void lpc32xx_loopback_set(resource_size_t mapbase, int state); #else static inline u32 lpc32xx_return_iram(void __iomem **mapbase, dma_addr_t *dmaaddr) { *mapbase = NULL; *dmaaddr = 0; return 0; } static inline void lpc32xx_set_phy_interface_mode(phy_interface_t mode) { } static inline void lpc32xx_loopback_set(resource_size_t mapbase, int state) { } #endif #endif /* __SOC_LPC32XX_MISC_H */