Home
last modified time | relevance | path

Searched refs:pcli (Results 1 – 2 of 2) sorted by relevance

/external/libdrm/nouveau/
Dprivate.h45 struct nouveau_client_priv *pcli = nouveau_client(client); in cli_kref_get() local
47 if (pcli->kref_nr > bo->handle) in cli_kref_get()
48 kref = pcli->kref[bo->handle].kref; in cli_kref_get()
55 struct nouveau_client_priv *pcli = nouveau_client(client); in cli_push_get() local
57 if (pcli->kref_nr > bo->handle) in cli_push_get()
58 push = pcli->kref[bo->handle].push; in cli_push_get()
67 struct nouveau_client_priv *pcli = nouveau_client(client); in cli_kref_set() local
68 if (pcli->kref_nr <= bo->handle) { in cli_kref_set()
69 pcli->kref = realloc(pcli->kref, in cli_kref_set()
70 sizeof(*pcli->kref) * bo->handle * 2); in cli_kref_set()
[all …]
Dnouveau.c539 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()
[all …]