Lines Matching refs:nres
407 struct resource *res, int nres) in intel_th_device_add_resources() argument
411 r = kmemdup(res, sizeof(*res) * nres, GFP_KERNEL); in intel_th_device_add_resources()
416 thdev->num_resources = nres; in intel_th_device_add_resources()
439 unsigned nres; member
447 .nres = 1,
461 .nres = 2,
482 .nres = 2,
503 .nres = 2,
521 .nres = 2,
539 .nres = 1,
554 .nres = 1,
569 .nres = 1,
632 sizeof(struct resource) * subdev->nres); in intel_th_subdevice_alloc()
634 for (r = 0; r < subdev->nres; r++) { in intel_th_subdevice_alloc()
668 err = intel_th_device_add_resources(thdev, res, subdev->nres); in intel_th_subdevice_alloc()