Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.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.4.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.4.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.4.0/subsys/bluetooth/controller/ll_sw/
Dull_adv_aux.c426 uint8_t *dptr; local
435 dptr = com_hdr->ext_hdr.data;
470 dptr += BDADDR_SIZE;
475 dptr += BDADDR_SIZE;
482 (void)memcpy(dptr_chain, dptr,
485 dptr += sizeof(struct pdu_adv_adi);
1065 uint8_t *dptr; in ll_adv_aux_sr_data_set() local
1074 dptr = com_hdr->ext_hdr.data; in ll_adv_aux_sr_data_set()
1109 dptr += BDADDR_SIZE; in ll_adv_aux_sr_data_set()
1114 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.c537 uint8_t *dptr; in ll_adv_sync_ad_data_set() local
546 dptr = com_hdr->ext_hdr.data; in ll_adv_sync_ad_data_set()
591 (void)memcpy(dptr_chain, dptr, in ll_adv_sync_ad_data_set()
594 dptr += sizeof(struct pdu_adv_adi); in ll_adv_sync_ad_data_set()
1390 uint8_t *dptr; in ull_adv_sync_pdu_init() local
1406 dptr = ext_hdr->data; in ull_adv_sync_pdu_init()
1416 (void)memcpy(dptr, cte_info, sizeof(*cte_info)); in ull_adv_sync_pdu_init()
1418 dptr += sizeof(struct pdu_cte_info); in ull_adv_sync_pdu_init()
1424 dptr += sizeof(struct pdu_adv_adi); in ull_adv_sync_pdu_init()
1428 aux_ptr = (void *)dptr; in ull_adv_sync_pdu_init()
[all …]
Dull_sync.c1473 uint8_t *dptr; local
1483 dptr = hdr->data;
/Zephyr-Core-3.4.0/drivers/disk/nvme/
Dnvme_cmd.c386 request->cmd.dptr.prp1 = in nvme_cmd_qpair_fill_prp_list()
388 request->cmd.dptr.prp2 = in nvme_cmd_qpair_fill_prp_list()
423 request->cmd.dptr.prp1 = in nvme_cmd_qpair_fill_dptr()
426 request->cmd.dptr.prp2 = in nvme_cmd_qpair_fill_dptr()
430 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.4.0/drivers/flash/
Dnrf_qspi_nor.c925 uint8_t *dptr = dest; in read_non_aligned() local
933 off_t dest_prefix = (WORD_SIZE - (off_t)dptr % WORD_SIZE) % WORD_SIZE; in read_non_aligned()
953 res = nrfx_qspi_read(dptr + dest_prefix, flash_middle, in read_non_aligned()
962 memmove(dptr + flash_prefix, dptr + dest_prefix, flash_middle); in read_non_aligned()
974 memcpy(dptr, buf + WORD_SIZE - flash_prefix, flash_prefix); in read_non_aligned()
985 memcpy(dptr + flash_prefix + flash_middle, buf, flash_suffix); in read_non_aligned()
/Zephyr-Core-3.4.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()