Home
last modified time | relevance | path

Searched refs:chan (Results 1 – 8 of 8) sorted by relevance

/hardware/intel/img/libdrm/libdrm/nouveau/
Dnouveau_pushbuf.h49 OUT_RING(struct nouveau_channel *chan, unsigned data) in OUT_RING() argument
51 *(chan->pushbuf->cur++) = (data); in OUT_RING()
55 OUT_RINGp(struct nouveau_channel *chan, const void *data, unsigned size) in OUT_RINGp() argument
57 memcpy(chan->pushbuf->cur, data, size * 4); in OUT_RINGp()
58 chan->pushbuf->cur += size; in OUT_RINGp()
62 OUT_RINGf(struct nouveau_channel *chan, float f) in OUT_RINGf() argument
66 OUT_RING(chan, c.i); in OUT_RINGf()
70 AVAIL_RING(struct nouveau_channel *chan) in AVAIL_RING() argument
72 return chan->pushbuf->remaining; in AVAIL_RING()
76 WAIT_RING(struct nouveau_channel *chan, unsigned size) in WAIT_RING() argument
[all …]
Dnouveau_pushbuf.c58 nouveau_pushbuf_emit_reloc(struct nouveau_channel *chan, void *ptr, in nouveau_pushbuf_emit_reloc() argument
62 struct nouveau_pushbuf_priv *nvpb = nouveau_pushbuf(chan->pushbuf); in nouveau_pushbuf_emit_reloc()
78 pbbo = nouveau_bo_emit_buffer(chan, bo); in nouveau_pushbuf_emit_reloc()
121 nouveau_pushbuf_space_call(struct nouveau_channel *chan, unsigned min) in nouveau_pushbuf_space_call() argument
123 struct nouveau_channel_priv *nvchan = nouveau_channel(chan); in nouveau_pushbuf_space_call()
148 nvpb->base.channel = chan; in nouveau_pushbuf_space_call()
157 nouveau_pushbuf_space(struct nouveau_channel *chan, unsigned min) in nouveau_pushbuf_space() argument
159 struct nouveau_channel_priv *nvchan = nouveau_channel(chan); in nouveau_pushbuf_space()
163 return nouveau_pushbuf_space_call(chan, min); in nouveau_pushbuf_space()
173 nvpb->base.channel = chan; in nouveau_pushbuf_space()
[all …]
Dnouveau_grobj.c29 nouveau_grobj_alloc(struct nouveau_channel *chan, uint32_t handle, in nouveau_grobj_alloc() argument
32 struct nouveau_device_priv *nvdev = nouveau_device(chan->device); in nouveau_grobj_alloc()
43 nvgrobj->base.channel = chan; in nouveau_grobj_alloc()
49 g.channel = chan->id; in nouveau_grobj_alloc()
64 nouveau_grobj_ref(struct nouveau_channel *chan, uint32_t handle, in nouveau_grobj_ref() argument
69 if (!chan || !grobj || *grobj) in nouveau_grobj_ref()
75 nvgrobj->base.channel = chan; in nouveau_grobj_ref()
87 struct nouveau_channel_priv *chan; in nouveau_grobj_free() local
96 chan = nouveau_channel(nvgrobj->base.channel); in nouveau_grobj_free()
97 nvdev = nouveau_device(chan->base.device); in nouveau_grobj_free()
[all …]
Dnouveau_channel.c31 uint32_t tt_ctxdma, struct nouveau_channel **chan) in nouveau_channel_alloc() argument
38 if (!nvdev || !chan || *chan) in nouveau_channel_alloc()
95 *chan = &nvchan->base; in nouveau_channel_alloc()
100 nouveau_channel_free(struct nouveau_channel **chan) in nouveau_channel_free() argument
106 if (!chan || !*chan) in nouveau_channel_free()
108 nvchan = nouveau_channel(*chan); in nouveau_channel_free()
109 *chan = NULL; in nouveau_channel_free()
Dnouveau_notifier.c34 nouveau_notifier_alloc(struct nouveau_channel *chan, uint32_t handle, in nouveau_notifier_alloc() argument
40 if (!chan || !notifier || *notifier) in nouveau_notifier_alloc()
46 nvnotify->base.channel = chan; in nouveau_notifier_alloc()
49 nvnotify->drm.channel = chan->id; in nouveau_notifier_alloc()
52 if ((ret = drmCommandWriteRead(nouveau_device(chan->device)->fd, in nouveau_notifier_alloc()
60 nvnotify->map = (char *)nouveau_channel(chan)->notifier_bo->map + in nouveau_notifier_alloc()
Dnouveau_bo.c113 nouveau_bo_kalloc(struct nouveau_bo_priv *nvbo, struct nouveau_channel *chan) in nouveau_bo_kalloc() argument
123 req.channel_hint = chan ? chan->id : 0; in nouveau_bo_kalloc()
556 nouveau_bo_emit_buffer(struct nouveau_channel *chan, struct nouveau_bo *bo) in nouveau_bo_emit_buffer() argument
558 struct nouveau_pushbuf_priv *nvpb = nouveau_pushbuf(chan->pushbuf); in nouveau_bo_emit_buffer()
568 ret = nouveau_bo_kalloc(nvbo, chan); in nouveau_bo_emit_buffer()
591 nvbo->pending_channel = chan; in nouveau_bo_emit_buffer()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmwifi_channels.h308 #define LCHSPEC_CREATE(chan, band, bw, sb) ((uint16)((chan) | (sb) | (bw) | (band))) argument
Dwlioctl.h2127 uint8 chan; /* channel */ member
5482 uint8 chan; member
5491 uint8 chan; member