Lines Matching refs:orientation
234 int orientation = gpiod_get_value(ucsi->port_orientation[con_num - 1]);
236 if (orientation >= 0) {
238 orientation ? TYPEC_ORIENTATION_REVERSE
258 int orientation;
264 orientation = gpiod_get_value(ucsi->port_orientation[i]);
266 if (orientation >= 0) {
268 orientation ? TYPEC_ORIENTATION_REVERSE
376 desc = devm_gpiod_get_index_optional(&adev->dev, "orientation", port, GPIOD_IN);
384 "unable to acquire orientation gpio\n");
390 "failed to acquire orientation-switch\n");