xref: /freebsd/sys/dev/p2sb/lewisburg_gpiocm.h (revision 3706af423ff257540dfe88bcb91fb0ab54e60946)
1 #ifndef __LEWISBURG_GPIOCM_H__
2 #define __LEWISBURG_GPIOCM_H__
3 
4 int lbggpiocm_get_group_npins(device_t dev, device_t child);
5 char lbggpiocm_get_group_name(device_t dev, device_t child);
6 
7 int lbggpiocm_pin_setflags(device_t, device_t, uint32_t, uint32_t);
8 int lbggpiocm_pin_get(device_t, device_t, uint32_t, uint32_t *);
9 int lbggpiocm_pin_set(device_t, device_t, uint32_t, uint32_t);
10 int lbggpiocm_pin_toggle(device_t, device_t, uint32_t);
11 
12 #endif /* __LEWISBURG_GPIOCM_H__ */
13