/drivers/gpu/drm/ |
D | drm_panel_orientation_quirks.c | 30 int orientation; member 36 .orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP, 44 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 52 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 60 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 68 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 77 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 85 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 92 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 99 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, [all …]
|
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()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dsi.c | 119 enum drm_panel_orientation orientation; in intel_dsi_get_panel_orientation() local 121 orientation = dev_priv->vbt.dsi.orientation; in intel_dsi_get_panel_orientation() 122 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation() 123 return orientation; in intel_dsi_get_panel_orientation() 125 orientation = dev_priv->vbt.orientation; in intel_dsi_get_panel_orientation() 126 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation() 127 return orientation; in intel_dsi_get_panel_orientation()
|
/drivers/iio/imu/inv_mpu6050/ |
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()
|
/drivers/usb/typec/mux/ |
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() 255 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_dp() 287 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_tbt() 330 req.mode_data |= (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_usb4() 405 if (port->orientation == TYPEC_ORIENTATION_NONE) in pmc_usb_connect() 436 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set() 467 enum typec_orientation orientation) in pmc_usb_set_orientation() argument 473 port->orientation = orientation; in pmc_usb_set_orientation()
|
D | pi3usb30532.c | 49 enum typec_orientation orientation) in pi3usb30532_sw_set() argument 58 switch (orientation) { in pi3usb30532_sw_set()
|
/drivers/gpu/drm/panel/ |
D | panel-lvds.c | 41 enum drm_panel_orientation orientation; member 104 drm_connector_set_panel_orientation(connector, lvds->orientation); in panel_lvds_get_modes() 122 ret = of_drm_get_panel_orientation(np, &lvds->orientation); in panel_lvds_parse_dt()
|
D | panel-elida-kd35t133.c | 45 enum drm_panel_orientation orientation; member 222 drm_connector_set_panel_orientation(connector, ctx->orientation); in kd35t133_get_modes() 265 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation); in kd35t133_probe()
|
/drivers/usb/typec/ |
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()
|
D | mux.c | 152 enum typec_orientation orientation) in typec_switch_set() argument 157 return sw->set(sw, orientation); in typec_switch_set()
|
/drivers/iio/accel/ |
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()
|
D | kxsd9.c | 75 struct iio_mount_matrix orientation; member 270 return &st->orientation; in kxsd9_get_mount_matrix() 423 ret = iio_read_mount_matrix(dev, &st->orientation); in kxsd9_common_probe()
|
D | bmc150-accel.h | 85 struct iio_mount_matrix orientation; member
|
/drivers/iio/imu/bmi160/ |
D | bmi160.h | 12 struct iio_mount_matrix orientation; member
|
/drivers/gpu/drm/msm/dp/ |
D | dp_hpd.h | 35 enum plug_orientation orientation; member
|
D | dp_ctrl.h | 17 bool orientation; member
|
/drivers/hid/ |
D | hid-magicmouse.c | 211 int id, x, y, size, orientation, touch_major, touch_minor, state, down; in magicmouse_emit_touch() local 220 orientation = (tdata[6] >> 2) - 32; in magicmouse_emit_touch() 230 orientation = (tdata[8] >> 5) - 4; in magicmouse_emit_touch() 241 orientation = (tdata[7] >> 2) - 32; in magicmouse_emit_touch() 353 input_report_abs(input, ABS_MT_ORIENTATION, -orientation); in magicmouse_emit_touch()
|
/drivers/iio/magnetometer/ |
D | hmc5843.h | 44 struct iio_mount_matrix orientation; member
|
/drivers/iio/gyro/ |
D | mpu3050.h | 70 struct iio_mount_matrix orientation; member
|
D | itg3200_core.c | 247 return &data->orientation; in itg3200_get_mount_matrix() 311 ret = iio_read_mount_matrix(&client->dev, &st->orientation); in itg3200_probe()
|
/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_ipi.h | 104 int32_t orientation; /* 0, 90, 180, 270 */ member
|
/drivers/iio/ |
D | Makefile | 35 obj-y += orientation/
|
/drivers/input/touchscreen/ |
D | zforce_ts.c | 88 int orientation; member 373 point.orientation = payload[9 * i + 6] > payload[9 * i + 7]; in zforce_touch_event() 384 point.orientation); in zforce_touch_event() 402 point.orientation); in zforce_touch_event()
|
D | auo-pixcir-ts.c | 121 int orientation; member 165 point[i].orientation = raw_area[2 * i] > raw_area[2 * i + 1]; in auo_pixcir_collect_data() 215 point[i].orientation); in auo_pixcir_interrupt()
|
/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx.h | 420 struct iio_mount_matrix orientation; member 505 return &hw->orientation; in st_lsm6dsx_get_mount_matrix()
|