Searched refs:num_bytes (Results 1 – 7 of 7) sorted by relevance
| /subsys/modbus/ |
| A D | modbus_server.c | 116 uint16_t num_bytes; in mbs_fc01_coil_read() local 143 ctx->tx_adu.length = num_bytes + 1; in mbs_fc01_coil_read() 149 memset(presp, 0, num_bytes); in mbs_fc01_coil_read() 215 uint16_t num_bytes; in mbs_fc02_di_read() local 240 num_bytes = ((di_qty - 1) / 8) + 1; in mbs_fc02_di_read() 315 uint16_t num_bytes; in mbs_fc03_hreg_read() local 427 uint16_t num_bytes; in mbs_fc04_inreg_read() local 736 uint16_t num_bytes; in mbs_fc15_coils_write() local 754 num_bytes = ctx->rx_adu.data[4]; in mbs_fc15_coils_write() 838 uint16_t num_bytes; in mbs_fc16_hregs_write() local [all …]
|
| A D | modbus_client.c | 511 size_t num_bytes; in modbus_write_coils() local 526 ctx->tx_adu.data[4] = num_bytes; in modbus_write_coils() 527 length += num_bytes + 1; in modbus_write_coils() 538 memcpy(data_ptr, coil_tbl, num_bytes); in modbus_write_coils() 555 size_t num_bytes; in modbus_write_holding_regs() local 570 ctx->tx_adu.data[4] = num_bytes; in modbus_write_holding_regs() 571 length += num_bytes + 1; in modbus_write_holding_regs() 603 size_t num_bytes; in modbus_write_holding_regs_fp() local 618 num_bytes = num_regs * sizeof(float); in modbus_write_holding_regs_fp() 619 ctx->tx_adu.data[4] = num_bytes; in modbus_write_holding_regs_fp() [all …]
|
| /subsys/mgmt/mcumgr/grp/img_mgmt/include/mgmt/mcumgr/grp/img_mgmt/ |
| A D | img_mgmt_priv.h | 61 int img_mgmt_read(int slot, unsigned int offset, void *dst, unsigned int num_bytes); 75 int img_mgmt_write_image_data(unsigned int offset, const void *data, unsigned int num_bytes, 159 int img_mgmt_erase_image_data(unsigned int off, unsigned int num_bytes);
|
| /subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
| A D | zephyr_img_mgmt.c | 347 int img_mgmt_read(int slot, unsigned int offset, void *dst, unsigned int num_bytes) in img_mgmt_read() argument 363 rc = flash_area_read(fa, offset, dst, num_bytes); in img_mgmt_read() 375 int img_mgmt_write_image_data(unsigned int offset, const void *data, unsigned int num_bytes, in img_mgmt_write_image_data() argument 409 if (flash_img_buffered_write(ctx, data, num_bytes, last) != 0) { in img_mgmt_write_image_data() 423 int img_mgmt_write_image_data(unsigned int offset, const void *data, unsigned int num_bytes, in img_mgmt_write_image_data() argument 434 if (flash_img_buffered_write(&ctx, data, num_bytes, last) != 0) { in img_mgmt_write_image_data() 442 int img_mgmt_erase_image_data(unsigned int off, unsigned int num_bytes) in img_mgmt_erase_image_data() argument 471 page_offset = fa->fa_off + num_bytes - 1; in img_mgmt_erase_image_data()
|
| /subsys/debug/coredump/ |
| A D | coredump_shell.c | 371 shell_print(sh, "\tSize %u", hdr->num_bytes); in parse_and_print_coredump() 373 data_size = hdr->num_bytes; in parse_and_print_coredump() 382 shell_print(sh, "\tSize %u", hdr->num_bytes); in parse_and_print_coredump() 384 data_size = hdr->num_bytes; in parse_and_print_coredump()
|
| A D | coredump_core.c | 192 .num_bytes = 0, in dump_threads_metadata() 195 hdr.num_bytes += sizeof(_kernel); in dump_threads_metadata()
|
| /subsys/dap/ |
| A D | cmsis_dap.c | 650 uint32_t num_bytes; in dap_swdp_sequence() local 667 num_bytes = (num_cycles + 7) >> 3; /* rounded up to full bytes */ in dap_swdp_sequence() 677 response_data += num_bytes; in dap_swdp_sequence() 680 request_data += num_bytes; in dap_swdp_sequence()
|
Completed in 21 milliseconds