1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 3 * Copyright 2008 Openmoko, Inc. 4 * Copyright 2008 Simtec Electronics 5 * http://armlinux.simtec.co.uk/ 6 * Ben Dooks <ben@simtec.co.uk> 7 * 8 * Samsung Platform - GPIO pin configuration h 9 */ 10 11 /* This is meant for core cpu support, machine 12 * should not be including this header. 13 */ 14 15 #ifndef __PLAT_GPIO_CFG_HELPERS_H 16 #define __PLAT_GPIO_CFG_HELPERS_H __FILE__ 17 18 /* As a note, all gpio configuration functions 19 * with the relevant lock held or the system p 20 * by disabling interrupts. 21 */ 22 23 static inline int samsung_gpio_do_setcfg(struc 24 unsig 25 { 26 return (chip->config->set_config)(chip 27 } 28 29 static inline int samsung_gpio_do_setpull(stru 30 unsi 31 { 32 return (chip->config->set_pull)(chip, 33 } 34 35 #endif /* __PLAT_GPIO_CFG_HELPERS_H */ 36
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.