Home
last modified time | relevance | path

Searched refs:orientation (Results 1 – 25 of 109) sorted by relevance

12345

/linux/drivers/gpu/drm/
A Ddrm_panel_orientation_quirks.c30 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,
331 return data->orientation; in drm_get_panel_orientation_quirk()
[all …]
A Ddrm_panel.c278 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/drivers/gpu/drm/i915/display/
A Dintel_dsi.c119 enum drm_panel_orientation orientation; in intel_dsi_get_panel_orientation() local
121 orientation = dev_priv->vbt.dsi.orientation; in intel_dsi_get_panel_orientation()
122 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation()
123 return orientation; in intel_dsi_get_panel_orientation()
125 orientation = dev_priv->vbt.orientation; in intel_dsi_get_panel_orientation()
126 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation()
127 return orientation; in intel_dsi_get_panel_orientation()
/linux/Documentation/firmware-guide/acpi/
A Dintel-pmc-mux.rst20 configure the cable plug orientation and mode (with Alternate Modes). The driver
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
106 Package () {"sbu-orientation", "normal"},
107 Package () {"hsl-orientation", "normal"},
132 Package () {"sbu-orientation", "normal"},
133 Package () {"hsl-orientation", "normal"},
147 Package () {"sbu-orientation", "normal"},
[all …]
/linux/drivers/iio/imu/inv_mpu6050/
A Dinv_mpu_magn.c275 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()
/linux/drivers/iio/orientation/
A D.built-in.a.cmd1orientation/built-in.a := echo >/dev/null; rm -f drivers/iio/orientation/built-in.a; /usr/bin/ccac…
/linux/drivers/usb/typec/mux/
A 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()
255 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_dp()
287 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_tbt()
330 req.mode_data |= (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_usb4()
394 if (port->orientation == TYPEC_ORIENTATION_NONE) in pmc_usb_connect()
425 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
456 enum typec_orientation orientation) in pmc_usb_set_orientation() argument
462 port->orientation = orientation; in pmc_usb_set_orientation()
A Dpi3usb30532.c49 enum typec_orientation orientation) in pi3usb30532_sw_set() argument
58 switch (orientation) { in pi3usb30532_sw_set()
/linux/drivers/media/pci/intel/ipu3/
A Dcio2-bridge.c32 .orientation = "orientation",
116 enum v4l2_fwnode_orientation orientation; in cio2_bridge_create_fwnode_properties() local
119 orientation = cio2_bridge_parse_orientation(sensor); in cio2_bridge_create_fwnode_properties()
133 sensor->prop_names.orientation, in cio2_bridge_create_fwnode_properties()
134 orientation); in cio2_bridge_create_fwnode_properties()
/linux/include/linux/usb/
A Dtypec_mux.h16 enum typec_orientation orientation);
28 enum typec_orientation orientation);
/linux/include/drm/
A Ddrm_panel.h194 enum drm_panel_orientation *orientation);
202 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation() argument
/linux/drivers/gpu/drm/panel/
A Dpanel-lvds.c41 enum drm_panel_orientation orientation; member
104 drm_connector_set_panel_orientation(connector, lvds->orientation); in panel_lvds_get_modes()
122 ret = of_drm_get_panel_orientation(np, &lvds->orientation); in panel_lvds_parse_dt()
A Dpanel-elida-kd35t133.c45 enum drm_panel_orientation orientation; member
220 drm_connector_set_panel_orientation(connector, ctx->orientation); in kd35t133_get_modes()
263 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation); in kd35t133_probe()
/linux/drivers/usb/typec/
A 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/Documentation/devicetree/bindings/media/
A Dvideo-interface-devices.yaml318 (height > width) to match the device screen orientation and the device
319 usage orientation used when taking the picture.
386 orientation:
388 The orientation of a device (typically an image sensor or a flash LED)
389 describing its mounting position relative to the usage orientation of the
/linux/drivers/iio/accel/
A Dbmc150-accel-core.c387 struct iio_mount_matrix *orientation) in bmc150_apply_bosc0200_acpi_orientation() argument
440 orientation->rotation[i * 3 + j] = str; in bmc150_apply_bosc0200_acpi_orientation()
454 struct iio_mount_matrix *orientation) in bmc150_apply_dual250e_acpi_orientation() argument
467 struct iio_mount_matrix *orientation) in bmc150_apply_acpi_orientation() argument
472 return bmc150_apply_bosc0200_acpi_orientation(dev, orientation); in bmc150_apply_acpi_orientation()
475 return bmc150_apply_dual250e_acpi_orientation(dev, orientation); in bmc150_apply_acpi_orientation()
481 struct iio_mount_matrix *orientation) in bmc150_apply_acpi_orientation() argument
920 return &data->orientation; in bmc150_accel_get_mount_matrix()
1683 if (!bmc150_apply_acpi_orientation(dev, &data->orientation)) { in bmc150_accel_core_probe()
1684 ret = iio_read_mount_matrix(dev, &data->orientation); in bmc150_accel_core_probe()
A Dkxsd9.c75 struct iio_mount_matrix orientation; member
270 return &st->orientation; in kxsd9_get_mount_matrix()
423 ret = iio_read_mount_matrix(dev, &st->orientation); in kxsd9_common_probe()
/linux/Documentation/devicetree/bindings/iio/
A 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/include/linux/platform_data/
A Dinvensense_mpu6050.h23 __s8 orientation[9]; member
/linux/include/linux/iio/accel/
A Dkxcjk_1013.h14 struct iio_mount_matrix orientation; member
/linux/drivers/hid/
A Dhid-magicmouse.c208 int id, x, y, size, orientation, touch_major, touch_minor, state, down; in magicmouse_emit_touch() local
217 orientation = (tdata[6] >> 2) - 32; in magicmouse_emit_touch()
227 orientation = (tdata[8] >> 5) - 4; in magicmouse_emit_touch()
238 orientation = (tdata[7] >> 2) - 32; in magicmouse_emit_touch()
350 input_report_abs(input, ABS_MT_ORIENTATION, -orientation); in magicmouse_emit_touch()
/linux/drivers/iio/imu/bmi160/
A Dbmi160.h12 struct iio_mount_matrix orientation; member
/linux/Documentation/input/
A Dmulti-touch-protocol.rst215 and MINOR are the major and minor axis of an ellipse. The orientation of
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
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
/linux/drivers/gpu/drm/msm/dp/
A Ddp_hpd.h36 enum plug_orientation orientation; member
/linux/drivers/iio/magnetometer/
A Dhmc5843.h44 struct iio_mount_matrix orientation; member

Completed in 45 milliseconds

12345