Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 11 of 11) sorted by relevance

/hal_nordic-3.6.0/drivers/nrf_802154/driver/src/mac_features/
Dnrf_802154_frame_parser.h478 uint8_t offset = nrf_802154_frame_parser_dst_panid_offset_get(p_parser_data); in nrf_802154_frame_parser_dst_panid_get() local
480 if (offset == NRF_802154_FRAME_PARSER_INVALID_OFFSET) in nrf_802154_frame_parser_dst_panid_get()
485 return &p_parser_data->p_frame[offset]; in nrf_802154_frame_parser_dst_panid_get()
511 uint8_t offset = nrf_802154_frame_parser_dst_addr_offset_get(p_parser_data); in nrf_802154_frame_parser_dst_addr_get() local
513 if (offset == NRF_802154_FRAME_PARSER_INVALID_OFFSET) in nrf_802154_frame_parser_dst_addr_get()
518 return &p_parser_data->p_frame[offset]; in nrf_802154_frame_parser_dst_addr_get()
544 uint8_t offset = nrf_802154_frame_parser_src_panid_offset_get(p_parser_data); in nrf_802154_frame_parser_src_panid_get() local
546 if (offset == NRF_802154_FRAME_PARSER_INVALID_OFFSET) in nrf_802154_frame_parser_src_panid_get()
551 return &p_parser_data->p_frame[offset]; in nrf_802154_frame_parser_src_panid_get()
577 uint8_t offset = nrf_802154_frame_parser_src_addr_offset_get(p_parser_data); in nrf_802154_frame_parser_src_addr_get() local
[all …]
Dnrf_802154_frame_parser.c237 uint8_t offset = PHR_SIZE + FCF_SIZE; in fcf_parse() local
240 if (offset > p_parser_data->valid_data_len) in fcf_parse()
248 offset += DSN_SIZE; in fcf_parse()
253 p_parser_data->mhr.dst.panid_offset = offset; in fcf_parse()
254 offset += PAN_ID_SIZE; in fcf_parse()
259 p_parser_data->mhr.dst.addr_offset = offset; in fcf_parse()
270 offset += addr_size; in fcf_parse()
271 p_parser_data->helper.dst_addressing_end_offset = offset; in fcf_parse()
275 p_parser_data->mhr.src.panid_offset = offset; in fcf_parse()
276 offset += PAN_ID_SIZE; in fcf_parse()
[all …]
/hal_nordic-3.6.0/drivers/nrf_802154/driver/src/
Dnrf_802154_aes_ccm_acc_ecb.c245 uint8_t offset = 0; in add_auth_data_get() local
264 offset += NRF_802154_AES_CCM_BLOCK_SIZE - sizeof(uint16_t); in add_auth_data_get()
265 offset += NRF_802154_AES_CCM_BLOCK_SIZE * (iter - 1); in add_auth_data_get()
266 if (offset >= p_frame->auth_data_len) in add_auth_data_get()
271 len = MIN(p_frame->auth_data_len - offset, NRF_802154_AES_CCM_BLOCK_SIZE); in add_auth_data_get()
272 memcpy(p_b, p_frame->auth_data + offset, len); in add_auth_data_get()
291 uint8_t offset = 0; in plain_text_data_get() local
301 offset += NRF_802154_AES_CCM_BLOCK_SIZE * iter; in plain_text_data_get()
302 if (offset >= p_frame->plain_text_data_len) in plain_text_data_get()
307 len = MIN(p_frame->plain_text_data_len - offset, NRF_802154_AES_CCM_BLOCK_SIZE); in plain_text_data_get()
[all …]
Dnrf_802154_encrypt.c188 uint8_t offset = 0; in aes_ccm_nonce_generate() local
191 offset += EXTENDED_ADDRESS_SIZE; in aes_ccm_nonce_generate()
195 memcpy_rev((p_nonce + offset), in aes_ccm_nonce_generate()
198 offset += FRAME_COUNTER_SIZE; in aes_ccm_nonce_generate()
200 p_nonce[offset] = nrf_802154_frame_parser_sec_ctrl_sec_lvl_get(p_frame_data); in aes_ccm_nonce_generate()
Dnrf_802154_tx_work_buffer.c120 void nrf_802154_tx_work_buffer_plain_text_offset_set(uint8_t offset) in nrf_802154_tx_work_buffer_plain_text_offset_set() argument
122 m_plain_text_offset = offset; in nrf_802154_tx_work_buffer_plain_text_offset_set()
Dnrf_802154_tx_work_buffer.h125 void nrf_802154_tx_work_buffer_plain_text_offset_set(uint8_t offset);
/hal_nordic-3.6.0/utils/
Dgen_offsets.py41 offset = base_offset + int(entry.find("addressOffset").text, 0)
45 parse_offsets(offsets, entry, name, offset)
47 offsets.append((name, offset))
54 parse_offsets(offsets, entry, name.format(i), offset + i * dim_inc)
56 offsets.append((name.format(i), offset + i * dim_inc))
73 width = max(len(offset[0]) for offset in offsets)
74 for offset in offsets:
/hal_nordic-3.6.0/nrfx/hal/
Dnrf_exmif.h72 uint32_t offset; ///< EXMIF address mapping offset. member
181 p_reg->EXTCONF1.OFFSET = p_device->offset; in nrf_exmif_device_config()
185 p_reg->EXTCONF2.OFFSET = p_device->offset; in nrf_exmif_device_config()
Dnrf_twis.h604 NRF_STATIC_INLINE volatile uint32_t* nrf_twis_getRegPtr(NRF_TWIS_Type * p_reg, uint32_t offset) in nrf_twis_getRegPtr() argument
606 return (volatile uint32_t*)((uint8_t *)p_reg + (uint32_t)offset); in nrf_twis_getRegPtr()
620 uint32_t offset) in nrf_twis_getRegPtr_c() argument
622 return (volatile const uint32_t*)((uint8_t const *)p_reg + (uint32_t)offset); in nrf_twis_getRegPtr_c()
Dnrf_mpc.h410 uint32_t offset);
903 uint32_t offset) in nrf_mpc_override_offset_set() argument
906 NRFX_ASSERT((offset & 0x3FFUL) == 0); in nrf_mpc_override_offset_set()
908 p_reg->OVERRIDE[index].OFFSET = (int32_t)offset; in nrf_mpc_override_offset_set()
Dnrf_usbd.h297 NRF_STATIC_INLINE volatile uint32_t* nrf_usbd_getRegPtr(NRF_USBD_Type * p_reg, uint32_t offset) in nrf_usbd_getRegPtr() argument
299 return (volatile uint32_t*)(((uint8_t *)p_reg) + (uint32_t)offset); in nrf_usbd_getRegPtr()
313 uint32_t offset) in nrf_usbd_getRegPtr_c() argument
315 return (volatile const uint32_t*)(((uint8_t const *)p_reg) + (uint32_t)offset); in nrf_usbd_getRegPtr_c()