Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/touchscreen/
H A 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()
H A Dcyttsp5.c125 __le16 res_x; member
137 u16 res_x; member
317 tmp = tch->abs[CY_TCH_MAJ] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches()
319 tmp = tch->abs[CY_TCH_MIN] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches()
383 max_x_tmp = si->sensing_conf_data.res_x; in cyttsp5_setup_input_device()
532 scd->res_x = get_unaligned_le16(&scd_dev->res_x); in cyttsp5_get_sysinfo_regs()
/openbmc/linux/drivers/input/tablet/
H A 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()
/openbmc/linux/drivers/input/rmi4/
H A 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()
/openbmc/u-boot/drivers/video/
H A Dihs_video_out.c79 uint res_x; member
194 div2_u16(priv->res_x - CHAR_WIDTH * col)); in ihs_video_out_set_size()
258 priv->res_x = 1024; in ihs_video_out_probe()
264 priv->res_x = 720; in ihs_video_out_probe()
270 priv->res_x = 640; in ihs_video_out_probe()
/openbmc/linux/drivers/media/i2c/
H A 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()
/openbmc/linux/drivers/hid/
H A 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()
H A Dhid-asus.c109 int res_x; member
145 .res_x = 30, /* units/mm */
155 .res_x = 30, /* units/mm */
165 .res_x = 30, /* units/mm */
175 .res_x = 31, /* units/mm */
185 .res_x = 29, /* units/mm */
795 input_abs_set_res(input, ABS_MT_POSITION_X, drvdata->tp->res_x); in asus_input_configured()
H A 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()
/openbmc/linux/include/linux/mfd/
H A D88pm860x.h425 int res_x; /* resistor of Xplate */ member