Searched refs:res_x (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/input/touchscreen/ |
D | 88pm860x-ts.c | 45 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()
|
/linux-5.19.10/drivers/input/tablet/ |
D | wacom_serial4.c | 171 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()
|
/linux-5.19.10/drivers/input/rmi4/ |
D | rmi_2d_sensor.c | 139 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()
|
/linux-5.19.10/drivers/media/i2c/ |
D | ov9640.c | 355 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()
|
/linux-5.19.10/drivers/hid/ |
D | hid-asus.c | 107 int res_x; member 143 .res_x = 30, /* units/mm */ 153 .res_x = 30, /* units/mm */ 163 .res_x = 30, /* units/mm */ 173 .res_x = 31, /* units/mm */ 183 .res_x = 29, /* units/mm */ 789 input_abs_set_res(input, ABS_MT_POSITION_X, drvdata->tp->res_x); in asus_input_configured()
|
D | hid-elan.c | 47 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()
|
D | hid-alps.c | 679 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()
|
/linux-5.19.10/include/linux/mfd/ |
D | 88pm860x.h | 425 int res_x; /* resistor of Xplate */ member
|