| /hal_nordic-latest/drivers/nrf_802154/driver/src/ |
| D | nrf_802154_utils_byteorder.h | 61 static inline void host_64_to_little(uint64_t value, uint8_t * p_buffer) in host_64_to_little() argument 63 NRF_802154_ASSERT(p_buffer != NULL); in host_64_to_little() 64 memcpy(p_buffer, &value, sizeof(uint64_t)); in host_64_to_little() 72 static inline void host_32_to_little(uint32_t value, uint8_t * p_buffer) in host_32_to_little() argument 74 NRF_802154_ASSERT(p_buffer != NULL); in host_32_to_little() 75 memcpy(p_buffer, &value, sizeof(uint32_t)); in host_32_to_little() 83 static inline void host_24_to_little(uint32_t value, uint8_t * p_buffer) in host_24_to_little() argument 85 NRF_802154_ASSERT(p_buffer != NULL); in host_24_to_little() 86 memcpy(p_buffer, &value, 3); in host_24_to_little() 94 static inline void host_16_to_little(uint16_t value, uint8_t * p_buffer) in host_16_to_little() argument [all …]
|
| D | nrf_802154.c | 625 rx_buffer_t * p_buffer = (rx_buffer_t *)p_data; in nrf_802154_buffer_free_raw() local 627 NRF_802154_ASSERT(p_buffer->free == false); in nrf_802154_buffer_free_raw() 628 (void)p_buffer; in nrf_802154_buffer_free_raw() 642 rx_buffer_t * p_buffer = (rx_buffer_t *)p_data; in nrf_802154_buffer_free_immediately_raw() local 644 NRF_802154_ASSERT(p_buffer->free == false); in nrf_802154_buffer_free_immediately_raw() 645 (void)p_buffer; in nrf_802154_buffer_free_immediately_raw()
|
| /hal_nordic-latest/nrfx/helpers/ |
| D | nrf_vdma.h | 56 uint8_t * p_buffer; ///< Pointer to the VDMA job buffer. member 111 #define NRF_VDMA_JOB_ELEMENT(p_buffer, size, attribute) \ argument 112 (uint32_t)p_buffer, \ 125 #define NRF_VDMA_REDUCED_JOB_INIT_ELEMENT(p_buffer, size, attribute) \ argument 126 NRF_VDMA_JOB_ELEMENT(p_buffer, size, NRF_VDMA_ATTRIBUTE_FIXED_ATTR | (attribute)) 148 void * p_buffer, in nrf_vdma_job_fill() argument 152 p_job->p_buffer = (uint8_t *)p_buffer; in nrf_vdma_job_fill() 170 void * p_buffer, in nrf_vdma_job_reduced_init() argument 174 *p_job = (uint32_t)p_buffer; in nrf_vdma_job_reduced_init() 187 void * p_buffer) in nrf_vdma_job_reduced_fill() argument [all …]
|
| /hal_nordic-latest/drivers/nrf_802154/serialization/src/ |
| D | nrf_802154_buffer_allocator.c | 50 nrf_802154_buffer_t * p_buffer = NULL; in buffer_alloc() local 62 p_buffer = &p_buffer_pool[i]; in buffer_alloc() 64 if (!p_buffer->taken) in buffer_alloc() 69 if (p_buffer->taken) in buffer_alloc() 78 p_buffer->taken = true; in buffer_alloc() 90 return success ? p_buffer->data : NULL; in buffer_alloc() 121 nrf_802154_buffer_t * p_buffer = (nrf_802154_buffer_t *)p_obj->p_memory; in nrf_802154_buffer_allocator_init() local 125 p_buffer[i].taken = false; in nrf_802154_buffer_allocator_init() 135 void * p_buffer) in nrf_802154_buffer_allocator_free() argument 137 buffer_free(p_buffer, (nrf_802154_buffer_t *)p_obj->p_memory, p_obj->capacity); in nrf_802154_buffer_allocator_free()
|
| D | nrf_802154_buffer_mgr_src.c | 64 const void * p_buffer, in nrf_802154_buffer_mgr_src_add() argument 68 uint32_t buffer_handle = (uintptr_t)p_buffer; in nrf_802154_buffer_mgr_src_add()
|
| /hal_nordic-latest/nrfx/drivers/src/ |
| D | nrfx_uarte.c | 481 p_cb->tx.cache.p_buffer = p_config->tx_cache.p_buffer; in nrfx_uarte_init() 492 p_cb->rx.flush.p_buffer = p_config->rx_cache.p_buffer; in nrfx_uarte_init() 509 p_cb->rx.p_cache->cache[0].p_buffer = in nrfx_uarte_init() 510 &p_config->rx_cache.p_buffer[UARTE_HW_RX_FIFO_SIZE]; in nrfx_uarte_init() 511 p_cb->rx.p_cache->cache[1].p_buffer = in nrfx_uarte_init() 512 &p_config->rx_cache.p_buffer[UARTE_HW_RX_FIFO_SIZE + buf_len]; in nrfx_uarte_init() 754 if (p_cb->tx.cache.p_buffer == NULL) in poll_out() 779 p_cb->tx.cache.p_buffer[p_cb->tx.cache.length] = *p_byte; in poll_out() 780 p_buf = &p_cb->tx.cache.p_buffer[p_cb->tx.cache.length]; in poll_out() 822 memcpy(p_cb->tx.cache.p_buffer, &p_cb->tx.curr.p_buffer[p_cb->tx.off], chunk_len); in tx_prepare_start() [all …]
|
| D | nrfx_saadc.c | 214 m_cb.buffer_primary.p_buffer = NULL; in saadc_generic_mode_set() 215 m_cb.buffer_secondary.p_buffer = NULL; in saadc_generic_mode_set() 466 nrfx_err_t nrfx_saadc_buffer_set(nrf_saadc_value_t * p_buffer, uint16_t size) in nrfx_saadc_buffer_set() argument 470 if (m_cb.buffer_secondary.p_buffer) in nrfx_saadc_buffer_set() 475 if (!nrfx_is_in_ram(p_buffer)) in nrfx_saadc_buffer_set() 487 nrfy_saadc_buffer_t buffer = {.p_buffer = p_buffer, .length = size}; in nrfx_saadc_buffer_set() 506 if (m_cb.buffer_primary.p_buffer) in nrfx_saadc_buffer_set() 528 if (!m_cb.buffer_primary.p_buffer) in nrfx_saadc_mode_trigger() 577 chunk.p_buffer = (nrf_saadc_value_t *) in nrfx_saadc_mode_trigger() 578 &((uint8_t *)m_cb.buffer_primary.p_buffer)[m_cb.samples_converted]; in nrfx_saadc_mode_trigger() [all …]
|
| D | nrfx_adc.c | 50 nrf_adc_value_t * p_buffer; member 210 m_cb.p_buffer = NULL; in nrfx_adc_sample_convert() 225 m_cb.p_buffer[m_cb.idx] = (nrf_adc_value_t)nrf_adc_result_get(NRF_ADC); in adc_sample_process() 280 m_cb.p_buffer = buffer; in nrfx_adc_buffer_convert() 317 if (m_cb.p_buffer == NULL) in nrfx_adc_irq_handler() 337 evt.data.done.p_buffer = m_cb.p_buffer; in nrfx_adc_irq_handler() 341 NRFX_LOG_HEXDUMP_DEBUG((uint8_t *)m_cb.p_buffer, m_cb.size * sizeof(nrf_adc_value_t)); in nrfx_adc_irq_handler()
|
| D | nrfx_qspi.c | 122 static nrfx_err_t qspi_xfer(void * p_buffer, in qspi_xfer() argument 128 NRFX_ASSERT(p_buffer != NULL); in qspi_xfer() 135 if (!nrfx_is_in_ram(p_buffer) || !nrfx_is_word_aligned(p_buffer)) in qspi_xfer() 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() 175 m_cb.p_buffer_secondary = p_buffer; in qspi_xfer() 181 m_cb.p_buffer_primary = p_buffer; in qspi_xfer() 937 p_xfer->p_buffer = (uint8_t *)m_cb.p_buffer_primary; in qspi_event_xfer_handle()
|
| /hal_nordic-latest/nrfx/haly/ |
| D | nrfy_pdm.h | 53 nrfy_pdm_buffer_t const * p_buffer); 191 nrfy_pdm_buffer_t * p_buffer) in nrfy_pdm_events_process() argument 193 uint32_t evt_mask = __nrfy_internal_pdm_events_process(p_reg, mask, p_buffer); in nrfy_pdm_events_process() 205 nrfy_pdm_buffer_t const * p_buffer) in nrfy_pdm_buffer_set() argument 207 nrf_pdm_buffer_set(p_reg, (uint32_t *)(p_buffer->p_buff), p_buffer->length); in nrfy_pdm_buffer_set() 219 nrfy_pdm_buffer_t const * p_buffer) in nrfy_pdm_start() argument 222 if (p_buffer) in nrfy_pdm_start() 226 while (!__nrfy_internal_pdm_events_process(p_reg, evt_mask, p_buffer)) in nrfy_pdm_start() 240 nrfy_pdm_buffer_t const * p_buffer) in nrfy_pdm_abort() argument 243 if (p_buffer) in nrfy_pdm_abort() [all …]
|
| D | nrfy_mvdma.h | 672 NRFY_CACHE_INV(p_list_request->p_sink_job_list[i].p_buffer, in __nrfy_internal_mvdma_events_process() 682 p_job->p_buffer != NULL; in __nrfy_internal_mvdma_events_process() 685 NRFY_CACHE_INV(p_job->p_buffer, p_job->size); in __nrfy_internal_mvdma_events_process() 709 (p_source_job + 1)->p_buffer; in __nrfy_internal_mvdma_source_buffers_flush() 711 NRFY_CACHE_WB(p_source_job->p_buffer, size); in __nrfy_internal_mvdma_source_buffers_flush() 713 for (nrf_vdma_job_reduced_t * p_buffer = p_job_reduced; p_buffer != NULL; p_buffer++) in __nrfy_internal_mvdma_source_buffers_flush() local 715 NRFY_CACHE_WB(p_buffer, size); in __nrfy_internal_mvdma_source_buffers_flush() 720 for (nrf_vdma_job_t * p_job = p_source_job; p_job->p_buffer != NULL; p_job++) in __nrfy_internal_mvdma_source_buffers_flush() 722 NRFY_CACHE_WB(p_job->p_buffer, p_job->size); in __nrfy_internal_mvdma_source_buffers_flush()
|
| D | nrfy_i2s.h | 480 uint32_t * p_buffer) in nrfy_i2s_rx_buffer_set() argument 482 nrf_i2s_rx_buffer_set(p_reg, p_buffer); in nrfy_i2s_rx_buffer_set() 490 uint32_t * p_buffer = nrf_i2s_rx_buffer_get(p_reg); in nrfy_i2s_rx_buffer_get() local 492 return p_buffer; in nrfy_i2s_rx_buffer_get() 497 uint32_t const * p_buffer) in nrfy_i2s_tx_buffer_set() argument 499 nrf_i2s_tx_buffer_set(p_reg, p_buffer); in nrfy_i2s_tx_buffer_set() 507 uint32_t * p_buffer = nrf_i2s_tx_buffer_get(p_reg); in nrfy_i2s_tx_buffer_get() local 509 return p_buffer; in nrfy_i2s_tx_buffer_get()
|
| D | nrfy_saadc.h | 74 nrf_saadc_value_t * p_buffer; ///< Pointer to the sampling buffer. member 217 nrf_saadc_buffer_init(p_reg, p_desc->p_buffer, p_desc->length); in nrfy_saadc_buffer_set() 499 nrf_saadc_value_t * p_buffer, in nrfy_saadc_buffer_init() argument 502 nrf_saadc_buffer_init(p_reg, p_buffer, size); in nrfy_saadc_buffer_init() 508 nrf_saadc_value_t * p_buffer) in nrfy_saadc_buffer_pointer_set() argument 510 nrf_saadc_buffer_pointer_set(p_reg, p_buffer); in nrfy_saadc_buffer_pointer_set() 518 nrf_saadc_value_t * p_buffer = nrf_saadc_buffer_pointer_get(p_reg); in nrfy_saadc_buffer_pointer_get() local 520 return p_buffer; in nrfy_saadc_buffer_pointer_get() 660 NRFY_CACHE_INV(p_desc->p_buffer, size); in __nrfy_internal_saadc_events_process()
|
| D | nrfy_uarte.h | 103 uint8_t * p_buffer; ///< Buffer address. member 575 uint8_t const * p_buffer, in nrfy_uarte_tx_buffer_set() argument 578 if (p_buffer) in nrfy_uarte_tx_buffer_set() 580 NRFY_CACHE_WB(p_buffer, length); in nrfy_uarte_tx_buffer_set() 581 nrf_uarte_tx_buffer_set(p_reg, p_buffer, length); in nrfy_uarte_tx_buffer_set() 606 uint8_t * p_buffer, in nrfy_uarte_rx_buffer_set() argument 609 nrf_uarte_rx_buffer_set(p_reg, p_buffer, length); in nrfy_uarte_rx_buffer_set() 686 NRFY_CACHE_INV(p_xfer->p_buffer, p_xfer->length); in __nrfy_internal_uarte_events_process() 692 NRFY_CACHE_INV(p_xfer->p_buffer, size); in __nrfy_internal_uarte_events_process()
|
| D | nrfy_twim.h | 101 uint8_t * p_buffer; ///< Pointer to transferred data. member 193 if (p_xfer->p_buffer) in nrfy_twim_tx_buffer_set() 195 NRFY_CACHE_WB(p_xfer->p_buffer, p_xfer->length); in nrfy_twim_tx_buffer_set() 197 nrf_twim_tx_buffer_set(p_reg, p_xfer->p_buffer, p_xfer->length); in nrfy_twim_tx_buffer_set() 210 nrf_twim_rx_buffer_set(p_reg, p_xfer->p_buffer, p_xfer->length); in nrfy_twim_rx_buffer_set() 718 NRFY_CACHE_INV(p_xfer->p_buffer, p_xfer->length); in __nrfy_internal_twim_events_process() 722 NRFY_CACHE_INV(p_xfer->p_buffer, p_xfer->length); in __nrfy_internal_twim_events_process()
|
| /hal_nordic-latest/nrfx/hal/ |
| D | nrf_cracen_cm.h | 87 void const * p_buffer); 97 void const * p_buffer); 189 void const * p_buffer) in nrf_cracen_cm_fetch_addr_set() argument 191 p_reg->CRYPTMSTRDMA.FETCHADDRLSB = (uint32_t)p_buffer; in nrf_cracen_cm_fetch_addr_set() 195 void const * p_buffer) in nrf_cracen_cm_push_addr_set() argument 197 p_reg->CRYPTMSTRDMA.PUSHADDRLSB = (uint32_t)p_buffer; in nrf_cracen_cm_push_addr_set()
|
| D | nrf_spis.h | 507 uint8_t const * p_buffer, 518 uint8_t * p_buffer, 942 uint8_t const * p_buffer, in nrf_spis_tx_buffer_set() argument 946 p_reg->TXDPTR = (uint32_t)p_buffer; in nrf_spis_tx_buffer_set() 949 p_reg->DMA.TX.PTR = (uint32_t)p_buffer; in nrf_spis_tx_buffer_set() 952 p_reg->TXD.PTR = (uint32_t)p_buffer; in nrf_spis_tx_buffer_set() 958 uint8_t * p_buffer, in nrf_spis_rx_buffer_set() argument 962 p_reg->RXDPTR = (uint32_t)p_buffer; in nrf_spis_rx_buffer_set() 965 p_reg->DMA.RX.PTR = (uint32_t)p_buffer; in nrf_spis_rx_buffer_set() 968 p_reg->RXD.PTR = (uint32_t)p_buffer; in nrf_spis_rx_buffer_set()
|
| D | nrf_uarte.h | 661 uint8_t const * p_buffer, 690 uint8_t * p_buffer, 936 uint8_t const * p_buffer, in nrf_uarte_tx_buffer_set() argument 940 p_reg->DMA.TX.PTR = (uint32_t)p_buffer; in nrf_uarte_tx_buffer_set() 943 p_reg->TXD.PTR = (uint32_t)p_buffer; in nrf_uarte_tx_buffer_set() 967 uint8_t * p_buffer, in nrf_uarte_rx_buffer_set() argument 971 p_reg->DMA.RX.PTR = (uint32_t)p_buffer; in nrf_uarte_rx_buffer_set() 974 p_reg->RXD.PTR = (uint32_t)p_buffer; in nrf_uarte_rx_buffer_set()
|
| D | nrf_i2s.h | 544 uint32_t * p_buffer); 565 uint32_t const * p_buffer); 778 uint32_t * p_buffer) in nrf_i2s_rx_buffer_set() argument 780 p_reg->RXD.PTR = (uint32_t)p_buffer; in nrf_i2s_rx_buffer_set() 789 uint32_t const * p_buffer) in nrf_i2s_tx_buffer_set() argument 791 p_reg->TXD.PTR = (uint32_t)p_buffer; in nrf_i2s_tx_buffer_set()
|
| D | nrf_common.h | 79 #define NRFY_CACHE_WB(p_buffer, size) argument 83 #define NRFY_CACHE_INV(p_buffer, size) argument 87 #define NRFY_CACHE_WBINV(p_buffer, size) argument
|
| D | nrf_twim.h | 546 uint8_t const * p_buffer, 557 uint8_t * p_buffer, 934 uint8_t const * p_buffer, in nrf_twim_tx_buffer_set() argument 938 p_reg->DMA.TX.PTR = (uint32_t)p_buffer; in nrf_twim_tx_buffer_set() 941 p_reg->TXD.PTR = (uint32_t)p_buffer; in nrf_twim_tx_buffer_set() 947 uint8_t * p_buffer, in nrf_twim_rx_buffer_set() argument 951 p_reg->DMA.RX.PTR = (uint32_t)p_buffer; in nrf_twim_rx_buffer_set() 954 p_reg->RXD.PTR = (uint32_t)p_buffer; in nrf_twim_rx_buffer_set()
|
| D | nrf_tdm.h | 545 uint32_t * p_buffer); 566 uint32_t const * p_buffer); 819 uint32_t * p_buffer) in nrf_tdm_rx_buffer_set() argument 821 p_reg->RXD.PTR = (uint32_t)p_buffer; in nrf_tdm_rx_buffer_set() 830 uint32_t const * p_buffer) in nrf_tdm_tx_buffer_set() argument 832 p_reg->TXD.PTR = (uint32_t)p_buffer; in nrf_tdm_tx_buffer_set()
|
| /hal_nordic-latest/nrfs/src/internal/ |
| D | nrfs_dispatcher.c | 71 void __attribute__((weak)) nrfs_unsolicited_handler(void *p_buffer, size_t size) in nrfs_unsolicited_handler() argument 73 (void)p_buffer; in nrfs_unsolicited_handler() 82 void *p_buffer = ((nrfs_generic_t *)p_notification)->payload; in nrfs_dispatcher_notify() local 84 nrfs_unsolicited_handler(p_buffer, size - sizeof(nrfs_generic_t)); in nrfs_dispatcher_notify()
|
| /hal_nordic-latest/nrfx/templates/ |
| D | nrfx_glue.h | 287 #define NRFY_CACHE_WB(p_buffer, size) argument 297 #define NRFY_CACHE_INV(p_buffer, size) argument 308 #define NRFY_CACHE_WBINV(p_buffer, size) argument
|
| /hal_nordic-latest/nrfx/drivers/include/ |
| D | nrfx_uarte.h | 281 .p_buffer = NULL, \ 286 .p_buffer = NULL, \ 309 uint8_t * p_buffer; ///< Pointer to the received data. member 316 const uint8_t * p_buffer; ///< Pointer to the transferred data. member
|