18 #ifndef _RTDM_GPIO_CORE_H 19 #define _RTDM_GPIO_CORE_H 21 #include <linux/list.h> 23 #include <rtdm/uapi/gpio.h> 28 struct rtdm_gpio_chip {
31 struct class *devclass;
32 struct list_head pins;
33 struct list_head next;
37 int rtdm_gpiochip_add(
struct rtdm_gpio_chip *rgc,
41 void rtdm_gpiochip_remove(
struct rtdm_gpio_chip *rgc);
43 int rtdm_gpiochip_add_by_name(
struct rtdm_gpio_chip *rgc,
44 const char *label,
int gpio_subclass);
48 int rtdm_gpiochip_scan_of(
struct device_node *from,
49 const char *compat,
int type);
51 void rtdm_gpiochip_remove_of(
int type);
53 extern struct list_head rtdm_gpio_chips;
ipipe_spinlock_t rtdm_lock_t
Lock variable.
Definition: driver.h:551
Real-Time Driver Model for Xenomai, driver API header.
RTDM driver.
Definition: driver.h:249