Lines Matching refs:NRF_QSPI

149         nrf_qspi_write_buffer_set(NRF_QSPI, p_buffer, length, address);  in qspi_xfer()
154 nrf_qspi_read_buffer_set(NRF_QSPI, p_buffer, length, address); in qspi_xfer()
167 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in qspi_xfer()
168 nrf_qspi_task_trigger(NRF_QSPI, task); in qspi_xfer()
186 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in qspi_xfer()
187 nrf_qspi_int_enable(NRF_QSPI, NRF_QSPI_INT_READY_MASK); in qspi_xfer()
194 nrf_qspi_task_trigger(NRF_QSPI, task); in qspi_xfer()
262 nrf_qspi_pins_set(NRF_QSPI, &p_config->pins); in qspi_pins_configure()
271 nrf_qspi_pins_get(NRF_QSPI, &pins); in qspi_pins_deconfigure()
293 NRFX_WAIT_FOR(nrf_qspi_event_check(NRF_QSPI, NRF_QSPI_EVENT_READY) || m_cb.timeout_signal, in qspi_ready_wait()
325 nrf_qspi_int_disable(NRF_QSPI, NRF_QSPI_INT_READY_MASK); in qspi_configure()
329 nrf_qspi_xip_offset_set(NRF_QSPI, p_config->xip_offset); in qspi_configure()
331 nrf_qspi_ifconfig0_set(NRF_QSPI, &p_config->prot_if); in qspi_configure()
333 uint32_t regval = nrf_qspi_ifconfig0_raw_get(NRF_QSPI); in qspi_configure()
343 nrf_qspi_ifconfig0_raw_set(NRF_QSPI, regval); in qspi_configure()
344 nrf_qspi_iftiming_set(NRF_QSPI, 6); in qspi_configure()
346 nrf_qspi_ifconfig1_set(NRF_QSPI, &p_config->phy_if); in qspi_configure()
359 nrf_qspi_enable(NRF_QSPI); in qspi_activate()
361 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in qspi_activate()
362 nrf_qspi_task_trigger(NRF_QSPI, NRF_QSPI_TASK_ACTIVATE); in qspi_activate()
382 nrf_qspi_int_disable(NRF_QSPI, NRF_QSPI_INT_READY_MASK); in qspi_deactivate()
384 nrf_qspi_task_trigger(NRF_QSPI, NRF_QSPI_TASK_DEACTIVATE); in qspi_deactivate()
386 nrf_qspi_disable(NRF_QSPI); in qspi_deactivate()
388 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in qspi_deactivate()
419 nrf_qspi_pins_get(NRF_QSPI, &pins); in qspi_workaround_215_43_apply()
420 nrf_qspi_pins_set(NRF_QSPI, &disconnected_pins); in qspi_workaround_215_43_apply()
422 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in qspi_workaround_215_43_apply()
423 nrf_qspi_task_trigger(NRF_QSPI, NRF_QSPI_TASK_ACTIVATE); in qspi_workaround_215_43_apply()
425 while (!nrf_qspi_event_check(NRF_QSPI, NRF_QSPI_EVENT_READY)) in qspi_workaround_215_43_apply()
429 nrf_qspi_pins_set(NRF_QSPI, &pins); in qspi_workaround_215_43_apply()
537 nrf_qspi_int_disable(NRF_QSPI, NRF_QSPI_INT_READY_MASK); in nrfx_qspi_cinstr_xfer()
553 nrf_qspi_cinstrdata_set(NRF_QSPI, p_config->length, p_tx_buffer); in nrfx_qspi_cinstr_xfer()
558 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in nrfx_qspi_cinstr_xfer()
559 nrf_qspi_cinstr_transfer_start(NRF_QSPI, p_config); in nrfx_qspi_cinstr_xfer()
570 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in nrfx_qspi_cinstr_xfer()
574 nrf_qspi_cinstrdata_get(NRF_QSPI, p_config->length, p_rx_buffer); in nrfx_qspi_cinstr_xfer()
615 nrf_qspi_int_disable(NRF_QSPI, NRF_QSPI_INT_READY_MASK); in nrfx_qspi_lfm_start()
626 NRFX_ASSERT(!(nrf_qspi_cinstr_long_transfer_is_ongoing(NRF_QSPI))); in nrfx_qspi_lfm_start()
630 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in nrfx_qspi_lfm_start()
631 nrf_qspi_cinstr_long_transfer_start(NRF_QSPI, p_config); in nrfx_qspi_lfm_start()
636 nrf_qspi_cinstr_long_transfer_continue(NRF_QSPI, NRF_QSPI_CINSTR_LEN_1B, true); in nrfx_qspi_lfm_start()
650 NRFX_ASSERT(nrf_qspi_cinstr_long_transfer_is_ongoing(NRF_QSPI)); in nrfx_qspi_lfm_xfer()
673 nrf_qspi_cinstrdata_set(NRF_QSPI, in nrfx_qspi_lfm_xfer()
678 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in nrfx_qspi_lfm_xfer()
682 nrf_qspi_cinstr_long_transfer_continue(NRF_QSPI, length, finalize); in nrfx_qspi_lfm_xfer()
686 nrf_qspi_cinstr_long_transfer_continue(NRF_QSPI, length, false); in nrfx_qspi_lfm_xfer()
692 nrf_qspi_cinstr_long_transfer_continue(NRF_QSPI, NRF_QSPI_CINSTR_LEN_1B, true); in nrfx_qspi_lfm_xfer()
699 nrf_qspi_cinstrdata_get(NRF_QSPI, in nrfx_qspi_lfm_xfer()
704 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in nrfx_qspi_lfm_xfer()
834 nrf_qspi_erase_ptr_set(NRF_QSPI, start_address, length); in nrfx_qspi_erase()
844 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in nrfx_qspi_erase()
845 nrf_qspi_task_trigger(NRF_QSPI, NRF_QSPI_TASK_ERASESTART); in nrfx_qspi_erase()
851 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in nrfx_qspi_erase()
852 nrf_qspi_int_enable(NRF_QSPI, NRF_QSPI_INT_READY_MASK); in nrfx_qspi_erase()
860 nrf_qspi_task_trigger(NRF_QSPI, NRF_QSPI_TASK_ERASESTART); in nrfx_qspi_erase()
899 nrf_qspi_xip_encryption_configure(NRF_QSPI, p_config); in nrfx_qspi_xip_encrypt()
900 nrf_qspi_xip_encryption_set(NRF_QSPI, true); in nrfx_qspi_xip_encrypt()
904 nrf_qspi_xip_encryption_set(NRF_QSPI, false); in nrfx_qspi_xip_encrypt()
923 nrf_qspi_dma_encryption_configure(NRF_QSPI, p_config); in nrfx_qspi_dma_encrypt()
924 nrf_qspi_dma_encryption_set(NRF_QSPI, true); in nrfx_qspi_dma_encrypt()
928 nrf_qspi_dma_encryption_set(NRF_QSPI, false); in nrfx_qspi_dma_encrypt()
956 p_erase->addr = nrf_qspi_erase_ptr_get(NRF_QSPI); in qspi_event_erase_handle()
957 p_erase->len = nrf_qspi_erase_len_get(NRF_QSPI); in qspi_event_erase_handle()
989 nrf_qspi_task_trigger(NRF_QSPI, NRF_QSPI_TASK_WRITESTART); in qspi_activate_event_process()
993 nrf_qspi_task_trigger(NRF_QSPI, NRF_QSPI_TASK_READSTART); in qspi_activate_event_process()
997 nrf_qspi_task_trigger(NRF_QSPI, NRF_QSPI_TASK_ERASESTART); in qspi_activate_event_process()
1008 if (nrf_qspi_event_check(NRF_QSPI, NRF_QSPI_EVENT_READY)) in nrfx_qspi_irq_handler()
1010 nrf_qspi_event_clear(NRF_QSPI, NRF_QSPI_EVENT_READY); in nrfx_qspi_irq_handler()