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