Home
last modified time | relevance | path

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

12345678

/linux-6.12.1/drivers/gpu/drm/
Ddrm_panel_orientation_quirks.c30 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,
86 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
93 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
99 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
[all …]
Ddrm_panel.c368 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation() argument
375 *orientation = DRM_MODE_PANEL_ORIENTATION_UNKNOWN; in of_drm_get_panel_orientation()
383 *orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL; in of_drm_get_panel_orientation()
385 *orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP; in of_drm_get_panel_orientation()
387 *orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP; in of_drm_get_panel_orientation()
389 *orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP; in of_drm_get_panel_orientation()
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_dsi.c120 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.12.1/Documentation/firmware-guide/acpi/
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-6.12.1/drivers/iio/imu/inv_mpu6050/
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-6.12.1/drivers/usb/typec/mux/
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()
Dfsa4480.c62 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()
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()
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()
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()
Dgpio-sbu-mux.c27 enum typec_orientation orientation) in gpio_sbu_switch_set() argument
38 switch (orientation) { in gpio_sbu_switch_set()
/linux-6.12.1/drivers/soc/qcom/
Dpmic_glink_altmode.c81 enum typec_orientation orientation; member
223 typec_switch_set(alt_port->typec_switch, alt_port->orientation); in pmic_glink_altmode_worker()
241 static enum typec_orientation pmic_glink_altmode_orientation(unsigned int orientation) in pmic_glink_altmode_orientation() argument
243 if (orientation == 0) in pmic_glink_altmode_orientation()
245 else if (orientation == 1) in pmic_glink_altmode_orientation()
264 u8 orientation; in pmic_glink_altmode_sc8180xp_notify() local
280 orientation = FIELD_GET(SC8180X_ORIENTATION_MASK, notification); in pmic_glink_altmode_sc8180xp_notify()
294 alt_port->orientation = pmic_glink_altmode_orientation(orientation); in pmic_glink_altmode_sc8180xp_notify()
311 u8 orientation; in pmic_glink_altmode_sc8280xp_notify() local
326 orientation = notify->payload[1]; in pmic_glink_altmode_sc8280xp_notify()
[all …]
/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-lvds.c42 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()
Dpanel-boe-th101mb31ig002-28a.c48 enum drm_panel_orientation orientation; member
323 drm_connector_set_panel_orientation(connector, ctx->orientation); in boe_th101mb31ig002_get_modes()
335 return ctx->orientation; in boe_th101mb31ig002_get_orientation()
381 &ctx->orientation); in boe_th101mb31ig002_dsi_probe()
Dpanel-elida-kd35t133.c45 enum drm_panel_orientation orientation; member
211 return ctx->orientation; in kd35t133_get_orientation()
253 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation); in kd35t133_probe()
/linux-6.12.1/drivers/media/pci/intel/
Dipu-bridge.c91 .orientation = "orientation",
260 enum v4l2_fwnode_orientation orientation; in ipu_bridge_parse_orientation() local
274 orientation = V4L2_FWNODE_ORIENTATION_FRONT; in ipu_bridge_parse_orientation()
277 orientation = V4L2_FWNODE_ORIENTATION_BACK; in ipu_bridge_parse_orientation()
283 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_parse_orientation()
288 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_parse_orientation()
293 return orientation; in ipu_bridge_parse_orientation()
319 sensor->orientation = ipu_bridge_parse_orientation(adev); in ipu_bridge_parse_ssdb()
383 sensor->prop_names.orientation, in ipu_bridge_create_fwnode_properties()
384 sensor->orientation); in ipu_bridge_create_fwnode_properties()
/linux-6.12.1/drivers/iio/
Dindustrialio-acpi.c27 struct iio_mount_matrix *orientation, in iio_read_acpi_mount_matrix() argument
75 orientation->rotation[i * 3 + j] = str; in iio_read_acpi_mount_matrix()
/linux-6.12.1/include/linux/usb/
Dtypec_mux.h18 enum typec_orientation orientation);
30 enum typec_orientation orientation);
/linux-6.12.1/drivers/iio/accel/
Dmma7660.c50 struct iio_mount_matrix orientation; member
59 return &data->orientation; in mma7660_get_mount_matrix()
206 ret = iio_read_mount_matrix(&client->dev, &data->orientation); in mma7660_probe()
/linux-6.12.1/include/drm/
Ddrm_panel.h290 enum drm_panel_orientation *orientation);
298 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation() argument
/linux-6.12.1/drivers/usb/typec/ucsi/
Ducsi_glink.c186 int orientation; in pmic_glink_ucsi_connector_status() local
192 orientation = gpiod_get_value(ucsi->port_orientation[con->num - 1]); in pmic_glink_ucsi_connector_status()
193 if (orientation >= 0) { in pmic_glink_ucsi_connector_status()
195 orientation ? in pmic_glink_ucsi_connector_status()
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dqcs8550-aim300-aiot.dts47 orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
132 orientation-switch;
147 orientation-switch;
/linux-6.12.1/drivers/phy/qualcomm/
Dphy-qcom-qmp-usbc.c353 enum typec_orientation orientation; member
493 if (qmp->orientation == TYPEC_ORIENTATION_REVERSE) in qmp_usbc_init()
857 enum typec_orientation orientation) in qmp_usbc_typec_switch_set() argument
861 if (orientation == qmp->orientation || orientation == TYPEC_ORIENTATION_NONE) in qmp_usbc_typec_switch_set()
865 qmp->orientation = orientation; in qmp_usbc_typec_switch_set()
1055 qmp->orientation = TYPEC_ORIENTATION_NORMAL; in qmp_usbc_probe()
/linux-6.12.1/include/media/
Dipu-bridge.h100 char orientation[12]; member
140 enum v4l2_fwnode_orientation orientation; member
/linux-6.12.1/include/linux/platform_data/
Dinvensense_mpu6050.h23 __s8 orientation[9]; member

12345678