Home
last modified time | relevance | path

Searched refs:p_reg (Results 1 – 22 of 22) sorted by relevance

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf5_ppi_gpiote.h16 (uint32_t)&(gpiote_palna.p_reg->TASKS_OUT[gpiote_ch_palna])); in hal_palna_ppi_setup()
21 (uint32_t)&(gpiote_palna.p_reg->TASKS_OUT[gpiote_ch_palna])); in hal_palna_ppi_setup()
43 (uint32_t)&(gpiote_pdn.p_reg->TASKS_OUT[gpiote_ch_pdn])); in hal_fem_ppi_setup()
48 (uint32_t)&(gpiote_pdn.p_reg->TASKS_OUT[gpiote_ch_pdn])); in hal_fem_ppi_setup()
Dradio_nrf5_dppi_gpiote.h21 nrf_gpiote_subscribe_set(gpiote_palna.p_reg, task, HAL_DISABLE_PALNA_PPI); in hal_palna_ppi_setup()
47 hal_gpiote_tasks_setup(gpiote_palna.p_reg, gpiote_ch_palna, in hal_pa_ppi_setup()
54 hal_gpiote_tasks_setup(gpiote_palna.p_reg, gpiote_ch_palna, in hal_lna_ppi_setup()
66 hal_gpiote_tasks_setup(gpiote_pdn.p_reg, gpiote_ch_pdn, in hal_fem_ppi_setup()
Dradio.c1893 gpiote_palna.p_reg->CONFIG[gpiote_ch_palna] = in radio_gpio_pa_setup()
1913 gpiote_palna.p_reg->CONFIG[gpiote_ch_palna] = in radio_gpio_lna_setup()
1933 gpiote_pdn.p_reg->CONFIG[gpiote_ch_pdn] = in radio_gpio_pdn_setup()
1987 gpiote_palna.p_reg->CONFIG[gpiote_ch_palna] = 0; in radio_gpio_pa_lna_disable()
1988 gpiote_pdn.p_reg->CONFIG[gpiote_ch_pdn] = 0; in radio_gpio_pa_lna_disable()
1992 gpiote_palna.p_reg->CONFIG[gpiote_ch_palna] = 0; in radio_gpio_pa_lna_disable()
/Zephyr-latest/drivers/gpio/
Dgpio_rzt2m.c175 volatile uint8_t *p_reg = rzt2m_gpio_get_p_reg(dev); in rzt2m_port_set_masked_raw() local
176 *p_reg = (*p_reg & ~mask) | (value & mask); in rzt2m_port_set_masked_raw()
187 volatile uint8_t *p_reg = rzt2m_gpio_get_p_reg(dev); in rzt2m_port_set_bits_raw() local
188 *p_reg |= pins; in rzt2m_port_set_bits_raw()
199 volatile uint8_t *p_reg = rzt2m_gpio_get_p_reg(dev); in rzt2m_port_clear_bits_raw() local
200 *p_reg &= ~pins; in rzt2m_port_clear_bits_raw()
211 volatile uint8_t *p_reg = rzt2m_gpio_get_p_reg(dev); in rzt2m_gpio_toggle() local
212 *p_reg ^= pins; in rzt2m_gpio_toggle()
Dgpio_nrfx.c51 return cfg->gpiote.p_reg != NULL; in has_gpiote()
531 ({ .p_reg = NULL }))
/Zephyr-latest/drivers/counter/
Dcounter_renesas_ra_agt.c64 static uint32_t r_agt_clock_frequency_get(agt_reg_ctrl_t *p_reg);
65 static fsp_err_t r_agt_common_preamble(agt_reg_ctrl_t *p_reg);
282 agt_reg_ctrl_t *p_reg = r_agt_reg_ctrl_get(dev); in counter_ra_agt_get_freq() local
284 r_agt_common_preamble(p_reg); in counter_ra_agt_get_freq()
288 info.clock_frequency = r_agt_clock_frequency_get(p_reg); in counter_ra_agt_get_freq()
467 static uint32_t r_agt_clock_frequency_get(agt_reg_ctrl_t *p_reg) in r_agt_clock_frequency_get() argument
470 uint8_t count_source_int = p_reg->AGTMR1_b.TCK; in r_agt_clock_frequency_get()
492 divider = (timer_source_div_t)p_reg->AGTMR2_b.CKS; in r_agt_clock_frequency_get()
500 static fsp_err_t r_agt_common_preamble(agt_reg_ctrl_t *p_reg) in r_agt_common_preamble() argument
505 uint32_t agtcr_tstart = p_reg->AGTCR_b.TSTART; in r_agt_common_preamble()
[all …]
/Zephyr-latest/drivers/sdhc/
Dsdhc_renesas_ra.c226 p_csd_reg.reg.sdrsp10 = priv->sdmmc_ctrl.p_reg->SD_RSP10; in sdhc_ra_request()
227 p_csd_reg.reg.sdrsp32 = priv->sdmmc_ctrl.p_reg->SD_RSP32; in sdhc_ra_request()
228 p_csd_reg.reg.sdrsp54 = priv->sdmmc_ctrl.p_reg->SD_RSP54; in sdhc_ra_request()
229 p_csd_reg.reg.sdrsp76 = priv->sdmmc_ctrl.p_reg->SD_RSP76; in sdhc_ra_request()
290 response.status = priv->sdmmc_ctrl.p_reg->SD_RSP10; in sdhc_ra_request()
400 p_csd_reg.reg.sdrsp10 = (uint32_t)priv->sdmmc_ctrl.p_reg->SD_RSP10 << 8; in sdhc_ra_request()
401 p_csd_reg.reg.sdrsp32 = (uint32_t)priv->sdmmc_ctrl.p_reg->SD_RSP32 << 8; in sdhc_ra_request()
402 p_csd_reg.reg.sdrsp54 = (uint32_t)priv->sdmmc_ctrl.p_reg->SD_RSP54 << 8; in sdhc_ra_request()
403 p_csd_reg.reg.sdrsp76 = (uint32_t)priv->sdmmc_ctrl.p_reg->SD_RSP76 << 8; in sdhc_ra_request()
408 p_csd_reg.reg.sdrsp10 = (uint32_t)priv->sdmmc_ctrl.p_reg->SD_RSP10; in sdhc_ra_request()
[all …]
/Zephyr-latest/drivers/serial/
Duart_renesas_rz_scif.c29 R_SCIFA0_Type *reg = data->fsp_ctrl->p_reg; in uart_rz_scif_poll_in()
43 R_SCIFA0_Type *reg = data->fsp_ctrl->p_reg; in uart_rz_scif_poll_out()
57 R_SCIFA0_Type *reg = data->fsp_ctrl->p_reg; in uart_rz_scif_err_check()
182 R_SCIFA0_Type *reg = data->fsp_ctrl->p_reg; in uart_rz_scif_configure()
230 R_SCIFA0_Type *reg = data->fsp_ctrl->p_reg; in uart_rz_scif_init()
Duart_nrfx_uarte2.c702 if (baudrate_set(nrfx_dev->p_reg, cfg->baudrate) != 0) { in uarte_nrfx_configure()
706 nrfy_uarte_configure(nrfx_dev->p_reg, &uarte_cfg); in uarte_nrfx_configure()
840 ((struct pinctrl_dev_config *)cfg->pcfg)->reg = (uintptr_t)nrfx_dev->p_reg; in uarte_nrfx_init()
849 err = endtx_stoptx_ppi_init(nrfx_dev->p_reg); in uarte_nrfx_init()
Duart_nrfx_uarte.c760 NRF_TIMER_BASE_FREQUENCY_GET(cfg->timer.p_reg)); in uarte_nrfx_rx_counting_init()
/Zephyr-latest/drivers/spi/
Dspi_nrfx_spim.c148 void *reg = dev_config->spim.p_reg; in finalize_spi_transaction()
281 nrfy_gpio_pin_write(nrfy_spim_sck_pin_get(dev_config->spim.p_reg), in configure()
322 NRF_SPIM_Type *spim = dev_config->spim.p_reg; in anomaly_58_workaround_setup()
325 uint32_t eep = (uint32_t)&gpiote.p_reg->EVENTS_IN[gpiote_ch]; in anomaly_58_workaround_setup()
331 nrf_gpiote_event_configure(gpiote.p_reg, gpiote_ch, spim->PSEL.SCK, in anomaly_58_workaround_setup()
333 nrf_gpiote_event_enable(gpiote.p_reg, gpiote_ch); in anomaly_58_workaround_setup()
352 nrf_gpiote_task_disable(gpiote.p_reg, gpiote_ch); in anomaly_58_workaround_clear()
420 !nrf_dma_accessible_check(&dev_config->spim.p_reg, tx_buf)) { in transfer_next_chunk()
436 !nrf_dma_accessible_check(&dev_config->spim.p_reg, rx_buf)) { in transfer_next_chunk()
530 void *reg = dev_config->spim.p_reg; in transceive()
[all …]
Dspi_nrfx_spis.c107 nrf_spis_configure(dev_config->spis.p_reg, in configure()
194 nrf_spis_enable(dev_config->spis.p_reg); in transceive()
224 nrf_spis_disable(dev_config->spis.p_reg); in transceive()
344 nrf_spis_disable(dev_config->spis.p_reg); in spi_nrfx_init()
378 .p_reg = (NRF_SPIS_Type *)DT_REG_ADDR(SPIS(idx)), \
Dspi_nrfx_common.c61 while (!nrf_gpiote_event_check(gpiote->p_reg, trigger_event)) { in spi_nrfx_wake_request()
Dspi_nrfx_spi.c138 nrf_gpio_pin_write(nrf_spi_sck_pin_get(dev_config->spi.p_reg), in configure()
440 .p_reg = (NRF_SPI_Type *)DT_REG_ADDR(SPI(idx)), \
/Zephyr-latest/samples/boards/nordic/nrfx_prs/src/
Dmain.c138 nrfy_uarte_int_init(uarte.p_reg, 0xFFFFFFFF, 0, false); in switch_to_spim()
158 nrfy_gpio_pin_write(nrfy_spim_sck_pin_get(spim.p_reg), in switch_to_spim()
226 nrfy_spim_int_init(spim.p_reg, 0xFFFFFFFF, 0, false); in switch_to_uarte()
/Zephyr-latest/modules/nrf_wifi/bus/
Dqspi_if.c311 NRF_QSPI_Type *p_reg = NRF_QSPI; in _nrfx_qspi_init() local
316 p_reg->IFTIMING |= qspi_cfg->RDC4IO; in _nrfx_qspi_init()
1218 NRF_QSPI_Type *p_reg = NRF_QSPI; in qspi_update_nonce() local
1225 p_reg->DMA_ENC.NONCE2 = ++nonce_cnt; in qspi_update_nonce()
1227 p_reg->DMA_ENC.NONCE2 = ++nonce_cnt; in qspi_update_nonce()
/Zephyr-latest/drivers/pwm/
Dpwm_nrfx.c113 nrf_pwm_configure(config->pwm.p_reg, in pwm_period_check_and_set()
131 *psel = nrf_pwm_pin_get(config->pwm.p_reg, (uint8_t)channel); in channel_psel_get()
Dpwm_nrf_sw.c166 gpiote = config->gpiote[channel].p_reg; in pwm_nrf_sw_set_cycles()
Dpwm_renesas_ra.c125 p_ctrl->p_reg->GTIOR = gtior; in pwm_renesas_ra_apply_gtior_config()
/Zephyr-latest/drivers/can/
Dcan_renesas_ra.c250 R_CANFD_Type *reg = p_ctrl->p_reg; in set_afl_rule()
282 R_CANFD_Type *reg = p_ctrl->p_reg; in remove_afl_rule()
304 R_CANFD_Type *reg = p_ctrl->p_reg; in recover_bus()
744 p_ctrl->p_reg->CFDC->CTR |= (uint32_t)CANFD_CFG_ERR_IRQ; in can_renesas_ra_set_state_change_callback()
747 p_ctrl->p_reg->CFDC->CTR &= (uint32_t)~CANFD_CFG_ERR_IRQ; in can_renesas_ra_set_state_change_callback()
750 p_ctrl->p_reg->CFDC->ERFL &= in can_renesas_ra_set_state_change_callback()
/Zephyr-latest/drivers/display/
Ddisplay_nrf_led_matrix.c330 dev_config->gpiote.p_reg->CONFIG[dev_data->gpiote_ch[channel_idx]] = gpiote_cfg; in prepare_pixel_pulse()
360 dev_config->gpiote.p_reg->CONFIG[dev_data->gpiote_ch[i]] = 0; in timer_irq_handler()
469 nrf_gpiote_event_address_get(dev_config->gpiote.p_reg, in instance_init()
/Zephyr-latest/drivers/i2s/
Di2s_nrfx.c523 (nrf_i2s_mck_pin_get(drv_cfg->i2s.p_reg) & I2S_PSEL_MCK_CONNECT_Msk) in i2s_nrfx_configure()
759 nrf_i2s_clk_configure(drv_cfg->i2s.p_reg, in trigger_start()