Lines Matching refs:retval
228 int retval; in rmi_2d_sensor_of_probe() local
240 retval = rmi_of_property_read_u32(dev, &val, "syna,clip-x-low", 1); in rmi_2d_sensor_of_probe()
241 if (retval) in rmi_2d_sensor_of_probe()
242 return retval; in rmi_2d_sensor_of_probe()
246 retval = rmi_of_property_read_u32(dev, &val, "syna,clip-y-low", 1); in rmi_2d_sensor_of_probe()
247 if (retval) in rmi_2d_sensor_of_probe()
248 return retval; in rmi_2d_sensor_of_probe()
252 retval = rmi_of_property_read_u32(dev, &val, "syna,clip-x-high", 1); in rmi_2d_sensor_of_probe()
253 if (retval) in rmi_2d_sensor_of_probe()
254 return retval; in rmi_2d_sensor_of_probe()
258 retval = rmi_of_property_read_u32(dev, &val, "syna,clip-y-high", 1); in rmi_2d_sensor_of_probe()
259 if (retval) in rmi_2d_sensor_of_probe()
260 return retval; in rmi_2d_sensor_of_probe()
264 retval = rmi_of_property_read_u32(dev, &val, "syna,offset-x", 1); in rmi_2d_sensor_of_probe()
265 if (retval) in rmi_2d_sensor_of_probe()
266 return retval; in rmi_2d_sensor_of_probe()
270 retval = rmi_of_property_read_u32(dev, &val, "syna,offset-y", 1); in rmi_2d_sensor_of_probe()
271 if (retval) in rmi_2d_sensor_of_probe()
272 return retval; in rmi_2d_sensor_of_probe()
276 retval = rmi_of_property_read_u32(dev, &val, "syna,delta-x-threshold", in rmi_2d_sensor_of_probe()
278 if (retval) in rmi_2d_sensor_of_probe()
279 return retval; in rmi_2d_sensor_of_probe()
283 retval = rmi_of_property_read_u32(dev, &val, "syna,delta-y-threshold", in rmi_2d_sensor_of_probe()
285 if (retval) in rmi_2d_sensor_of_probe()
286 return retval; in rmi_2d_sensor_of_probe()
290 retval = rmi_of_property_read_u32(dev, (u32 *)&pdata->sensor_type, in rmi_2d_sensor_of_probe()
292 if (retval) in rmi_2d_sensor_of_probe()
293 return retval; in rmi_2d_sensor_of_probe()
295 retval = rmi_of_property_read_u32(dev, &val, "touchscreen-x-mm", 1); in rmi_2d_sensor_of_probe()
296 if (retval) in rmi_2d_sensor_of_probe()
297 return retval; in rmi_2d_sensor_of_probe()
301 retval = rmi_of_property_read_u32(dev, &val, "touchscreen-y-mm", 1); in rmi_2d_sensor_of_probe()
302 if (retval) in rmi_2d_sensor_of_probe()
303 return retval; in rmi_2d_sensor_of_probe()
307 retval = rmi_of_property_read_u32(dev, &val, in rmi_2d_sensor_of_probe()
309 if (retval) in rmi_2d_sensor_of_probe()
310 return retval; in rmi_2d_sensor_of_probe()
314 retval = rmi_of_property_read_u32(dev, &val, "syna,rezero-wait-ms", in rmi_2d_sensor_of_probe()
316 if (retval) in rmi_2d_sensor_of_probe()
317 return retval; in rmi_2d_sensor_of_probe()