Ivan Grokhotkov
faaf59ccb3
soc: define missing M, V macros for nrx, bb, fe, emac, iomux
Recipe:
- Add _M and _V for single-bit fields
Search: (#define (\w+)\s*(\(BIT\(\d+\)\)))
Replace: \1\n#define \2_M \3\n#define \2_V 1
- Add _M and _V for multi-bit fields
Search: (#define (\w+)\s*(0x[\dA-Fa-f]+))
Replace: \1\n#define \2_M (\2_V << \2_S)\n#define \2_V \3
2017-04-18 17:34:26 +08:00
..
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-18 17:34:26 +08:00
2017-04-11 15:45:54 +08:00
2017-04-11 14:06:40 +08:00
2017-04-13 15:27:38 +08:00
2017-04-11 14:06:40 +08:00
2017-04-18 17:34:26 +08:00
2017-04-18 17:34:26 +08:00
2017-04-18 17:34:26 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 15:44:22 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-18 17:34:26 +08:00
2017-04-11 15:44:22 +08:00
2017-04-11 14:06:40 +08:00
2017-04-18 17:34:26 +08:00
2017-04-11 15:44:22 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 15:44:22 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 15:45:54 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 15:45:54 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 15:45:54 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-13 15:27:38 +08:00
2017-04-11 15:44:22 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 15:44:22 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00
2017-04-11 14:06:40 +08:00