Searched refs:res_x (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/input/touchscreen/ |
D | 88pm860x-ts.c | 48 int res_x; /* resistor of Xplate */ member 71 if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) { in pm860x_touch_handler() 73 rt = (rt * touch->res_x * x) >> ACCURATE_BIT; in pm860x_touch_handler() 121 int *res_x) in pm860x_touch_dt_init() argument 166 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); in pm860x_touch_dt_init() 188 int irq, ret, res_x = 0, data = 0; in pm860x_touch_probe() local 196 if (pm860x_touch_dt_init(pdev, chip, &res_x)) { in pm860x_touch_probe() 234 res_x = pdata->res_x; in pm860x_touch_probe() 266 touch->res_x = res_x; in pm860x_touch_probe()
|
/Linux-v4.19/drivers/input/tablet/ |
D | wacom_serial4.c | 176 unsigned int res_x, res_y; member 213 wacom->res_x = 508; in wacom_handle_model_response() 218 wacom->res_x = 2540; in wacom_handle_model_response() 232 wacom->res_x = 1000; in wacom_handle_model_response() 239 wacom->res_x = 1016; in wacom_handle_model_response() 272 &wacom->res_x, &wacom->res_y); in wacom_handle_configuration_response() 502 if (!(wacom->res_x && wacom->res_y)) { in wacom_setup() 575 input_abs_set_res(wacom->dev, ABS_X, wacom->res_x); in wacom_connect()
|
/Linux-v4.19/drivers/input/rmi4/ |
D | rmi_2d_sensor.c | 142 int res_x; in rmi_2d_sensor_set_input_params() local 168 res_x = (sensor->max_x - sensor->min_x) / sensor->x_mm; in rmi_2d_sensor_set_input_params() 171 swap(res_x, res_y); in rmi_2d_sensor_set_input_params() 173 input_abs_set_res(input, ABS_X, res_x); in rmi_2d_sensor_set_input_params() 176 input_abs_set_res(input, ABS_MT_POSITION_X, res_x); in rmi_2d_sensor_set_input_params() 180 sensor->dmax = DMAX * res_x; in rmi_2d_sensor_set_input_params()
|
/Linux-v4.19/drivers/hid/ |
D | hid-asus.c | 93 int res_x; member 117 .res_x = 30, /* units/mm */ 126 .res_x = 30, /* units/mm */ 135 .res_x = 30, /* units/mm */ 144 .res_x = 31, /* units/mm */ 413 input_abs_set_res(input, ABS_MT_POSITION_X, drvdata->tp->res_x); in asus_input_configured()
|
D | hid-elan.c | 51 u16 res_x; member 148 drvdata->res_x = elan_convert_res(dmabuf[3]); in elan_get_device_params() 198 input_abs_set_res(input, ABS_X, drvdata->res_x); in elan_input_configured()
|
D | hid-alps.c | 668 int res_x, res_y, i; in alps_input_configured() local 700 res_x = (data->x_max - 1) / data->x_active_len_mm; in alps_input_configured() 703 input_abs_set_res(input, ABS_MT_POSITION_X, res_x); in alps_input_configured()
|
/Linux-v4.19/drivers/media/i2c/soc_camera/ |
D | ov9640.c | 338 static const int res_x[] = { 88, 160, 176, 320, 352, 640, 1280 }; in ov9640_res_roundup() local 341 for (i = 0; i < ARRAY_SIZE(res_x); i++) { in ov9640_res_roundup() 342 if (res_x[i] >= *width && res_y[i] >= *height) { in ov9640_res_roundup() 343 *width = res_x[i]; in ov9640_res_roundup() 349 *width = res_x[SXGA]; in ov9640_res_roundup()
|
/Linux-v4.19/include/linux/mfd/ |
D | 88pm860x.h | 428 int res_x; /* resistor of Xplate */ member
|