1 #ifndef __TAPI_DEVICE_H__
2 #define __TAPI_DEVICE_H__
7 struct tapi_port *ports;
12 unsigned int num_ports;
17 int tapi_device_open(unsigned int id, struct tapi_device *dev);
19 int tapi_link_alloc(struct tapi_device *dev, unsigned int ep1, unsigned int ep2);
20 int tapi_link_free(struct tapi_device *dev, unsigned int link);
21 int tapi_link_enable(struct tapi_device *dev, unsigned int link);
22 int tapi_link_disable(struct tapi_device *dev, unsigned int link);
23 int tapi_sync(struct tapi_device *dev);