![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * DaVinci GPIO Platform Related Defines 0004 * 0005 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 0006 */ 0007 0008 #ifndef __DAVINCI_GPIO_PLATFORM_H 0009 #define __DAVINCI_GPIO_PLATFORM_H 0010 0011 struct davinci_gpio_platform_data { 0012 bool no_auto_base; 0013 u32 base; 0014 u32 ngpio; 0015 u32 gpio_unbanked; 0016 }; 0017 0018 /* Convert GPIO signal to GPIO pin number */ 0019 #define GPIO_TO_PIN(bank, gpio) (16 * (bank) + (gpio)) 0020 0021 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |