Lines Matching defs:nr_targets
1743 if (dev_WARN_ONCE(&cxld->dev, iw != cxlsd->nr_targets,
1797 int nr_targets)
1799 if (nr_targets > CXL_DECODER_MAX_INTERLEAVE)
1802 cxlsd->nr_targets = nr_targets;
1809 * @nr_targets: static number of downstream targets
1818 unsigned int nr_targets,
1829 cxlrd = kzalloc(struct_size(cxlrd, cxlsd.target, nr_targets),
1835 rc = cxl_switch_decoder_init(port, cxlsd, nr_targets);
1866 * @nr_targets: max number of dynamically addressable downstream targets
1875 unsigned int nr_targets)
1884 cxlsd = kzalloc(struct_size(cxlsd, target, nr_targets), GFP_KERNEL);
1888 rc = cxl_switch_decoder_init(port, cxlsd, nr_targets);