Home
last modified time | relevance | path

Searched refs:hpd_gpio (Results 1 – 13 of 13) sorted by relevance

/drivers/gpu/drm/tegra/
Doutput.c59 if (gpio_is_valid(output->hpd_gpio)) { in tegra_output_connector_detect()
61 if (gpio_get_value(output->hpd_gpio) != 0) in tegra_output_connector_detect()
66 if (gpio_get_value(output->hpd_gpio) == 0) in tegra_output_connector_detect()
133 output->hpd_gpio = of_get_named_gpio_flags(output->of_node, in tegra_output_probe()
136 if (gpio_is_valid(output->hpd_gpio)) { in tegra_output_probe()
139 err = gpio_request_one(output->hpd_gpio, GPIOF_DIR_IN, in tegra_output_probe()
146 err = gpio_to_irq(output->hpd_gpio); in tegra_output_probe()
149 gpio_free(output->hpd_gpio); in tegra_output_probe()
163 gpio_free(output->hpd_gpio); in tegra_output_probe()
182 if (gpio_is_valid(output->hpd_gpio)) { in tegra_output_remove()
[all …]
Ddrm.h211 int hpd_gpio; member
/drivers/video/fbdev/omap2/displays-new/
Dconnector-hdmi.c48 int hpd_gpio; member
167 if (gpio_is_valid(ddata->hpd_gpio)) in hdmic_detect()
168 return gpio_get_value_cansleep(ddata->hpd_gpio); in hdmic_detect()
217 ddata->hpd_gpio = -ENODEV; in hdmic_probe_pdata()
243 ddata->hpd_gpio = gpio; in hdmic_probe_of()
245 ddata->hpd_gpio = -ENODEV; in hdmic_probe_of()
283 if (gpio_is_valid(ddata->hpd_gpio)) { in hdmic_probe()
284 r = devm_gpio_request_one(&pdev->dev, ddata->hpd_gpio, in hdmic_probe()
Dencoder-tpd12s015.c29 int hpd_gpio; member
148 if (!gpio_get_value_cansleep(ddata->hpd_gpio)) in tpd_read_edid()
166 return gpio_get_value_cansleep(ddata->hpd_gpio); in tpd_detect()
214 ddata->hpd_gpio = pdata->hpd_gpio; in tpd_probe_pdata()
260 ddata->hpd_gpio = gpio; in tpd_probe_of()
309 r = devm_gpio_request_one(&pdev->dev, ddata->hpd_gpio, in tpd_probe()
/drivers/gpu/drm/msm/hdmi/
Dhdmi_connector.c107 ret = gpio_request(config->hpd_gpio, "HDMI_HPD"); in gpio_config()
110 "HDMI_HPD", config->hpd_gpio, ret); in gpio_config()
113 gpio_direction_input(config->hpd_gpio); in gpio_config()
114 gpio_set_value_cansleep(config->hpd_gpio, 1); in gpio_config()
156 gpio_free(config->hpd_gpio); in gpio_config()
184 gpio_free(config->hpd_gpio); in gpio_config()
351 return gpio_get_value(config->hpd_gpio) ? in detect_gpio()
Dhdmi.c441 hdmi_cfg->hpd_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-hpd"); in hdmi_bind()
460 config.hpd_gpio = 72; in hdmi_bind()
472 config.hpd_gpio = 102; in hdmi_bind()
486 config.hpd_gpio = 172; in hdmi_bind()
Dhdmi.h113 int ddc_clk_gpio, ddc_data_gpio, hpd_gpio, mux_en_gpio, mux_sel_gpio; member
/drivers/gpu/drm/vc4/
Dvc4_hdmi.c49 int hpd_gpio; member
167 if (vc4->hdmi->hpd_gpio) { in vc4_hdmi_connector_detect()
168 if (gpio_get_value(vc4->hdmi->hpd_gpio)) in vc4_hdmi_connector_detect()
509 hdmi->hpd_gpio = of_get_named_gpio(dev->of_node, "hpd-gpios", 0); in vc4_hdmi_bind()
510 if (hdmi->hpd_gpio < 0) { in vc4_hdmi_bind()
511 ret = hdmi->hpd_gpio; in vc4_hdmi_bind()
/drivers/gpu/drm/exynos/
Dexynos_dp_reg.c330 if (gpio_is_valid(dp->hpd_gpio)) in exynos_dp_clear_hotplug_interrupts()
344 if (gpio_is_valid(dp->hpd_gpio)) in exynos_dp_init_hpd()
358 if (gpio_is_valid(dp->hpd_gpio)) { in exynos_dp_get_irq_type()
359 reg = gpio_get_value(dp->hpd_gpio); in exynos_dp_get_irq_type()
420 if (gpio_is_valid(dp->hpd_gpio)) { in exynos_dp_get_plug_in_status()
421 if (gpio_get_value(dp->hpd_gpio)) in exynos_dp_get_plug_in_status()
Dexynos_dp_core.c1261 dp->hpd_gpio = of_get_named_gpio(dev->of_node, "samsung,hpd-gpio", 0); in exynos_dp_bind()
1263 if (gpio_is_valid(dp->hpd_gpio)) { in exynos_dp_bind()
1271 ret = devm_gpio_request_one(&pdev->dev, dp->hpd_gpio, GPIOF_IN, in exynos_dp_bind()
1277 dp->irq = gpio_to_irq(dp->hpd_gpio); in exynos_dp_bind()
1280 dp->hpd_gpio = -ENODEV; in exynos_dp_bind()
Dexynos_hdmi.c116 struct gpio_desc *hpd_gpio; member
947 if (gpiod_get_value(hdata->hpd_gpio)) in hdmi_detect()
1688 hdata->hpd_gpio = devm_gpiod_get(dev, "hpd", GPIOD_IN); in hdmi_resources_init()
1689 if (IS_ERR(hdata->hpd_gpio)) { in hdmi_resources_init()
1691 return PTR_ERR(hdata->hpd_gpio); in hdmi_resources_init()
1694 hdata->irq = gpiod_to_irq(hdata->hpd_gpio); in hdmi_resources_init()
Dexynos_dp_core.h165 int hpd_gpio; member
/drivers/media/i2c/
Dadv7604.c166 struct gpio_desc *hpd_gpio[4]; member
556 gpiod_set_value_cansleep(state->hpd_gpio[i], hpd & BIT(i)); in adv76xx_set_hpd()
3061 state->hpd_gpio[i] = in adv76xx_probe()
3064 if (IS_ERR(state->hpd_gpio[i])) in adv76xx_probe()
3065 return PTR_ERR(state->hpd_gpio[i]); in adv76xx_probe()
3067 if (state->hpd_gpio[i]) in adv76xx_probe()