Home
last modified time | relevance | path

Searched refs:orientation (Results 1 – 25 of 85) sorted by relevance

1234

/linux/Documentation/firmware-guide/acpi/
H A Dintel-pmc-mux.rst20 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 Dps883x.c63 enum typec_orientation orientation; member
199 if (retimer->orientation == TYPEC_ORIENTATION_REVERSE) in ps883x_set()
241 reset = retimer->orientation == TYPEC_ORIENTATION_NONE; in ps883x_set()
270 enum typec_orientation orientation) in ps883x_sw_set() argument
275 ret = typec_switch_set(retimer->typec_switch, orientation); in ps883x_sw_set()
281 if (retimer->orientation != orientation) { in ps883x_sw_set()
282 retimer->orientation = orientation; in ps883x_sw_set()
294 orientation == TYPEC_ORIENTATION_REVERSE); in ps883x_sw_set()
H A Dtusb1046.c91 enum typec_orientation orientation) in tusb1046_switch_set() argument
98 dev_dbg(dev, "setting USB3.0 lane flip for orientation %d\n", orientation); in tusb1046_switch_set()
109 if (orientation == TYPEC_ORIENTATION_REVERSE) in tusb1046_switch_set()
/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8mq-usb.c116 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()
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 == TYPEC_ORIENTATION_REVERSE) in tca_blk_orientation_set()
221 else if (orientation == TYPEC_ORIENTATION_NORMAL) in tca_blk_orientation_set()
231 tca->orientation = orientation; in tca_blk_orientation_set()
[all …]
/linux/drivers/media/pci/intel/
H A Dipu-bridge.c201 .orientation = "orientation",
405 enum v4l2_fwnode_orientation orientation; in ipu_bridge_parse_orientation() local
415 orientation = V4L2_FWNODE_ORIENTATION_FRONT; in ipu_bridge_parse_orientation()
418 orientation = V4L2_FWNODE_ORIENTATION_BACK; in ipu_bridge_parse_orientation()
424 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_parse_orientation()
429 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; in ipu_bridge_parse_orientation()
434 return orientation; in ipu_bridge_parse_orientation()
460 sensor->orientation = ipu_bridge_parse_orientation(adev); in ipu_bridge_parse_ssdb()
524 sensor->prop_names.orientation, in ipu_bridge_create_fwnode_properties()
525 sensor->orientation); in ipu_bridge_create_fwnode_properties()
/linux/drivers/iio/accel/
H A Dmma7660.c49 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 Dmxc4005.c66 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 Dkxsd9.c76 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 Dbmc150-accel.h87 struct iio_mount_matrix orientation; member
/linux/arch/arm64/boot/dts/qcom/
H A Dqcs8550-aim300-aiot.dts47 orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
132 orientation-switch;
147 orientation-switch;
/linux/include/media/
H A Dipu-bridge.h100 char orientation[12]; member
140 enum v4l2_fwnode_orientation orientation; member
/linux/include/linux/platform_data/
H A Dinvensense_mpu6050.h23 __s8 orientation[9]; member
/linux/include/linux/iio/accel/
H A Dkxcjk_1013.h14 struct iio_mount_matrix orientation; member
/linux/Documentation/devicetree/bindings/iio/
H A Dmount-matrix.txt22 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/iio/imu/bmi160/
H A Dbmi160.h12 struct iio_mount_matrix orientation; member
/linux/drivers/iio/magnetometer/
H A Dhmc5843.h44 struct iio_mount_matrix orientation; member
/linux/drivers/iio/gyro/
H A Dmpu3050.h70 struct iio_mount_matrix orientation; member
/linux/Documentation/input/
H A Dmulti-touch-protocol.rst215 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 Dpanel-ilitek-ili9806e-dsi.c31 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()
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-usbc.c474 enum typec_orientation orientation; member
866 bool reverse = (qmp->orientation == TYPEC_ORIENTATION_REVERSE); in qmp_usbc_configure_dp_mode()
1050 if (qmp->orientation == TYPEC_ORIENTATION_REVERSE) in qmp_usbc_usb_power_on()
1748 enum typec_orientation orientation) in qmp_usbc_typec_switch_set() argument
1752 if (orientation == qmp->orientation || orientation == TYPEC_ORIENTATION_NONE) in qmp_usbc_typec_switch_set()
1756 qmp->orientation = orientation; in qmp_usbc_typec_switch_set()
1974 qmp->orientation = TYPEC_ORIENTATION_NORMAL; in qmp_usbc_probe()
H A Dphy-qcom-qmp-combo.c2456 enum typec_orientation orientation; member
2606 enum typec_orientation orientation; member
3537 bool reverse = (qmp->orientation == TYPEC_ORIENTATION_REVERSE); in qmp_combo_configure_dp_mode()
3855 bool reverse = (qmp->orientation == TYPEC_ORIENTATION_REVERSE); in qmp_v4_configure_dp_phy()
3918 bool reverse = (qmp->orientation == TYPEC_ORIENTATION_REVERSE); in qmp_v8_configure_dp_phy()
4066 if (qmp->orientation == TYPEC_ORIENTATION_REVERSE) in qmp_combo_com_init()
4777 enum typec_orientation orientation) in qmp_combo_typec_switch_set() argument
4782 if (orientation == qmp->orientation || orientation == TYPEC_ORIENTATION_NONE) in qmp_combo_typec_switch_set()
4786 qmp->orientation = orientation; in qmp_combo_typec_switch_set()
5124 enum typec_orientation *orientation) in qmp_combo_find_lanes_orientation() argument
[all …]
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_ipi.h104 int32_t orientation; /* 0, 90, 180, 270 */ member
/linux/include/linux/iio/gyro/
H A Ditg3200.h104 struct iio_mount_matrix orientation; member
/linux/drivers/input/touchscreen/
H A Dzforce_ts.c88 int orientation; member
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 Dqcom_pmic_typec_port.c538 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()
566 orientation, value, str_on_off(on), misc_to_vconn(misc), in qcom_pmic_typec_port_set_vconn()

1234