lvds_encoder 23 drivers/gpu/drm/bridge/lvds-encoder.c struct lvds_encoder *lvds_encoder = container_of(bridge, lvds_encoder 24 drivers/gpu/drm/bridge/lvds-encoder.c struct lvds_encoder, lvds_encoder 27 drivers/gpu/drm/bridge/lvds-encoder.c return drm_bridge_attach(bridge->encoder, lvds_encoder->panel_bridge, lvds_encoder 33 drivers/gpu/drm/bridge/lvds-encoder.c struct lvds_encoder *lvds_encoder = container_of(bridge, lvds_encoder 34 drivers/gpu/drm/bridge/lvds-encoder.c struct lvds_encoder, lvds_encoder 37 drivers/gpu/drm/bridge/lvds-encoder.c if (lvds_encoder->powerdown_gpio) lvds_encoder 38 drivers/gpu/drm/bridge/lvds-encoder.c gpiod_set_value_cansleep(lvds_encoder->powerdown_gpio, 0); lvds_encoder 43 drivers/gpu/drm/bridge/lvds-encoder.c struct lvds_encoder *lvds_encoder = container_of(bridge, lvds_encoder 44 drivers/gpu/drm/bridge/lvds-encoder.c struct lvds_encoder, lvds_encoder 47 drivers/gpu/drm/bridge/lvds-encoder.c if (lvds_encoder->powerdown_gpio) lvds_encoder 48 drivers/gpu/drm/bridge/lvds-encoder.c gpiod_set_value_cansleep(lvds_encoder->powerdown_gpio, 1); lvds_encoder 64 drivers/gpu/drm/bridge/lvds-encoder.c struct lvds_encoder *lvds_encoder; lvds_encoder 66 drivers/gpu/drm/bridge/lvds-encoder.c lvds_encoder = devm_kzalloc(dev, sizeof(*lvds_encoder), GFP_KERNEL); lvds_encoder 67 drivers/gpu/drm/bridge/lvds-encoder.c if (!lvds_encoder) lvds_encoder 70 drivers/gpu/drm/bridge/lvds-encoder.c lvds_encoder->powerdown_gpio = devm_gpiod_get_optional(dev, "powerdown", lvds_encoder 72 drivers/gpu/drm/bridge/lvds-encoder.c if (IS_ERR(lvds_encoder->powerdown_gpio)) { lvds_encoder 73 drivers/gpu/drm/bridge/lvds-encoder.c int err = PTR_ERR(lvds_encoder->powerdown_gpio); lvds_encoder 108 drivers/gpu/drm/bridge/lvds-encoder.c lvds_encoder->panel_bridge = lvds_encoder 110 drivers/gpu/drm/bridge/lvds-encoder.c if (IS_ERR(lvds_encoder->panel_bridge)) lvds_encoder 111 drivers/gpu/drm/bridge/lvds-encoder.c return PTR_ERR(lvds_encoder->panel_bridge); lvds_encoder 117 drivers/gpu/drm/bridge/lvds-encoder.c lvds_encoder->bridge.of_node = dev->of_node; lvds_encoder 118 drivers/gpu/drm/bridge/lvds-encoder.c lvds_encoder->bridge.funcs = &funcs; lvds_encoder 119 drivers/gpu/drm/bridge/lvds-encoder.c drm_bridge_add(&lvds_encoder->bridge); lvds_encoder 121 drivers/gpu/drm/bridge/lvds-encoder.c platform_set_drvdata(pdev, lvds_encoder); lvds_encoder 128 drivers/gpu/drm/bridge/lvds-encoder.c struct lvds_encoder *lvds_encoder = platform_get_drvdata(pdev); lvds_encoder 130 drivers/gpu/drm/bridge/lvds-encoder.c drm_bridge_remove(&lvds_encoder->bridge); lvds_encoder 103 drivers/gpu/drm/i915/display/intel_lvds.c struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); lvds_encoder 112 drivers/gpu/drm/i915/display/intel_lvds.c ret = intel_lvds_port_enabled(dev_priv, lvds_encoder->reg, pipe); lvds_encoder 123 drivers/gpu/drm/i915/display/intel_lvds.c struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); lvds_encoder 128 drivers/gpu/drm/i915/display/intel_lvds.c tmp = I915_READ(lvds_encoder->reg); lvds_encoder 231 drivers/gpu/drm/i915/display/intel_lvds.c struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); lvds_encoder 246 drivers/gpu/drm/i915/display/intel_lvds.c intel_lvds_pps_init_hw(dev_priv, &lvds_encoder->init_pps); lvds_encoder 248 drivers/gpu/drm/i915/display/intel_lvds.c temp = lvds_encoder->init_lvds_val; lvds_encoder 267 drivers/gpu/drm/i915/display/intel_lvds.c if (lvds_encoder->is_dual_link) lvds_encoder 279 drivers/gpu/drm/i915/display/intel_lvds.c temp |= lvds_encoder->a3_power; lvds_encoder 302 drivers/gpu/drm/i915/display/intel_lvds.c I915_WRITE(lvds_encoder->reg, temp); lvds_encoder 313 drivers/gpu/drm/i915/display/intel_lvds.c struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); lvds_encoder 316 drivers/gpu/drm/i915/display/intel_lvds.c I915_WRITE(lvds_encoder->reg, I915_READ(lvds_encoder->reg) | LVDS_PORT_EN); lvds_encoder 319 drivers/gpu/drm/i915/display/intel_lvds.c POSTING_READ(lvds_encoder->reg); lvds_encoder 331 drivers/gpu/drm/i915/display/intel_lvds.c struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); lvds_encoder 338 drivers/gpu/drm/i915/display/intel_lvds.c I915_WRITE(lvds_encoder->reg, I915_READ(lvds_encoder->reg) & ~LVDS_PORT_EN); lvds_encoder 339 drivers/gpu/drm/i915/display/intel_lvds.c POSTING_READ(lvds_encoder->reg); lvds_encoder 391 drivers/gpu/drm/i915/display/intel_lvds.c struct intel_lvds_encoder *lvds_encoder = lvds_encoder 394 drivers/gpu/drm/i915/display/intel_lvds.c lvds_encoder->attached_connector; lvds_encoder 405 drivers/gpu/drm/i915/display/intel_lvds.c if (lvds_encoder->a3_power == LVDS_A3_POWER_UP) lvds_encoder 771 drivers/gpu/drm/i915/display/intel_lvds.c static bool compute_is_dual_link_lvds(struct intel_lvds_encoder *lvds_encoder) lvds_encoder 773 drivers/gpu/drm/i915/display/intel_lvds.c struct drm_device *dev = lvds_encoder->base.base.dev; lvds_encoder 782 drivers/gpu/drm/i915/display/intel_lvds.c if (lvds_encoder->attached_connector->panel.fixed_mode->clock > 112999) lvds_encoder 794 drivers/gpu/drm/i915/display/intel_lvds.c val = I915_READ(lvds_encoder->reg); lvds_encoder 815 drivers/gpu/drm/i915/display/intel_lvds.c struct intel_lvds_encoder *lvds_encoder; lvds_encoder 861 drivers/gpu/drm/i915/display/intel_lvds.c lvds_encoder = kzalloc(sizeof(*lvds_encoder), GFP_KERNEL); lvds_encoder 862 drivers/gpu/drm/i915/display/intel_lvds.c if (!lvds_encoder) lvds_encoder 867 drivers/gpu/drm/i915/display/intel_lvds.c kfree(lvds_encoder); lvds_encoder 871 drivers/gpu/drm/i915/display/intel_lvds.c lvds_encoder->attached_connector = intel_connector; lvds_encoder 873 drivers/gpu/drm/i915/display/intel_lvds.c intel_encoder = &lvds_encoder->base; lvds_encoder 914 drivers/gpu/drm/i915/display/intel_lvds.c lvds_encoder->reg = lvds_reg; lvds_encoder 923 drivers/gpu/drm/i915/display/intel_lvds.c intel_lvds_pps_get_hw_state(dev_priv, &lvds_encoder->init_pps); lvds_encoder 924 drivers/gpu/drm/i915/display/intel_lvds.c lvds_encoder->init_lvds_val = lvds; lvds_encoder 989 drivers/gpu/drm/i915/display/intel_lvds.c lvds_encoder->is_dual_link = compute_is_dual_link_lvds(lvds_encoder); lvds_encoder 991 drivers/gpu/drm/i915/display/intel_lvds.c lvds_encoder->is_dual_link ? "dual" : "single"); lvds_encoder 993 drivers/gpu/drm/i915/display/intel_lvds.c lvds_encoder->a3_power = lvds & LVDS_A3_POWER_MASK; lvds_encoder 1003 drivers/gpu/drm/i915/display/intel_lvds.c kfree(lvds_encoder);