Lines Matching refs:sys_put_be16

309 	sys_put_be16(start_addr, &ctx->tx_adu.data[0]);  in modbus_read_coils()
310 sys_put_be16(num_coils, &ctx->tx_adu.data[2]); in modbus_read_coils()
334 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_dinputs()
335 sys_put_be16(num_di, &ctx->tx_adu.data[2]); in modbus_read_dinputs()
359 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_holding_regs()
360 sys_put_be16(num_regs, &ctx->tx_adu.data[2]); in modbus_read_holding_regs()
386 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_holding_regs_fp()
388 sys_put_be16(num_regs * 2, &ctx->tx_adu.data[2]); in modbus_read_holding_regs_fp()
413 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_input_regs()
414 sys_put_be16(num_regs, &ctx->tx_adu.data[2]); in modbus_read_input_regs()
444 sys_put_be16(coil_addr, &ctx->tx_adu.data[0]); in modbus_write_coil()
445 sys_put_be16(coil_val, &ctx->tx_adu.data[2]); in modbus_write_coil()
468 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_write_holding_reg()
469 sys_put_be16(reg_val, &ctx->tx_adu.data[2]); in modbus_write_holding_reg()
493 sys_put_be16(sfunc, &ctx->tx_adu.data[0]); in modbus_request_diagnostic()
494 sys_put_be16(data, &ctx->tx_adu.data[2]); in modbus_request_diagnostic()
520 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_write_coils()
522 sys_put_be16(num_coils, &ctx->tx_adu.data[2]); in modbus_write_coils()
564 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_write_holding_regs()
566 sys_put_be16(num_regs, &ctx->tx_adu.data[2]); in modbus_write_holding_regs()
583 sys_put_be16(reg_buf[i], data_ptr); in modbus_write_holding_regs()
612 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_write_holding_regs_fp()
615 sys_put_be16(num_regs * 2, &ctx->tx_adu.data[2]); in modbus_write_holding_regs_fp()