/Zephyr-Core-3.4.0/subsys/modbus/ |
D | modbus_client.c | 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() 387 sys_put_be16(num_regs, &ctx->tx_adu.data[2]); in modbus_read_holding_regs_fp() 412 sys_put_be16(start_addr, &ctx->tx_adu.data[0]); in modbus_read_input_regs() 413 sys_put_be16(num_regs, &ctx->tx_adu.data[2]); in modbus_read_input_regs() [all …]
|
D | modbus_server.c | 373 sys_put_be16(reg, presp); in mbs_fc03_hreg_read() 483 sys_put_be16(reg, presp); in mbs_fc04_inreg_read() 567 sys_put_be16(coil_addr, &ctx->tx_adu.data[0]); in mbs_fc05_coil_write() 568 sys_put_be16(coil_val, &ctx->tx_adu.data[2]); in mbs_fc05_coil_write() 617 sys_put_be16(reg_addr, &ctx->tx_adu.data[0]); in mbs_fc06_hreg_write() 618 sys_put_be16(reg_val, &ctx->tx_adu.data[2]); in mbs_fc06_hreg_write() 695 sys_put_be16(sfunc, &ctx->tx_adu.data[0]); in mbs_fc08_diagnostics() 696 sys_put_be16(data, &ctx->tx_adu.data[2]); in mbs_fc08_diagnostics() 800 sys_put_be16(coil_addr, &ctx->tx_adu.data[0]); in mbs_fc15_coils_write() 801 sys_put_be16(coil_qty, &ctx->tx_adu.data[2]); in mbs_fc15_coils_write() [all …]
|
D | modbus_raw.c | 83 sys_put_be16(adu->trans_id, &header[0]); in modbus_raw_put_header() 84 sys_put_be16(adu->proto_id, &header[2]); in modbus_raw_put_header() 85 sys_put_be16(length + MODBUS_ADU_LENGTH_DEVIATION, &header[4]); in modbus_raw_put_header()
|
/Zephyr-Core-3.4.0/drivers/sensor/sht3xd/ |
D | sht3xd.c | 50 sys_put_be16(value, buf); in sht3xd_compute_crc() 59 sys_put_be16(cmd, tx_buf); in sht3xd_write_command() 68 sys_put_be16(cmd, &tx_buf[0]); in sht3xd_write_reg() 69 sys_put_be16(val, &tx_buf[2]); in sht3xd_write_reg() 103 sys_put_be16(SHT3XD_CMD_FETCH, tx_buf); in sht3xd_sample_fetch()
|
/Zephyr-Core-3.4.0/drivers/sensor/sgp40/ |
D | sgp40.c | 27 sys_put_be16(value, buf); in sgp40_compute_crc() 38 sys_put_be16(cmd, tx_buf); in sgp40_write_command() 49 sys_put_be16(SGP40_CMD_MEASURE_RAW, tx_buf); in sgp40_start_measurement() 77 sys_put_be16(t_ticks, data->t_param); in sgp40_attr_set() 89 sys_put_be16(rh_ticks, data->rh_param); in sgp40_attr_set()
|
/Zephyr-Core-3.4.0/include/zephyr/sys/ |
D | byteorder.h | 224 static inline void sys_put_be16(uint16_t val, uint8_t dst[2]) in sys_put_be16() function 242 sys_put_be16(val, &dst[1]); in sys_put_be24() 256 sys_put_be16(val >> 16, dst); in sys_put_be32() 257 sys_put_be16(val, &dst[2]); in sys_put_be32() 271 sys_put_be16(val >> 32, dst); in sys_put_be48()
|
/Zephyr-Core-3.4.0/subsys/bluetooth/host/ |
D | aes_ccm.c | 50 sys_put_be16(msg_len, b + 14); in ccm_calculate_X0() 59 sys_put_be16(aad_len, b); in ccm_calculate_X0() 117 sys_put_be16(0x0000, &b[14]); in ccm_auth() 171 sys_put_be16(j + 1, &a_i[14]); in ccm_crypt()
|
/Zephyr-Core-3.4.0/subsys/net/lib/tftp/ |
D | tftp_client.c | 29 sys_put_be16(request, ptr); in make_request() 72 sys_put_be16(DATA_OPCODE, client->tftp_buf); in send_data() 73 sys_put_be16(block_no, client->tftp_buf + 2); in send_data() 152 sys_put_be16(ERROR_OPCODE, client->tftp_buf); in send_err() 153 sys_put_be16(err_code, client->tftp_buf + 2); in send_err()
|
/Zephyr-Core-3.4.0/drivers/sensor/ina23x/ |
D | ina23x_common.c | 46 sys_put_be16(val, &tx_buf[1]); in ina23x_reg_write()
|
/Zephyr-Core-3.4.0/drivers/sensor/grow_r502a/ |
D | grow_r502a.c | 32 sys_put_be16(R502A_STARTCODE, tx_packet->start); in transceive_packet() 34 sys_put_be16(pkg_len, tx_packet->len); in transceive_packet() 38 sys_put_be16(check_sum, &tx_packet->buf[data_len + R502A_HEADER_LEN]); in transceive_packet() 358 sys_put_be16(id, &tx_packet.data[2]); in fps_store_model() 391 sys_put_be16(id, &tx_packet.data[1]); in fps_delete_model() 392 sys_put_be16(count + R502A_DELETE_COUNT_OFFSET, &tx_packet.data[3]); in fps_delete_model() 464 sys_put_be16(R02A_LIBRARY_START_IDX, &tx_packet.data[1]); in fps_search() 465 sys_put_be16(R502A_DEFAULT_CAPACITY, &tx_packet.data[3]); in fps_search()
|
/Zephyr-Core-3.4.0/drivers/sensor/shtcx/ |
D | shtcx.c | 44 sys_put_be16(value, buf); in shtcx_compute_crc() 75 sys_put_be16(cmd, tx_buf); in shtcx_write_command()
|
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/ |
D | crypto.c | 401 sys_put_be16(ctx->src, &nonce[5]); in create_app_nonce() 402 sys_put_be16(ctx->dst, &nonce[7]); in create_app_nonce() 672 sys_put_be16(0x0001, &salt[14]); in private_beacon_obf() 698 sys_put_be16(0x0005, &salt[14]); in private_beacon_auth() 719 sys_put_be16(0x0000, &salt[14]); in private_beacon_auth()
|
D | subnet.c | 464 sys_put_be16(lpn_addr, p + 1); in bt_mesh_friend_cred_create() 465 sys_put_be16(frnd_addr, p + 3); in bt_mesh_friend_cred_create() 466 sys_put_be16(lpn_counter, p + 5); in bt_mesh_friend_cred_create() 467 sys_put_be16(frnd_counter, p + 7); in bt_mesh_friend_cred_create()
|
D | pb_gatt_srv.c | 230 sys_put_be16(prov->oob_info, prov_svc_data + 18); in gatt_prov_adv_create()
|
/Zephyr-Core-3.4.0/drivers/sensor/mcp9808/ |
D | mcp9808.c | 44 sys_put_be16(val, &buf[1]); in mcp9808_reg_write_16bit()
|
/Zephyr-Core-3.4.0/drivers/sensor/sht4x/ |
D | sht4x.c | 27 sys_put_be16(value, buf); in sht4x_compute_crc()
|
/Zephyr-Core-3.4.0/drivers/sensor/tmp112/ |
D | tmp112.c | 39 sys_put_be16(val, &buf[1]); in tmp112_reg_write()
|
/Zephyr-Core-3.4.0/drivers/gpio/ |
D | gpio_bd8lb600fs.c | 66 sys_put_be16(state_converted, buffer_tx); in write_state()
|
/Zephyr-Core-3.4.0/tests/kernel/common/src/ |
D | byteorder.c | 259 sys_put_be16(val, tmp); in ZTEST()
|
/Zephyr-Core-3.4.0/drivers/ethernet/ |
D | eth_w5500.c | 197 sys_put_be16(offset + len, off); in w5500_tx() 274 sys_put_be16(off + 2 + rx_len, tmp); in w5500_rx()
|
/Zephyr-Core-3.4.0/subsys/net/ |
D | buf_simple.c | 99 sys_put_be16(val, net_buf_simple_add(buf, sizeof(val))); in net_buf_simple_add_be16() 327 sys_put_be16(val, net_buf_simple_push(buf, sizeof(val))); in net_buf_simple_push_be16()
|
/Zephyr-Core-3.4.0/drivers/sensor/ina219/ |
D | ina219.c | 46 sys_put_be16(reg_data, &tx_buf[1]); in ina219_reg_write()
|
/Zephyr-Core-3.4.0/drivers/sensor/ina3221/ |
D | ina3221.c | 42 sys_put_be16(reg_data, &tx_buf[1]); in reg_write()
|
/Zephyr-Core-3.4.0/drivers/display/ |
D | display_otm8009a.c | 494 sys_put_be16(data->xres, (uint8_t *)&buf[2]); in otm8009a_configure() 502 sys_put_be16(data->yres, (uint8_t *)&buf[2]); in otm8009a_configure()
|
/Zephyr-Core-3.4.0/drivers/sensor/tmp108/ |
D | tmp108.c | 45 sys_put_be16(val, &tx_buf[1]); in tmp108_reg_write()
|