Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dstate_binding.c110 void set_target(uint8_t type, void *dptr) in set_target() argument
116 onoff = *((uint8_t *) dptr); in set_target()
129 ctl->light->target = *((int16_t *) dptr) - INT16_MIN; in set_target()
133 ctl->light->target = *((int16_t *) dptr) - INT16_MIN; in set_target()
137 ctl->light->target = *((uint16_t *) dptr); in set_target()
140 ctl->light->target = *((uint16_t *) dptr); in set_target()
144 ctl->light->target = linear_to_actual(*((uint16_t *) dptr)); in set_target()
148 ctl->light->target = *((uint16_t *) dptr); in set_target()
152 ctl->temp->target = level_to_light_ctl_temp(*((int16_t *) dptr)); in set_target()
155 ctl->temp->target = *((uint16_t *) dptr); in set_target()
[all …]
Dstate_binding.h31 void set_target(uint8_t type, void *dptr);
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv_sync.c1005 uint8_t *dptr; in ull_adv_sync_pdu_init() local
1021 dptr = ext_hdr->data; in ull_adv_sync_pdu_init()
1032 (void)memcpy(dptr, cte_info, sizeof(*cte_info)); in ull_adv_sync_pdu_init()
1034 dptr += sizeof(struct pdu_cte_info); in ull_adv_sync_pdu_init()
1041 dptr += sizeof(struct pdu_adv_adi); in ull_adv_sync_pdu_init()
1046 aux_ptr = (void *)dptr; in ull_adv_sync_pdu_init()
1047 dptr += sizeof(struct pdu_adv_aux_ptr); in ull_adv_sync_pdu_init()
1051 dptr += sizeof(uint8_t); in ull_adv_sync_pdu_init()
1055 len = ull_adv_aux_hdr_len_calc(com_hdr, &dptr); in ull_adv_sync_pdu_init()
1151 uint8_t *dptr; local
[all …]
Dull_adv_aux.c484 uint8_t *dptr; local
494 dptr = com_hdr->ext_hdr.data;
530 dptr += BDADDR_SIZE;
535 dptr += BDADDR_SIZE;
542 (void)memcpy(dptr_chain, dptr,
545 dptr += sizeof(struct pdu_adv_adi);
1131 uint8_t *dptr; in ll_adv_aux_sr_data_set() local
1140 dptr = com_hdr->ext_hdr.data; in ll_adv_aux_sr_data_set()
1175 dptr += BDADDR_SIZE; in ll_adv_aux_sr_data_set()
1180 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()
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c274 uint8_t *dptr; in common_validate_per_adv_pdu() local
284 dptr = ext_hdr->data; in common_validate_per_adv_pdu()
295 dptr += sizeof(struct pdu_cte_info); in common_validate_per_adv_pdu()
305 dptr += sizeof(struct pdu_adv_adi); in common_validate_per_adv_pdu()
315 dptr += sizeof(struct pdu_adv_aux_ptr); in common_validate_per_adv_pdu()
327 dptr += sizeof(uint8_t); in common_validate_per_adv_pdu()
337 ext_hdr_len = ull_adv_aux_hdr_len_calc(com_hdr, &dptr); in common_validate_per_adv_pdu()
515 uint8_t *dptr; in common_pdu_adv_data_set() local
519 dptr = &com_hdr->ext_hdr_adv_data[com_hdr->ext_hdr_len]; in common_pdu_adv_data_set()
521 len_max = PDU_AC_PAYLOAD_SIZE_MAX - (dptr - pdu->payload); in common_pdu_adv_data_set()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_sync.c446 uint8_t *dptr; local
456 dptr = hdr->data;
465 dptr += sizeof(struct pdu_cte_info);
471 dptr += sizeof(struct pdu_adv_adi);
477 *aux_ptr = (void *)dptr;
Dlll_adv_aux.c356 uint8_t *dptr; in aux_ptr_get() local
368 dptr = hdr->data; in aux_ptr_get()
372 dptr += BDADDR_SIZE; in aux_ptr_get()
377 dptr += BDADDR_SIZE; in aux_ptr_get()
384 dptr += sizeof(struct pdu_adv_adi); in aux_ptr_get()
390 *aux_ptr = (void *)dptr; in aux_ptr_get()
/Zephyr-latest/drivers/disk/nvme/
Dnvme_cmd.c557 request->cmd.dptr.prp1 = in nvme_cmd_qpair_fill_prp_list()
559 request->cmd.dptr.prp2 = in nvme_cmd_qpair_fill_prp_list()
616 request->cmd.dptr.prp1 = in nvme_cmd_qpair_fill_dptr()
619 request->cmd.dptr.prp2 = (uint64_t)sys_cpu_to_le64( in nvme_cmd_qpair_fill_dptr()
623 request->cmd.dptr.prp2 = 0; in nvme_cmd_qpair_fill_dptr()
Dnvme_controller_cmd.c83 cmd->dptr.prp1 = sys_cpu_to_le64(io_queue->cpl_bus_addr); in nvme_ctrlr_cmd_create_io_cq()
111 cmd->dptr.prp1 = sys_cpu_to_le64(io_queue->cmd_bus_addr); in nvme_ctrlr_cmd_create_io_sq()
Dnvme_cmd.h39 } dptr; /* data pointer */ member
/Zephyr-latest/modules/nrf_wifi/bus/
Dqspi_if.c807 uint8_t *dptr = dest; in read_non_aligned() local
815 int dest_prefix = (WORD_SIZE - (int)dptr % WORD_SIZE) % WORD_SIZE; in read_non_aligned()
834 res = _nrfx_qspi_read(dptr + dest_prefix, flash_middle, addr + flash_prefix); in read_non_aligned()
844 memmove(dptr + flash_prefix, dptr + dest_prefix, flash_middle); in read_non_aligned()
858 memcpy(dptr, buf + WORD_SIZE - flash_prefix, flash_prefix); in read_non_aligned()
871 memcpy(dptr + flash_prefix + flash_middle, buf, flash_suffix); in read_non_aligned()
/Zephyr-latest/drivers/flash/
Dnrf_qspi_nor.c792 uint8_t *dptr = dest; in read_non_aligned() local
800 off_t dest_prefix = (WORD_SIZE - (off_t)dptr % WORD_SIZE) % WORD_SIZE; in read_non_aligned()
820 res = nrfx_qspi_read(dptr + dest_prefix, flash_middle, in read_non_aligned()
829 memmove(dptr + flash_prefix, dptr + dest_prefix, flash_middle); in read_non_aligned()
841 memcpy(dptr, buf + WORD_SIZE - flash_prefix, flash_prefix); in read_non_aligned()
852 memcpy(dptr + flash_prefix + flash_middle, buf, flash_suffix); in read_non_aligned()
/Zephyr-latest/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()
/Zephyr-latest/lib/net_buf/
Dbuf.c731 const uint8_t *dptr = data; in net_buf_data_match() local
751 if (dptr[compared] != bptr[i]) { in net_buf_data_match()