Lines Matching refs:pcli
539 struct nouveau_client_priv *pcli; in nouveau_client_new() local
559 pcli = calloc(1, sizeof(*pcli)); in nouveau_client_new()
560 if (pcli) { in nouveau_client_new()
562 pcli->base.device = dev; in nouveau_client_new()
563 pcli->base.id = (i * 32) + id; in nouveau_client_new()
567 *pclient = &pcli->base; in nouveau_client_new()
577 struct nouveau_client_priv *pcli = nouveau_client(*pclient); in nouveau_client_del() local
579 if (pcli) { in nouveau_client_del()
580 int id = pcli->base.id; in nouveau_client_del()
581 nvdev = nouveau_device(pcli->base.device); in nouveau_client_del()
585 free(pcli->kref); in nouveau_client_del()
586 free(pcli); in nouveau_client_del()