Home
last modified time | relevance | path

Searched refs:orientation (Results 1 - 25 of 171) sorted by relevance

1234567

/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_panel_orientation_quirks.c3 * drm_panel_orientation_quirks.c -- Quirks for non-normal panel orientation
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
[all...]
H A Ddrm_panel.c265 * of_drm_get_panel_orientation - look up the orientation of the panel through
268 * @orientation: orientation enum to be filled in
270 * Looks up the rotation of a panel in the device tree. The orientation of the
278 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation()
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 in of_drm_get_panel_orientation()
277 of_drm_get_panel_orientation(const struct device_node *np, enum drm_panel_orientation *orientation) of_drm_get_panel_orientation() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_panel_orientation_quirks.c3 * drm_panel_orientation_quirks.c -- Quirks for non-normal panel orientation
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,
86 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
93 .orientation
[all...]
H A Ddrm_panel.c332 * of_drm_get_panel_orientation - look up the orientation of the panel through
335 * @orientation: orientation enum to be filled in
337 * Looks up the rotation of a panel in the device tree. The orientation of the
345 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation()
352 *orientation = DRM_MODE_PANEL_ORIENTATION_UNKNOWN; in of_drm_get_panel_orientation()
360 *orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL; in of_drm_get_panel_orientation()
362 *orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP; in of_drm_get_panel_orientation()
364 *orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP; in of_drm_get_panel_orientation()
366 *orientation in of_drm_get_panel_orientation()
344 of_drm_get_panel_orientation(const struct device_node *np, enum drm_panel_orientation *orientation) of_drm_get_panel_orientation() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_dsi.c119 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_dsi.c123 enum drm_panel_orientation orientation; in intel_dsi_get_panel_orientation() local
125 orientation = connector->panel.vbt.dsi.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()
129 orientation = dev_priv->display.vbt.orientation; in intel_dsi_get_panel_orientation()
130 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN) in intel_dsi_get_panel_orientation()
131 return orientation; in intel_dsi_get_panel_orientation()
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_magn.c268 /* fill magnetometer orientation */ in inv_mpu_magn_set_orient()
274 st->magn_orient.rotation[0] = st->orientation.rotation[3]; in inv_mpu_magn_set_orient()
275 st->magn_orient.rotation[1] = st->orientation.rotation[4]; in inv_mpu_magn_set_orient()
276 st->magn_orient.rotation[2] = st->orientation.rotation[5]; in inv_mpu_magn_set_orient()
278 st->magn_orient.rotation[3] = st->orientation.rotation[0]; in inv_mpu_magn_set_orient()
279 st->magn_orient.rotation[4] = st->orientation.rotation[1]; in inv_mpu_magn_set_orient()
280 st->magn_orient.rotation[5] = st->orientation.rotation[2]; in inv_mpu_magn_set_orient()
283 orient = st->orientation.rotation[6 + i]; in inv_mpu_magn_set_orient()
301 st->magn_orient = st->orientation; in inv_mpu_magn_set_orient()
/kernel/linux/linux-6.6/drivers/usb/typec/mux/
H A Dfsa4480.c58 enum typec_orientation orientation; member
75 bool reverse = (fsa->orientation == TYPEC_ORIENTATION_REVERSE); in fsa4480_set()
141 enum typec_orientation orientation) in fsa4480_switch_set()
148 if (fsa->orientation != orientation) { in fsa4480_switch_set()
149 fsa->orientation = orientation; in fsa4480_switch_set()
203 fsa->orientation = TYPEC_ORIENTATION_NONE; in fsa4480_probe()
140 fsa4480_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) fsa4480_switch_set() argument
H A Dnb7vpq904m.c77 enum typec_orientation orientation; member
110 bool reverse = (nb7->orientation == TYPEC_ORIENTATION_REVERSE); in nb7vpq904m_set()
255 static int nb7vpq904m_sw_set(struct typec_switch_dev *sw, enum typec_orientation orientation) in nb7vpq904m_sw_set() argument
260 ret = typec_switch_set(nb7->typec_switch, orientation); in nb7vpq904m_sw_set()
266 if (nb7->orientation != orientation) { in nb7vpq904m_sw_set()
267 nb7->orientation = orientation; in nb7vpq904m_sw_set()
436 nb7->orientation = TYPEC_ORIENTATION_NONE; in nb7vpq904m_probe()
452 "failed to acquire orientation in nb7vpq904m_probe()
[all...]
H A Dintel_pmc_mux.c141 enum typec_orientation orientation; member
183 return port->orientation - 1; in sbu_orientation()
191 return port->orientation - 1; in hsl_orientation()
290 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_dp()
322 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_tbt()
375 req.mode_data |= (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_usb4()
459 if (port->orientation == TYPEC_ORIENTATION_NONE) in pmc_usb_connect()
490 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
521 enum typec_orientation orientation) in pmc_usb_set_orientation()
527 port->orientation in pmc_usb_set_orientation()
520 pmc_usb_set_orientation(struct typec_switch_dev *sw, enum typec_orientation orientation) pmc_usb_set_orientation() argument
[all...]
H A Dgpio-sbu-mux.c27 enum typec_orientation orientation) in gpio_sbu_switch_set()
38 switch (orientation) { in gpio_sbu_switch_set()
26 gpio_sbu_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) gpio_sbu_switch_set() argument
/kernel/linux/linux-6.6/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_magn.c269 /* fill magnetometer orientation */ in inv_mpu_magn_set_orient()
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()
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A 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
[all...]
/kernel/linux/linux-5.10/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c128 enum typec_orientation orientation; member
165 return port->orientation - 1; in sbu_orientation()
173 return port->orientation - 1; in hsl_orientation()
250 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_dp()
281 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_tbt()
322 req.mode_data |= (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_usb4()
392 if (port->orientation == TYPEC_ORIENTATION_NONE) in pmc_usb_connect()
423 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
454 enum typec_orientation orientation) in pmc_usb_set_orientation()
460 port->orientation in pmc_usb_set_orientation()
453 pmc_usb_set_orientation(struct typec_switch *sw, enum typec_orientation orientation) pmc_usb_set_orientation() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/intel/
H A Dipu-bridge.c68 .orientation = "orientation",
229 enum v4l2_fwnode_orientation orientation; in ipu_bridge_parse_orientation() local
235 dev_warn(&adev->dev, "_PLD call failed, using default orientation\n"); in ipu_bridge_parse_orientation()
241 orientation = V4L2_FWNODE_ORIENTATION_FRONT; in ipu_bridge_parse_orientation()
244 orientation = V4L2_FWNODE_ORIENTATION_BACK; in ipu_bridge_parse_orientation()
250 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_parse_orientation()
254 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_parse_orientation()
259 return orientation; in ipu_bridge_parse_orientation()
285 sensor->orientation in ipu_bridge_parse_ssdb()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A 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()
133 dev_err(lvds->dev, "%pOF: failed to get orientation %d\n", np, ret); in panel_lvds_parse_dt()
H A Dpanel-elida-kd35t133.c45 enum drm_panel_orientation orientation; member
218 drm_connector_set_panel_orientation(connector, ctx->orientation); in kd35t133_get_modes()
227 return ctx->orientation; in kd35t133_get_orientation()
269 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation); in kd35t133_probe()
271 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, ret); in kd35t133_probe()
/kernel/linux/linux-5.10/include/linux/usb/
H A Dtypec_mux.h16 enum typec_orientation orientation);
28 enum typec_orientation orientation);
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_panel.h194 enum drm_panel_orientation *orientation);
202 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation()
201 of_drm_get_panel_orientation(const struct device_node *np, enum drm_panel_orientation *orientation) of_drm_get_panel_orientation() argument
/kernel/linux/linux-6.6/include/linux/usb/
H A Dtypec_mux.h18 enum typec_orientation orientation);
30 enum typec_orientation orientation);
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A Dpanel-lvds.c41 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()
124 dev_err(lvds->dev, "%pOF: failed to get orientation %d\n", np, ret); in panel_lvds_parse_dt()
/kernel/linux/linux-5.10/drivers/usb/typec/
H A Dqcom-pmic-typec.c68 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()
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_panel.h124 * Return the panel orientation set by device tree or EDID.
290 enum drm_panel_orientation *orientation);
298 enum drm_panel_orientation *orientation) in of_drm_get_panel_orientation()
297 of_drm_get_panel_orientation(const struct device_node *np, enum drm_panel_orientation *orientation) of_drm_get_panel_orientation() argument
/kernel/linux/linux-6.6/include/media/
H A Dipu-bridge.h99 char orientation[12]; member
139 enum v4l2_fwnode_orientation orientation; member
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dinvensense_mpu6050.h11 * @orientation: Orientation matrix of the chip (deprecated in favor of
15 * work on this platform. The orientation matricies are 3x3 rotation matricies
16 * that are applied to the data to rotate from the mounting orientation to the
17 * platform orientation. The values must be one of 0, 1, or -1 and each row and
23 __s8 orientation[9]; member

Completed in 22 milliseconds

1234567