Lines Matching refs:dev
105 rmi_dbg(RMI_DEBUG_2D_SENSOR, &sensor->input->dev, in rmi_2d_sensor_abs_report()
212 struct rmi_driver_data *drv_data = dev_get_drvdata(&rmi_dev->dev); in rmi_2d_sensor_configure_input()
225 int rmi_2d_sensor_of_probe(struct device *dev, in rmi_2d_sensor_of_probe() argument
231 pdata->axis_align.swap_axes = of_property_read_bool(dev->of_node, in rmi_2d_sensor_of_probe()
234 pdata->axis_align.flip_x = of_property_read_bool(dev->of_node, in rmi_2d_sensor_of_probe()
237 pdata->axis_align.flip_y = of_property_read_bool(dev->of_node, in rmi_2d_sensor_of_probe()
240 retval = rmi_of_property_read_u32(dev, &val, "syna,clip-x-low", 1); 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()
252 retval = rmi_of_property_read_u32(dev, &val, "syna,clip-x-high", 1); 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()
264 retval = rmi_of_property_read_u32(dev, &val, "syna,offset-x", 1); 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()
276 retval = rmi_of_property_read_u32(dev, &val, "syna,delta-x-threshold", 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()
290 retval = rmi_of_property_read_u32(dev, (u32 *)&pdata->sensor_type, 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()
301 retval = rmi_of_property_read_u32(dev, &val, "touchscreen-y-mm", 1); in rmi_2d_sensor_of_probe()
307 retval = rmi_of_property_read_u32(dev, &val, 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()
324 inline int rmi_2d_sensor_of_probe(struct device *dev, in rmi_2d_sensor_of_probe() argument