Lines Matching refs:pcli
543 struct nouveau_client_priv *pcli; in nouveau_client_new() local
563 pcli = calloc(1, sizeof(*pcli)); in nouveau_client_new()
564 if (pcli) { in nouveau_client_new()
566 pcli->base.device = dev; in nouveau_client_new()
567 pcli->base.id = (i * 32) + id; in nouveau_client_new()
571 *pclient = &pcli->base; in nouveau_client_new()
581 struct nouveau_client_priv *pcli = nouveau_client(*pclient); in nouveau_client_del() local
583 if (pcli) { in nouveau_client_del()
584 int id = pcli->base.id; in nouveau_client_del()
585 nvdev = nouveau_device(pcli->base.device); in nouveau_client_del()
589 free(pcli->kref); in nouveau_client_del()
590 free(pcli); in nouveau_client_del()