Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 62) sorted by relevance

123

/hal_nordic-latest/nrfs/include/internal/
Dnrfs_callbacks.h17 typedef void (*nrfs_service_cb_t)(void *p_notification, size_t size);
27 void nrfs_temp_service_notify(void *p_notification, size_t size);
37 void nrfs_reset_service_notify(void *p_notification, size_t size);
47 void nrfs_mram_service_notify(void *p_notification, size_t size);
57 void nrfs_usb_service_notify(void *p_notification, size_t size);
67 void nrfs_pmic_service_notify(void *p_notification, size_t size);
77 void nrfs_diag_service_notify(void *p_notification, size_t size);
87 void nrfs_dvfs_service_notify(void *p_notification, size_t size);
97 void nrfs_clock_service_notify(void *p_notification, size_t size);
107 void nrfs_gdpwr_service_notify(void *p_notification, size_t size);
[all …]
/hal_nordic-latest/nrfx/helpers/
Dnrf_vdma.h59 uint32_t size:24; ///< Size of the job buffer. member
111 #define NRF_VDMA_JOB_ELEMENT(p_buffer, size, attribute) \ argument
114 ((size) & NRF_VDMA_BUFFER_SIZE_MASK))
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))
136 #define NRFX_VDMA_PERIPH_JOB(addr, size) \ argument
137 NRF_VDMA_JOB_ELEMENT(addr, size, NRF_VDMA_EXT_ATTRIBUTE_PERIPHERAL_MODE)
149 size_t size, in nrf_vdma_job_fill() argument
153 p_job->size = (uint32_t)size & NRF_VDMA_BUFFER_SIZE_MASK; in nrf_vdma_job_fill()
171 size_t size, in nrf_vdma_job_reduced_init() argument
[all …]
/hal_nordic-latest/nrfx/drivers/src/
Dnrfx_cracen.c138 static cracen_ret_t trng_get(uint8_t * dst, size_t size) in trng_get() argument
165 if (size > level * 4) /* FIFO level in 4-byte words */ in trng_get()
170 while (size) in trng_get()
174 for (int i = 0; i < 4 && size; i++, size--) in trng_get()
212 static cracen_ret_t trng_entropy_get(uint8_t * p_buf, size_t size) in trng_entropy_get() argument
216 if (size > NRF_CRACEN_RNG_FIFO_SIZE) in trng_entropy_get()
231 ret = trng_get(p_buf, size); in trng_entropy_get()
374 static inline void be_incr(unsigned char * v, size_t size) in be_incr() argument
379 size--; in be_incr()
380 add += v[size]; in be_incr()
[all …]
Dnrfx_usbd.c468 size_t size = p_transfer->size; in nrfx_usbd_consumer() local
469 if (size < data_size) in nrfx_usbd_consumer()
471 NRFX_LOG_DEBUG("consumer: buffer too small: r: %u, l: %u", data_size, size); in nrfx_usbd_consumer()
473 p_next->size = 0; in nrfx_usbd_consumer()
478 p_next->size = data_size; in nrfx_usbd_consumer()
480 size -= data_size; in nrfx_usbd_consumer()
481 p_transfer->size = size; in nrfx_usbd_consumer()
484 return (ep_size == data_size) && (size != 0); in nrfx_usbd_consumer()
505 size_t tx_size = p_transfer->size; in nrfx_usbd_feeder_ram()
512 p_next->size = tx_size; in nrfx_usbd_feeder_ram()
[all …]
Dnrfx_adc.c51 uint16_t size; member
227 if (m_cb.idx < m_cb.size) in adc_sample_process()
257 nrfx_err_t nrfx_adc_buffer_convert(nrf_adc_value_t * buffer, uint16_t size) in nrfx_adc_buffer_convert() argument
264 NRFX_LOG_INFO("Number of samples requested to convert: %d.", size); in nrfx_adc_buffer_convert()
278 m_cb.size = size; in nrfx_adc_buffer_convert()
338 evt.data.done.size = m_cb.size; 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()
Dnrfx_rramc.c59 uint32_t size = rram_variant_get(NRF_FICR); in total_memory_size_get() local
61 if (size == FICR_INFO_RRAM_RRAM_Unspecified) in total_memory_size_get()
66 return (size * 1024UL); in total_memory_size_get()
Dnrfx_saadc.c466 nrfx_err_t nrfx_saadc_buffer_set(nrf_saadc_value_t * p_buffer, uint16_t size) in nrfx_saadc_buffer_set() argument
480 if ((size % m_cb.channels_activated_count != 0) || in nrfx_saadc_buffer_set()
481 (size > SAADC_RESULT_MAXCNT_MAXCNT_Msk) || in nrfx_saadc_buffer_set()
482 (!size)) in nrfx_saadc_buffer_set()
487 nrfy_saadc_buffer_t buffer = {.p_buffer = p_buffer, .length = size}; in nrfx_saadc_buffer_set()
491 if (m_cb.channels_activated_count != size) in nrfx_saadc_buffer_set()
821 evt_data.data.done.size = (uint16_t)m_cb.buffer_primary.length; in saadc_event_end_handle()
/hal_nordic-latest/nrfx/samples/doc/buildfiles/
Dextra_stylesheet.css11 font-size: 16px;
31 font-size: 1.34em
35 font-size: 1.25em
39 font-size: 1.15em
43 font-size: 1.05em
47 font-size: 1em
102 font-size: 14px;
138 font-size: 40px;
146 font-size: 30px;
178 font-size: 12px;
[all …]
/hal_nordic-latest/nrfx/doc/buildfiles/
Dextra_stylesheet.css11 font-size: 16px;
31 font-size: 1.34em
35 font-size: 1.25em
39 font-size: 1.15em
43 font-size: 1.05em
47 font-size: 1em
102 font-size: 14px;
138 font-size: 40px;
146 font-size: 30px;
178 font-size: 12px;
[all …]
/hal_nordic-latest/nrfx/hal/
Dnrf_acl.h76 size_t size,
116 size_t size, in nrf_acl_region_set() argument
121 NRFX_ASSERT(size <= NRF_ACL_REGION_SIZE_MAX); in nrf_acl_region_set()
122 NRFX_ASSERT(size != 0); in nrf_acl_region_set()
123 NRFX_ASSERT(size % nrf_ficr_codepagesize_get(NRF_FICR) == 0); in nrf_acl_region_set()
126 p_reg->ACL[region_id].SIZE = size; in nrf_acl_region_set()
Dnrf_mpu.h69 NRF_STATIC_INLINE void nrf_mpu_region0_ram_size_set(NRF_MPU_Type * p_reg, uint32_t size);
125 NRF_STATIC_INLINE void nrf_mpu_region0_ram_size_set(NRF_MPU_Type * p_reg, uint32_t size) in nrf_mpu_region0_ram_size_set() argument
127 NRFX_ASSERT(nrfx_is_word_aligned((const void *)size)); in nrf_mpu_region0_ram_size_set()
128 p_reg->RLENR0 = size; in nrf_mpu_region0_ram_size_set()
Dnrf_common.h79 #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
201 NRF_STATIC_INLINE uint8_t nrf_address_bus_get(uint32_t addr, size_t size);
266 NRF_STATIC_INLINE uint8_t nrf_address_bus_get(uint32_t addr, size_t size) in nrf_address_bus_get() argument
268 return (uint8_t)((addr & ADDRESS_BUS_Msk & ~(size - 1)) >> ADDRESS_BUS_Pos); in nrf_address_bus_get()
Dnrf_exmif.h73 uint32_t size; ///< EXMIF address mapping memory size. member
176 NRFX_ASSERT(p_device->size <= NRF_EXMIF_MAX_MEMORY_DEVICE_SIZE); in nrf_exmif_device_config()
182 p_reg->EXTCONF1.SIZE = p_device->size; in nrf_exmif_device_config()
186 p_reg->EXTCONF2.SIZE = p_device->size; in nrf_exmif_device_config()
Dnrf_tdm.h510 uint16_t size);
524 uint16_t size);
793 uint16_t size) in nrf_tdm_rx_count_set() argument
796 p_reg->RXD.MAXCNT = size * sizeof(uint32_t); in nrf_tdm_rx_count_set()
798 p_reg->RXD.MAXCNT = (uint32_t)size; in nrf_tdm_rx_count_set()
803 uint16_t size) in nrf_tdm_tx_count_set() argument
806 p_reg->TXD.MAXCNT = size * sizeof(uint32_t); in nrf_tdm_tx_count_set()
808 p_reg->TXD.MAXCNT = (uint32_t)size; in nrf_tdm_tx_count_set()
Dnrf_tbm.h159 NRF_STATIC_INLINE void nrf_tbm_buffersize_set(NRF_TBM_Type * p_reg, uint32_t size);
213 NRF_STATIC_INLINE void nrf_tbm_buffersize_set(NRF_TBM_Type * p_reg, uint32_t size) in nrf_tbm_buffersize_set() argument
215 p_reg->BUFFERSIZE = size; in nrf_tbm_buffersize_set()
Dnrf_nfct.h1270 nrf_nfct_sensres_nfcid1_size_t size = in nrf_nfct_nfcid1_get() local
1273 if (size != NRF_NFCT_SENSRES_NFCID1_SIZE_SINGLE) in nrf_nfct_nfcid1_get()
1281 if (size == NRF_NFCT_SENSRES_NFCID1_SIZE_TRIPLE) in nrf_nfct_nfcid1_get()
1304 return size; in nrf_nfct_nfcid1_get()
1311 nrf_nfct_sensres_nfcid1_size_t size = (nfcid1_size == NRF_NFCT_SENSRES_NFCID1_SIZE_DEFAULT) ? in nrf_nfct_nfcid1_set() local
1314 if (size != NRF_NFCT_SENSRES_NFCID1_SIZE_SINGLE) in nrf_nfct_nfcid1_set()
1316 if (size == NRF_NFCT_SENSRES_NFCID1_SIZE_TRIPLE) in nrf_nfct_nfcid1_set()
1350 (uint32_t)size); in nrf_nfct_nfcid1_set()
/hal_nordic-latest/nrfs/src/internal/
Dnrfs_dispatcher.c71 void __attribute__((weak)) nrfs_unsolicited_handler(void *p_buffer, size_t size) in nrfs_unsolicited_handler() argument
74 (void)size; in nrfs_unsolicited_handler()
77 void nrfs_dispatcher_notify(void *p_notification, size_t size) in nrfs_dispatcher_notify() argument
84 nrfs_unsolicited_handler(p_buffer, size - sizeof(nrfs_generic_t)); in nrfs_dispatcher_notify()
90 services_callbacks[srv_id](p_notification, size); in nrfs_dispatcher_notify()
/hal_nordic-latest/nrfx/drivers/include/
Dnrfx_usbd.h232 size_t size; //!< Size of the requested transfer. member
254 size_t size; //!< Total size of the requested transfer. member
274 .size = (tx_size), \
288 .size = (rx_size), \
602 void nrfx_usbd_ep_max_packet_size_set(nrfx_usbd_ep_t ep, uint16_t size);
Dnrfx_tbm.h54 uint32_t size; /**< Buffer size (32 bit words). */ member
61 .size = 128, \
Dnrfx_adc.h62 uint16_t size; ///< Number of samples in the buffer. member
263 nrfx_err_t nrfx_adc_buffer_convert(nrf_adc_value_t * buffer, uint16_t size);
Dnrfx_twis.h299 size_t size);
333 size_t size);
/hal_nordic-latest/nrfx/templates/
Dnrfx_glue.h287 #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/haly/
Dnrfy_mvdma.h673 p_list_request->p_sink_job_list[i].size); in __nrfy_internal_mvdma_events_process()
685 NRFY_CACHE_INV(p_job->p_buffer, p_job->size); in __nrfy_internal_mvdma_events_process()
707 size_t size = p_source_job->size; in __nrfy_internal_mvdma_source_buffers_flush() local
711 NRFY_CACHE_WB(p_source_job->p_buffer, size); in __nrfy_internal_mvdma_source_buffers_flush()
715 NRFY_CACHE_WB(p_buffer, size); 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()
/hal_nordic-latest/nrfx/soc/interconnect/ipct/
Dnrfx_interconnect_ipct.c95 uint8_t bus = nrf_address_bus_get((uint32_t)p_apb_prop->p_dppi, p_apb_prop->size); in nrfx_interconnect_ipct_get()
102 … if (nrf_address_bus_get((uint32_t)m_global_ipct_interconnect[i].p_ipct, p_apb_prop->size) == bus) in nrfx_interconnect_ipct_get()
/hal_nordic-latest/nrfx/soc/interconnect/apb/
Dnrfx_interconnect_apb.c111 uint8_t bus_address_area = nrf_address_bus_get(addr, p_apb->size); in nrfx_interconnect_apb_get()
113 if (bus_address_area == nrf_address_bus_get((uint32_t)p_apb->p_dppi, p_apb->size)) in nrfx_interconnect_apb_get()

123