/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/gpu/drm/i915/display/ |
H A D | intel_display_core.h | 226 enum drm_panel_orientation orientation; member in struct:intel_vbt_data
|
/linux-master/include/linux/usb/ |
H A D | typec.h | 321 enum typec_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);
|
H A D | yamaha-yas530.c | 213 * @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 D | inv_icm42600_core.c | 103 return &st->orientation; 611 ret = iio_read_mount_matrix(dev, &st->orientation);
|
H A D | inv_icm42600.h | 124 * @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 D | inv_mpu_iio.h | 170 * @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 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);
|
H A D | panel-sitronix-st7703.c | 65 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 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/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/iio/accel/ |
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);
|
H A D | mma8452.c | 18 * 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 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 | 1514 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...] |