Lines Matching defs:max
197 u32 max = 0, entry, reg_size;
211 of_property_read_u32(node, "ti,max-crossbar-sources",
214 pr_err("missing 'ti,max-crossbar-sources' property\n");
219 of_property_read_u32(node, "ti,max-irqs", &max);
220 if (!max) {
221 pr_err("missing 'ti,max-irqs' property\n");
225 cb->irq_map = kcalloc(max, sizeof(int), GFP_KERNEL);
229 cb->int_max = max;
231 for (i = 0; i < max; i++)
243 if (entry >= max) {
261 if (entry >= max) {
271 cb->register_offsets = kcalloc(max, sizeof(int), GFP_KERNEL);
298 for (i = 0; i < max; i++) {
308 for (i = 0; i < max; i++) {