Searched refs:orientation (Results 1 - 25 of 108) sorted by path

12345

/linux-master/drivers/gpu/drm/
H A Ddrm_connector.c1406 * panel orientation:
1413 * the orientation it must also apply the same transformation to the
2552 * @connector: connector for which to set the panel-orientation property.
2556 * a "panel orientation" property to the connector.
2559 * already been set is a no-op (e.g. the orientation has been overridden with
2583 /* Don't attach the property if the orientation is unknown */
2592 "panel orientation",
2610 * @connector: connector for which to init the panel-orientation property.
2640 * @connector: connector for which to init the panel-orientation property.
2641 * @panel: panel that can provide orientation informatio
2653 enum drm_panel_orientation orientation; local
[all...]
H A Ddrm_panel.c337 * of_drm_get_panel_orientation - look up the orientation of the panel through
340 * @orientation: orientation enum to be filled in
342 * Looks up the rotation of a panel in the device tree. The orientation of the
350 enum drm_panel_orientation *orientation)
357 *orientation = DRM_MODE_PANEL_ORIENTATION_UNKNOWN;
365 *orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL;
367 *orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP;
369 *orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP;
371 *orientation
349 of_drm_get_panel_orientation(const struct device_node *np, enum drm_panel_orientation *orientation) argument
[all...]
H A Ddrm_panel_orientation_quirks.c3 * drm_panel_orientation_quirks.c -- Quirks for non-normal panel orientation
30 int orientation; member in struct:drm_dmi_panel_orientation_data
38 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
46 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
54 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
62 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
71 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
79 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
86 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
93 .orientation
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_bios.c1176 i915->display.vbt.orientation = general->rotate_180 ?
1180 i915->display.vbt.orientation = DRM_MODE_PANEL_ORIENTATION_UNKNOWN;
1728 panel->vbt.dsi.orientation =
1732 panel->vbt.dsi.orientation =
1736 panel->vbt.dsi.orientation =
1740 panel->vbt.dsi.orientation =
H A Dintel_display_core.h226 enum drm_panel_orientation orientation; member in struct:intel_vbt_data
H A Dintel_display_types.h367 enum drm_panel_orientation orientation; member in struct:intel_vbt_panel_data::__anon20
H A Dintel_dp.c6264 i915->display.vbt.orientation,
H A Dintel_dsi.c123 enum drm_panel_orientation orientation; local
125 orientation = connector->panel.vbt.dsi.orientation;
126 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN)
127 return orientation;
129 orientation = dev_priv->display.vbt.orientation;
130 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN)
131 return orientation;
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-boe-th101mb31ig002-28a.c29 enum drm_panel_orientation orientation; member in struct:boe_th101mb31ig002
212 drm_connector_set_panel_orientation(connector, ctx->orientation);
226 return ctx->orientation;
271 &ctx->orientation);
274 "Failed to get orientation\n");
H A Dpanel-boe-tv101wum-nl6.c47 enum drm_panel_orientation orientation; member in struct:boe_panel
1823 drm_connector_set_panel_orientation(connector, boe->orientation);
1832 return boe->orientation;
1878 err = of_drm_get_panel_orientation(dev->of_node, &boe->orientation);
1880 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, err);
H A Dpanel-edp.c252 enum drm_panel_orientation orientation; member in struct:panel_edp
655 drm_connector_set_panel_orientation(connector, p->orientation);
681 return p->orientation;
887 err = of_drm_get_panel_orientation(dev->of_node, &panel->orientation);
889 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, err);
H A Dpanel-elida-kd35t133.c45 enum drm_panel_orientation orientation; member in struct:kd35t133
211 return ctx->orientation;
253 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation);
255 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, ret);
H A Dpanel-himax-hx8394.c73 enum drm_panel_orientation orientation; member in struct:hx8394
468 return ctx->orientation;
495 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation);
497 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, ret);
H A Dpanel-ilitek-ili9881c.c55 enum drm_panel_orientation orientation; member in struct:ili9881c
1258 drm_connector_set_panel_orientation(connector, ctx->orientation);
1267 return ctx->orientation;
1304 ret = of_drm_get_panel_orientation(dsi->dev.of_node, &ctx->orientation);
1306 dev_err(&dsi->dev, "%pOF: failed to get orientation: %d\n",
H A Dpanel-ilitek-ili9882t.c47 enum drm_panel_orientation orientation; member in struct:ili9882t
655 return ili->orientation;
699 err = of_drm_get_panel_orientation(dev->of_node, &ili->orientation);
701 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, err);
H A Dpanel-lvds.c42 enum drm_panel_orientation orientation; member in struct:panel_lvds
107 drm_connector_set_panel_orientation(connector, lvds->orientation);
116 return lvds->orientation;
131 ret = of_drm_get_panel_orientation(np, &lvds->orientation);
133 dev_err(lvds->dev, "%pOF: failed to get orientation %d\n", np, ret);
H A Dpanel-novatek-nt36523.c36 enum drm_panel_orientation orientation; member in struct:panel_info
1150 return pinfo->orientation;
1265 ret = of_drm_get_panel_orientation(dev->of_node, &pinfo->orientation);
1267 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, ret);
H A Dpanel-simple.c158 enum drm_panel_orientation orientation; member in struct:panel_simple
419 drm_connector_set_panel_orientation(connector, p->orientation);
445 return p->orientation;
624 err = of_drm_get_panel_orientation(dev->of_node, &panel->orientation);
626 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, err);
H A Dpanel-sitronix-st7701.c138 enum drm_panel_orientation orientation; member in struct:st7701
558 drm_connector_set_panel_orientation(connector, st7701->orientation);
567 return st7701->orientation;
1007 ret = of_drm_get_panel_orientation(dsi->dev.of_node, &st7701->orientation);
1009 return dev_err_probe(&dsi->dev, ret, "Failed to get orientation\n");
H A Dpanel-sitronix-st7703.c65 enum drm_panel_orientation orientation; member in struct:st7703
751 return st7703->orientation;
829 ret = of_drm_get_panel_orientation(dsi->dev.of_node, &ctx->orientation);
831 return dev_err_probe(&dsi->dev, ret, "Failed to get orientation\n");
H A Dpanel-sitronix-st7789v.c132 enum drm_panel_orientation orientation; member in struct:st7789v
362 drm_connector_set_panel_orientation(connector, ctx->orientation);
371 return ctx->orientation;
646 of_drm_get_panel_orientation(spi->dev.of_node, &ctx->orientation);
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_dev.h268 uint32_t orientation; member in struct:qxl_mode
/linux-master/drivers/hid/
H A Dhid-magicmouse.c216 int id, x, y, size, orientation, touch_major, touch_minor, state, down; local
225 orientation = (tdata[6] >> 2) - 32;
235 orientation = (tdata[8] >> 5) - 4;
246 orientation = (tdata[7] >> 2) - 32;
358 input_report_abs(input, ABS_MT_ORIENTATION, -orientation);
H A Dhid-multitouch.c1087 int orientation = wide; local
1111 orientation = -azimuth;
1113 orientation = -orientation;
1144 input_event(input, EV_ABS, ABS_MT_ORIENTATION, orientation);
H A Dhid-sony.c1009 int w, int h, int touch_major, int touch_minor, int orientation)
1055 if (orientation > 0)
1057 0, orientation, 0, 0);
1008 sony_register_touchpad(struct sony_sc *sc, int touch_count, int w, int h, int touch_major, int touch_minor, int orientation) argument

Completed in 467 milliseconds

12345