![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * w1-gpio interface to platform code 0004 * 0005 * Copyright (C) 2007 Ville Syrjala <syrjala@sci.fi> 0006 */ 0007 #ifndef _LINUX_W1_GPIO_H 0008 #define _LINUX_W1_GPIO_H 0009 0010 struct gpio_desc; 0011 0012 /** 0013 * struct w1_gpio_platform_data - Platform-dependent data for w1-gpio 0014 */ 0015 struct w1_gpio_platform_data { 0016 struct gpio_desc *gpiod; 0017 struct gpio_desc *pullup_gpiod; 0018 void (*enable_external_pullup)(int enable); 0019 unsigned int pullup_duration; 0020 }; 0021 0022 #endif /* _LINUX_W1_GPIO_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |