Searched refs:SLICE_ADDR_FROM_MODULE (Results 1 – 2 of 2) sorted by relevance
22 #define SLICE_ADDR_FROM_MODULE(module_ptr, idx) ((uint32_t)(module_ptr) + ((idx) + 1) * 0x100) macro44 slice = (XMC_CCU4_SLICE_t *)SLICE_ADDR_FROM_MODULE(config->ccu4, i); in pwm_xmc4xxx_ccu4_init()67 slice = (XMC_CCU4_SLICE_t *)SLICE_ADDR_FROM_MODULE(config->ccu4, slice_idx); in pwm_xmc4xxx_ccu4_set_cycles()
25 #define SLICE_ADDR_FROM_MODULE(module_ptr, idx) ((uint32_t)(module_ptr) + ((idx) + 1) * 0x100) macro65 slice = (XMC_CCU8_SLICE_t *)SLICE_ADDR_FROM_MODULE(config->ccu8, i); in pwm_xmc4xxx_ccu8_init()105 slice = (XMC_CCU8_SLICE_t *)SLICE_ADDR_FROM_MODULE(config->ccu8, slice_idx); in pwm_xmc4xxx_ccu8_set_cycles()