Lines Matching full:hi
106 struct hid_item hi; in ATF_TC_BODY() local
116 &hi); in ATF_TC_BODY()
118 MYu_ATF_CHECK_EQ(hi.loc.size, 32); in ATF_TC_BODY()
119 MYu_ATF_CHECK_EQ(hi.loc.count, 1); in ATF_TC_BODY()
120 MYu_ATF_CHECK_EQ(hi.loc.pos, 0); in ATF_TC_BODY()
121 MYx_ATF_CHECK_EQ(hi.flags, 0); in ATF_TC_BODY()
122 MYd_ATF_CHECK_EQ(hi.logical_minimum, -2147483648); in ATF_TC_BODY()
123 MYd_ATF_CHECK_EQ(hi.logical_maximum, 2147483647); in ATF_TC_BODY()
124 MYd_ATF_CHECK_EQ(hi.physical_minimum, -2147483648); in ATF_TC_BODY()
125 MYd_ATF_CHECK_EQ(hi.physical_maximum, 2147483647); in ATF_TC_BODY()
127 &hi.loc), -2147483648); in ATF_TC_BODY()
129 &hi.loc), -1); in ATF_TC_BODY()
131 &hi.loc), 1); in ATF_TC_BODY()
133 &hi.loc), 2147483647); in ATF_TC_BODY()
137 &hi); in ATF_TC_BODY()
139 MYu_ATF_CHECK_EQ(hi.loc.size, 16); in ATF_TC_BODY()
140 MYu_ATF_CHECK_EQ(hi.loc.count, 1); in ATF_TC_BODY()
141 MYu_ATF_CHECK_EQ(hi.loc.pos, 32); in ATF_TC_BODY()
142 MYx_ATF_CHECK_EQ(hi.flags, 0); in ATF_TC_BODY()
143 MYd_ATF_CHECK_EQ(hi.logical_minimum, -32768); in ATF_TC_BODY()
144 MYd_ATF_CHECK_EQ(hi.logical_maximum, 32767); in ATF_TC_BODY()
145 MYd_ATF_CHECK_EQ(hi.physical_minimum, -32768); in ATF_TC_BODY()
146 MYd_ATF_CHECK_EQ(hi.physical_maximum, 32767); in ATF_TC_BODY()
148 &hi.loc), -32768); in ATF_TC_BODY()
150 &hi.loc), -1); in ATF_TC_BODY()
152 &hi.loc), 1); in ATF_TC_BODY()
154 &hi.loc), 32767); in ATF_TC_BODY()
158 &hi); in ATF_TC_BODY()
160 MYu_ATF_CHECK_EQ(hi.loc.size, 8); in ATF_TC_BODY()
161 MYu_ATF_CHECK_EQ(hi.loc.count, 1); in ATF_TC_BODY()
162 MYu_ATF_CHECK_EQ(hi.loc.pos, 48); in ATF_TC_BODY()
163 MYx_ATF_CHECK_EQ(hi.flags, 0); in ATF_TC_BODY()
164 MYd_ATF_CHECK_EQ(hi.logical_minimum, -128); in ATF_TC_BODY()
165 MYd_ATF_CHECK_EQ(hi.logical_maximum, 127); in ATF_TC_BODY()
166 MYd_ATF_CHECK_EQ(hi.physical_minimum, -128); in ATF_TC_BODY()
167 MYd_ATF_CHECK_EQ(hi.physical_maximum, 127); in ATF_TC_BODY()
169 &hi.loc), -128); in ATF_TC_BODY()
171 &hi.loc), -1); in ATF_TC_BODY()
173 &hi.loc), 1); in ATF_TC_BODY()
175 &hi.loc), 127); in ATF_TC_BODY()
180 hid_input, &hi); in ATF_TC_BODY()
182 MYu_ATF_CHECK_EQ(hi.loc.size, 32); in ATF_TC_BODY()
183 MYu_ATF_CHECK_EQ(hi.loc.count, 1); in ATF_TC_BODY()
184 MYu_ATF_CHECK_EQ(hi.loc.pos, 0); in ATF_TC_BODY()
185 MYx_ATF_CHECK_EQ(hi.flags, 0); in ATF_TC_BODY()
187 &hi.loc), 0x0); in ATF_TC_BODY()
189 &hi.loc), 0x1); in ATF_TC_BODY()
191 &hi.loc), 0xfffffffe); in ATF_TC_BODY()
193 &hi.loc), 0xffffffff); in ATF_TC_BODY()
197 hid_input, &hi); in ATF_TC_BODY()
199 MYu_ATF_CHECK_EQ(hi.loc.size, 16); in ATF_TC_BODY()
200 MYu_ATF_CHECK_EQ(hi.loc.count, 1); in ATF_TC_BODY()
201 MYu_ATF_CHECK_EQ(hi.loc.pos, 32); in ATF_TC_BODY()
202 MYx_ATF_CHECK_EQ(hi.flags, 0); in ATF_TC_BODY()
204 &hi.loc), 0x0); in ATF_TC_BODY()
206 &hi.loc), 0x1); in ATF_TC_BODY()
208 &hi.loc), 0xfffe); in ATF_TC_BODY()
210 &hi.loc), 0xffff); in ATF_TC_BODY()
214 hid_input, &hi); in ATF_TC_BODY()
216 MYu_ATF_CHECK_EQ(hi.loc.size, 8); in ATF_TC_BODY()
217 MYu_ATF_CHECK_EQ(hi.loc.count, 1); in ATF_TC_BODY()
218 MYu_ATF_CHECK_EQ(hi.loc.pos, 48); in ATF_TC_BODY()
219 MYx_ATF_CHECK_EQ(hi.flags, 0); in ATF_TC_BODY()
221 &hi.loc), 0x0); in ATF_TC_BODY()
223 &hi.loc), 0x1); in ATF_TC_BODY()
225 &hi.loc), 0xfe); in ATF_TC_BODY()
227 &hi.loc), 0xff); in ATF_TC_BODY()
244 struct hid_item hi; in ATF_TC_BODY() local
252 while (hid_get_item(hdp, &hi) > 0) { in ATF_TC_BODY()