blob: e68da6a43d0b8ed23cbdab38b61851b9fefa2bb6 [file] [log] [blame]
Srikanth Uyyala9e6f4232012-10-12 16:50:12 +05301#ifndef AVTIMER_H
2#define AVTIMER_H
3
4#include <linux/ioctl.h>
5
6#define MAJOR_NUM 100
7
8#define IOCTL_GET_AVTIMER_TICK _IOR(MAJOR_NUM, 0, char *)
9/*
10 * This IOCTL is used read the avtimer tick value.
11 * Avtimer is a 64 bit timer tick, hence the expected
12 * argument is of type uint64_t
13 */
14struct dev_avtimer_data {
15 uint32_t avtimer_msw_phy_addr;
16 uint32_t avtimer_lsw_phy_addr;
17};
18int avcs_core_open(void);
19int avcs_core_disable_power_collapse(int disable);/* true or flase */
20
21#endif