Lines Matching refs:slice
45 struct surface_hid_buffer_slice *slice; in ssam_hid_get_descriptor() local
70 slice = (struct surface_hid_buffer_slice *)buffer; in ssam_hid_get_descriptor()
71 slice->entry = entry; in ssam_hid_get_descriptor()
72 slice->end = 0; in ssam_hid_get_descriptor()
77 while (!slice->end && offset < len) { in ssam_hid_get_descriptor()
78 put_unaligned_le32(offset, &slice->offset); in ssam_hid_get_descriptor()
79 put_unaligned_le32(length, &slice->length); in ssam_hid_get_descriptor()
84 sizeof(*slice)); in ssam_hid_get_descriptor()
88 offset = get_unaligned_le32(&slice->offset); in ssam_hid_get_descriptor()
89 length = get_unaligned_le32(&slice->length); in ssam_hid_get_descriptor()
98 memcpy(buf + offset, &slice->data[0], length); in ssam_hid_get_descriptor()