resolution
if (field_by_value(mouse_field_tab, &resolution)->flags & FLG_SET) {
if (ioctl(fd, WSMOUSEIO_SRES, &resolution) == -1) {
static u_int resolution;
{ "resolution", &resolution, FMT_UINT, FLG_WRONLY },
int type, unsigned int resolution)
if (drm_WARN_ON(&i915->drm, resolution >= GVT_EDID_NUM))
memcpy(port->edid->edid_block, virtual_dp_monitor_edid[resolution],
port->id = resolution;
int intel_vgpu_init_display(struct intel_vgpu *vgpu, u64 resolution)
resolution);
resolution);
int intel_vgpu_init_display(struct intel_vgpu *vgpu, u64 resolution);
int resolution = 0, max_coords = 0, min_coords = 0;
synaptics_query(sc, SYNAPTICS_QUE_RESOLUTION, &resolution))
if (resolution & SYNAPTICS_RESOLUTION_VALID) {
hw->h_res = SYNAPTICS_RESOLUTION_X(resolution);
hw->v_res = SYNAPTICS_RESOLUTION_Y(resolution);
sc->sc_sensor.resolution = (result & OAK_RH_SENSOR_RES_MASK);
(sc->sc_sensor.resolution ? "8bit RH/12 bit" : "12bit RH/14bit"));
int resolution;
if (mouse.resolution == MOUSE_RES_LOW)
else if (mouse.resolution == MOUSE_RES_MEDIUMLOW)
else if (mouse.resolution == MOUSE_RES_MEDIUMHIGH)
else if (mouse.resolution == MOUSE_RES_HIGH)
else if (mouse.resolution <= 40)
else if (mouse.resolution <= 100)
else if (mouse.resolution <= 200)
else if (mouse.resolution <= 500)
else if (mouse.resolution <= 1000)
.resolution = MOUSE_RES_UNKNOWN,
unsigned int resolution; /* MOUSE_RES_XXX or a positive number */