Home
last modified time | relevance | path

Searched full:orientation (Results 1 – 25 of 191) sorted by relevance

12345678

/Linux-v6.1/Documentation/firmware-guide/acpi/
Dintel-pmc-mux.rst20 configure the cable plug orientation and mode (with Alternate Modes). The driver
90 Orientation subsection
95 should not configure them according to the cable plug orientation. This can
97 orientation. The driver uses a specific device properties "sbu-orientation"
98 (SBU) and "hsl-orientation" (data) to know if those lines are "fixed", and to
99 which orientation. The value that these properties have is a string value, and
100 it can be one that is defined for the USB Type-C connector orientation: "normal"
106 Package () {"sbu-orientation", "normal"},
107 Package () {"hsl-orientation", "normal"},
132 Package () {"sbu-orientation", "normal"},
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_dsi.c103 enum drm_panel_orientation orientation; in intel_dsi_get_panel_orientation() local
105 orientation = connector->panel.vbt.dsi.orientation; in intel_dsi_get_panel_orientation()
106 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation()
107 return orientation; in intel_dsi_get_panel_orientation()
109 orientation = dev_priv->display.vbt.orientation; in intel_dsi_get_panel_orientation()
110 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation()
111 return orientation; in intel_dsi_get_panel_orientation()
/Linux-v6.1/include/linux/platform_data/
Dinvensense_mpu6050.h11 * @orientation: Orientation matrix of the chip (deprecated in favor of
15 * work on this platform. The orientation matrices are 3x3 rotation matrices
16 * that are applied to the data to rotate from the mounting orientation to the
17 * platform orientation. The values must be one of 0, 1, or -1 and each row and
23 __s8 orientation[9]; member
/Linux-v6.1/drivers/gpu/drm/
Ddrm_panel_orientation_quirks.c3 * drm_panel_orientation_quirks.c -- Quirks for non-normal panel orientation
30 int orientation; member
36 .orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP,
44 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
52 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
60 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
69 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
77 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
84 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
91 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
[all …]
Ddrm_panel.c265 * of_drm_get_panel_orientation - look up the orientation of the panel through
268 * @orientation: orientation enum to be filled in
270 * Looks up the rotation of a panel in the device tree. The orientation of the
278 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation() argument
285 *orientation = DRM_MODE_PANEL_ORIENTATION_UNKNOWN; in of_drm_get_panel_orientation()
293 *orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL; in of_drm_get_panel_orientation()
295 *orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP; in of_drm_get_panel_orientation()
297 *orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP; in of_drm_get_panel_orientation()
299 *orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP; in of_drm_get_panel_orientation()
/Linux-v6.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_magn.c269 /* fill magnetometer orientation */ in inv_mpu_magn_set_orient()
275 st->magn_orient.rotation[0] = st->orientation.rotation[3]; in inv_mpu_magn_set_orient()
276 st->magn_orient.rotation[1] = st->orientation.rotation[4]; in inv_mpu_magn_set_orient()
277 st->magn_orient.rotation[2] = st->orientation.rotation[5]; in inv_mpu_magn_set_orient()
279 st->magn_orient.rotation[3] = st->orientation.rotation[0]; in inv_mpu_magn_set_orient()
280 st->magn_orient.rotation[4] = st->orientation.rotation[1]; in inv_mpu_magn_set_orient()
281 st->magn_orient.rotation[5] = st->orientation.rotation[2]; in inv_mpu_magn_set_orient()
284 orient = st->orientation.rotation[i]; in inv_mpu_magn_set_orient()
307 st->magn_orient = st->orientation; in inv_mpu_magn_set_orient()
Dinv_mpu_iio.h167 * @plat_data: platform data (deprecated in favor of @orientation).
168 * @orientation: sensor chip orientation relative to main hardware.
179 * @magn_orient: magnetometer sensor chip orientation if available.
193 struct iio_mount_matrix orientation; member
/Linux-v6.1/Documentation/devicetree/bindings/usb/
Dfcs,fsa4480.yaml30 orientation-switch:
31 description: Flag the port as possible handler of orientation switching
38 handling altmode muxing and orientation switching.
63 orientation-switch;
/Linux-v6.1/drivers/usb/typec/
Dmux.c45 * property is named "orientation-switch" (@id). The value of the device in typec_switch_match()
63 * fwnode_typec_switch_get - Find USB Type-C orientation switch
83 count = fwnode_connection_find_matches(fwnode, "orientation-switch", NULL, in fwnode_typec_switch_get()
121 * typec_switch_put - Release USB Type-C orientation switch
122 * @sw: USB Type-C orientation switch
155 * typec_switch_register - Register USB Type-C orientation switch
157 * @desc: Orientation switch description
160 * data pairs depending on the cable plug orientation from the USB Type-C
204 enum typec_orientation orientation) in typec_switch_set() argument
216 ret = sw_dev->set(sw_dev, orientation); in typec_switch_set()
[all …]
Dqcom-pmic-typec.c68 enum typec_orientation orientation; in qcom_pmic_typec_check_connection() local
77 orientation = (stat & CC_ORIENTATION) ? in qcom_pmic_typec_check_connection()
80 typec_set_orientation(qcom_usb->port, orientation); in qcom_pmic_typec_check_connection()
/Linux-v6.1/Documentation/input/
Dmulti-touch-protocol.rst215 and MINOR are the major and minor axis of an ellipse. The orientation of
216 the touch ellipse can be described with the ORIENTATION parameter, and the
246 orientation of the contact and the approaching tool are assumed to be the
273 The orientation of the touching ellipse. The value should describe a signed
283 degree orientation, the reported orientation must exceed the range max to
287 Orientation can be omitted if the touch area is circular, or if the
288 information is not available in the kernel driver. Partial orientation
346 For devices reporting contacts as rectangular shapes, signed orientation
376 Rationale: We have no information about the orientation of the touching
399 and with ORIENTATION, one can detect twisting of fingers.
/Linux-v6.1/drivers/usb/typec/mux/
Dintel_pmc_mux.c128 enum typec_orientation orientation; member
165 return port->orientation - 1; in sbu_orientation()
173 return port->orientation - 1; in hsl_orientation()
272 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_dp()
304 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_tbt()
347 req.mode_data |= (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_usb4()
422 if (port->orientation == TYPEC_ORIENTATION_NONE) in pmc_usb_connect()
453 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
484 enum typec_orientation orientation) in pmc_usb_set_orientation() argument
490 port->orientation = orientation; in pmc_usb_set_orientation()
[all …]
/Linux-v6.1/drivers/gpu/drm/panel/
Dpanel-lvds.c42 enum drm_panel_orientation orientation; member
107 drm_connector_set_panel_orientation(connector, lvds->orientation); in panel_lvds_get_modes()
116 return lvds->orientation; in panel_lvds_get_orientation()
131 ret = of_drm_get_panel_orientation(np, &lvds->orientation); in panel_lvds_parse_dt()
133 dev_err(lvds->dev, "%pOF: failed to get orientation %d\n", np, ret); in panel_lvds_parse_dt()
Dpanel-elida-kd35t133.c45 enum drm_panel_orientation orientation; member
224 drm_connector_set_panel_orientation(connector, ctx->orientation); in kd35t133_get_modes()
233 return ctx->orientation; in kd35t133_get_orientation()
275 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation); in kd35t133_probe()
277 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, ret); in kd35t133_probe()
/Linux-v6.1/drivers/gpu/drm/msm/dp/
Ddp_hpd.h23 * @orientation: plug orientation configuration
35 enum plug_orientation orientation; member
/Linux-v6.1/include/linux/input/
Dadxl34x.h305 * ADXL346 only ORIENTATION SENSING feature
306 * The orientation function of the ADXL346 reports both 2-D and
307 * 3-D orientation concurrently.
318 * orientation positions is determined by setting the Deadzone
321 * angle where the orientation is considered invalid.
338 * orientation bandwidth. Set the depth of the filter used to
340 * orientation sensing
Dkxtj9.h18 * changed to account for sensor orientation within the host device.
25 * Each axis can be negated to account for sensor orientation within
/Linux-v6.1/drivers/staging/fbtft/
Dfb_uc1701.c33 /* 8: select orientation */
58 /* column offset for normal orientation */
60 /* column offset for bottom view orientation */
74 /* select orientation BOTTOMVIEW */ in init_display()
/Linux-v6.1/Documentation/devicetree/bindings/iio/
Dmount-matrix.txt22 and thus implying that the component should be mounted in a certain orientation
28 reference to (x,y,z) orientation, with (x,y) corresponding to these axes on the
43 to this world. When using the mounting matrix, the sensor and device orientation
94 geomagnetic field. The system orientation vis-a-vis the world is defined with
151 relative orientation of any given sensor of this type with respect to the
/Linux-v6.1/Documentation/fb/
Dfbcon.rst125 This option changes the orientation angle of the console display. The
128 - 0 - normal orientation (0 degree)
129 - 1 - clockwise orientation (90 degrees)
130 - 2 - upside down orientation (180 degrees)
131 - 3 - counterclockwise orientation (270 degrees)
144 use the framebuffer will remain at their 'normal' orientation.
/Linux-v6.1/drivers/media/pci/intel/ipu3/
Dcio2-bridge.c37 .orientation = "orientation",
133 enum v4l2_fwnode_orientation orientation; in cio2_bridge_create_fwnode_properties() local
136 orientation = cio2_bridge_parse_orientation(sensor); in cio2_bridge_create_fwnode_properties()
150 sensor->prop_names.orientation, in cio2_bridge_create_fwnode_properties()
151 orientation); in cio2_bridge_create_fwnode_properties()
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dext-ctrls-camera.rst510 This read-only control describes the camera orientation by reporting its
513 particularly meaningful for devices which have a well defined orientation,
515 as a position relative to the device's intended usage orientation. For
518 orientation, while a camera installed on the opposite side of the front one
519 is said to be have ``V4L2_CAMERA_ORIENTATION_BACK`` orientation. Camera
522 have the ``V4L2_CAMERA_ORIENTATION_EXTERNAL`` orientation.
617 orientation and the device usage orientation used when taking the picture.
/Linux-v6.1/include/linux/
Dlis3lv02d.h26 * @axis_x: Sensor orientation remapping for x-axis
27 * @axis_y: Sensor orientation remapping for y-axis
28 * @axis_z: Sensor orientation remapping for z-axis
/Linux-v6.1/include/linux/usb/
Dtypec_mux.h18 enum typec_orientation orientation);
30 enum typec_orientation orientation);
/Linux-v6.1/drivers/iio/gyro/
Dmpu3050.h44 * @orientation: mounting matrix, flipped axis etc
70 struct iio_mount_matrix orientation; member

12345678