/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_panel_orientation_quirks.c | 30 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, 63 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 71 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 78 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 97 .orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP, 109 .orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP, 437 return data->orientation; in drm_get_panel_orientation_quirk() [all …]
|
A D | drm_panel.c | 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-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_dsi.c | 103 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-6.3-rc2/Documentation/firmware-guide/acpi/ |
A D | intel-pmc-mux.rst | 20 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-6.3-rc2/drivers/iio/imu/inv_mpu6050/ |
A D | inv_mpu_magn.c | 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()
|
/linux-6.3-rc2/drivers/soc/qcom/ |
A D | pmic_glink_altmode.c | 77 enum typec_orientation orientation; member 181 typec_switch_set(alt_port->typec_switch, alt_port->orientation); in pmic_glink_altmode_worker() 197 static enum typec_orientation pmic_glink_altmode_orientation(unsigned int orientation) in pmic_glink_altmode_orientation() argument 199 if (orientation == 0) in pmic_glink_altmode_orientation() 201 else if (orientation == 1) in pmic_glink_altmode_orientation() 220 u8 orientation; in pmic_glink_altmode_sc8180xp_notify() local 236 orientation = FIELD_GET(SC8180X_ORIENTATION_MASK, notification); in pmic_glink_altmode_sc8180xp_notify() 250 alt_port->orientation = pmic_glink_altmode_orientation(orientation); in pmic_glink_altmode_sc8180xp_notify() 267 u8 orientation; in pmic_glink_altmode_sc8280xp_notify() local 282 orientation = notify->payload[1]; in pmic_glink_altmode_sc8280xp_notify() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/usb/ |
A D | gpio-sbu-mux.yaml | 14 and swapped depending on the altmode and orientation. This binding describes 39 orientation-switch: 40 description: Flag the port as possible handler of orientation switching 47 handling altmode muxing and orientation switching. 54 - orientation-switch 102 orientation-switch;
|
A D | fcs,fsa4480.yaml | 30 orientation-switch: 31 description: Flag the port as possible handler of orientation switching 38 handling altmode muxing and orientation switching. 63 orientation-switch;
|
/linux-6.3-rc2/drivers/usb/typec/mux/ |
A D | intel_pmc_mux.c | 128 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()
|
A D | gpio-sbu-mux.c | 30 enum typec_orientation orientation) in gpio_sbu_switch_set() argument 41 switch (orientation) { in gpio_sbu_switch_set()
|
A D | pi3usb30532.c | 49 enum typec_orientation orientation) in pi3usb30532_sw_set() argument 58 switch (orientation) { in pi3usb30532_sw_set()
|
/linux-6.3-rc2/drivers/gpu/drm/panel/ |
A D | panel-lvds.c | 42 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()
|
A D | panel-elida-kd35t133.c | 45 enum drm_panel_orientation orientation; member 216 drm_connector_set_panel_orientation(connector, ctx->orientation); in kd35t133_get_modes() 225 return ctx->orientation; in kd35t133_get_orientation() 267 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation); in kd35t133_probe()
|
/linux-6.3-rc2/include/drm/ |
A D | drm_panel.h | 221 enum drm_panel_orientation *orientation); 229 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation() argument
|
/linux-6.3-rc2/include/linux/usb/ |
A D | typec_mux.h | 18 enum typec_orientation orientation); 30 enum typec_orientation orientation);
|
/linux-6.3-rc2/drivers/media/pci/intel/ipu3/ |
A D | cio2-bridge.c | 37 .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-6.3-rc2/drivers/usb/typec/ |
A D | qcom-pmic-typec.c | 68 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-6.3-rc2/include/linux/platform_data/ |
A D | invensense_mpu6050.h | 23 __s8 orientation[9]; member
|
/linux-6.3-rc2/include/linux/iio/accel/ |
A D | kxcjk_1013.h | 14 struct iio_mount_matrix orientation; member
|
/linux-6.3-rc2/Documentation/devicetree/bindings/media/ |
A D | video-interface-devices.yaml | 318 (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-6.3-rc2/Documentation/devicetree/bindings/media/i2c/ |
A D | ovti,ov4689.yaml | 55 orientation: true 121 orientation = <2>;
|
A D | sony,imx415.yaml | 51 orientation: true 108 orientation = <2>;
|
/linux-6.3-rc2/Documentation/devicetree/bindings/iio/ |
A D | mount-matrix.txt | 22 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-6.3-rc2/drivers/iio/accel/ |
A D | bmc150-accel-core.c | 387 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()
|
/linux-6.3-rc2/drivers/iio/imu/bmi160/ |
A D | bmi160.h | 12 struct iio_mount_matrix orientation; member
|