Lines Matching refs:hpd_pin
313 int hpd_pin;
1627 conn = val & BIT(tc->hpd_pin);
1640 if (tc->hpd_pin >= 0)
1701 if (tc->hpd_pin >= 0) {
2037 if (tc->hpd_pin >= 0 && tc->bridge.dev) {
2044 bool h = val & INT_GPIO_H(tc->hpd_pin);
2045 bool lc = val & INT_GPIO_LC(tc->hpd_pin);
2047 dev_dbg(tc->dev, "GPIO%d: %s %s\n", tc->hpd_pin,
2160 if (tc->hpd_pin >= 0)
2270 &tc->hpd_pin);
2272 tc->hpd_pin = -ENODEV;
2274 if (tc->hpd_pin < 0 || tc->hpd_pin > 1) {
2325 if (tc->hpd_pin >= 0) {
2326 u32 lcnt_reg = tc->hpd_pin == 0 ? INT_GP0_LCNT : INT_GP1_LCNT;
2327 u32 h_lc = INT_GPIO_H(tc->hpd_pin) | INT_GPIO_LC(tc->hpd_pin);
2333 regmap_write(tc->regmap, GPIOM, BIT(tc->hpd_pin));