Home
last modified time | relevance | path

Searched refs:dptr (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/util/src/
Dzcbor_bulk.c19 struct zcbor_map_decode_key_val *dptr = map; in zcbor_map_decode_bulk() local
36 if (dptr >= (map + map_size)) { in zcbor_map_decode_bulk()
37 dptr = map; in zcbor_map_decode_bulk()
40 if (key.len == dptr->key.len && in zcbor_map_decode_bulk()
41 memcmp(key.value, dptr->key.value, key.len) == 0) { in zcbor_map_decode_bulk()
43 if (dptr->found) { in zcbor_map_decode_bulk()
46 if (!dptr->decoder(zsd, dptr->value_ptr)) { in zcbor_map_decode_bulk()
55 dptr->found = true; in zcbor_map_decode_bulk()
57 ++dptr; in zcbor_map_decode_bulk()
62 ++dptr; in zcbor_map_decode_bulk()
[all …]
/Zephyr-Core-3.5.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dstate_binding.c111 void set_target(uint8_t type, void *dptr) in set_target() argument
117 onoff = *((uint8_t *) dptr); in set_target()
130 ctl->light->target = *((int16_t *) dptr) - INT16_MIN; in set_target()
134 ctl->light->target = *((int16_t *) dptr) - INT16_MIN; in set_target()
138 ctl->light->target = *((uint16_t *) dptr); in set_target()
141 ctl->light->target = *((uint16_t *) dptr); in set_target()
145 ctl->light->target = linear_to_actual(*((uint16_t *) dptr)); in set_target()
149 ctl->light->target = *((uint16_t *) dptr); in set_target()
153 ctl->temp->target = level_to_light_ctl_temp(*((int16_t *) dptr)); in set_target()
156 ctl->temp->target = *((uint16_t *) dptr); in set_target()
[all …]
Dstate_binding.h31 void set_target(uint8_t type, void *dptr);
/Zephyr-Core-3.5.0/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c268 uint8_t *dptr; in common_validate_per_adv_pdu() local
278 dptr = ext_hdr->data; in common_validate_per_adv_pdu()
289 dptr += sizeof(struct pdu_cte_info); in common_validate_per_adv_pdu()
299 dptr += sizeof(struct pdu_adv_adi); in common_validate_per_adv_pdu()
309 dptr += sizeof(struct pdu_adv_aux_ptr); in common_validate_per_adv_pdu()
321 dptr += sizeof(uint8_t); in common_validate_per_adv_pdu()
331 ext_hdr_len = ull_adv_aux_hdr_len_calc(com_hdr, &dptr); in common_validate_per_adv_pdu()
509 uint8_t *dptr; in common_pdu_adv_data_set() local
513 dptr = &com_hdr->ext_hdr_adv_data[com_hdr->ext_hdr_len]; in common_pdu_adv_data_set()
515 len_max = PDU_AC_PAYLOAD_SIZE_MAX - (dptr - pdu->payload); in common_pdu_adv_data_set()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dull_adv_aux.c477 uint8_t *dptr; local
487 dptr = com_hdr->ext_hdr.data;
523 dptr += BDADDR_SIZE;
528 dptr += BDADDR_SIZE;
535 (void)memcpy(dptr_chain, dptr,
538 dptr += sizeof(struct pdu_adv_adi);
1124 uint8_t *dptr; in ll_adv_aux_sr_data_set() local
1133 dptr = com_hdr->ext_hdr.data; in ll_adv_aux_sr_data_set()
1168 dptr += BDADDR_SIZE; in ll_adv_aux_sr_data_set()
1173 dptr += BDADDR_SIZE; in ll_adv_aux_sr_data_set()
[all …]
Dull_adv_internal.h183 ull_adv_aux_hdr_len_calc(struct pdu_adv_com_ext_adv *com_hdr, uint8_t **dptr) in ull_adv_aux_hdr_len_calc() argument
187 len = *dptr - (uint8_t *)com_hdr; in ull_adv_aux_hdr_len_calc()
191 *dptr = (uint8_t *)com_hdr + len; in ull_adv_aux_hdr_len_calc()
Dull_adv_sync.c532 uint8_t *dptr; in ll_adv_sync_ad_data_set() local
541 dptr = com_hdr->ext_hdr.data; in ll_adv_sync_ad_data_set()
586 (void)memcpy(dptr_chain, dptr, in ll_adv_sync_ad_data_set()
589 dptr += sizeof(struct pdu_adv_adi); in ll_adv_sync_ad_data_set()
1387 uint8_t *dptr; in ull_adv_sync_pdu_init() local
1403 dptr = ext_hdr->data; in ull_adv_sync_pdu_init()
1413 (void)memcpy(dptr, cte_info, sizeof(*cte_info)); in ull_adv_sync_pdu_init()
1415 dptr += sizeof(struct pdu_cte_info); in ull_adv_sync_pdu_init()
1421 dptr += sizeof(struct pdu_adv_adi); in ull_adv_sync_pdu_init()
1425 aux_ptr = (void *)dptr; in ull_adv_sync_pdu_init()
[all …]
Dull_sync.c1471 uint8_t *dptr; local
1481 dptr = hdr->data;
/Zephyr-Core-3.5.0/drivers/disk/nvme/
Dnvme_cmd.c554 request->cmd.dptr.prp1 = in nvme_cmd_qpair_fill_prp_list()
556 request->cmd.dptr.prp2 = in nvme_cmd_qpair_fill_prp_list()
613 request->cmd.dptr.prp1 = in nvme_cmd_qpair_fill_dptr()
616 request->cmd.dptr.prp2 = (uint64_t)sys_cpu_to_le64( in nvme_cmd_qpair_fill_dptr()
620 request->cmd.dptr.prp2 = 0; in nvme_cmd_qpair_fill_dptr()
Dnvme_controller_cmd.c81 cmd->dptr.prp1 = sys_cpu_to_le64(io_queue->cpl_bus_addr); in nvme_ctrlr_cmd_create_io_cq()
109 cmd->dptr.prp1 = sys_cpu_to_le64(io_queue->cmd_bus_addr); in nvme_ctrlr_cmd_create_io_sq()
Dnvme_cmd.h36 } dptr; /* data pointer */ member
/Zephyr-Core-3.5.0/drivers/flash/
Dnrf_qspi_nor.c927 uint8_t *dptr = dest; in read_non_aligned() local
935 off_t dest_prefix = (WORD_SIZE - (off_t)dptr % WORD_SIZE) % WORD_SIZE; in read_non_aligned()
955 res = nrfx_qspi_read(dptr + dest_prefix, flash_middle, in read_non_aligned()
964 memmove(dptr + flash_prefix, dptr + dest_prefix, flash_middle); in read_non_aligned()
976 memcpy(dptr, buf + WORD_SIZE - flash_prefix, flash_prefix); in read_non_aligned()
987 memcpy(dptr + flash_prefix + flash_middle, buf, flash_suffix); in read_non_aligned()
/Zephyr-Core-3.5.0/drivers/adc/
Dadc_lmp90xxx.c169 uint8_t *dptr, in lmp90xxx_read_reg() argument
217 rx_buf[1].buf = dptr; in lmp90xxx_read_reg()
245 uint8_t *dptr, in lmp90xxx_write_reg() argument
284 tx_buf[i].buf = dptr; in lmp90xxx_write_reg()