Home
last modified time | relevance | path

Searched refs:sys_get_le16 (Results 1 – 20 of 20) sorted by relevance

/Zephyr-Core-2.7.6/include/sys/
Dbyteorder.h452 static inline uint16_t sys_get_le16(const uint8_t src[2]) in sys_get_le16() function
469 return ((uint32_t)src[2] << 16) | sys_get_le16(&src[0]); in sys_get_le24()
484 return ((uint32_t)sys_get_le16(&src[2]) << 16) | sys_get_le16(&src[0]); in sys_get_le32()
499 return ((uint64_t)sys_get_le32(&src[2]) << 16) | sys_get_le16(&src[0]); in sys_get_le48()
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dfoundation.h129 *idx1 = sys_get_le16(&buf->data[0]) & 0xfff; in key_idx_unpack()
130 *idx2 = sys_get_le16(&buf->data[1]) >> 4; in key_idx_unpack()
Dcfg_cli.c585 cid = sys_get_le16(&buf->data[10]); in mod_pub_status()
586 mod_id = sys_get_le16(&buf->data[12]); in mod_pub_status()
594 mod_id = sys_get_le16(&buf->data[10]); in mod_pub_status()
2620 return sys_get_le16(&elem->_buf[idx * 2]); in bt_mesh_comp_p0_elem_mod()
2631 .company = sys_get_le16(&elem->_buf[offset]), in bt_mesh_comp_p0_elem_mod_vnd()
2632 .id = sys_get_le16(&elem->_buf[offset + 2]), in bt_mesh_comp_p0_elem_mod_vnd()
/Zephyr-Core-2.7.6/drivers/sensor/bmi270/
Dbmi270.c472 drv_dev->ax = (int16_t)sys_get_le16(&data[0]); in bmi270_sample_fetch()
473 drv_dev->ay = (int16_t)sys_get_le16(&data[2]); in bmi270_sample_fetch()
474 drv_dev->az = (int16_t)sys_get_le16(&data[4]); in bmi270_sample_fetch()
475 drv_dev->gx = (int16_t)sys_get_le16(&data[6]); in bmi270_sample_fetch()
476 drv_dev->gy = (int16_t)sys_get_le16(&data[8]); in bmi270_sample_fetch()
477 drv_dev->gz = (int16_t)sys_get_le16(&data[10]); in bmi270_sample_fetch()
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Duuid.c85 BT_UUID_16(uuid)->val = sys_get_le16(data); in bt_uuid_create()
Dconn.c251 0 : sys_get_le16(buf->data)); in bt_acl_recv()
303 acl_total_len = sys_get_le16(conn->rx->data) + sizeof(struct bt_l2cap_hdr); in bt_acl_recv()
Dgatt.c1723 value = sys_get_le16(buf); in bt_gatt_attr_write_ccc()
3380 value.cep.properties = sys_get_le16(data->value); in parse_read_std_char_desc()
3383 value.ccc.flags = sys_get_le16(data->value); in parse_read_std_char_desc()
3386 value.scc.flags = sys_get_le16(data->value); in parse_read_std_char_desc()
/Zephyr-Core-2.7.6/drivers/sensor/sbs_gauge/
Dsbs_gauge.c34 *val = sys_get_le16(i2c_data); in sbs_cmd_reg_read()
/Zephyr-Core-2.7.6/tests/kernel/common/src/
Dbyteorder.c278 tmp = sys_get_le16(buf); in test_sys_get_le16()
/Zephyr-Core-2.7.6/subsys/usb/class/netusb/
Dfunction_eem.c154 eem_hdr = sys_get_le16(ptr); in eem_read_cb()
/Zephyr-Core-2.7.6/subsys/bluetooth/services/ots/
Dots_dir_list.c134 len = sys_get_le16(dir_list->net_buf.data + offset); in bt_ots_dir_list_obj_remove()
/Zephyr-Core-2.7.6/drivers/sensor/vcnl4040/
Dvcnl4040.c29 *out = sys_get_le16(buff); in vcnl4040_read()
/Zephyr-Core-2.7.6/samples/bluetooth/mesh/src/
Dmain.c349 addr = sys_get_le16(&dev_uuid[0]) & BIT_MASK(15); in button_pressed()
/Zephyr-Core-2.7.6/drivers/ethernet/
Deth_enc424j600.c375 context->next_pkt_ptr = sys_get_le16(&info[0]); in enc424j600_rx()
376 frm_len = sys_get_le16(&info[2]); in enc424j600_rx()
Deth_enc28j60.c650 frm_len = sys_get_le16(info) - 4; in eth_enc28j60_rx()
/Zephyr-Core-2.7.6/drivers/led/
Dht16k33.c228 state = sys_get_le16(&keys[row * 2]); in ht16k33_process_keyscan_data()
/Zephyr-Core-2.7.6/subsys/modbus/
Dmodbus_serial.c297 ctx->rx_adu.crc = sys_get_le16(&cfg->uart_buf[crc_idx]); in modbus_rtu_rx_adu()
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/
Dull_sched.c270 sys_get_le16((uint8_t *)&conn->llcp_conn_param.offset0 + in ull_sched_mfy_win_offset_select()
/Zephyr-Core-2.7.6/drivers/ieee802154/
Dieee802154_dw1000.c304 return sys_get_le16(buf); in dwt_reg_read_u16()
485 cir_pwr = sys_get_le16(&rx_inf_reg.rx_fqual[6]); in dwt_irq_handle_rx()
/Zephyr-Core-2.7.6/subsys/usb/class/audio/
Daudio.c182 return sys_get_le16((uint8_t *)&fu->bmaControls[0]); in get_controls()