Searched refs:sys_get_le16 (Results 1 – 20 of 20) sorted by relevance
452 static inline uint16_t sys_get_le16(const uint8_t src[2]) in sys_get_le16() function469 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()
129 *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()
585 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()
472 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()
85 BT_UUID_16(uuid)->val = sys_get_le16(data); in bt_uuid_create()
251 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()
1723 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()
34 *val = sys_get_le16(i2c_data); in sbs_cmd_reg_read()
278 tmp = sys_get_le16(buf); in test_sys_get_le16()
154 eem_hdr = sys_get_le16(ptr); in eem_read_cb()
134 len = sys_get_le16(dir_list->net_buf.data + offset); in bt_ots_dir_list_obj_remove()
29 *out = sys_get_le16(buff); in vcnl4040_read()
349 addr = sys_get_le16(&dev_uuid[0]) & BIT_MASK(15); in button_pressed()
375 context->next_pkt_ptr = sys_get_le16(&info[0]); in enc424j600_rx()376 frm_len = sys_get_le16(&info[2]); in enc424j600_rx()
650 frm_len = sys_get_le16(info) - 4; in eth_enc28j60_rx()
228 state = sys_get_le16(&keys[row * 2]); in ht16k33_process_keyscan_data()
297 ctx->rx_adu.crc = sys_get_le16(&cfg->uart_buf[crc_idx]); in modbus_rtu_rx_adu()
270 sys_get_le16((uint8_t *)&conn->llcp_conn_param.offset0 + in ull_sched_mfy_win_offset_select()
304 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()
182 return sys_get_le16((uint8_t *)&fu->bmaControls[0]); in get_controls()