Lines Matching refs:hpd_pin
267 int hpd_pin; member
1367 conn = val & BIT(tc->hpd_pin); in tc_bridge_detect()
1380 if (tc->hpd_pin >= 0) in tc_connector_detect()
1429 if (tc->hpd_pin >= 0) { in tc_bridge_attach()
1530 if (tc->hpd_pin >= 0 && tc->bridge.dev) { in tc_irq_handler()
1537 bool h = val & INT_GPIO_H(tc->hpd_pin); in tc_irq_handler()
1538 bool lc = val & INT_GPIO_LC(tc->hpd_pin); in tc_irq_handler()
1540 dev_dbg(tc->dev, "GPIO%d: %s %s\n", tc->hpd_pin, in tc_irq_handler()
1618 &tc->hpd_pin); in tc_probe()
1620 tc->hpd_pin = -ENODEV; in tc_probe()
1622 if (tc->hpd_pin < 0 || tc->hpd_pin > 1) { in tc_probe()
1673 if (tc->hpd_pin >= 0) { in tc_probe()
1674 u32 lcnt_reg = tc->hpd_pin == 0 ? INT_GP0_LCNT : INT_GP1_LCNT; in tc_probe()
1675 u32 h_lc = INT_GPIO_H(tc->hpd_pin) | INT_GPIO_LC(tc->hpd_pin); in tc_probe()
1681 regmap_write(tc->regmap, GPIOM, BIT(tc->hpd_pin)); in tc_probe()
1700 if (tc->hpd_pin >= 0) in tc_probe()