Lines Matching refs:tdev
37 struct nvkm_top_device *tdev;
41 list_for_each_entry(tdev, &device->top->device, head) {
42 if (tdev->intr >= 0 &&
43 tdev->type == subdev->type &&
44 tdev->inst == subdev->inst) {
45 if (data->mask & BIT(tdev->intr)) {
47 *mask = BIT(tdev->intr);
297 struct nvkm_top_device *tdev;
302 list_for_each_entry(tdev, &device->top->device, head) {
303 if (tdev->intr < 0 || !(data->mask & BIT(tdev->intr)))
306 nvkm_intr_subdev_add_dev(intr, tdev->type, tdev->inst);