| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_panel_orientation_quirks.c | 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, 69 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 77 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 84 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 91 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 97 .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/ |
| H A D | sensor-dev.c | 1631 pdata->orientation[0] = 1; in sensor_probe() 1632 pdata->orientation[1] = 0; in sensor_probe() 1633 pdata->orientation[2] = 0; in sensor_probe() 1635 pdata->orientation[3] = 0; in sensor_probe() 1636 pdata->orientation[4] = 1; in sensor_probe() 1637 pdata->orientation[5] = 0; in sensor_probe() 1639 pdata->orientation[6] = 0; in sensor_probe() 1640 pdata->orientation[7] = 0; in sensor_probe() 1641 pdata->orientation[8] = 1; in sensor_probe() 1645 pdata->orientation[0] = 0; in sensor_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A D | intel_dsi.c | 119 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()
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/gyro/ |
| H A D | mpu6500_gyro.c | 136 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value() 137 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value() 138 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | mpu6880_gyro.c | 136 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value() 137 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value() 138 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | icm2060x_gyro.c | 133 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + in sensor_report_value() 134 (pdata->orientation[2]) * z; in sensor_report_value() 135 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + in sensor_report_value() 136 (pdata->orientation[5]) * z; in sensor_report_value() 137 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + in sensor_report_value() 138 (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | iam20680_gyro.c | 129 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value() 130 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value() 131 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | lsm330_gyro.c | 188 axis.x = (pdata->orientation[0]) * x + in sensor_report_value() 189 (pdata->orientation[1]) * y + in sensor_report_value() 190 (pdata->orientation[2]) * z; in sensor_report_value() 191 axis.y = (pdata->orientation[3]) * x + in sensor_report_value() 192 (pdata->orientation[4]) * y + in sensor_report_value() 193 (pdata->orientation[5]) * z; in sensor_report_value() 194 axis.z = (pdata->orientation[6]) * x + in sensor_report_value() 195 (pdata->orientation[7]) * y + in sensor_report_value() 196 (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | l3g20d.c | 177 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value() 178 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value() 179 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
|
| H A D | l3g4200d.c | 177 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value() 178 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value() 179 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
|
| /OK3568_Linux_fs/kernel/Documentation/firmware-guide/acpi/ |
| H A D | intel-pmc-mux.rst | 20 configure the cable plug orientation and mode (with Alternate Modes). The driver 95 should not configure them according to the cable plug orientation. This can 97 orientation. The driver uses a specific device properties "sbu-orientation" 98 (SBU) and "hsl-orientation" (data) to know if those lines are "fixed", and to 99 which orientation. The value that these properties have is a string value, and 100 it can be one that is defined for the USB Type-C connector orientation: "normal" 106 Package () {"sbu-orientation", "normal"}, 107 Package () {"hsl-orientation", "normal"}, 132 Package () {"sbu-orientation", "normal"}, 133 Package () {"hsl-orientation", "normal"}, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/ |
| H A D | mxc622x.c | 211 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value() 212 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value() 213 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
|
| H A D | mxc6655xa.c | 180 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + in sensor_report_value() 181 (pdata->orientation[2]) * z; in sensor_report_value() 182 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + in sensor_report_value() 183 (pdata->orientation[5]) * z; in sensor_report_value() 184 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + in sensor_report_value() 185 (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | mma7660.c | 172 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value() 173 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value() 174 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | lsm330_acc.c | 204 axis.x = (pdata->orientation[0]) * x + in sensor_report_value() 205 (pdata->orientation[1]) * y + in sensor_report_value() 206 (pdata->orientation[2]) * z; in sensor_report_value() 207 axis.y = (pdata->orientation[3]) * x + in sensor_report_value() 208 (pdata->orientation[4]) * y + in sensor_report_value() 209 (pdata->orientation[5]) * z; in sensor_report_value() 210 axis.z = (pdata->orientation[6]) * x + in sensor_report_value() 211 (pdata->orientation[7]) * y + in sensor_report_value() 212 (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | lis3dh.c | 235 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value() 236 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value() 237 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | icm2060x_acc.c | 189 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + in sensor_report_value() 190 (pdata->orientation[2]) * z; in sensor_report_value() 191 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + in sensor_report_value() 192 (pdata->orientation[5]) * z; in sensor_report_value() 193 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + in sensor_report_value() 194 (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | iam20680_acc.c | 174 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value() 175 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value() 176 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | mpu6880_acc.c | 228 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value() 229 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value() 230 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | kxtj9.c | 258 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value() 259 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value() 260 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
|
| H A D | lsm303d.c | 289 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value() 290 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value() 291 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
|
| H A D | mpu6500_acc.c | 232 axis.x = (pdata->orientation[0]) * x + (pdata->orientation[1]) * y + (pdata->orientation[2]) * z; in sensor_report_value() 233 axis.y = (pdata->orientation[3]) * x + (pdata->orientation[4]) * y + (pdata->orientation[5]) * z; in sensor_report_value() 234 axis.z = (pdata->orientation[6]) * x + (pdata->orientation[7]) * y + (pdata->orientation[8]) * z; in sensor_report_value()
|
| H A D | kxtik.c | 287 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value() 288 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value() 289 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
|
| /OK3568_Linux_fs/kernel/drivers/iio/imu/inv_mpu6050/ |
| H A D | inv_mpu_magn.c | 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()
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/angle/ |
| H A D | angle_lis3dh.c | 261 axis.x = (pdata->orientation[0])*x + (pdata->orientation[1])*y + (pdata->orientation[2])*z; in sensor_report_value() 262 axis.y = (pdata->orientation[3])*x + (pdata->orientation[4])*y + (pdata->orientation[5])*z; in sensor_report_value() 263 axis.z = (pdata->orientation[6])*x + (pdata->orientation[7])*y + (pdata->orientation[8])*z; in sensor_report_value()
|