Home
last modified time | relevance | path

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

12345

/linux/drivers/gpu/drm/i915/display/
H A Dintel_dsi.c121 enum drm_panel_orientation orientation; in intel_dsi_get_panel_orientation() local
123 orientation = connector->panel.vbt.dsi.orientation; in intel_dsi_get_panel_orientation()
124 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation()
125 return orientation; in intel_dsi_get_panel_orientation()
127 orientation = display->vbt.orientation; in intel_dsi_get_panel_orientation()
128 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation()
129 return orientation; in intel_dsi_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.c63 enum typec_orientation orientation; member
81 bool reverse = (fsa->orientation == TYPEC_ORIENTATION_REVERSE); in fsa4480_set()
150 enum typec_orientation orientation) in fsa4480_switch_set() argument
157 if (fsa->orientation != orientation) { in fsa4480_switch_set()
158 fsa->orientation = orientation; in fsa4480_switch_set()
293 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 Dps883x.c63 enum typec_orientation orientation; member
111 if (retimer->orientation == TYPEC_ORIENTATION_REVERSE) in ps883x_set()
178 enum typec_orientation orientation) in ps883x_sw_set() argument
183 ret = typec_switch_set(retimer->typec_switch, orientation); in ps883x_sw_set()
189 if (retimer->orientation != orientation) { in ps883x_sw_set()
190 retimer->orientation = orientation; in ps883x_sw_set()
194 orientation == TYPEC_ORIENTATION_REVERSE); in ps883x_sw_set()
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 Dintel_pmc_mux.c140 enum typec_orientation orientation; member
182 return port->orientation - 1; in sbu_orientation()
190 return port->orientation - 1; in hsl_orientation()
295 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_dp()
345 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_tbt()
398 req.mode_data |= (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_usb4()
482 if (port->orientation == TYPEC_ORIENTATION_NONE) in pmc_usb_connect()
513 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
544 enum typec_orientation orientation) in pmc_usb_set_orientation() argument
550 port->orientation = orientation; in pmc_usb_set_orientation()
H A Dpi3usb30532.c49 enum typec_orientation orientation) in pi3usb30532_sw_set() argument
58 switch (orientation) { in pi3usb30532_sw_set()
H A Dit5205.c69 static int it5205_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) in it5205_switch_set() argument
73 switch (orientation) { in it5205_switch_set()
/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8mq-usb.c111 enum typec_orientation orientation; member
132 enum typec_orientation orientation);
135 enum typec_orientation orientation) in tca_blk_typec_switch_set() argument
141 if (tca->orientation == orientation) in tca_blk_typec_switch_set()
148 tca_blk_orientation_set(tca, orientation); in tca_blk_typec_switch_set()
182 enum typec_orientation orientation) in tca_blk_orientation_set() argument
188 if (orientation == TYPEC_ORIENTATION_NONE) { in tca_blk_orientation_set()
211 if (orientation == TYPEC_ORIENTATION_REVERSE) in tca_blk_orientation_set()
213 else if (orientation == TYPEC_ORIENTATION_NORMAL) in tca_blk_orientation_set()
223 tca->orientation = orientation; in tca_blk_orientation_set()
[all …]
/linux/drivers/media/pci/intel/
H A Dipu-bridge.c127 .orientation = "orientation",
295 enum v4l2_fwnode_orientation orientation; in ipu_bridge_parse_orientation() local
299 dev_warn(ADEV_DEV(adev), "_PLD call failed, using default orientation\n"); in ipu_bridge_parse_orientation()
305 orientation = V4L2_FWNODE_ORIENTATION_FRONT; in ipu_bridge_parse_orientation()
308 orientation = V4L2_FWNODE_ORIENTATION_BACK; in ipu_bridge_parse_orientation()
314 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_parse_orientation()
319 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_parse_orientation()
324 return orientation; in ipu_bridge_parse_orientation()
350 sensor->orientation in ipu_bridge_parse_ssdb()
[all...]
/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;
H A Dsc8180x-lenovo-flex-5g.dts54 orientation-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>,
190 orientation-switch;
209 orientation-switch;
598 orientation-switch;
639 orientation-switch;
/linux/drivers/usb/typec/ucsi/
H A Ducsi_glink.c210 int orientation; in pmic_glink_ucsi_connector_status() local
221 orientation = gpiod_get_value(ucsi->port_orientation[con->num - 1]); in pmic_glink_ucsi_connector_status()
222 if (orientation >= 0) { in pmic_glink_ucsi_connector_status()
224 orientation ? in pmic_glink_ucsi_connector_status()
/linux/include/media/
H A Dipu-bridge.h100 char orientation[12]; member
140 enum v4l2_fwnode_orientation orientation; member
/linux/drivers/iio/accel/
H A Dbmc150-accel-core.c381 struct iio_mount_matrix *orientation) in bmc150_apply_bosc0200_acpi_orientation() argument
404 return iio_read_acpi_mount_matrix(dev, orientation, name); in bmc150_apply_bosc0200_acpi_orientation()
408 struct iio_mount_matrix *orientation) in bmc150_apply_dual250e_acpi_orientation() argument
421 struct iio_mount_matrix *orientation) in bmc150_apply_acpi_orientation() argument
426 return bmc150_apply_bosc0200_acpi_orientation(dev, orientation); in bmc150_apply_acpi_orientation()
429 return bmc150_apply_dual250e_acpi_orientation(dev, orientation); in bmc150_apply_acpi_orientation()
435 struct iio_mount_matrix *orientation) in bmc150_apply_acpi_orientation() argument
878 return &data->orientation; in bmc150_accel_get_mount_matrix()
1640 if (!bmc150_apply_acpi_orientation(dev, &data->orientation)) { in bmc150_accel_core_probe()
1641 ret = iio_read_mount_matrix(dev, &data->orientation); in bmc150_accel_core_probe()
/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/drivers/iio/imu/bmi160/
H A Dbmi160.h12 struct iio_mount_matrix orientation; member
/linux/drivers/iio/magnetometer/
H A Daf8133j.c48 struct iio_mount_matrix orientation; member
68 return &data->orientation; in af8133j_get_mount_matrix()
431 ret = iio_read_mount_matrix(dev, &data->orientation); in af8133j_probe()
H A Dhmc5843.h44 struct iio_mount_matrix orientation; member
/linux/Documentation/input/
H 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

12345