/Zephyr-latest/include/zephyr/sys/ |
D | byteorder.h | 591 static inline uint16_t sys_get_le16(const uint8_t src[2]) in sys_get_le16() function 608 return ((uint32_t)src[2] << 16) | sys_get_le16(&src[0]); in sys_get_le24() 623 return ((uint32_t)sys_get_le16(&src[2]) << 16) | sys_get_le16(&src[0]); in sys_get_le32() 653 return ((uint64_t)sys_get_le32(&src[2]) << 16) | sys_get_le16(&src[0]); in sys_get_le48()
|
/Zephyr-latest/drivers/input/ |
D | input_ili2132a.c | 56 x = sys_get_le16(&buf[X_COORD]); in ili2132a_process() 57 y = sys_get_le16(&buf[Y_COORD]); in ili2132a_process()
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_aw9523b.c | 117 WRITE_BIT(data->prev_value, pin, sys_get_le16(buf) & BIT(pin)); in gpio_aw9523b_pin_configure() 185 old_value = sys_get_le16(buf); in gpio_aw9523b_port_read_write_toggle() 197 *(uint16_t *)buf = sys_get_le16((uint8_t *)&new_value); in gpio_aw9523b_port_read_write_toggle() 207 *value = sys_get_le16(buf); in gpio_aw9523b_port_read_write_toggle() 265 value = sys_get_le16(buf); in gpio_aw9523b_interrupt_worker() 320 WRITE_BIT(data->prev_value, pin, sys_get_le16(buf) & BIT(pin)); in gpio_aw9523b_pin_interrupt_configure()
|
D | gpio_pcf857x.c | 76 *value = sys_get_le16(rx_buf); /*format P17-P10..P07-P00 (bit15-bit8..bit7-bit0)*/ in pcf857x_process_input() 79 drv_data->input_port_last = sys_get_le16(rx_buf); in pcf857x_process_input()
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | dfu.c | 264 shell_print(sh, "\tCID: 0x%04x", sys_get_le16(&dfu_comp_data.data[0])); in cmd_dfu_comp_hash_get() 265 shell_print(sh, "\tPID: 0x%04x", sys_get_le16(&dfu_comp_data.data[2])); in cmd_dfu_comp_hash_get() 266 shell_print(sh, "\tVID: 0x%04x", sys_get_le16(&dfu_comp_data.data[4])); in cmd_dfu_comp_hash_get() 267 shell_print(sh, "\tCPRL: %u", sys_get_le16(&dfu_comp_data.data[6])); in cmd_dfu_comp_hash_get() 268 shell_print(sh, "\tFeatures: 0x%x", sys_get_le16(&dfu_comp_data.data[8])); in cmd_dfu_comp_hash_get() 274 shell_print(sh, "\tElem: %u", sys_get_le16(&dfu_comp_data.data[i])); in cmd_dfu_comp_hash_get() 280 sys_get_le16(&dfu_comp_data.data[i + 4 + j * 2])); in cmd_dfu_comp_hash_get() 287 sys_get_le16(&dfu_comp_data.data[arg_i]), in cmd_dfu_comp_hash_get() 288 sys_get_le16(&dfu_comp_data.data[arg_i + 2])); in cmd_dfu_comp_hash_get()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | foundation.h | 178 *idx1 = sys_get_le16(&buf->data[0]) & 0xfff; in key_idx_unpack_pair() 179 *idx2 = sys_get_le16(&buf->data[1]) >> 4; in key_idx_unpack_pair()
|
/Zephyr-latest/drivers/sensor/ams/tsl2591/ |
D | tsl2591.c | 94 data->vis_count = sys_get_le16(als_data); in tsl2591_sample_fetch() 95 data->ir_count = sys_get_le16(als_data + 2); in tsl2591_sample_fetch() 104 data->vis_count = sys_get_le16(als_data); in tsl2591_sample_fetch() 113 data->ir_count = sys_get_le16(als_data); in tsl2591_sample_fetch()
|
/Zephyr-latest/drivers/sensor/bosch/bmi270/ |
D | bmi270.c | 497 data->ax = (int16_t)sys_get_le16(&buf[0]); in bmi270_sample_fetch() 498 data->ay = (int16_t)sys_get_le16(&buf[2]); in bmi270_sample_fetch() 499 data->az = (int16_t)sys_get_le16(&buf[4]); in bmi270_sample_fetch() 500 data->gx = (int16_t)sys_get_le16(&buf[6]); in bmi270_sample_fetch() 501 data->gy = (int16_t)sys_get_le16(&buf[8]); in bmi270_sample_fetch() 502 data->gz = (int16_t)sys_get_le16(&buf[10]); in bmi270_sample_fetch()
|
/Zephyr-latest/drivers/fuel_gauge/max17048/ |
D | emul_max17048.c | 114 uint16_t value = sys_get_le16(msgs->buf); in max17048_emul_transfer_i2c()
|
/Zephyr-latest/subsys/lorawan/services/ |
D | frag_transport.c | 171 ctx.nb_frag = sys_get_le16(rx_buf + rx_pos); in frag_transport_package_callback() 256 uint16_t frag_index_n = sys_get_le16(rx_buf + rx_pos); in frag_transport_package_callback()
|
/Zephyr-latest/drivers/charger/ |
D | emul_sbs_charger.c | 116 uint16_t value = sys_get_le16(msgs->buf); in sbs_charger_emul_transfer_i2c()
|
D | sbs_charger.c | 35 *val = sys_get_le16(i2c_data); in sbs_cmd_reg_read()
|
/Zephyr-latest/drivers/fuel_gauge/bq27z746/ |
D | bq27z746.c | 35 *value = sys_get_le16(i2c_data); in bq27z746_read16() 82 const uint16_t read_cmd = sys_get_le16(buf); in bq27z746_read_mac()
|
D | emul_bq27z746.c | 102 data->mac_cmd = sys_get_le16(&buf[1]); in emul_bq27z746_write()
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | hci_nxp_setup.c | 348 fw_upload.length = sys_get_le16(&buffer[1]); in fw_upload_wait_req() 350 fw_upload.error = sys_get_le16(&buffer[7]); in fw_upload_wait_req() 358 chip_id = sys_get_le16(&buffer[1]); in fw_upload_wait_req() 480 len = sys_get_le16(buffer); in fw_upload_wait_length() 481 len_comp = sys_get_le16(buffer); in fw_upload_wait_length() 551 len = sys_get_le16(&buffer[1]); in fw_upload_len_valid() 552 len_comp = sys_get_le16(&buffer[3]); in fw_upload_len_valid()
|
D | hci_stm32wb0.c | 402 connection_handle = sys_get_le16(hci_buffer) & 0x0FFF; in bt_hci_stm32wb0_send() 403 iso_data_load_len = sys_get_le16(hci_buffer + 2) & 0x3FFF; in bt_hci_stm32wb0_send()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | uuid.c | 85 BT_UUID_16(uuid)->val = sys_get_le16(data); in bt_uuid_create()
|
/Zephyr-latest/subsys/dap/ |
D | cmsis_dap.c | 258 uint16_t delay = sys_get_le16(&request[0]); in dap_delay() 396 ctx->transfer.retry_count = sys_get_le16(&request[1]); in dap_transfer_cfg() 397 ctx->transfer.match_retry = sys_get_le16(&request[3]); in dap_transfer_cfg() 705 req_cnt = sys_get_le16(&request[1]); in dap_swdp_transferblock()
|
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_stm32_fmc.c | 116 sys_write16(sys_get_le16(&framebuf[i]), config->data_addr); in mipi_dbi_stm32_fmc_write_display()
|
/Zephyr-latest/tests/bsim/bluetooth/samples/battery_service/src/ |
D | central_test.c | 177 uint16_t power_state = sys_get_le16(&data[1]); in parse_battery_level_status() 294 uint16_t identifier = sys_get_le16(&data[3]); in parse_battery_level_status()
|
/Zephyr-latest/drivers/sensor/sbs_gauge/ |
D | sbs_gauge.c | 34 *val = sys_get_le16(i2c_data); in sbs_cmd_reg_read()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | tmap.c | 72 peer_role = sys_get_le16(data); in tmap_char_read()
|
D | codec.c | 503 return sys_get_le16(data); in bt_audio_codec_cfg_get_octets_per_frame() 642 return sys_get_le16(data); in codec_meta_get_pref_context() 685 return sys_get_le16(data); in codec_meta_get_stream_context() 2042 return sys_get_le16(data); in bt_audio_codec_cap_get_freq() 2201 codec_frame->min = sys_get_le16(data); in bt_audio_codec_cap_get_octets_per_frame() 2202 codec_frame->max = sys_get_le16(data + sizeof(codec_frame->min)); in bt_audio_codec_cap_get_octets_per_frame()
|
/Zephyr-latest/subsys/usb/device/class/netusb/ |
D | function_eem.c | 153 eem_hdr = sys_get_le16(ptr); in eem_read_cb()
|
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/ |
D | vcnl4040.c | 29 *out = sys_get_le16(buff); in vcnl4040_read()
|