summaryrefslogtreecommitdiff
path: root/drivers/video/b2r2/b2r2_timing.h
blob: e87113c0ec9087997b2c4c33238e06a56ae584fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (C) ST-Ericsson SA 2010
 *
 * ST-Ericsson B2R2 timing
 *
 * Author: Johan Mossberg <johan.xx.mossberg@stericsson.com>
 * for ST-Ericsson.
 *
 * License terms: GNU General Public License (GPL), version 2.
 */

#ifndef _LINUX_DRIVERS_VIDEO_B2R2_TIMING_H_
#define _LINUX_DRIVERS_VIDEO_B2R2_TIMING_H_

/**
 * b2r2_get_curr_nsec() - Return the current nanosecond. Notice that the value
 *                        wraps when the u32 limit is reached.
 *
 */
u32 b2r2_get_curr_nsec(void);

#endif /* _LINUX_DRIVERS_VIDEO_B2R2_TIMING_H_ */