Home
last modified time | relevance | path

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

12345

/linux/drivers/gpu/drm/
H A Ddrm_panel_orientation_quirks.c30 int orientation; member
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 = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
99 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
[all …]
H A Ddrm_panel.c369 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation() argument
376 *orientation = DRM_MODE_PANEL_ORIENTATION_UNKNOWN; in of_drm_get_panel_orientation()
384 *orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL; in of_drm_get_panel_orientation()
386 *orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP; in of_drm_get_panel_orientation()
388 *orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP; in of_drm_get_panel_orientation()
390 *orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP; in of_drm_get_panel_orientation()
/linux/Documentation/firmware-guide/acpi/
H 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
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"},
133 Package () {"hsl-orientation", "normal"},
[all …]
/linux/drivers/iio/imu/inv_mpu6050/
H 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/usb/typec/mux/
H A Dptn36502.c74 enum typec_orientation orientation; member
81 bool reverse = (ptn->orientation == TYPEC_ORIENTATION_REVERSE); in ptn36502_set()
214 static int ptn36502_sw_set(struct typec_switch_dev *sw, enum typec_orientation orientation) in ptn36502_sw_set() argument
219 ret = typec_switch_set(ptn->typec_switch, orientation); in ptn36502_sw_set()
225 if (ptn->orientation != orientation) { in ptn36502_sw_set()
226 ptn->orientation = orientation; in ptn36502_sw_set()
320 ptn->orientation = TYPEC_ORIENTATION_NONE; in ptn36502_probe()
H A Dfsa4480.c62 enum typec_orientation orientation; member
80 bool reverse = (fsa->orientation == TYPEC_ORIENTATION_REVERSE); in fsa4480_set()
149 enum typec_orientation orientation) in fsa4480_switch_set() argument
156 if (fsa->orientation != orientation) { in fsa4480_switch_set()
157 fsa->orientation = orientation; in fsa4480_switch_set()
288 fsa->orientation = TYPEC_ORIENTATION_NONE; in fsa4480_probe()
H A Dnb7vpq904m.c76 enum typec_orientation orientation; member
109 bool reverse = (nb7->orientation == TYPEC_ORIENTATION_REVERSE); in nb7vpq904m_set()
254 static int nb7vpq904m_sw_set(struct typec_switch_dev *sw, enum typec_orientation orientation) in nb7vpq904m_sw_set() argument
259 ret = typec_switch_set(nb7->typec_switch, orientation); in nb7vpq904m_sw_set()
265 if (nb7->orientation != orientation) { in nb7vpq904m_sw_set()
266 nb7->orientation = orientation; in nb7vpq904m_sw_set()
407 nb7->orientation = TYPEC_ORIENTATION_NONE; in nb7vpq904m_probe()
H A Dwcd939x-usbss.c197 enum typec_orientation orientation; member
242 bool reverse = (usbss->orientation == TYPEC_ORIENTATION_REVERSE); in wcd939x_usbss_set()
535 enum typec_orientation orientation) in wcd939x_usbss_switch_set() argument
542 if (usbss->orientation != orientation) { in wcd939x_usbss_switch_set()
543 usbss->orientation = orientation; in wcd939x_usbss_switch_set()
554 return typec_switch_set(usbss->codec_switch, orientation); in wcd939x_usbss_switch_set()
627 usbss->orientation = TYPEC_ORIENTATION_NONE; in wcd939x_usbss_probe()
H A Dpi3usb30532.c49 enum typec_orientation orientation) in pi3usb30532_sw_set() argument
58 switch (orientation) { in pi3usb30532_sw_set()
/linux/drivers/media/pci/intel/
H A Dipu-bridge.c92 .orientation = "orientation",
254 enum v4l2_fwnode_orientation orientation; in ipu_bridge_parse_orientation() local
264 orientation = V4L2_FWNODE_ORIENTATION_FRONT; in ipu_bridge_parse_orientation()
267 orientation = V4L2_FWNODE_ORIENTATION_BACK; in ipu_bridge_parse_orientation()
273 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_parse_orientation()
278 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_parse_orientation()
283 return orientation; in ipu_bridge_parse_orientation()
309 sensor->orientation = ipu_bridge_parse_orientation(adev); in ipu_bridge_parse_ssdb()
373 sensor->prop_names.orientation, in ipu_bridge_create_fwnode_properties()
374 sensor->orientation); in ipu_bridge_create_fwnode_properties()
/linux/drivers/gpu/drm/panel/
H A 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()
H A Dpanel-boe-th101mb31ig002-28a.c48 enum drm_panel_orientation orientation; member
323 drm_connector_set_panel_orientation(connector, ctx->orientation); in boe_th101mb31ig002_get_modes()
335 return ctx->orientation; in boe_th101mb31ig002_get_orientation()
381 &ctx->orientation); in boe_th101mb31ig002_dsi_probe()
/linux/include/linux/usb/
H A Dtypec_mux.h18 enum typec_orientation orientation);
30 enum typec_orientation orientation);
/linux/drivers/iio/accel/
H A Dmma7660.c50 struct iio_mount_matrix orientation; member
59 return &data->orientation; in mma7660_get_mount_matrix()
206 ret = iio_read_mount_matrix(&client->dev, &data->orientation); in mma7660_probe()
H A Dbmc150-accel-core.c387 struct iio_mount_matrix *orientation) in bmc150_apply_bosc0200_acpi_orientation() argument
410 return iio_read_acpi_mount_matrix(dev, orientation, name); in bmc150_apply_bosc0200_acpi_orientation()
414 struct iio_mount_matrix *orientation) in bmc150_apply_dual250e_acpi_orientation() argument
427 struct iio_mount_matrix *orientation) in bmc150_apply_acpi_orientation() argument
432 return bmc150_apply_bosc0200_acpi_orientation(dev, orientation); in bmc150_apply_acpi_orientation()
435 return bmc150_apply_dual250e_acpi_orientation(dev, orientation); in bmc150_apply_acpi_orientation()
441 struct iio_mount_matrix *orientation) in bmc150_apply_acpi_orientation() argument
880 return &data->orientation; in bmc150_accel_get_mount_matrix()
1642 if (!bmc150_apply_acpi_orientation(dev, &data->orientation)) { in bmc150_accel_core_probe()
1643 ret = iio_read_mount_matrix(dev, &data->orientation); in bmc150_accel_core_probe()
H A Dkxsd9.c76 struct iio_mount_matrix orientation; member
271 return &st->orientation; in kxsd9_get_mount_matrix()
421 ret = iio_read_mount_matrix(dev, &st->orientation); in kxsd9_common_probe()
/linux/include/drm/
H A Ddrm_panel.h290 enum drm_panel_orientation *orientation);
298 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation() argument
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-usbc.c353 enum typec_orientation orientation; member
493 if (qmp->orientation == TYPEC_ORIENTATION_REVERSE) in qmp_usbc_init()
857 enum typec_orientation orientation) in qmp_usbc_typec_switch_set() argument
861 if (orientation == qmp->orientation || orientation == TYPEC_ORIENTATION_NONE) in qmp_usbc_typec_switch_set()
865 qmp->orientation = orientation; in qmp_usbc_typec_switch_set()
1055 qmp->orientation = TYPEC_ORIENTATION_NORMAL; in qmp_usbc_probe()
/linux/drivers/usb/typec/ucsi/
H A Ducsi_glink.c186 int orientation; in pmic_glink_ucsi_connector_status() local
197 orientation = gpiod_get_value(ucsi->port_orientation[con->num - 1]); in pmic_glink_ucsi_connector_status()
198 if (orientation >= 0) { in pmic_glink_ucsi_connector_status()
200 orientation ? in pmic_glink_ucsi_connector_status()
/linux/arch/arm64/boot/dts/qcom/
H A Dqcs8550-aim300-aiot.dts47 orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
132 orientation-switch;
147 orientation-switch;
/linux/include/media/
H A Dipu-bridge.h100 char orientation[12]; member
140 enum v4l2_fwnode_orientation orientation; member
/linux/Documentation/devicetree/bindings/iio/
H 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/
H A Dinvensense_mpu6050.h23 __s8 orientation[9]; member
/linux/include/linux/iio/accel/
H A Dkxcjk_1013.h14 struct iio_mount_matrix orientation; member
/linux/Documentation/userspace-api/media/drivers/
H A Dcamera-sensor.rst88 Rotation, orientation and flipping
96 Sensor drivers shall also report the sensor's mounting orientation with the
97 :ref:`V4L2_CID_CAMERA_SENSOR_ORIENTATION <v4l2-camera-sensor-orientation>`.

12345