Searched refs:orientation (Results 51 - 75 of 108) sorted by relevance

12345

/linux-master/drivers/input/touchscreen/
H A Dzforce_ts.c89 int orientation; member in struct:zforce_point
368 /* determine touch major, minor and orientation */
373 point.orientation = payload[9 * i + 6] > payload[9 * i + 7];
384 point.orientation);
401 point.orientation);
H A Dstmfts.c179 u8 orientation = event[6]; local
190 input_report_abs(sdata->input, ABS_MT_ORIENTATION, orientation);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_display_core.h226 enum drm_panel_orientation orientation; member in struct:intel_vbt_data
/linux-master/include/linux/usb/
H A Dtypec.h321 enum typec_orientation orientation);
/linux-master/drivers/usb/typec/
H A Dclass.c1729 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...]
/linux-master/drivers/s390/block/
H A Ddasd_eckd.h191 unsigned char orientation:2; member in struct:LO_eckd_data::__anon393
209 unsigned char orientation:2; member in struct:LRE_eckd_data::__anon395
/linux-master/drivers/iio/magnetometer/
H A Dhmc5843_core.c237 return &data->orientation;
640 ret = iio_read_mount_matrix(dev, &data->orientation);
H A Dbmc150_magn.c140 struct iio_mount_matrix orientation; member in struct:bmc150_magn_data
616 return &data->orientation;
893 ret = iio_read_mount_matrix(dev, &data->orientation);
H A Dak8974.c175 * @orientation: mounting matrix, flipped axis etc
188 struct iio_mount_matrix orientation; member in struct:ak8974
708 return &ak8974->orientation;
835 ret = iio_read_mount_matrix(&i2c->dev, &ak8974->orientation);
H A Dak8975.c392 struct iio_mount_matrix orientation; member in struct:ak8975_data
777 return &data->orientation;
910 err = iio_read_mount_matrix(&client->dev, &data->orientation);
H A Dyamaha-yas530.c213 * @orientation: mounting matrix, flipped axis etc
228 struct iio_mount_matrix orientation; member in struct:yas5xx
698 return &yas5xx->orientation;
1406 ret = iio_read_mount_matrix(dev, &yas5xx->orientation);
/linux-master/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_core.c103 return &st->orientation;
611 ret = iio_read_mount_matrix(dev, &st->orientation);
H A Dinv_icm42600.h124 * @orientation: sensor chip orientation relative to main hardware.
140 struct iio_mount_matrix orientation; member in struct:inv_icm42600_state
/linux-master/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_iio.h170 * @plat_data: platform data (deprecated in favor of @orientation).
171 * @orientation: sensor chip orientation relative to main hardware.
180 * @magn_orient: magnetometer sensor chip orientation if available.
194 struct iio_mount_matrix orientation; member in struct:inv_mpu6050_state
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-sitronix-st7701.c138 enum drm_panel_orientation orientation; member in struct:st7701
558 drm_connector_set_panel_orientation(connector, st7701->orientation);
567 return st7701->orientation;
1007 ret = of_drm_get_panel_orientation(dsi->dev.of_node, &st7701->orientation);
1009 return dev_err_probe(&dsi->dev, ret, "Failed to get orientation\n");
H A Dpanel-ilitek-ili9882t.c47 enum drm_panel_orientation orientation; member in struct:ili9882t
655 return ili->orientation;
699 err = of_drm_get_panel_orientation(dev->of_node, &ili->orientation);
701 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, err);
H A Dpanel-sitronix-st7703.c65 enum drm_panel_orientation orientation; member in struct:st7703
751 return st7703->orientation;
829 ret = of_drm_get_panel_orientation(dsi->dev.of_node, &ctx->orientation);
831 return dev_err_probe(&dsi->dev, ret, "Failed to get orientation\n");
/linux-master/drivers/platform/chrome/
H A Dcros_ec_typec.c620 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/iio/gyro/
H A Dbmg160_core.c98 struct iio_mount_matrix orientation; member in struct:bmg160_data
801 return &data->orientation;
1091 ret = iio_read_mount_matrix(dev, &data->orientation);
/linux-master/drivers/iio/accel/
H A Dkionix-kx022a.c269 struct iio_mount_matrix orientation; member in struct:kx022a_data
305 return &data->orientation;
1310 ret = iio_read_mount_matrix(dev, &data->orientation);
H A Dbma180.c138 struct iio_mount_matrix orientation; member in struct:bma180_data
643 return &data->orientation;
940 ret = iio_read_mount_matrix(dev, &data->orientation);
H A Dbma400_core.c102 struct iio_mount_matrix orientation; member in struct:bma400_data
204 return &data->orientation;
1721 ret = iio_read_mount_matrix(dev, &data->orientation);
H A Dmma8452.c18 * TODO: orientation events
107 struct iio_mount_matrix orientation; member in struct:mma8452_data
1201 return &data->orientation;
1567 ret = iio_read_mount_matrix(&client->dev, &data->orientation);
/linux-master/drivers/hid/
H A Dhid-multitouch.c1087 int orientation = wide; local
1111 orientation = -azimuth;
1113 orientation = -orientation;
1144 input_event(input, EV_ABS, ABS_MT_ORIENTATION, orientation);
/linux-master/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-combo.c1514 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...]

Completed in 327 milliseconds

12345