| /linux/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 …]
|
| /linux/drivers/usb/typec/mux/ |
| H A D | ps883x.c | 81 enum typec_orientation orientation; in ps883x_enable_vregs() 239 if (retimer->orientation == TYPEC_ORIENTATION_REVERSE) in ps883x_set() 282 reset = retimer->orientation == TYPEC_ORIENTATION_NONE; in ps883x_sw_set() 314 enum typec_orientation orientation) in ps883x_retimer_set() 319 ret = typec_switch_set(retimer->typec_switch, orientation); in ps883x_retimer_set() 325 if (retimer->orientation != orientation) { in ps883x_get_vregs() 326 retimer->orientation = orientation; in ps883x_get_vregs() 331 * cache the new orientation valu in ps883x_get_vregs() 63 enum typec_orientation orientation; global() member 270 ps883x_sw_set(struct typec_switch_dev * sw,enum typec_orientation orientation) ps883x_sw_set() argument [all...] |
| H A D | tusb1046.c | 97 enum typec_orientation orientation) in tusb1046_switch_set() 104 dev_dbg(dev, "setting USB3.0 lane flip for orientation %d\n", orientation); in tusb1046_switch_set() 115 if (orientation == TYPEC_ORIENTATION_REVERSE) in tusb1046_switch_set() 91 tusb1046_switch_set(struct typec_switch_dev * sw,enum typec_orientation orientation) tusb1046_switch_set() argument
|
| /linux/drivers/phy/freescale/ |
| H A D | phy-fsl-imx8mq-usb.c | 116 enum typec_orientation orientation; member 142 enum typec_orientation orientation); 145 enum typec_orientation orientation) in tca_blk_typec_switch_set() argument 150 if (tca->orientation == orientation) in tca_blk_typec_switch_set() 157 tca_blk_orientation_set(tca, orientation); in tca_blk_typec_switch_set() 176 dev_err(dev, "Error register tca orientation switch: %ld", in tca_blk_get_typec_switch() 190 enum typec_orientation orientation) in tca_blk_orientation_set() argument 196 if (orientation == TYPEC_ORIENTATION_NONE) { in tca_blk_orientation_set() 219 if (orientation in tca_blk_orientation_set() [all...] |
| /linux/drivers/media/pci/intel/ |
| H A D | ipu-bridge.c | 287 .orientation = "orientation", in ipu_bridge_get_ivsc_csi_dev() 492 enum v4l2_fwnode_orientation orientation; in ipu_bridge_create_fwnode_properties() 496 dev_warn(ADEV_DEV(adev), "_PLD call failed, using default orientation\n"); in ipu_bridge_create_fwnode_properties() 502 orientation = V4L2_FWNODE_ORIENTATION_FRONT; in ipu_bridge_create_fwnode_properties() 505 orientation = V4L2_FWNODE_ORIENTATION_BACK; in ipu_bridge_create_fwnode_properties() 511 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_create_fwnode_properties() 516 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_create_fwnode_properties() 521 return orientation; in ipu_bridge_create_fwnode_properties() 548 sensor->orientation in ipu_bridge_create_fwnode_properties() 405 enum v4l2_fwnode_orientation orientation; ipu_bridge_parse_orientation() local [all...] |
| /linux/drivers/iio/accel/ |
| H A D | mma7660.c | 49 struct iio_mount_matrix orientation; member 58 return &data->orientation; in mma7660_get_mount_matrix() 203 ret = iio_read_mount_matrix(&client->dev, &data->orientation); in mma7660_probe()
|
| H A D | mxc4005.c | 66 struct iio_mount_matrix orientation; member 280 return &data->orientation; in mxc4005_get_mount_matrix() 457 if (!iio_read_acpi_mount_matrix(&client->dev, &data->orientation, "ROTM")) { in mxc4005_probe() 458 ret = iio_read_mount_matrix(&client->dev, &data->orientation); in mxc4005_probe()
|
| H A D | kxsd9.c | 69 * @orientation: mounting matrix, flipped axis etc 76 struct iio_mount_matrix orientation; member 268 return &st->orientation; in kxsd9_get_mount_matrix() 418 ret = iio_read_mount_matrix(dev, &st->orientation); in kxsd9_common_probe()
|
| H A D | bmc150-accel.h | 87 struct iio_mount_matrix orientation; member
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | qcs8550-aim300-aiot.dts | 47 orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>; 132 orientation-switch; 147 orientation-switch;
|
| /linux/include/media/ |
| H A D | ipu-bridge.h | 133 char orientation[12]; 177 enum v4l2_fwnode_orientation orientation; 100 char orientation[12]; global() member 140 enum v4l2_fwnode_orientation orientation; global() member
|
| /linux/Documentation/devicetree/bindings/iio/ |
| H A D | mount-matrix.txt | 22 and thus implying that the component should be mounted in a certain orientation 28 reference to (x,y,z) orientation, with (x,y) corresponding to these axes on the 43 to this world. When using the mounting matrix, the sensor and device orientation 94 geomagnetic field. The system orientation vis-a-vis the world is defined with 151 relative orientation of any given sensor of this type with respect to the
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi_glink.c | 210 int orientation; in pmic_glink_ucsi_connector_status() local 221 orientation = gpiod_get_value(ucsi->port_orientation[con->num - 1]); in pmic_glink_ucsi_connector_status() 222 if (orientation >= 0) { in pmic_glink_ucsi_connector_status() 224 orientation ? in pmic_glink_ucsi_connector_status() 445 desc = devm_gpiod_get_index_optional(&adev->dev, "orientation", port, GPIOD_IN); in pmic_glink_ucsi_probe() 453 "unable to acquire orientation gpio\n"); in pmic_glink_ucsi_probe()
|
| /linux/include/linux/platform_data/ |
| H A D | invensense_mpu6050.h | 23 __s8 orientation[9]; member
|
| /linux/include/linux/iio/accel/ |
| H A D | kxcjk_1013.h | 14 struct iio_mount_matrix orientation; member
|
| /linux/drivers/iio/imu/bmi160/ |
| H A D | bmi160.h | 12 struct iio_mount_matrix orientation; member
|
| /linux/drivers/iio/magnetometer/ |
| H A D | hmc5843.h | 44 struct iio_mount_matrix orientation; member
|
| /linux/drivers/iio/gyro/ |
| H A D | mpu3050.h | 70 struct iio_mount_matrix orientation; member
|
| /linux/Documentation/input/ |
| H A D | multi-touch-protocol.rst | 215 and MINOR are the major and minor axis of an ellipse. The orientation of 246 orientation of the contact and the approaching tool are assumed to be the 273 The orientation of the touching ellipse. The value should describe a signed 283 degree orientation, the reported orientation must exceed the range max to 288 information is not available in the kernel driver. Partial orientation 346 For devices reporting contacts as rectangular shapes, signed orientation 376 Rationale: We have no information about the orientation of the touching
|
| /linux/drivers/gpu/drm/panel/ |
| H A D | panel-ilitek-ili9806e-dsi.c | 31 enum drm_panel_orientation orientation; member 106 return ctx->orientation; in ili9806e_dsi_get_orientation() 135 ret = drm_of_get_panel_orientation(dev->of_node, &ctx->orientation); in ili9806e_dsi_probe() 137 return dev_err_probe(dev, ret, "Failed to get orientation\n"); in ili9806e_dsi_probe()
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-qmp-usbc.c | 474 enum typec_orientation orientation; member 842 bool reverse = (qmp->orientation == TYPEC_ORIENTATION_REVERSE); in qcs615_qmp_configure_dp_swing() 1024 /* Use software based port select and switch on typec orientation */ in qcs615_qmp_calibrate_dp_phy() 1026 if (qmp->orientation == TYPEC_ORIENTATION_REVERSE) in qcs615_qmp_calibrate_dp_phy() 1281 * FIXME: SW_PORTSELECT handling for DP orientation flip is not implemented. in qmp_usbc_dp_serdes_init() 1284 * - For non-standard mapping: pass orientation to dp_ctrl and handle flip in qmp_usbc_dp_serdes_init() 1723 enum typec_orientation orientation) in qmp_usbc_register_clocks() 1727 if (orientation == qmp->orientation || orientation in qmp_usbc_register_clocks() 1748 qmp_usbc_typec_switch_set(struct typec_switch_dev * sw,enum typec_orientation orientation) qmp_usbc_typec_switch_set() argument [all...] |
| /linux/drivers/media/platform/mediatek/mdp/ |
| H A D | mtk_mdp_ipi.h | 104 int32_t orientation; /* 0, 90, 180, 270 */ member
|
| /linux/include/linux/iio/gyro/ |
| H A D | itg3200.h | 104 struct iio_mount_matrix orientation; member
|
| /linux/drivers/input/touchscreen/ |
| H A D | zforce_ts.c | 88 int orientation; member 336 /* determine touch major, minor and orientation */ in zforce_touch_event() 339 point.orientation = p[5] > p[6]; in zforce_touch_event() 350 point.orientation); in zforce_touch_event() 365 point.orientation); in zforce_touch_event()
|
| /linux/drivers/usb/typec/tcpm/qcom/ |
| H A D | qcom_pmic_typec_port.c | 538 unsigned int orientation, misc, mask, value; in qcom_pmic_typec_port_set_vconn() local 550 orientation = (misc & CC_ORIENTATION) ? 0 : VCONN_EN_ORIENTATION; in qcom_pmic_typec_port_set_vconn() 553 value = orientation | VCONN_EN_VALUE | VCONN_EN_SRC; in qcom_pmic_typec_port_set_vconn() 565 dev_dbg(dev, "set_vconn: orientation %d control 0x%08x state %s cc %s vconn %s\n", in qcom_pmic_typec_port_set_vconn() 566 orientation, value, str_on_off(on), misc_to_vconn(misc), in qcom_pmic_typec_port_set_vconn()
|