/linux-master/include/media/ |
H A D | v4l2-fwnode.h | 63 * enum v4l2_fwnode_orientation - possible device orientation 76 * @orientation: device orientation. See &enum v4l2_fwnode_orientation 80 enum v4l2_fwnode_orientation orientation; member in struct:v4l2_fwnode_device_properties
|
/linux-master/drivers/iio/ |
H A D | Makefile | 38 obj-y += orientation/
|
/linux-master/drivers/usb/typec/mux/ |
H A D | intel_pmc_mux.c | 141 enum typec_orientation orientation; member in struct:pmc_usb_port 183 return port->orientation - 1; 191 return port->orientation - 1; 296 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; 346 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; 399 req.mode_data |= (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; 483 if (port->orientation == TYPEC_ORIENTATION_NONE) 514 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) 545 enum typec_orientation orientation) 551 port->orientation 544 pmc_usb_set_orientation(struct typec_switch_dev *sw, enum typec_orientation orientation) argument [all...] |
H A D | it5205.c | 69 static int it5205_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument 73 switch (orientation) {
|
/linux-master/drivers/media/pci/intel/ |
H A D | ipu-bridge.c | 71 .orientation = "orientation", 232 enum v4l2_fwnode_orientation orientation; local 238 dev_warn(&adev->dev, "_PLD call failed, using default orientation\n"); 244 orientation = V4L2_FWNODE_ORIENTATION_FRONT; 247 orientation = V4L2_FWNODE_ORIENTATION_BACK; 253 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; 257 orientation = V4L2_FWNODE_ORIENTATION_EXTERNAL; 262 return orientation; 288 sensor->orientation [all...] |
/linux-master/drivers/gpu/drm/panel/ |
H A D | panel-elida-kd35t133.c | 45 enum drm_panel_orientation orientation; member in struct:kd35t133 211 return ctx->orientation; 253 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation); 255 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, ret);
|
H A D | panel-boe-th101mb31ig002-28a.c | 29 enum drm_panel_orientation orientation; member in struct:boe_th101mb31ig002 212 drm_connector_set_panel_orientation(connector, ctx->orientation); 226 return ctx->orientation; 271 &ctx->orientation); 274 "Failed to get orientation\n");
|
H A D | panel-himax-hx8394.c | 73 enum drm_panel_orientation orientation; member in struct:hx8394 468 return ctx->orientation; 495 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation); 497 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, ret);
|
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);
|
/linux-master/drivers/usb/typec/ |
H A D | class.h | 60 enum typec_orientation orientation; member in struct:typec_port
|
H A D | mux.c | 45 * property is named "orientation-switch" (@id). The value of the device 63 * fwnode_typec_switch_get - Find USB Type-C orientation switch 83 count = fwnode_connection_find_matches(fwnode, "orientation-switch", NULL, 121 * typec_switch_put - Release USB Type-C orientation switch 122 * @sw: USB Type-C orientation switch 155 * typec_switch_register - Register USB Type-C orientation switch 160 * data pairs depending on the cable plug orientation from the USB Type-C 204 enum typec_orientation orientation) 216 ret = sw_dev->set(sw_dev, orientation); 226 * typec_switch_unregister - Unregister USB Type-C orientation switc 203 typec_switch_set(struct typec_switch *sw, enum typec_orientation orientation) argument [all...] |
/linux-master/include/linux/usb/ |
H A D | tcpm.h | 148 enum typec_orientation orientation);
|
/linux-master/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-usbc.c | 353 enum typec_orientation orientation; member in struct:qmp_usbc 491 /* Use software based port select and switch on typec orientation */ 493 if (qmp->orientation == TYPEC_ORIENTATION_REVERSE) 856 enum typec_orientation orientation) 860 if (orientation == qmp->orientation || orientation == TYPEC_ORIENTATION_NONE) 864 qmp->orientation = orientation; 1053 qmp->orientation 855 qmp_usbc_typec_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation) argument [all...] |
/linux-master/drivers/iio/accel/ |
H A D | kxsd9.c | 68 * @orientation: mounting matrix, flipped axis etc 75 struct iio_mount_matrix orientation; member in struct:kxsd9_state 270 return &st->orientation; 423 ret = iio_read_mount_matrix(dev, &st->orientation);
|
H A D | kxcjk-1013.c | 247 struct iio_mount_matrix orientation; member in struct:kxcjk1013_data 641 struct iio_mount_matrix *orientation) 688 orientation->rotation[i * 3 + j] = str; 700 struct iio_mount_matrix *orientation) 705 return kxj_acpi_orientation(dev, orientation); 711 struct iio_mount_matrix *orientation) 1247 return &data->orientation; 1543 data->orientation = pdata->orientation; 1547 if (!kxj1009_apply_acpi_orientation(&client->dev, &data->orientation)) { 640 kxj_acpi_orientation(struct device *dev, struct iio_mount_matrix *orientation) argument 699 kxj1009_apply_acpi_orientation(struct device *dev, struct iio_mount_matrix *orientation) argument 710 kxj1009_apply_acpi_orientation(struct device *dev, struct iio_mount_matrix *orientation) argument [all...] |
H A D | bmc150-accel-core.c | 387 struct iio_mount_matrix *orientation) 440 orientation->rotation[i * 3 + j] = str; 454 struct iio_mount_matrix *orientation) 467 struct iio_mount_matrix *orientation) 472 return bmc150_apply_bosc0200_acpi_orientation(dev, orientation); 475 return bmc150_apply_dual250e_acpi_orientation(dev, orientation); 481 struct iio_mount_matrix *orientation) 920 return &data->orientation; 1683 if (!bmc150_apply_acpi_orientation(dev, &data->orientation)) { 1684 ret = iio_read_mount_matrix(dev, &data->orientation); 386 bmc150_apply_bosc0200_acpi_orientation(struct device *dev, struct iio_mount_matrix *orientation) argument 453 bmc150_apply_dual250e_acpi_orientation(struct device *dev, struct iio_mount_matrix *orientation) argument 466 bmc150_apply_acpi_orientation(struct device *dev, struct iio_mount_matrix *orientation) argument 480 bmc150_apply_acpi_orientation(struct device *dev, struct iio_mount_matrix *orientation) argument [all...] |
/linux-master/drivers/iio/magnetometer/ |
H A D | af8133j.c | 48 struct iio_mount_matrix orientation; member in struct:af8133j_data 68 return &data->orientation; 432 ret = iio_read_mount_matrix(dev, &data->orientation);
|
/linux-master/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_regs.c | 138 misc->orientation = ctx->ctrls.rotate->val;
|
/linux-master/drivers/usb/typec/tcpm/qcom/ |
H A D | qcom_pmic_typec_port.c | 538 unsigned int orientation, misc, mask, value; local 550 orientation = (misc & CC_ORIENTATION) ? 0 : VCONN_EN_ORIENTATION; 553 value = orientation | VCONN_EN_VALUE | VCONN_EN_SRC; 565 dev_dbg(dev, "set_vconn: orientation %d control 0x%08x state %s cc %s vconn %s\n", 566 orientation, value, on ? "on" : "off", misc_to_vconn(misc), misc_to_cc(misc));
|
/linux-master/drivers/iio/gyro/ |
H A D | itg3200_core.c | 249 return &data->orientation; 312 ret = iio_read_mount_matrix(&client->dev, &st->orientation);
|
/linux-master/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx.h | 417 * @orientation: sensor chip orientation relative to main hardware. 446 struct iio_mount_matrix orientation; member in struct:st_lsm6dsx_hw 532 return &hw->orientation;
|
/linux-master/drivers/hid/ |
H A D | hid-magicmouse.c | 216 int id, x, y, size, orientation, touch_major, touch_minor, state, down; local 225 orientation = (tdata[6] >> 2) - 32; 235 orientation = (tdata[8] >> 5) - 4; 246 orientation = (tdata[7] >> 2) - 32; 358 input_report_abs(input, ABS_MT_ORIENTATION, -orientation);
|
/linux-master/drivers/input/touchscreen/ |
H A D | auo-pixcir-ts.c | 135 int orientation; member in struct:auo_point_t 175 /* determine touch major, minor and orientation */ 178 point[i].orientation = raw_area[2 * i] > raw_area[2 * i + 1]; 227 point[i].orientation);
|
/linux-master/drivers/video/fbdev/ |
H A D | efifb.c | 353 int err, orientation; local 547 orientation = drm_get_panel_orientation_quirk(efifb_defined.xres, 549 switch (orientation) {
|
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-amd.c | 208 char *orientation; local 325 orientation = "���"; 327 orientation = "���"; 331 orientation = "���"; 333 orientation = "���"; 335 seq_printf(s, "%s %s|", pin_sts, orientation);
|