Lines Matching refs:i
21 int i = ( (int)p - (int)&NRF_CLKPWR_regs[0] ) / sizeof(union NRF_CLKPWR_Type); in clock_number_from_ptr() local
22 return i; in clock_number_from_ptr()
29 int i = clock_number_from_ptr(p_reg); in nrf_clock_int_enable() local
30 nhw_CLOCK_regw_sideeffects_INTENSET(i); in nrf_clock_int_enable()
37 int i = clock_number_from_ptr(p_reg); in nrf_clock_int_disable() local
38 nhw_CLOCK_regw_sideeffects_INTENCLR(i); in nrf_clock_int_disable()
45 int i = clock_number_from_ptr(p_reg); in nrf_clock_task_trigger() local
48 case NRF_CLOCK_TASK_##TASKN: nhw_CLOCK_regw_sideeffects_TASKS_##TASKN(i); break; in nrf_clock_task_trigger()
52 case NRF_CLOCK_TASK_HFCLKSTART: nhw_CLOCK_regw_sideeffects_TASKS_XOSTART(i); break; in nrf_clock_task_trigger()
53 case NRF_CLOCK_TASK_HFCLKSTOP : nhw_CLOCK_regw_sideeffects_TASKS_XOSTOP(i); break; in nrf_clock_task_trigger()
91 int i = clock_number_from_ptr(p_reg); in nrf_clock_event_clear() local
92 nhw_pwrclk_regw_sideeffects_EVENTS_all(i); in nrf_clock_event_clear()
100 int i = clock_number_from_ptr(p_reg); in nrf_clock_subscribe_common() local
103 case NRF_CLOCK_TASK_##TASKN: nhw_CLOCK_regw_sideeffects_SUBSCRIBE_##TASKN(i); break; in nrf_clock_subscribe_common()
107 case NRF_CLOCK_TASK_HFCLKSTART: nhw_CLOCK_regw_sideeffects_SUBSCRIBE_XOSTART(i); break; in nrf_clock_subscribe_common()
108 case NRF_CLOCK_TASK_HFCLKSTOP: nhw_CLOCK_regw_sideeffects_SUBSCRIBE_XOSTOP(i); break; in nrf_clock_subscribe_common()