Lines Matching refs:hpd_pin
267 int hpd_pin;
1367 conn = val & BIT(tc->hpd_pin);
1380 if (tc->hpd_pin >= 0)
1424 if (tc->hpd_pin >= 0) {
1516 if (tc->hpd_pin >= 0 && tc->bridge.dev) {
1523 bool h = val & INT_GPIO_H(tc->hpd_pin);
1524 bool lc = val & INT_GPIO_LC(tc->hpd_pin);
1526 dev_dbg(tc->dev, "GPIO%d: %s %s\n", tc->hpd_pin,
1634 &tc->hpd_pin);
1636 tc->hpd_pin = -ENODEV;
1638 if (tc->hpd_pin < 0 || tc->hpd_pin > 1) {
1689 if (tc->hpd_pin >= 0) {
1690 u32 lcnt_reg = tc->hpd_pin == 0 ? INT_GP0_LCNT : INT_GP1_LCNT;
1691 u32 h_lc = INT_GPIO_H(tc->hpd_pin) | INT_GPIO_LC(tc->hpd_pin);
1697 regmap_write(tc->regmap, GPIOM, BIT(tc->hpd_pin));
1718 if (tc->hpd_pin >= 0)