/linux-master/drivers/iio/accel/ |
H A D | kxcjk-1013.c | 247 struct iio_mount_matrix orientation; member in struct:kxcjk1013_data 1169 return &data->orientation; 1465 data->orientation = pdata->orientation; 1469 if (!iio_read_acpi_mount_matrix(&client->dev, &data->orientation, "ROTM")) { 1470 ret = iio_read_mount_matrix(&client->dev, &data->orientation);
|
H A D | kionix-kx022a.c | 269 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 D | bma180.c | 138 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 D | bma400_core.c | 102 struct iio_mount_matrix orientation; member in struct:bma400_data 204 return &data->orientation; 1721 ret = iio_read_mount_matrix(dev, &data->orientation);
|
/linux-master/include/linux/iio/ |
H A D | iio.h | 793 struct iio_mount_matrix *orientation, 797 struct iio_mount_matrix *orientation, 796 iio_read_acpi_mount_matrix(struct device *dev, struct iio_mount_matrix *orientation, char *acpi_method) argument
|
/linux-master/drivers/gpu/drm/panel/ |
H A D | panel-sitronix-st7789v.c | 132 enum drm_panel_orientation orientation; member in struct:st7789v 362 drm_connector_set_panel_orientation(connector, ctx->orientation); 371 return ctx->orientation; 646 of_drm_get_panel_orientation(spi->dev.of_node, &ctx->orientation);
|
H A D | panel-sitronix-st7701.c | 138 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 D | panel-ilitek-ili9882t.c | 47 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);
|
/linux-master/include/linux/usb/ |
H A D | typec.h | 321 enum typec_orientation orientation);
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_display_core.h | 227 enum drm_panel_orientation orientation; member in struct:intel_vbt_data
|
/linux-master/drivers/input/touchscreen/ |
H A D | zforce_ts.c | 89 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 D | stmfts.c | 179 u8 orientation = event[6]; local 190 input_report_abs(sdata->input, ABS_MT_ORIENTATION, orientation);
|
/linux-master/drivers/usb/typec/ |
H A D | class.c | 1729 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 D | dasd_eckd.h | 191 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 D | hmc5843_core.c | 237 return &data->orientation; 640 ret = iio_read_mount_matrix(dev, &data->orientation);
|
H A D | bmc150_magn.c | 140 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 D | ak8974.c | 175 * @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 D | ak8975.c | 392 struct iio_mount_matrix orientation; member in struct:ak8975_data 777 return &data->orientation; 910 err = iio_read_mount_matrix(&client->dev, &data->orientation);
|
/linux-master/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_core.c | 129 return &st->orientation; 637 ret = iio_read_mount_matrix(dev, &st->orientation);
|
H A D | inv_icm42600.h | 146 * @orientation: sensor chip orientation relative to main hardware. 162 struct iio_mount_matrix orientation; member in struct:inv_icm42600_state
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 620 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/imu/inv_mpu6050/ |
H A D | inv_mpu_iio.h | 175 * @plat_data: platform data (deprecated in favor of @orientation). 176 * @orientation: sensor chip orientation relative to main hardware. 185 * @magn_orient: magnetometer sensor chip orientation if available. 200 struct iio_mount_matrix orientation; member in struct:inv_mpu6050_state
|
/linux-master/drivers/iio/gyro/ |
H A D | bmg160_core.c | 98 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/hid/ |
H A D | hid-multitouch.c | 1087 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 D | phy-qcom-qmp-combo.c | 1521 enum typec_orientation orientation; member in struct:qmp_combo 2195 bool reverse = (qmp->orientation == TYPEC_ORIENTATION_REVERSE); 2434 bool reverse = (qmp->orientation == TYPEC_ORIENTATION_REVERSE); 2586 /* Use software based port select and switch on typec orientation */ 2588 if (qmp->orientation == TYPEC_ORIENTATION_REVERSE) 3296 enum typec_orientation orientation) 3301 if (orientation == qmp->orientation || orientation == TYPEC_ORIENTATION_NONE) 3305 qmp->orientation 3295 qmp_combo_typec_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument [all...] |