Lines Matching refs:mask
45 uint32_t mask,
49 NRFY_STATIC_INLINE uint32_t __nrfy_internal_pwm_events_process(NRF_PWM_Type * p_reg, uint32_t mask);
52 uint32_t mask,
111 uint32_t mask, in nrfy_pwm_int_init() argument
115 __nrfy_internal_pwm_event_enabled_clear(p_reg, mask, NRF_PWM_EVENT_LOOPSDONE); in nrfy_pwm_int_init()
116 __nrfy_internal_pwm_event_enabled_clear(p_reg, mask, NRF_PWM_EVENT_SEQEND0); in nrfy_pwm_int_init()
117 __nrfy_internal_pwm_event_enabled_clear(p_reg, mask, NRF_PWM_EVENT_SEQEND1); in nrfy_pwm_int_init()
118 __nrfy_internal_pwm_event_enabled_clear(p_reg, mask, NRF_PWM_EVENT_STOPPED); in nrfy_pwm_int_init()
119 __nrfy_internal_pwm_event_enabled_clear(p_reg, mask, NRF_PWM_EVENT_SEQSTARTED0); in nrfy_pwm_int_init()
120 __nrfy_internal_pwm_event_enabled_clear(p_reg, mask, NRF_PWM_EVENT_SEQSTARTED1); in nrfy_pwm_int_init()
121 __nrfy_internal_pwm_event_enabled_clear(p_reg, mask, NRF_PWM_EVENT_PWMPERIODEND); in nrfy_pwm_int_init()
129 nrf_pwm_int_enable(p_reg, mask); in nrfy_pwm_int_init()
154 NRFY_STATIC_INLINE uint32_t nrfy_pwm_events_process(NRF_PWM_Type * p_reg, uint32_t mask) in nrfy_pwm_events_process() argument
157 uint32_t evt_mask = __nrfy_internal_pwm_events_process(p_reg, mask); in nrfy_pwm_events_process()
250 uint32_t mask) in nrfy_pwm_shorts_enable() argument
252 nrf_pwm_shorts_enable(p_reg, mask); in nrfy_pwm_shorts_enable()
258 uint32_t mask) in nrfy_pwm_shorts_disable() argument
260 nrf_pwm_shorts_disable(p_reg, mask); in nrfy_pwm_shorts_disable()
266 uint32_t mask) in nrfy_pwm_shorts_set() argument
268 nrf_pwm_shorts_set(p_reg, mask); in nrfy_pwm_shorts_set()
274 uint32_t mask) in nrfy_pwm_int_enable() argument
276 nrf_pwm_int_enable(p_reg, mask); in nrfy_pwm_int_enable()
282 uint32_t mask) in nrfy_pwm_int_disable() argument
284 nrf_pwm_int_disable(p_reg, mask); in nrfy_pwm_int_disable()
290 uint32_t mask) in nrfy_pwm_int_set() argument
292 nrf_pwm_int_set(p_reg, mask); in nrfy_pwm_int_set()
297 NRFY_STATIC_INLINE uint32_t nrfy_pwm_int_enable_check(NRF_PWM_Type const * p_reg, uint32_t mask) in nrfy_pwm_int_enable_check() argument
300 uint32_t ret = nrf_pwm_int_enable_check(p_reg, mask); in nrfy_pwm_int_enable_check()
450 uint32_t mask, in __nrfy_internal_pwm_event_handle() argument
454 if ((mask & NRFY_EVENT_TO_INT_BITMASK(event)) && nrf_pwm_event_check(p_reg, event)) in __nrfy_internal_pwm_event_handle()
467 NRFY_STATIC_INLINE uint32_t __nrfy_internal_pwm_events_process(NRF_PWM_Type * p_reg, uint32_t mask) in __nrfy_internal_pwm_events_process() argument
471 (void)__nrfy_internal_pwm_event_handle(p_reg, mask, NRF_PWM_EVENT_SEQEND0, &evt_mask); in __nrfy_internal_pwm_events_process()
472 (void)__nrfy_internal_pwm_event_handle(p_reg, mask, NRF_PWM_EVENT_SEQEND1, &evt_mask); in __nrfy_internal_pwm_events_process()
473 (void)__nrfy_internal_pwm_event_handle(p_reg, mask, NRF_PWM_EVENT_LOOPSDONE, &evt_mask); in __nrfy_internal_pwm_events_process()
474 (void)__nrfy_internal_pwm_event_handle(p_reg, mask, NRF_PWM_EVENT_STOPPED, &evt_mask); in __nrfy_internal_pwm_events_process()
475 (void)__nrfy_internal_pwm_event_handle(p_reg, mask, NRF_PWM_EVENT_SEQSTARTED0, &evt_mask); in __nrfy_internal_pwm_events_process()
476 (void)__nrfy_internal_pwm_event_handle(p_reg, mask, NRF_PWM_EVENT_SEQSTARTED1, &evt_mask); in __nrfy_internal_pwm_events_process()
477 (void)__nrfy_internal_pwm_event_handle(p_reg, mask, NRF_PWM_EVENT_PWMPERIODEND, &evt_mask); in __nrfy_internal_pwm_events_process()
483 uint32_t mask, in __nrfy_internal_pwm_event_enabled_clear() argument
486 if (mask & NRFY_EVENT_TO_INT_BITMASK(event)) in __nrfy_internal_pwm_event_enabled_clear()