Home
last modified time | relevance | path

Searched refs:p (Results 1 – 9 of 9) sorted by relevance

/nrf_hw_models-latest/src/HW_models/
DNRF_GPIO.c140 for (int p = 0; p < NHW_GPIO_TOTAL_INST; p ++) { in nrf_gpio_init() local
141 for (int n = 0; n < GPIO_n_ports_pins[p]; n++) { in nrf_gpio_init()
142 NRF_GPIO_regs[p].PIN_CNF[n] = 0x2; /* Disconnected out of reset */ in nrf_gpio_init()
144 gpio_st[p].INPUT_mask = UINT32_MAX; /* All disconnected out of reset */ in nrf_gpio_init()
145 gpio_st[p].nbr_pins = GPIO_n_ports_pins[p]; in nrf_gpio_init()
146 gpio_st[p].partner_GPIOTE = GPIOTE_partners[p]; in nrf_gpio_init()
147 gpio_st[p].has_sense = has_sense[p]; in nrf_gpio_init()
DNRF_HWLowL.c106 int hwll_connect_to_phy(uint d, const char* s, const char* p){ in hwll_connect_to_phy() argument
108 return p2G4_dev_initcom_nc(d, s, p); in hwll_connect_to_phy()
DNRF_HWLowL.h19 int hwll_connect_to_phy(unsigned int d, const char* s, const char* p);
DNHW_UART.c409 uint8_t *p = (uint8_t *)(u_el->RXD_PTR + u_el->RXD_AMOUNT); in nhw_UARTE_Rx_DMA_attempt() local
413 *p++ = value; in nhw_UARTE_Rx_DMA_attempt()
/nrf_hw_models-latest/src/nrfx/hal/
Dnrf_54_aar.c15 union NRF_AARCCM_regs *p = (union NRF_AARCCM_regs *)p_reg; in aar_inst_from_ptr() local
17 int i = ( (int)p - (int)NRF_AARCCM_regs ) / sizeof(union NRF_AARCCM_Type); in aar_inst_from_ptr()
Dnrf_54_ccm.c14 union NRF_AARCCM_regs *p = (union NRF_AARCCM_regs *)p_reg; in ccm_inst_from_ptr() local
16 int i = ( (int)p - (int)NRF_AARCCM_regs ) / sizeof(union NRF_AARCCM_Type); in ccm_inst_from_ptr()
Dnrf_clock.c19 union NRF_CLKPWR_Type *p = (union NRF_CLKPWR_Type *)p_reg; in clock_number_from_ptr() local
21 int i = ( (int)p - (int)&NRF_CLKPWR_regs[0] ) / sizeof(union NRF_CLKPWR_Type); in clock_number_from_ptr()
Dnrf_hack.c74 #define IS_PERIPHERAL_REG(p, per, nbr, post) \ argument
75 (p >= PERIPHERAL_REG_BASE(per, nbr, post)) && \
76 ((uintptr_t)p < (uintptr_t)PERIPHERAL_REG_BASE(per, nbr, post) + sizeof(NRF_##per##_Type))
/nrf_hw_models-latest/src/nrfx/drivers/
Dnrfx_common.c15 #define IS_PERIPHERAL_REG(p, per, nbr, post) \ argument
16 (p >= PERIPHERAL_REG_BASE(per, nbr, post)) && \
17 ((uintptr_t)p < (uintptr_t)PERIPHERAL_REG_BASE(per, nbr, post) + sizeof(NRF_##per##_Type))