Lines Matching +full:- +full:- +full:valid +full:- +full:-

1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * HID driver for UC-Logic devices not fully compliant with HID standard
4 * - tablet initialization and parameter retrieval
22 /* Types of pen in-range reporting */
24 /* Normal reports: zero - out of proximity, one - in proximity */
26 /* Inverted reports: zero - in proximity, one - out of proximity */
32 /* Convert a pen in-range reporting type to a string */
52 * Only valid, if "desc_ptr" is not NULL.
57 /* Type of in-range reporting, only valid if "id" is not zero */
61 * high-order X and then Y bytes following the pressure field.
62 * Only valid if "id" is not zero.
83 * Only valid, if "desc_ptr" is not NULL.
91 * Number of the least-significant bit of the 2-bit state of a rotary
92 * encoder, in the report. Cannot point to a 2-bit field crossing a
93 * byte boundary. Zero if not present. Only valid if "id" is not zero.
97 * Offset of the Wacom-style device ID byte in the report, to be set
99 * if no changes to the report should be made. Only valid if "id" is
111 * When filled with zeros represents a "noop" configuration - passes all
127 * Only valid, if "invalid" is false.
132 * Only valid, if "desc_ptr" is not NULL.
137 * Only valid, if "invalid" is false.
142 * Only valid if "pen_unused" is valid and false.
147 * Only valid, if "invalid" is false.
151 * Bitmask matching frame controls "sub-report" flag in the second
153 * Only valid if both "pen" and "frame" are valid, and "frame.id" is
183 ((_params)->invalid ? "true" : "false"), \
184 (_params)->desc_ptr, \
185 (_params)->desc_size, \
186 ((_params)->pen_unused ? "true" : "false"), \
187 (_params)->pen.desc_ptr, \
188 (_params)->pen.desc_size, \
189 (_params)->pen.id, \
190 uclogic_params_pen_inrange_to_str((_params)->pen.inrange), \
191 ((_params)->pen.fragmented_hires ? "true" : "false"), \
192 (_params)->frame.desc_ptr, \
193 (_params)->frame.desc_size, \
194 (_params)->frame.id, \
195 (_params)->frame.re_lsb, \
196 (_params)->frame.dev_id_byte, \
197 (_params)->pen_frame_flag