/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_bios.c | 1176 i915->display.vbt.orientation = general->rotate_180 ? 1180 i915->display.vbt.orientation = DRM_MODE_PANEL_ORIENTATION_UNKNOWN; 1728 panel->vbt.dsi.orientation = 1732 panel->vbt.dsi.orientation = 1736 panel->vbt.dsi.orientation = 1740 panel->vbt.dsi.orientation =
|
H A D | intel_dp.c | 6264 i915->display.vbt.orientation,
|
H A D | intel_display_types.h | 367 enum drm_panel_orientation orientation; member in struct:intel_vbt_panel_data::__anon20
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_connector.c | 1406 * panel orientation: 1413 * the orientation it must also apply the same transformation to the 2552 * @connector: connector for which to set the panel-orientation property. 2556 * a "panel orientation" property to the connector. 2559 * already been set is a no-op (e.g. the orientation has been overridden with 2583 /* Don't attach the property if the orientation is unknown */ 2592 "panel orientation", 2610 * @connector: connector for which to init the panel-orientation property. 2640 * @connector: connector for which to init the panel-orientation property. 2641 * @panel: panel that can provide orientation informatio 2653 enum drm_panel_orientation orientation; local [all...] |
H A D | drm_panel.c | 337 * of_drm_get_panel_orientation - look up the orientation of the panel through 340 * @orientation: orientation enum to be filled in 342 * Looks up the rotation of a panel in the device tree. The orientation of the 350 enum drm_panel_orientation *orientation) 357 *orientation = DRM_MODE_PANEL_ORIENTATION_UNKNOWN; 365 *orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL; 367 *orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP; 369 *orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP; 371 *orientation 349 of_drm_get_panel_orientation(const struct device_node *np, enum drm_panel_orientation *orientation) argument [all...] |
/linux-master/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 1027 enum typec_orientation orientation) 1031 tcpm_log(port, "Requesting mux state %d, usb-role %d, orientation %d", 1032 state, usb_role, orientation); 1034 ret = typec_set_orientation(port->typec_port, orientation); 1128 enum typec_orientation orientation; local 1133 orientation = TYPEC_ORIENTATION_NORMAL; 1135 orientation = TYPEC_ORIENTATION_REVERSE; 1162 ret = tcpm_mux_set(port, TYPEC_STATE_USB, usb_role, orientation); 1171 ret = port->tcpc->set_orientation(port->tcpc, orientation); 1025 tcpm_mux_set(struct tcpm_port *port, int state, enum usb_role usb_role, enum typec_orientation orientation) argument
|
/linux-master/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-combo.c | 1514 enum typec_orientation orientation; member in struct:qmp_combo 2143 bool reverse = (qmp->orientation == TYPEC_ORIENTATION_REVERSE); 2382 bool reverse = (qmp->orientation == TYPEC_ORIENTATION_REVERSE); 2536 /* Use software based port select and switch on typec orientation */ 2538 if (qmp->orientation == TYPEC_ORIENTATION_REVERSE) 3246 enum typec_orientation orientation) 3251 if (orientation == qmp->orientation || orientation == TYPEC_ORIENTATION_NONE) 3255 qmp->orientation 3245 qmp_combo_typec_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument [all...] |
/linux-master/drivers/usb/typec/mux/ |
H A D | it5205.c | 69 static int it5205_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument 73 switch (orientation) {
|
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-amd.c | 208 char *orientation; local 325 orientation = "���"; 327 orientation = "���"; 331 orientation = "���"; 333 orientation = "���"; 335 seq_printf(s, "%s %s|", pin_sts, orientation);
|
/linux-master/drivers/usb/typec/ucsi/ |
H A D | ucsi_glink.c | 234 int orientation = gpiod_get_value(ucsi->port_orientation[con_num - 1]); local 236 if (orientation >= 0) { 238 orientation ? TYPEC_ORIENTATION_REVERSE 258 int orientation; local 264 orientation = gpiod_get_value(ucsi->port_orientation[i]); 266 if (orientation >= 0) { 268 orientation ? TYPEC_ORIENTATION_REVERSE 376 desc = devm_gpiod_get_index_optional(&adev->dev, "orientation", port, GPIOD_IN); 384 "unable to acquire orientation gpio\n"); 390 "failed to acquire orientation [all...] |
/linux-master/drivers/usb/typec/ |
H A D | class.c | 1729 return sprintf(buf, "%s\n", typec_orientations[port->orientation]); 1731 static DEVICE_ATTR_RO(orientation); 1995 * typec_find_orientation - Convert orientation string to enum typec_orientation 2000 * Returns the orientation value on success, otherwise negative error code. 2057 * typec_set_orientation - Set USB Type-C cable plug orientation 2059 * @orientation: USB Type-C cable plug orientation 2061 * Set cable plug orientation for @port. 2064 enum typec_orientation orientation) 2068 ret = typec_switch_set(port->sw, orientation); 2063 typec_set_orientation(struct typec_port *port, enum typec_orientation orientation) argument [all...] |
H A D | mux.c | 45 * property is named "orientation-switch" (@id). The value of the device 63 * fwnode_typec_switch_get - Find USB Type-C orientation switch 83 count = fwnode_connection_find_matches(fwnode, "orientation-switch", NULL, 121 * typec_switch_put - Release USB Type-C orientation switch 122 * @sw: USB Type-C orientation switch 155 * typec_switch_register - Register USB Type-C orientation switch 160 * data pairs depending on the cable plug orientation from the USB Type-C 204 enum typec_orientation orientation) 216 ret = sw_dev->set(sw_dev, orientation); 226 * typec_switch_unregister - Unregister USB Type-C orientation switc 203 typec_switch_set(struct typec_switch *sw, enum typec_orientation orientation) argument [all...] |
H A D | class.h | 60 enum typec_orientation orientation; member in struct:typec_port
|
/linux-master/include/linux/usb/ |
H A D | tcpm.h | 148 enum typec_orientation orientation);
|
H A D | typec.h | 321 enum typec_orientation orientation);
|
/linux-master/drivers/usb/typec/tcpm/qcom/ |
H A D | qcom_pmic_typec_port.c | 538 unsigned int orientation, misc, mask, value; local 550 orientation = (misc & CC_ORIENTATION) ? 0 : VCONN_EN_ORIENTATION; 553 value = orientation | VCONN_EN_VALUE | VCONN_EN_SRC; 565 dev_dbg(dev, "set_vconn: orientation %d control 0x%08x state %s cc %s vconn %s\n", 566 orientation, value, on ? "on" : "off", misc_to_vconn(misc), misc_to_cc(misc));
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 620 enum typec_orientation orientation; local 644 orientation = TYPEC_ORIENTATION_REVERSE; 646 orientation = TYPEC_ORIENTATION_NORMAL; 648 ret = typec_switch_set(port->ori_sw, orientation);
|
/linux-master/drivers/mfd/ |
H A D | rave-sp.c | 133 u8 orientation; member in struct:rave_sp_status
|
/linux-master/drivers/iio/magnetometer/ |
H A D | af8133j.c | 48 struct iio_mount_matrix orientation; member in struct:af8133j_data 68 return &data->orientation; 432 ret = iio_read_mount_matrix(dev, &data->orientation);
|
/linux-master/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_core.c | 2652 struct iio_mount_matrix *orientation) 2693 orientation->rotation[i * 3 + j] = str; 2709 struct iio_mount_matrix *orientation) 2790 err = lsm6dsx_get_acpi_mount_matrix(hw->dev, &hw->orientation); 2792 err = iio_read_mount_matrix(hw->dev, &hw->orientation); 2651 lsm6dsx_get_acpi_mount_matrix(struct device *dev, struct iio_mount_matrix *orientation) argument 2708 lsm6dsx_get_acpi_mount_matrix(struct device *dev, struct iio_mount_matrix *orientation) argument
|
H A D | st_lsm6dsx.h | 417 * @orientation: sensor chip orientation relative to main hardware. 446 struct iio_mount_matrix orientation; member in struct:st_lsm6dsx_hw 532 return &hw->orientation;
|
/linux-master/drivers/iio/imu/bmi323/ |
H A D | bmi323_core.c | 124 struct iio_mount_matrix orientation; member in struct:bmi323_data 155 return &data->orientation; 2086 ret = iio_read_mount_matrix(dev, &data->orientation);
|
/linux-master/drivers/iio/accel/ |
H A D | kxcjk-1013.c | 247 struct iio_mount_matrix orientation; member in struct:kxcjk1013_data 641 struct iio_mount_matrix *orientation) 688 orientation->rotation[i * 3 + j] = str; 700 struct iio_mount_matrix *orientation) 705 return kxj_acpi_orientation(dev, orientation); 711 struct iio_mount_matrix *orientation) 1247 return &data->orientation; 1543 data->orientation = pdata->orientation; 1547 if (!kxj1009_apply_acpi_orientation(&client->dev, &data->orientation)) { 640 kxj_acpi_orientation(struct device *dev, struct iio_mount_matrix *orientation) argument 699 kxj1009_apply_acpi_orientation(struct device *dev, struct iio_mount_matrix *orientation) argument 710 kxj1009_apply_acpi_orientation(struct device *dev, struct iio_mount_matrix *orientation) argument [all...] |
H A D | bma180.c | 138 struct iio_mount_matrix orientation; member in struct:bma180_data 643 return &data->orientation; 940 ret = iio_read_mount_matrix(dev, &data->orientation);
|
/linux-master/drivers/iio/ |
H A D | Makefile | 38 obj-y += orientation/
|