Lines Matching full:hpd
56 static const u8 hpd[] = { 0x07, 0x08, 0x51, 0x52, 0x5e, 0x5f, 0x60 }; in nvkm_conn_ctor() local
64 conn->info.hpd = DCB_GPIO_UNUSED; in nvkm_conn_ctor()
66 CONN_DBG(conn, "type %02x loc %d hpd %02x dp %x di %x sr %x lcdid %x", in nvkm_conn_ctor()
67 info->type, info->location, info->hpd, info->dp, in nvkm_conn_ctor()
70 if ((info->hpd = ffs(info->hpd))) { in nvkm_conn_ctor()
71 if (--info->hpd >= ARRAY_SIZE(hpd)) { in nvkm_conn_ctor()
72 CONN_ERR(conn, "hpd %02x unknown", info->hpd); in nvkm_conn_ctor()
75 info->hpd = hpd[info->hpd]; in nvkm_conn_ctor()
77 ret = nvkm_gpio_find(gpio, 0, info->hpd, DCB_GPIO_UNUSED, &func); in nvkm_conn_ctor()
79 CONN_ERR(conn, "func %02x lookup failed, %d", info->hpd, ret); in nvkm_conn_ctor()
83 conn->info.hpd = func.line; in nvkm_conn_ctor()