Lines Matching refs:num_res
30 int num_res = 0; in apmt_init_resources() local
32 res[num_res].start = node->base_address0; in apmt_init_resources()
33 res[num_res].end = node->base_address0 + SZ_4K - 1; in apmt_init_resources()
34 res[num_res].flags = IORESOURCE_MEM; in apmt_init_resources()
36 num_res++; in apmt_init_resources()
39 res[num_res].start = node->base_address1; in apmt_init_resources()
40 res[num_res].end = node->base_address1 + SZ_4K - 1; in apmt_init_resources()
41 res[num_res].flags = IORESOURCE_MEM; in apmt_init_resources()
43 num_res++; in apmt_init_resources()
55 return num_res; in apmt_init_resources()
58 res[num_res].start = irq; in apmt_init_resources()
59 res[num_res].end = irq; in apmt_init_resources()
60 res[num_res].flags = IORESOURCE_IRQ; in apmt_init_resources()
62 num_res++; in apmt_init_resources()
65 return num_res; in apmt_init_resources()