Home
last modified time | relevance | path

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

/drivers/input/rmi4/
Drmi_driver.c567 u8 *struct_buf; in rmi_read_register_desc() local
628 struct_buf = kzalloc(rdesc->struct_size, GFP_KERNEL); in rmi_read_register_desc()
629 if (!struct_buf) in rmi_read_register_desc()
638 ret = rmi_read_block(d, addr, struct_buf, rdesc->struct_size); in rmi_read_register_desc()
645 int reg_size = struct_buf[offset]; in rmi_read_register_desc()
649 reg_size = struct_buf[offset] | in rmi_read_register_desc()
650 (struct_buf[offset + 1] << 8); in rmi_read_register_desc()
655 reg_size = struct_buf[offset] | in rmi_read_register_desc()
656 (struct_buf[offset + 1] << 8) | in rmi_read_register_desc()
657 (struct_buf[offset + 2] << 16) | in rmi_read_register_desc()
[all …]