Lines Matching refs:data_ptr
510 uint8_t *data_ptr; in modbus_write_coils() local
536 data_ptr = &ctx->tx_adu.data[5]; in modbus_write_coils()
538 memcpy(data_ptr, coil_tbl, num_bytes); in modbus_write_coils()
554 uint8_t *data_ptr; in modbus_write_holding_regs() local
580 data_ptr = &ctx->tx_adu.data[5]; in modbus_write_holding_regs()
583 sys_put_be16(reg_buf[i], data_ptr); in modbus_write_holding_regs()
584 data_ptr += sizeof(uint16_t); in modbus_write_holding_regs()
602 uint8_t *data_ptr; in modbus_write_holding_regs_fp() local
629 data_ptr = &ctx->tx_adu.data[5]; in modbus_write_holding_regs_fp()
635 sys_put_be32(reg_val, data_ptr); in modbus_write_holding_regs_fp()
636 data_ptr += sizeof(uint32_t); in modbus_write_holding_regs_fp()