Searched refs:num_addrs (Results 1 – 3 of 3) sorted by relevance
501 add_system_map_addresses(struct parisc_device *dev, int num_addrs, in add_system_map_addresses() argument508 dev->addr = kmalloc(num_addrs * sizeof(unsigned long), GFP_KERNEL); in add_system_map_addresses()515 for(i = 1; i <= num_addrs; ++i) { in add_system_map_addresses()519 dev->addr[dev->num_addrs] = (unsigned long)addr_result.mod_addr; in add_system_map_addresses()520 dev->num_addrs++; in add_system_map_addresses()
886 if (dev->num_addrs) { in print_parisc_device()889 for (k = 0; k < dev->num_addrs; k++) in print_parisc_device()
15 unsigned int num_addrs; /* some devices have additional address ranges. */ member