Lines Matching refs:inst
57 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_task_trigger() local
59 if ((reg >= &NRF_GPIOTE_regs[inst].TASKS_OUT[0]) in nrf_gpiote_task_trigger()
60 && (reg<= &NRF_GPIOTE_regs[inst].TASKS_OUT[NHW_GPIOTE_MAX_CHANNELS])) { in nrf_gpiote_task_trigger()
61 nrf_gpiote_regw_sideeffects_TASKS_OUT(inst, reg - &NRF_GPIOTE_regs[inst].TASKS_OUT[0]); in nrf_gpiote_task_trigger()
62 } else if ((reg >= &NRF_GPIOTE_regs[inst].TASKS_SET[0]) in nrf_gpiote_task_trigger()
63 && (reg<= &NRF_GPIOTE_regs[inst].TASKS_SET[NHW_GPIOTE_MAX_CHANNELS])) { in nrf_gpiote_task_trigger()
64 nrf_gpiote_regw_sideeffects_TASKS_SET(inst, reg - &NRF_GPIOTE_regs[inst].TASKS_SET[0]); in nrf_gpiote_task_trigger()
65 } else if ((reg >= &NRF_GPIOTE_regs[inst].TASKS_CLR[0]) in nrf_gpiote_task_trigger()
66 && (reg<= &NRF_GPIOTE_regs[inst].TASKS_CLR[NHW_GPIOTE_MAX_CHANNELS])) { in nrf_gpiote_task_trigger()
67 nrf_gpiote_regw_sideeffects_TASKS_CLR(inst, reg - &NRF_GPIOTE_regs[inst].TASKS_CLR[0]); in nrf_gpiote_task_trigger()
78 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_event_clear() local
80 if ((reg >= &NRF_GPIOTE_regs[inst].EVENTS_IN[0]) in nrf_gpiote_event_clear()
81 && (reg <= &NRF_GPIOTE_regs[inst].EVENTS_IN[NHW_GPIOTE_MAX_CHANNELS])) { in nrf_gpiote_event_clear()
82 nrf_gpiote_regw_sideeffects_EVENTS_IN(inst, reg - &NRF_GPIOTE_regs[inst].EVENTS_IN[0]); in nrf_gpiote_event_clear()
84 } else if (reg == &NRF_GPIOTE_regs[inst].EVENTS_PORT) { in nrf_gpiote_event_clear()
85 nrf_gpiote_regw_sideeffects_EVENTS_PORT(inst); in nrf_gpiote_event_clear()
87 } else if ((reg == &NRF_GPIOTE_regs[inst].EVENTS_PORT[0].NONSECURE) in nrf_gpiote_event_clear()
88 || (reg == &NRF_GPIOTE_regs[inst].EVENTS_PORT[0].SECURE)) { in nrf_gpiote_event_clear()
89 nrf_gpiote_regw_sideeffects_EVENTS_PORT(inst); in nrf_gpiote_event_clear()
104 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_int_enable() local
106 nrf_gpiote_regw_sideeffects_INTENSET(inst, DEFAULT_IRQ_LINE); in nrf_gpiote_int_enable()
112 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_int_disable() local
114 nrf_gpiote_regw_sideeffects_INTENCLR(inst, DEFAULT_IRQ_LINE); in nrf_gpiote_int_disable()
119 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_event_enable() local
121 nrf_gpiote_regw_sideeffects_CONFIG(inst, idx); in nrf_gpiote_event_enable()
126 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_event_disable() local
128 nrf_gpiote_regw_sideeffects_CONFIG(inst, idx); in nrf_gpiote_event_disable()
173 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_int_group_enable() local
174 nrf_gpiote_regw_sideeffects_INTENSET(inst, group_idx); in nrf_gpiote_int_group_enable()
218 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_int_group_disable() local
219 nrf_gpiote_regw_sideeffects_INTENCLR(inst, group_idx); in nrf_gpiote_int_group_disable()
228 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_event_configure() local
232 nrf_gpiote_regw_sideeffects_CONFIG(inst, idx); in nrf_gpiote_event_configure()
237 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_task_enable() local
240 nrf_gpiote_regw_sideeffects_CONFIG(inst, idx); in nrf_gpiote_task_enable()
245 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_task_disable() local
247 nrf_gpiote_regw_sideeffects_CONFIG(inst, idx); in nrf_gpiote_task_disable()
256 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_task_configure() local
265 nrf_gpiote_regw_sideeffects_CONFIG(inst, idx); in nrf_gpiote_task_configure()
272 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_task_force() local
275 nrf_gpiote_regw_sideeffects_CONFIG(inst, idx); in nrf_gpiote_task_force()
280 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_te_default() local
285 nrf_gpiote_regw_sideeffects_CONFIG(inst, idx); in nrf_gpiote_te_default()
292 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_subscribe_common() local
297 nhw_gpiote_regw_sideeffects_SUBSCRIBE_OUT(inst, task_nbr); in nrf_gpiote_subscribe_common()
300 nhw_gpiote_regw_sideeffects_SUBSCRIBE_SET(inst, task_nbr ); in nrf_gpiote_subscribe_common()
303 nhw_gpiote_regw_sideeffects_SUBSCRIBE_CLR(inst, task_nbr); in nrf_gpiote_subscribe_common()