Home
last modified time | relevance | path

Searched refs:max_x (Results 26 – 50 of 51) sorted by relevance

123

/openbmc/linux/drivers/input/mouse/
H A Delan_i2c_smbus.c226 unsigned int *max_x, unsigned int *max_y) in elan_smbus_get_max() argument
239 *max_x = (0x0f & val[0]) << 8 | val[1]; in elan_smbus_get_max()
H A Delan_i2c_i2c.c388 unsigned int *max_x, unsigned int *max_y) in elan_i2c_get_max() argument
399 *max_x = le16_to_cpup((__le16 *)val); in elan_i2c_get_max()
/openbmc/linux/drivers/input/tablet/
H A Dhanwang.c65 int max_x; member
380 0, hanwang->features->max_x, 4, 0); in hanwang_probe()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_compressor.c412 void get_max_support_fbc_buffersize(unsigned int *max_x, unsigned int *max_y) in get_max_support_fbc_buffersize() argument
414 *max_x = FBC_MAX_X; in get_max_support_fbc_buffersize()
/openbmc/linux/drivers/input/touchscreen/
H A Dcyttsp4_core.c369 si->si_ofs.max_x = merge_bytes((si->si_ptrs.pcfg->res_xh in cyttsp4_si_get_pcfg_data()
665 si->si_ofs.max_x, si->si_ofs.max_x); in cyttsp4_si_put_log_data()
833 touch->abs[CY_TCH_X] = md->si->si_ofs.max_x - in cyttsp4_get_touch()
838 touch->abs[CY_TCH_Y] = md->si->si_ofs.max_x - in cyttsp4_get_touch()
1903 int max_x, max_y, max_p, min, max; in cyttsp4_setup_input_device() local
1913 max_x_tmp = md->si->si_ofs.max_x; in cyttsp4_setup_input_device()
1918 max_x = max_y_tmp - 1; in cyttsp4_setup_input_device()
1921 max_x = max_x_tmp - 1; in cyttsp4_setup_input_device()
1941 max = max_x; in cyttsp4_setup_input_device()
H A Datmel_mxt_ts.c292 unsigned int max_x; member
851 if (data->max_x < 1024) in mxt_proc_t9_message()
1972 data->max_x = get_unaligned_le16(&range.x); in mxt_read_t9_resolution()
2008 data->max_x = get_unaligned_le16(&range_x); in mxt_read_t100_config()
2121 if (data->max_x == 0) in mxt_initialize_input_device()
2122 data->max_x = 1023; in mxt_initialize_input_device()
2128 swap(data->max_x, data->max_y); in mxt_initialize_input_device()
2130 dev_info(dev, "Touchscreen size X%uY%u\n", data->max_x, data->max_y); in mxt_initialize_input_device()
2151 input_set_abs_params(input_dev, ABS_X, 0, data->max_x, 0, 0); in mxt_initialize_input_device()
2185 0, data->max_x, 0, 0); in mxt_initialize_input_device()
H A Dzinitix.c214 bt541->prop.max_x); in zinitix_init_touch()
479 if (!bt541->prop.max_x || !bt541->prop.max_y) { in zinitix_init_input_dev()
H A Dcyttsp5.c379 int max_x, max_y, max_p; in cyttsp5_setup_input_device() local
385 max_x = max_x_tmp - 1; in cyttsp5_setup_input_device()
389 input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in cyttsp5_setup_input_device()
H A Diqs7211.c1175 __le16 max_x; member
2170 0, le16_to_cpu(iqs7211->tp_config.max_x), 0, 0); in iqs7211_register_tp()
2183 if (prop->max_x >= U16_MAX || prop->max_y >= U16_MAX) { in iqs7211_register_tp()
2185 prop->max_x, prop->max_y); in iqs7211_register_tp()
2189 iqs7211->tp_config.max_x = cpu_to_le16(prop->max_x); in iqs7211_register_tp()
H A Dgoodix.c1178 if (!ts->prop.max_x || !ts->prop.max_y || !ts->max_touch_num) { in goodix_configure_dev()
1191 ts->prop.max_x, ts->prop.max_y, ts->max_touch_num); in goodix_configure_dev()
1192 ts->prop.max_x = GOODIX_MAX_WIDTH - 1; in goodix_configure_dev()
1196 ABS_MT_POSITION_X, ts->prop.max_x); in goodix_configure_dev()
H A Dhideep.c783 ts->prop.max_x = le16_to_cpup(val); in hideep_get_axis_info()
787 ts->prop.max_x, ts->prop.max_y); in hideep_get_axis_info()
816 if (ts->prop.max_x == 0 || ts->prop.max_y == 0) { in hideep_init_input()
H A Dimagis.c212 if (!ts->prop.max_x || !ts->prop.max_y) { in imagis_init_input_dev()
H A Dcyttsp4_core.h261 size_t max_x; member
H A Dmsg2638.c337 if (!msg2638->prop.max_x || !msg2638->prop.max_y) { in msg2638_init_input_dev()
/openbmc/linux/samples/vfio-mdev/
H A Dmbochs.c105 u32 max_x; member
112 .max_x = 800,
118 .max_x = 1920,
124 .max_x = 0,
550 mdev_state->edid_regs.max_xres = type->max_x; in mbochs_init_dev()
/openbmc/linux/drivers/input/rmi4/
H A Drmi_f12.c100 sensor->max_x = (buf[offset + 1] << 8) | buf[offset]; in rmi_f12_read_sensor_tuning()
106 sensor->max_x, sensor->max_y); in rmi_f12_read_sensor_tuning()
H A Drmi_f11.c1192 sensor->max_x = max_x_pos; in rmi_f11_initialize()
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbmon.c837 specs->max_x = block[1]; in get_monspecs()
840 if (specs->max_x) in get_monspecs()
841 DPRINTK("%d\n", specs->max_x); in get_monspecs()
H A Dmodedb.c1174 if (specs->max_x && specs->max_y) { in fb_find_best_display()
1178 var.xres = (specs->max_x * 7200)/254; in fb_find_best_display()
/openbmc/linux/drivers/gpu/drm/vboxvideo/
H A Dvbox_mode.c773 static int vbox_fill_modes(struct drm_connector *connector, u32 max_x, in vbox_fill_modes() argument
787 return drm_helper_probe_single_connector_modes(connector, max_x, max_y); in vbox_fill_modes()
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/
H A Ddraw.py281 max_x = max (x for (x, y) in data)
286 if (max_x - x_shift):
287 xscale = float (chart_bounds[2]) / (max_x - x_shift)
/openbmc/u-boot/include/linux/
H A Dfb.h333 __u8 max_x; /* Maximum horizontal size (cm) */ member
/openbmc/linux/tools/lib/perf/
H A Devlist.c655 perf_evsel__alloc_id(evsel, evsel->fd->max_x, evsel->fd->max_y) < 0) in perf_evlist__mmap_ops()
/openbmc/linux/drivers/input/misc/
H A Diqs7222.c2794 if (prop->max_x >= U16_MAX || prop->max_y >= U16_MAX) { in iqs7222_parse_tpad()
2796 prop->max_x, prop->max_y); in iqs7222_parse_tpad()
2800 tpad_setup[4] = prop->max_x + 1; in iqs7222_parse_tpad()
/openbmc/linux/include/linux/
H A Dfb.h91 __u8 max_x; /* Maximum horizontal size (cm) */ member

123