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

12345

/linux-master/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 matrices are 3x3 rotation matrices
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 in struct:inv_mpu6050_platform_data
/linux-master/include/linux/iio/accel/
H A Dkxcjk_1013.h14 struct iio_mount_matrix orientation; member in struct:kxcjk_1013_platform_data
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_dsi.c123 enum drm_panel_orientation orientation; local
125 orientation = connector->panel.vbt.dsi.orientation;
126 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN)
127 return orientation;
129 orientation = dev_priv->display.vbt.orientation;
130 if (orientation != DRM_MODE_PANEL_ORIENTATION_UNKNOWN)
131 return orientation;
/linux-master/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 in struct:drm_dmi_panel_orientation_data
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.c337 * 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/iio/imu/bmi160/
H A Dbmi160.h12 struct iio_mount_matrix orientation; member in struct:bmi160_data
/linux-master/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_magn.c269 /* fill magnetometer orientation */
275 st->magn_orient.rotation[0] = st->orientation.rotation[3];
276 st->magn_orient.rotation[1] = st->orientation.rotation[4];
277 st->magn_orient.rotation[2] = st->orientation.rotation[5];
279 st->magn_orient.rotation[3] = st->orientation.rotation[0];
280 st->magn_orient.rotation[4] = st->orientation.rotation[1];
281 st->magn_orient.rotation[5] = st->orientation.rotation[2];
284 orient = st->orientation.rotation[i];
307 st->magn_orient = st->orientation;
/linux-master/drivers/usb/typec/mux/
H A Dptn36502.c75 enum typec_orientation orientation; member in struct:ptn36502
82 bool reverse = (ptn->orientation == TYPEC_ORIENTATION_REVERSE);
215 static int ptn36502_sw_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument
220 ret = typec_switch_set(ptn->typec_switch, orientation);
226 if (ptn->orientation != orientation) {
227 ptn->orientation = orientation;
351 ptn->orientation = TYPEC_ORIENTATION_NONE;
362 "Failed to acquire orientation
[all...]
H A Dfsa4480.c58 enum typec_orientation orientation; member in struct:fsa4480
76 bool reverse = (fsa->orientation == TYPEC_ORIENTATION_REVERSE);
145 enum typec_orientation orientation)
152 if (fsa->orientation != orientation) {
153 fsa->orientation = orientation;
274 fsa->orientation = TYPEC_ORIENTATION_NONE;
144 fsa4480_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument
H A Dnb7vpq904m.c75 enum typec_orientation orientation; member in struct:nb7vpq904m
108 bool reverse = (nb7->orientation == TYPEC_ORIENTATION_REVERSE);
253 static int nb7vpq904m_sw_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument
258 ret = typec_switch_set(nb7->typec_switch, orientation);
264 if (nb7->orientation != orientation) {
265 nb7->orientation = orientation;
396 nb7->orientation = TYPEC_ORIENTATION_NONE;
412 "failed to acquire orientation
[all...]
H A Dwcd939x-usbss.c197 enum typec_orientation orientation; member in struct:wcd939x_usbss
242 bool reverse = (usbss->orientation == TYPEC_ORIENTATION_REVERSE);
535 enum typec_orientation orientation)
542 if (usbss->orientation != orientation) {
543 usbss->orientation = orientation;
553 /* Report orientation to codec after switch has been done */
554 return typec_switch_set(usbss->codec_switch, orientation);
622 "failed to acquire codec orientation
534 wcd939x_usbss_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument
[all...]
H A Dpi3usb30532.c49 enum typec_orientation orientation)
58 switch (orientation) {
48 pi3usb30532_sw_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument
H A Dgpio-sbu-mux.c27 enum typec_orientation orientation)
38 switch (orientation) {
26 gpio_sbu_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument
/linux-master/drivers/iio/gyro/
H A Dmpu3050.h44 * @orientation: mounting matrix, flipped axis etc
70 struct iio_mount_matrix orientation; member in struct:mpu3050
/linux-master/drivers/iio/magnetometer/
H A Dhmc5843.h44 struct iio_mount_matrix orientation; member in struct:hmc5843_data
/linux-master/include/linux/usb/
H A Dtypec_mux.h18 enum typec_orientation orientation);
30 enum typec_orientation orientation);
/linux-master/drivers/soc/qcom/
H A Dpmic_glink_altmode.c81 enum typec_orientation orientation; member in struct:pmic_glink_altmode_port
223 typec_switch_set(alt_port->typec_switch, alt_port->orientation);
241 static enum typec_orientation pmic_glink_altmode_orientation(unsigned int orientation) argument
243 if (orientation == 0)
245 else if (orientation == 1)
264 u8 orientation; local
280 orientation = FIELD_GET(SC8180X_ORIENTATION_MASK, notification);
294 alt_port->orientation = pmic_glink_altmode_orientation(orientation);
311 u8 orientation; local
[all...]
/linux-master/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)
297 of_drm_get_panel_orientation(const struct device_node *np, enum drm_panel_orientation *orientation) argument
/linux-master/drivers/iio/accel/
H A Dbmc150-accel.h85 struct iio_mount_matrix orientation; member in struct:bmc150_accel_data
/linux-master/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_ipi.h104 int32_t orientation; /* 0, 90, 180, 270 */ member in struct:mdp_config_misc
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-lvds.c42 enum drm_panel_orientation orientation; member in struct:panel_lvds
107 drm_connector_set_panel_orientation(connector, lvds->orientation);
116 return lvds->orientation;
131 ret = of_drm_get_panel_orientation(np, &lvds->orientation);
133 dev_err(lvds->dev, "%pOF: failed to get orientation %d\n", np, ret);
/linux-master/drivers/usb/typec/ucsi/
H A Ducsi_glink.c234 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/include/media/
H A Dipu-bridge.h99 char orientation[12]; member in struct:ipu_property_names
139 enum v4l2_fwnode_orientation orientation; member in struct:ipu_sensor
/linux-master/include/xen/interface/io/
H A Dkbdif.h441 * Multi-touch orientation event - touch point's shape has changed
442 * its orientation: calculated as a clockwise angle between the major axis
450 * | orientation | reserved | 12
459 * orientation - int16_t, clockwise angle of the major axis
476 int16_t orientation; /* clockwise angle of the major axis */ member in union:xenkbd_mtouch::__anon181
/linux-master/include/linux/iio/gyro/
H A Ditg3200.h104 struct iio_mount_matrix orientation; member in struct:itg3200

Completed in 242 milliseconds

12345