Searched refs:orientation (Results 26 - 50 of 108) sorted by relevance

12345

/linux-master/include/media/
H A Dv4l2-fwnode.h63 * 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 DMakefile38 obj-y += orientation/
/linux-master/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c141 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 Dit5205.c69 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 Dipu-bridge.c71 .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 Dpanel-elida-kd35t133.c45 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 Dpanel-boe-th101mb31ig002-28a.c29 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 Dpanel-himax-hx8394.c73 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 Dpanel-sitronix-st7789v.c132 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 Dclass.h60 enum typec_orientation orientation; member in struct:typec_port
H A Dmux.c45 * 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 Dtcpm.h148 enum typec_orientation orientation);
/linux-master/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-usbc.c353 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 Dkxsd9.c68 * @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 Dkxcjk-1013.c247 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 Dbmc150-accel-core.c387 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 Daf8133j.c48 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 Dmtk_mdp_regs.c138 misc->orientation = ctx->ctrls.rotate->val;
/linux-master/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_port.c538 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 Ditg3200_core.c249 return &data->orientation;
312 ret = iio_read_mount_matrix(&client->dev, &st->orientation);
/linux-master/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx.h417 * @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 Dhid-magicmouse.c216 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 Dauo-pixcir-ts.c135 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 Defifb.c353 int err, orientation; local
547 orientation = drm_get_panel_orientation_quirk(efifb_defined.xres,
549 switch (orientation) {
/linux-master/drivers/pinctrl/
H A Dpinctrl-amd.c208 char *orientation; local
325 orientation = "���";
327 orientation = "���";
331 orientation = "���";
333 orientation = "���";
335 seq_printf(s, "%s %s|", pin_sts, orientation);

Completed in 458 milliseconds

12345