Home
last modified time | relevance | path

Searched refs:res_x (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/input/touchscreen/
D88pm860x-ts.c45 int res_x; /* resistor of Xplate */ member
68 if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) { in pm860x_touch_handler()
70 rt = (rt * touch->res_x * x) >> ACCURATE_BIT; in pm860x_touch_handler()
118 int *res_x) in pm860x_touch_dt_init() argument
163 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); in pm860x_touch_dt_init()
185 int irq, ret, res_x = 0, data = 0; in pm860x_touch_probe() local
191 if (pm860x_touch_dt_init(pdev, chip, &res_x)) { in pm860x_touch_probe()
229 res_x = pdata->res_x; in pm860x_touch_probe()
261 touch->res_x = res_x; in pm860x_touch_probe()
/kernel/linux/linux-5.10/drivers/input/tablet/
Dwacom_serial4.c171 unsigned int res_x, res_y; member
209 wacom->res_x = 508; in wacom_handle_model_response()
214 wacom->res_x = 2540; in wacom_handle_model_response()
228 wacom->res_x = 1000; in wacom_handle_model_response()
235 wacom->res_x = 1016; in wacom_handle_model_response()
269 &wacom->res_x, &wacom->res_y); in wacom_handle_configuration_response()
499 if (!(wacom->res_x && wacom->res_y)) { in wacom_setup()
572 input_abs_set_res(wacom->dev, ABS_X, wacom->res_x); in wacom_connect()
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_2d_sensor.c139 int res_x; in rmi_2d_sensor_set_input_params() local
165 res_x = (sensor->max_x - sensor->min_x) / sensor->x_mm; in rmi_2d_sensor_set_input_params()
168 swap(res_x, res_y); in rmi_2d_sensor_set_input_params()
170 input_abs_set_res(input, ABS_X, res_x); in rmi_2d_sensor_set_input_params()
173 input_abs_set_res(input, ABS_MT_POSITION_X, res_x); in rmi_2d_sensor_set_input_params()
177 sensor->dmax = DMAX * res_x; in rmi_2d_sensor_set_input_params()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dov9640.c355 static const u32 res_x[] = { 88, 160, 176, 320, 352, 640, 1280 }; in ov9640_res_roundup() local
358 for (i = 0; i < ARRAY_SIZE(res_x); i++) { in ov9640_res_roundup()
359 if (res_x[i] >= *width && res_y[i] >= *height) { in ov9640_res_roundup()
360 *width = res_x[i]; in ov9640_res_roundup()
366 *width = res_x[SXGA]; in ov9640_res_roundup()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-asus.c104 int res_x; member
140 .res_x = 30, /* units/mm */
150 .res_x = 30, /* units/mm */
160 .res_x = 30, /* units/mm */
170 .res_x = 31, /* units/mm */
180 .res_x = 29, /* units/mm */
691 input_abs_set_res(input, ABS_MT_POSITION_X, drvdata->tp->res_x); in asus_input_configured()
Dhid-elan.c47 u16 res_x; member
144 drvdata->res_x = elan_convert_res(dmabuf[3]); in elan_get_device_params()
194 input_abs_set_res(input, ABS_X, drvdata->res_x); in elan_input_configured()
Dhid-alps.c679 int res_x, res_y, i; in alps_input_configured() local
711 res_x = (data->x_max - 1) / data->x_active_len_mm; in alps_input_configured()
714 input_abs_set_res(input, ABS_MT_POSITION_X, res_x); in alps_input_configured()
/kernel/linux/linux-5.10/include/linux/mfd/
D88pm860x.h425 int res_x; /* resistor of Xplate */ member