Searched refs:TO_SYNCREG (Results 1 – 2 of 2) sorted by relevance
535 #define TO_SYNCREG(period, offset) (((period) & 0x0f) << 4 | ((offset) & 0x0f)) macro
2392 target->syncreg = TO_SYNCREG(period, ASYNC_OFFSET); in nsp32_set_async()2415 target->syncreg = TO_SYNCREG(period_num, *offset); in nsp32_set_max_sync()2436 target->syncreg = TO_SYNCREG(period, offset); in nsp32_set_sync_entry()