| /linux-6.15/drivers/gpu/drm/ |
| H 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, 62 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 71 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 79 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 99 .orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP, 111 .orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP, 568 return data->orientation; in drm_get_panel_orientation_quirk() [all …]
|
| H A D | drm_panel.c | 372 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation() argument 379 *orientation = DRM_MODE_PANEL_ORIENTATION_UNKNOWN; in of_drm_get_panel_orientation() 387 *orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL; in of_drm_get_panel_orientation() 389 *orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP; in of_drm_get_panel_orientation() 391 *orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP; in of_drm_get_panel_orientation() 393 *orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP; in of_drm_get_panel_orientation()
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_dsi.c | 120 enum drm_panel_orientation orientation; in intel_dsi_get_panel_orientation() local 122 orientation = connector->panel.vbt.dsi.orientation; in intel_dsi_get_panel_orientation() 123 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation() 124 return orientation; in intel_dsi_get_panel_orientation() 126 orientation = dev_priv->display.vbt.orientation; in intel_dsi_get_panel_orientation() 127 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation() 128 return orientation; in intel_dsi_get_panel_orientation()
|
| /linux-6.15/Documentation/firmware-guide/acpi/ |
| H 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.15/drivers/iio/imu/inv_mpu6050/ |
| H 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.15/Documentation/devicetree/bindings/usb/ |
| H A D | ite,it5205.yaml | 27 orientation-switch: 28 description: Flag the port as possible handler of orientation switching 39 handling altmode muxing and orientation switching. 44 - orientation-switch 61 orientation-switch;
|
| H A D | gpio-sbu-mux.yaml | 14 and swapped depending on the altmode and orientation. This binding describes 39 orientation-switch: true 45 handling altmode muxing and orientation switching. 50 - orientation-switch 107 orientation-switch;
|
| H A D | qcom,wcd939x-usbss.yaml | 18 graph description to handle USB-C altmode & orientation switching for Audio 39 orientation-switch: true 48 purpose of handling altmode muxing and orientation switching. 54 purpose of handling USB-C Audio Accessory Mode muxing and orientation switching. 79 orientation-switch;
|
| H A D | usb-switch.yaml | 13 Common properties for devices handling USB mode and orientation switching. 20 orientation-switch: 21 description: Possible handler of orientation switching 32 handling altmode muxing and orientation switching.
|
| H A D | parade,ps8830.yaml | 45 orientation-switch: true 64 handling altmode muxing and orientation switching. 76 - orientation-switch 108 orientation-switch;
|
| H A D | nxp,ptn36502.yaml | 23 orientation-switch: true 41 handling altmode muxing and orientation switching. 65 orientation-switch;
|
| H A D | fcs,fsa4480.yaml | 31 orientation-switch: true 37 handling altmode muxing and orientation switching. 98 orientation-switch;
|
| /linux-6.15/drivers/usb/typec/mux/ |
| H A D | ptn36502.c | 74 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 D | fsa4480.c | 62 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 D | ps883x.c | 56 enum typec_orientation orientation; member 94 if (retimer->orientation == TYPEC_ORIENTATION_NONE || in ps883x_set() 102 if (retimer->orientation == TYPEC_ORIENTATION_REVERSE) in ps883x_set() 138 enum typec_orientation orientation) in ps883x_sw_set() argument 143 ret = typec_switch_set(retimer->typec_switch, orientation); in ps883x_sw_set() 149 if (retimer->orientation != orientation) { in ps883x_sw_set() 150 retimer->orientation = orientation; in ps883x_sw_set()
|
| H A D | nb7vpq904m.c | 76 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 D | wcd939x-usbss.c | 197 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 D | intel_pmc_mux.c | 140 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()
|
| /linux-6.15/drivers/phy/freescale/ |
| H A D | phy-fsl-imx8mq-usb.c | 105 enum typec_orientation orientation; member 125 enum typec_orientation orientation); 130 enum typec_orientation orientation) in tca_blk_typec_switch_set() argument 136 if (tca->orientation == orientation) in tca_blk_typec_switch_set() 143 tca_blk_orientation_set(tca, orientation); in tca_blk_typec_switch_set() 189 enum typec_orientation orientation) in tca_blk_orientation_set() argument 195 if (orientation == TYPEC_ORIENTATION_NONE) { in tca_blk_orientation_set() 218 if (orientation == TYPEC_ORIENTATION_REVERSE) in tca_blk_orientation_set() 230 tca->orientation = orientation; in tca_blk_orientation_set() 249 tca_blk_orientation_set(tca, tca->orientation); in tca_blk_init() [all …]
|
| /linux-6.15/drivers/soc/qcom/ |
| H A D | pmic_glink_altmode.c | 82 enum typec_orientation orientation; member 222 typec_switch_set(alt_port->typec_switch, alt_port->orientation); in pmic_glink_altmode_worker() 240 static enum typec_orientation pmic_glink_altmode_orientation(unsigned int orientation) in pmic_glink_altmode_orientation() argument 242 if (orientation == 0) in pmic_glink_altmode_orientation() 244 else if (orientation == 1) in pmic_glink_altmode_orientation() 263 u8 orientation; in pmic_glink_altmode_sc8180xp_notify() local 279 orientation = FIELD_GET(SC8180X_ORIENTATION_MASK, notification); in pmic_glink_altmode_sc8180xp_notify() 293 alt_port->orientation = pmic_glink_altmode_orientation(orientation); in pmic_glink_altmode_sc8180xp_notify() 310 u8 orientation; in pmic_glink_altmode_sc8280xp_notify() local 325 orientation = notify->payload[1]; in pmic_glink_altmode_sc8280xp_notify() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/sound/ |
| H A D | qcom,wcd939x.yaml | 19 to handle USB-C altmode & orientation switching for Audio Accessory Mode. 37 orientation-switch: 38 description: Flag the port as possible handler of orientation switching 45 purpose of handling altmode muxing and orientation switching to detect and
|
| /linux-6.15/Documentation/devicetree/bindings/soc/qcom/ |
| H A D | qcom,pmic-glink.yaml | 52 orientation-gpios: 53 description: Array of input gpios for the Type-C connector orientation indication. 54 The GPIO indication is used to detect the orientation of the Type-C connector. 56 It is defined that GPIO active level means "CC2" or Reversed/Flipped orientation.
|
| /linux-6.15/drivers/gpu/drm/panel/ |
| H 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()
|
| /linux-6.15/drivers/media/pci/intel/ |
| H A D | ipu-bridge.c | 92 .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-6.15/Documentation/devicetree/bindings/phy/ |
| H A D | phy-rockchip-usbdp.yaml | 91 (~100K) to apply a DC offset for signalling the connector orientation. 97 (~100K) to apply a DC offset for signalling the connector orientation. 100 orientation-switch: 101 description: Flag the port as possible handler of orientation switching 112 handling orientation switching.
|