Lines Matching refs:pcli
553 struct nouveau_client_priv *pcli; in nouveau_client_new() local
573 pcli = calloc(1, sizeof(*pcli)); in nouveau_client_new()
574 if (pcli) { in nouveau_client_new()
576 pcli->base.device = dev; in nouveau_client_new()
577 pcli->base.id = (i * 32) + id; in nouveau_client_new()
581 *pclient = &pcli->base; in nouveau_client_new()
591 struct nouveau_client_priv *pcli = nouveau_client(*pclient); in nouveau_client_del() local
593 if (pcli) { in nouveau_client_del()
594 int id = pcli->base.id; in nouveau_client_del()
595 nvdev = nouveau_device(pcli->base.device); in nouveau_client_del()
599 free(pcli->kref); in nouveau_client_del()
600 free(pcli); in nouveau_client_del()