Searched refs:GET_GROUP_BITS (Results 1 – 2 of 2) sorted by relevance
| /Zephyr-latest/tests/drivers/input/tsc_keys/src/ |
| D | test_stm32_tsc.c | 143 #define GET_GROUP_BITS(val) (uint32_t)(((val) & 0x0f) << ((group - 1) * 4)) in ZTEST() macro 153 zassert_equal((*tsc_iohcr & GET_GROUP_BITS(channel_ios | sampling_io)), 0, \ in ZTEST() 155 (*tsc_iohcr & GET_GROUP_BITS(channel_ios | sampling_io))); \ in ZTEST() 159 (*tsc_ioccr & GET_GROUP_BITS(channel_ios)), GET_GROUP_BITS(channel_ios), \ in ZTEST() 161 GET_GROUP_BITS(channel_ios), (*tsc_ioccr & GET_GROUP_BITS(channel_ios))); \ in ZTEST() 165 (*tsc_ioscr & GET_GROUP_BITS(sampling_io)), GET_GROUP_BITS(sampling_io), \ in ZTEST() 167 GET_GROUP_BITS(sampling_io), (*tsc_ioscr & GET_GROUP_BITS(sampling_io))); \ in ZTEST()
|
| /Zephyr-latest/drivers/input/ |
| D | input_tsc_keys.c | 27 #define GET_GROUP_BITS(val, group) (uint32_t)(((val) & 0x0f) << ((group - 1) * 4)) macro 265 GET_GROUP_BITS(group->channel_ios | group->sampling_io, group->group)); in stm32_tsc_init() 269 GET_GROUP_BITS(group->channel_ios, group->group)); in stm32_tsc_init() 273 GET_GROUP_BITS(group->sampling_io, group->group)); in stm32_tsc_init()
|