Home
last modified time | relevance | path

Searched refs:sclass (Results 1 – 25 of 110) sorted by relevance

12345

/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
A Duser.c326 const struct nvkm_device_oclass *sclass = NULL; in nvkm_udevice_child_get() local
331 !(engine->func->base.sclass)) in nvkm_udevice_child_get()
335 index -= engine->func->base.sclass(oclass, index, &sclass); in nvkm_udevice_child_get()
338 if (!sclass) { in nvkm_udevice_child_get()
340 sclass = &nvkm_control_oclass; in nvkm_udevice_child_get()
342 sclass = &device->mmu->user; in nvkm_udevice_child_get()
344 sclass = &device->fault->user; in nvkm_udevice_child_get()
348 oclass->base = sclass->base; in nvkm_udevice_child_get()
352 oclass->priv = sclass; in nvkm_udevice_child_get()
368 .sclass = nvkm_udevice_child_get,
[all …]
/linux/drivers/gpu/drm/nouveau/nvif/
A Dobject.c62 struct nvif_ioctl_sclass_v0 sclass; in nvif_object_sclass_get() member
68 size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); in nvif_object_sclass_get()
73 args->sclass.version = 0; in nvif_object_sclass_get()
74 args->sclass.count = cnt; in nvif_object_sclass_get()
77 if (ret == 0 && args->sclass.count <= cnt) in nvif_object_sclass_get()
79 cnt = args->sclass.count; in nvif_object_sclass_get()
87 for (i = 0; i < args->sclass.count; i++) { in nvif_object_sclass_get()
88 (*psclass)[i].oclass = args->sclass.oclass[i].oclass; in nvif_object_sclass_get()
89 (*psclass)[i].minver = args->sclass.oclass[i].minver; in nvif_object_sclass_get()
90 (*psclass)[i].maxver = args->sclass.oclass[i].maxver; in nvif_object_sclass_get()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
A Dchannv50.c250 const struct nvkm_device_oclass *sclass = oclass->priv; in nv50_disp_chan_child_new() local
260 ret = sclass->ctor(device, oclass, argv, argc, &object->oproxy.object); in nv50_disp_chan_child_new()
274 struct nvkm_oclass *sclass) in nv50_disp_chan_child_get() argument
281 sclass->engine = nvkm_device_engine(device, NVKM_ENGINE_DMAOBJ, 0); in nv50_disp_chan_child_get()
283 sclass->engine = NULL; in nv50_disp_chan_child_get()
285 if (sclass->engine && sclass->engine->func->base.sclass) { in nv50_disp_chan_child_get()
286 sclass->engine->func->base.sclass(sclass, index, &oclass); in nv50_disp_chan_child_get()
288 sclass->ctor = nv50_disp_chan_child_new, in nv50_disp_chan_child_get()
289 sclass->priv = oclass; in nv50_disp_chan_child_get()
334 .sclass = nv50_disp_chan_child_get,
A Drootnv50.c287 struct nvkm_oclass *sclass) in nv50_disp_root_child_get_() argument
292 sclass->base = root->func->user[index].base; in nv50_disp_root_child_get_()
293 sclass->priv = root->func->user + index; in nv50_disp_root_child_get_()
294 sclass->ctor = nv50_disp_root_child_new_; in nv50_disp_root_child_get_()
313 .sclass = nv50_disp_root_child_get_,
/linux/drivers/gpu/drm/nouveau/nvkm/engine/sw/
A Dbase.c54 const struct nvkm_sw_chan_sclass *sclass = oclass->engn; in nvkm_sw_oclass_new() local
55 return sclass->ctor(chan, oclass, data, size, pobject); in nvkm_sw_oclass_new()
64 while (sw->func->sclass[c].ctor) { in nvkm_sw_oclass_get()
66 oclass->engn = &sw->func->sclass[index]; in nvkm_sw_oclass_get()
67 oclass->base = sw->func->sclass[index].base; in nvkm_sw_oclass_get()
95 .fifo.sclass = nvkm_sw_oclass_get,
/linux/drivers/gpu/drm/nouveau/nvkm/engine/dma/
A Dbase.c67 nvkm_dma_oclass_base_get(struct nvkm_oclass *sclass, int index, in nvkm_dma_oclass_base_get() argument
73 sclass->base = oclass[0]; in nvkm_dma_oclass_base_get()
74 sclass->engn = oclass; in nvkm_dma_oclass_base_get()
101 .base.sclass = nvkm_dma_oclass_base_get,
102 .fifo.sclass = nvkm_dma_oclass_fifo_get,
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_abi16.c432 struct nvif_sclass *sclass; in nouveau_abi16_ioctl_grobj_alloc() local
447 ret = nvif_object_sclass_get(&chan->chan->user, &sclass); in nouveau_abi16_ioctl_grobj_alloc()
454 switch (sclass[i].oclass) { in nouveau_abi16_ioctl_grobj_alloc()
459 oclass = sclass[i].oclass; in nouveau_abi16_ioctl_grobj_alloc()
469 if ((sclass[i].oclass & 0x00ff) == 0x00b1) { in nouveau_abi16_ioctl_grobj_alloc()
470 oclass = sclass[i].oclass; in nouveau_abi16_ioctl_grobj_alloc()
478 if ((sclass[i].oclass & 0x00ff) == 0x00b2) { in nouveau_abi16_ioctl_grobj_alloc()
479 oclass = sclass[i].oclass; in nouveau_abi16_ioctl_grobj_alloc()
487 if ((sclass[i].oclass & 0x00ff) == 0x00b3) { in nouveau_abi16_ioctl_grobj_alloc()
488 oclass = sclass[i].oclass; in nouveau_abi16_ioctl_grobj_alloc()
[all …]
/linux/drivers/gpu/drm/nouveau/include/nvif/
A Dobject.h81 struct nvif_sclass *sclass; \
86 cnt = nvif_object_sclass_get(object, &sclass); \
90 if (mclass[i].oclass == sclass[j].oclass && \
91 mclass[i].version >= sclass[j].minver && \
92 mclass[i].version <= sclass[j].maxver) { \
98 nvif_object_sclass_put(&sclass); \
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
A Dengine.h35 int (*sclass)(struct nvkm_oclass *, int index, member
43 int (*sclass)(struct nvkm_oclass *, int index); member
47 struct nvkm_sclass sclass[]; member
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Dbase.c237 const struct nvkm_fifo_chan_oclass *sclass = oclass->engn; in nvkm_fifo_class_new() local
239 return sclass->ctor(fifo, oclass, data, size, pobject); in nvkm_fifo_class_new()
252 const struct nvkm_fifo_chan_oclass *sclass; in nvkm_fifo_class_get() local
262 while ((sclass = fifo->func->chan[c])) { in nvkm_fifo_class_get()
264 oclass->base = sclass->base; in nvkm_fifo_class_get()
265 oclass->engn = sclass; in nvkm_fifo_class_get()
350 .base.sclass = nvkm_fifo_class_get,
A Dchan.c225 if (engine->func->fifo.sclass) { in nvkm_fifo_chan_child_get()
226 ret = engine->func->fifo.sclass(oclass, index); in nvkm_fifo_chan_child_get()
238 while (engine->func->sclass[c].oclass) { in nvkm_fifo_chan_child_get()
240 oclass->base = engine->func->sclass[index]; in nvkm_fifo_chan_child_get()
357 .sclass = nvkm_fifo_chan_child_get,
/linux/security/selinux/
A Dhooks.c1458 sclass = isec->sclass; in inode_doinit_with_dentry()
3053 isec->sclass = context_isec->sclass; in selinux_inode_init_security_anon()
4689 isec->sclass = sclass; in selinux_socket_post_create()
4695 sksec->sclass = sclass; in selinux_socket_post_create()
4980 sclass = isec->sclass; in selinux_socket_accept()
4985 newisec->sclass = sclass; in selinux_socket_accept()
5315 newsksec->sclass = sksec->sclass; in selinux_sk_clone_security()
5340 sksec->sclass = isec->sclass; in selinux_sock_graft()
5512 newsksec->sclass = sksec->sclass; in selinux_sctp_sk_clone()
5965 u16 sclass = sksec->sclass; in selinux_netlink_send() local
[all …]
A Dnlmsgtab.c168 int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm) in selinux_nlmsg_lookup() argument
172 switch (sclass) { in selinux_nlmsg_lookup()
/linux/security/selinux/include/
A Dobjsec.h51 u16 sclass; /* security class of this object */ member
79 u16 sclass; /* security class of this object */ member
117 u16 sclass; /* sock security class */ member
/linux/drivers/gpu/drm/nouveau/nvkm/core/
A Dclient.c241 const struct nvkm_sclass *sclass; in nvkm_client_child_get() local
244 case 0: sclass = &nvkm_uclient_sclass; break; in nvkm_client_child_get()
245 case 1: sclass = &nvkm_udevice_sclass; break; in nvkm_client_child_get()
251 oclass->base = *sclass; in nvkm_client_child_get()
282 .sclass = nvkm_client_child_get,
A Doproxy.c103 if (!oproxy->object->func->sclass) in nvkm_oproxy_sclass()
105 return oproxy->object->func->sclass(oproxy->object, index, oclass); in nvkm_oproxy_sclass()
190 .sclass = nvkm_oproxy_sclass,
A Dioctl.c66 while (object->func->sclass && in nvkm_ioctl_sclass()
67 object->func->sclass(object, i, &oclass) >= 0) { in nvkm_ioctl_sclass()
102 if (!parent->func->sclass) { in nvkm_ioctl_new()
115 ret = parent->func->sclass(parent, i++, &oclass); in nvkm_ioctl_new()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/
A Dgf100.c43 .sclass = {
57 .sclass = {
A Dgv100.c29 .sclass = {
A Dtu102.c29 .sclass = {
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
A Dbase.c101 while (gr->func->sclass[c].oclass) { in nvkm_gr_oclass_get()
103 oclass->base = gr->func->sclass[index]; in nvkm_gr_oclass_get()
173 .fifo.sclass = nvkm_gr_oclass_get,
/linux/drivers/gpu/drm/nouveau/nvkm/engine/
A Dxtensa.c33 while (xtensa->func->sclass[c].oclass) { in nvkm_xtensa_oclass_get()
35 oclass->base = xtensa->func->sclass[index]; in nvkm_xtensa_oclass_get()
173 .fifo.sclass = nvkm_xtensa_oclass_get,
/linux/drivers/gpu/drm/nouveau/nvkm/engine/mspdec/
A Dgk104.c31 .sclass = {
A Dgt215.c31 .sclass = {
/linux/drivers/gpu/drm/nouveau/nvkm/engine/msppp/
A Dgt215.c31 .sclass = {

Completed in 43 milliseconds

12345