38 dbg_print(
"Reading counter value from counter %d of subdevice %d\n", channel, subdev->
id);
41 dbg_print(
" --> calculated offset is 0x%x!\n", offset);
int flink_counter_get_count(flink_subdev *subdev, uint32_t channel, uint32_t *data)
Data structures for flink devices and subdevices.
ssize_t flink_read(flink_subdev *subdev, uint32_t offset, uint8_t size, void *rdata)
Read from a flink subdevice.
int flink_counter_set_mode(flink_subdev *subdev, uint8_t mode)
#define dbg_print(fmt,...)