1 /*****************************************************************************
3 (c) Cambridge Silicon Radio Limited 2010
4 All rights reserved and confidential information of CSR
6 Refer to LICENSE.txt included with this source for details
9 *****************************************************************************/
11 #include <linux/kernel.h>
12 #include <linux/time.h>
13 #include <linux/module.h>
17 u32
CsrTimeGet(u32
*high
)
23 ts
= current_kernel_time();
24 time
= (u64
) ts
.tv_sec
* 1000000 + ts
.tv_nsec
/ 1000;
27 *high
= (u32
) ((time
>> 32) & 0xFFFFFFFF);
29 low
= (u32
) (time
& 0xFFFFFFFF);
33 EXPORT_SYMBOL_GPL(CsrTimeGet
);
This page took 0.087175 seconds and 5 git commands to generate.