/Zephyr-Core-3.4.0/subsys/net/lib/lwm2m/ |
D | lwm2m_registry.c | 467 res_inst->data_ptr = buffer_ptr; in lwm2m_set_res_buf() 491 int lwm2m_engine_set_res_data(const char *pathstr, void *data_ptr, uint16_t data_len, in lwm2m_engine_set_res_data() argument 503 return lwm2m_set_res_buf(&path, data_ptr, data_len, data_len, data_flags); in lwm2m_engine_set_res_data() 553 void *data_ptr = NULL; in lwm2m_engine_set() local 589 data_ptr = res_inst->data_ptr; in lwm2m_engine_set() 594 data_ptr = res->pre_write_cb(obj_inst->obj_inst_id, res->res_id, in lwm2m_engine_set() 598 if (!data_ptr) { in lwm2m_engine_set() 613 if (memcmp(data_ptr, value, len) != 0) { in lwm2m_engine_set() 631 memcpy((uint8_t *)data_ptr, value, len); in lwm2m_engine_set() 642 memcpy((uint8_t *)data_ptr, value, len); in lwm2m_engine_set() [all …]
|
D | lwm2m_message_handling.c | 906 struct lwm2m_message *msg, void *data_ptr, size_t data_len) in lwm2m_write_handler_opaque() argument 934 write_buf = data_ptr; in lwm2m_write_handler_opaque() 955 memcpy(data_ptr, write_buf, len); in lwm2m_write_handler_opaque() 961 res_inst->res_inst_id, data_ptr, len, in lwm2m_write_handler_opaque() 980 void *data_ptr = NULL; in lwm2m_write_handler() local 1001 data_ptr = res_inst->data_ptr; in lwm2m_write_handler() 1006 data_ptr = res->pre_write_cb(obj_inst->obj_inst_id, res->res_id, in lwm2m_write_handler() 1036 write_buf = data_ptr; in lwm2m_write_handler() 1040 if (data_ptr && data_len > 0) { in lwm2m_write_handler() 1044 ret = lwm2m_write_handler_opaque(obj_inst, res, res_inst, msg, data_ptr, in lwm2m_write_handler() [all …]
|
D | lwm2m_rw_senml_json.c | 1219 uint8_t *data_ptr; in get_opaque() local 1231 data_ptr = val_opaque->start; in get_opaque() 1234 base64_url_safe_decode(data_ptr, val_opaque->length); in get_opaque() 1240 ret = store_padded_modulo(&padded_length, padded_buf, data_ptr + original_size, in get_opaque() 1246 if (base64_decode(data_ptr, val_opaque->length, &base64_length, data_ptr, in get_opaque() 1259 memcpy(data_ptr + val_opaque->length, padded_buf, buffer_base64_length); in get_opaque() 1281 memcpy(value, data_ptr, in_len); in get_opaque() 1473 char *data_ptr; in do_write_op_senml_json() local 1485 data_ptr = (char *)coap_packet_get_payload(msg->in.in_cpkt, &in_len); in do_write_op_senml_json() 1488 if (json_arr_separate_object_parse_init(&json_object, data_ptr, in_len)) { in do_write_op_senml_json() [all …]
|
D | lwm2m_object.h | 253 _ri_ptr[_ri_idx + _i].data_ptr = \ 275 _ri_ptr[_ri_idx + _i].data_ptr = NULL; \ 389 void *data_ptr; member
|
D | lwm2m_rw_json.c | 910 char *data_ptr; in do_write_op_json() local 922 data_ptr = (char *)coap_packet_get_payload(msg->in.in_cpkt, &in_len); in do_write_op_json() 925 json_obj_parse(data_ptr, in_len, json_descr, ARRAY_SIZE(json_descr), &main_object); in do_write_op_json()
|
D | lwm2m_pull_context.c | 297 write_buf = res->res_instances->data_ptr; in do_firmware_transfer_reply_cb()
|
/Zephyr-Core-3.4.0/tests/subsys/canbus/isotp/implementation/src/ |
D | main.c | 138 const uint8_t *data_ptr = data; in receive_test_data_net() local 149 data_ptr = check_frag(buf, data_ptr); in receive_test_data_net() 183 const uint8_t *data_ptr = data; in receive_test_data() local 192 check_data(data_buf, data_ptr, ret); in receive_test_data() 193 data_ptr += ret; in receive_test_data() 278 const uint8_t *data_ptr; in ZTEST() local 286 data_ptr = random_data; in ZTEST() 295 data_ptr = check_frag(frag, data_ptr); in ZTEST()
|
/Zephyr-Core-3.4.0/tests/subsys/canbus/isotp/conformance/src/ |
D | main.c | 205 const uint8_t *data_ptr = data; in receive_test_data() local 215 ret = check_data(data_buf, data_ptr, recv_len); in receive_test_data() 217 data_ptr += recv_len; in receive_test_data() 300 const uint8_t *data_ptr = data; in prepare_cf_frames() local 306 memcpy(&des_frames[i].data[1], data_ptr, DATA_SIZE_CF); in prepare_cf_frames() 316 data_ptr += DATA_SIZE_CF; in prepare_cf_frames() 486 const uint8_t *data_ptr = random_data; in ZTEST() local 492 memcpy(&ff_frame.data[2], data_ptr, DATA_SIZE_FF); in ZTEST() 494 data_ptr += DATA_SIZE_FF; in ZTEST() 502 prepare_cf_frames(des_frames, ARRAY_SIZE(des_frames), data_ptr, in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/subsys/modbus/ |
D | modbus_client.c | 509 uint8_t *data_ptr; in modbus_write_coils() local 535 data_ptr = &ctx->tx_adu.data[5]; in modbus_write_coils() 537 memcpy(data_ptr, coil_tbl, num_bytes); in modbus_write_coils() 553 uint8_t *data_ptr; in modbus_write_holding_regs() local 579 data_ptr = &ctx->tx_adu.data[5]; in modbus_write_holding_regs() 582 sys_put_be16(reg_buf[i], data_ptr); in modbus_write_holding_regs() 583 data_ptr += sizeof(uint16_t); in modbus_write_holding_regs() 601 uint8_t *data_ptr; in modbus_write_holding_regs_fp() local 627 data_ptr = &ctx->tx_adu.data[5]; in modbus_write_holding_regs_fp() 633 sys_put_be32(reg_val, data_ptr); in modbus_write_holding_regs_fp() [all …]
|
D | modbus_serial.c | 248 uint8_t *data_ptr; in modbus_rtu_rx_adu() local 259 data_ptr = &cfg->uart_buf[2]; in modbus_rtu_rx_adu() 265 memcpy(ctx->rx_adu.data, data_ptr, ctx->rx_adu.length); in modbus_rtu_rx_adu() 284 uint8_t *data_ptr; in rtu_tx_adu() local 289 data_ptr = &cfg->uart_buf[2]; in rtu_tx_adu() 291 memcpy(data_ptr, ctx->tx_adu.data, ctx->tx_adu.length); in rtu_tx_adu()
|
/Zephyr-Core-3.4.0/include/zephyr/drivers/ |
D | emul.h | 122 #define EMUL_DT_DEFINE(node_id, init_fn, data_ptr, cfg_ptr, bus_api, _backend_api) \ argument 133 .data = (data_ptr), \
|
D | smbus.h | 497 data_ptr, cfg_ptr, level, prio, \ argument 506 data_ptr, cfg_ptr, level, prio, \ 523 data_ptr, cfg_ptr, level, prio, \ argument 526 data_ptr, cfg_ptr, level, prio, \
|
D | sensor.h | 1188 data_ptr, cfg_ptr, level, prio, \ argument 1191 data_ptr, cfg_ptr, level, prio, \
|
D | spi.h | 522 data_ptr, cfg_ptr, level, prio, \ argument 530 data_ptr, cfg_ptr, level, prio, \
|
/Zephyr-Core-3.4.0/drivers/flash/ |
D | flash_ifx_cat1.c | 81 const uint8_t *data_ptr = (const uint8_t *)data; in ifx_cat1_flash_write() local 97 (const uint32_t *)data_ptr); in ifx_cat1_flash_write() 104 data_ptr += PAGE_LEN; in ifx_cat1_flash_write()
|
/Zephyr-Core-3.4.0/include/zephyr/net/ |
D | tftp.h | 67 uint8_t *data_ptr; /**< Pointer to binary data. */ member
|
D | lwm2m.h | 808 int lwm2m_engine_set_opaque(const char *pathstr, const char *data_ptr, uint16_t data_len); 819 int lwm2m_set_opaque(const struct lwm2m_obj_path *path, const char *data_ptr, uint16_t data_len); 832 int lwm2m_engine_set_string(const char *pathstr, const char *data_ptr); 842 int lwm2m_set_string(const struct lwm2m_obj_path *path, const char *data_ptr); 1764 int lwm2m_engine_set_res_data(const char *pathstr, void *data_ptr, uint16_t data_len, 1857 int lwm2m_engine_get_res_data(const char *pathstr, void **data_ptr, uint16_t *data_len,
|
/Zephyr-Core-3.4.0/drivers/ethernet/ |
D | eth_w5500.c | 249 uint8_t *data_ptr; in w5500_rx() local 252 data_ptr = pkt_buf->data; in w5500_rx() 262 w5500_readbuf(dev, reader, data_ptr, frame_len); in w5500_rx()
|
D | eth_enc424j600.c | 402 uint8_t *data_ptr; in enc424j600_rx() local 405 data_ptr = pkt_buf->data; in enc424j600_rx() 416 enc424j600_read_mem(dev, ENC424J600_NBC_RRXDATA, data_ptr, in enc424j600_rx()
|
D | eth_enc28j60.c | 575 uint8_t *data_ptr; in enc28j60_read_packet() local 578 data_ptr = pkt_buf->data; in enc28j60_read_packet() 589 eth_enc28j60_read_mem(dev, data_ptr, spi_frame_len); in enc28j60_read_packet()
|
/Zephyr-Core-3.4.0/drivers/usb/udc/ |
D | udc_kinetis.c | 187 uint8_t *data_ptr; in usbfsotg_xfer_continue() local 199 data_ptr = net_buf_tail(buf); in usbfsotg_xfer_continue() 202 data_ptr = buf->data; in usbfsotg_xfer_continue() 205 usbfsotg_bd_set_ctrl(bd, len, data_ptr, cfg->stat.data1); in usbfsotg_xfer_continue()
|
/Zephyr-Core-3.4.0/subsys/net/lib/tftp/ |
D | tftp_client.c | 306 evt.param.data.data_ptr = client->tftp_buf + TFTP_HEADER_SIZE; in tftp_get()
|