Lines Matching refs:udev

73 nvkm_udevice_info(struct nvkm_udevice *udev, void *data, u32 size)  in nvkm_udevice_info()  argument
75 struct nvkm_object *object = &udev->object; in nvkm_udevice_info()
76 struct nvkm_device *device = udev->device; in nvkm_udevice_info()
170 nvkm_udevice_time(struct nvkm_udevice *udev, void *data, u32 size) in nvkm_udevice_time() argument
172 struct nvkm_object *object = &udev->object; in nvkm_udevice_time()
173 struct nvkm_device *device = udev->device; in nvkm_udevice_time()
191 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_mthd() local
195 return nvkm_udevice_info(udev, data, size); in nvkm_udevice_mthd()
197 return nvkm_udevice_time(udev, data, size); in nvkm_udevice_mthd()
207 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_rd08() local
208 *data = nvkm_rd08(udev->device, addr); in nvkm_udevice_rd08()
215 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_rd16() local
216 *data = nvkm_rd16(udev->device, addr); in nvkm_udevice_rd16()
223 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_rd32() local
224 *data = nvkm_rd32(udev->device, addr); in nvkm_udevice_rd32()
231 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_wr08() local
232 nvkm_wr08(udev->device, addr, data); in nvkm_udevice_wr08()
239 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_wr16() local
240 nvkm_wr16(udev->device, addr, data); in nvkm_udevice_wr16()
247 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_wr32() local
248 nvkm_wr32(udev->device, addr, data); in nvkm_udevice_wr32()
256 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_map() local
257 struct nvkm_device *device = udev->device; in nvkm_udevice_map()
267 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_fini() local
268 struct nvkm_device *device = udev->device; in nvkm_udevice_fini()
288 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_init() local
289 struct nvkm_device *device = udev->device; in nvkm_udevice_init()
310 struct nvkm_udevice *udev = nvkm_udevice(oclass->parent); in nvkm_udevice_child_new() local
312 return sclass->ctor(udev->device, oclass, data, size, pobject); in nvkm_udevice_child_new()
319 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_child_get() local
320 struct nvkm_device *device = udev->device; in nvkm_udevice_child_get()
389 struct nvkm_udevice *udev; in nvkm_udevice_new() local
405 if (!(udev = kzalloc(sizeof(*udev), GFP_KERNEL))) in nvkm_udevice_new()
407 nvkm_object_ctor(func, oclass, &udev->object); in nvkm_udevice_new()
408 *pobject = &udev->object; in nvkm_udevice_new()
412 udev->device = nvkm_device_find(args->v0.device); in nvkm_udevice_new()
414 udev->device = nvkm_device_find(client->device); in nvkm_udevice_new()
415 if (!udev->device) in nvkm_udevice_new()