summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/uda134x.h
blob: e41ab38c6f69bfbebcb1ce24e145e2f6020c2dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _UDA134X_CODEC_H
#define _UDA134X_CODEC_H

#define UDA134X_L3ADDR	5
#define UDA134X_DATA0_ADDR	((UDA134X_L3ADDR << 2) | 0)
#define UDA134X_DATA1_ADDR	((UDA134X_L3ADDR << 2) | 1)
#define UDA134X_STATUS_ADDR	((UDA134X_L3ADDR << 2) | 2)

#define UDA134X_EXTADDR_PREFIX	0xC0
#define UDA134X_EXTDATA_PREFIX	0xE0

/* UDA134X registers */
#define UDA134X_EA000	0
#define UDA134X_EA001	1
#define UDA134X_EA010	2
#define UDA134X_EA011	3
#define UDA134X_EA100	4
#define UDA134X_EA101	5
#define UDA134X_EA110	6
#define UDA134X_EA111	7
#define UDA134X_STATUS0 8
#define UDA134X_STATUS1 9
#define UDA134X_DATA000 10
#define UDA134X_DATA001 11
#define UDA134X_DATA010 12
#define UDA134X_DATA011 13
#define UDA134X_DATA1   14

#define STATUS0_DAIFMT_MASK (~(7<<1))
#define STATUS0_SYSCLK_MASK (~(3<<4))

#endif
27fb0b1f124f807'>3ddc76dfc786cc6f87852693227fb0b1f124f807 (patch) tree8192b4721e05cf6823087f9696db8c0c8f144b02 /include/trace/events/thermal.h parentb272f732f888d4cf43c943a40c9aaa836f9b7431 (diff)parent1f3a8e49d8f28f498b8694464623ac20aebfe62a (diff)
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer type cleanups from Thomas Gleixner: "This series does a tree wide cleanup of types related to timers/timekeeping. - Get rid of cycles_t and use a plain u64. The type is not really helpful and caused more confusion than clarity - Get rid of the ktime union. The union has become useless as we use the scalar nanoseconds storage unconditionally now. The 32bit timespec alike storage got removed due to the Y2038 limitations some time ago. That leaves the odd union access around for no reason. Clean it up. Both changes have been done with coccinelle and a small amount of manual mopping up" * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: ktime: Get rid of ktime_equal() ktime: Cleanup ktime_set() usage ktime: Get rid of the union clocksource: Use a plain u64 instead of cycle_t
Diffstat (limited to 'include/trace/events/thermal.h')