Lines Matching refs:p_cb

73     wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx];  in wdt_configure()  local
74 if (p_cb->wdt_event_handler) in wdt_configure()
89 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_init() local
94 p_cb->wdt_event_handler = wdt_event_handler; in nrfx_wdt_init()
97 if (p_cb->state == NRFX_DRV_STATE_UNINITIALIZED) in nrfx_wdt_init()
99 p_cb->state = NRFX_DRV_STATE_INITIALIZED; in nrfx_wdt_init()
124 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_reconfigure() local
126 if (p_cb->state == NRFX_DRV_STATE_UNINITIALIZED) in nrfx_wdt_reconfigure()
130 if (p_cb->state == NRFX_DRV_STATE_POWERED_ON) in nrfx_wdt_reconfigure()
140 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_enable() local
141 NRFX_ASSERT(p_cb->alloc_index != 0); in nrfx_wdt_enable()
142 NRFX_ASSERT(p_cb->state == NRFX_DRV_STATE_INITIALIZED); in nrfx_wdt_enable()
144 p_cb->state = NRFX_DRV_STATE_POWERED_ON; in nrfx_wdt_enable()
150 wdt_control_block_t const * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_feed() local
151 NRFX_ASSERT(p_cb->state == NRFX_DRV_STATE_POWERED_ON); in nrfx_wdt_feed()
152 for (uint8_t i = 0; i < p_cb->alloc_index; i++) in nrfx_wdt_feed()
161 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_channel_alloc() local
164 NRFX_ASSERT(p_cb->state == NRFX_DRV_STATE_INITIALIZED); in nrfx_wdt_channel_alloc()
167 if (p_cb->alloc_index < NRF_WDT_CHANNEL_NUMBER) in nrfx_wdt_channel_alloc()
169 *p_channel_id = (nrfx_wdt_channel_id)(NRF_WDT_RR0 + p_cb->alloc_index); in nrfx_wdt_channel_alloc()
170 p_cb->alloc_index++; in nrfx_wdt_channel_alloc()
190 static void irq_handler(NRF_WDT_Type * p_reg, wdt_control_block_t * p_cb) in irq_handler() argument
201 p_cb->wdt_event_handler(requests); in irq_handler()