Home
last modified time | relevance | path

Searched refs:num_addrs (Results 1 – 22 of 22) sorted by relevance

/linux-2.4.37.9/arch/sparc64/kernel/
Debus.c110 dev->num_addrs = len / sizeof(regs[0]); in fill_ebus_child()
120 for (i = 0; i < dev->num_addrs; i++) in fill_ebus_child()
123 for (i = 0; i < dev->num_addrs; i++) { in fill_ebus_child()
125 if (rnum >= dev->parent->num_addrs) { in fill_ebus_child()
127 dev->prom_name, len, dev->parent->num_addrs); in fill_ebus_child()
199 dev->num_addrs = 0; in fill_ebus_device()
209 dev->num_addrs = len / sizeof(struct linux_prom_registers); in fill_ebus_device()
211 for (i = 0; i < dev->num_addrs; i++) { in fill_ebus_device()
/linux-2.4.37.9/arch/sparc/kernel/
Debus.c105 dev->num_addrs = len / sizeof(regs[0]); in fill_ebus_child()
107 for (i = 0; i < dev->num_addrs; i++) { in fill_ebus_child()
108 if (regs[i] >= dev->parent->num_addrs) { in fill_ebus_child()
110 dev->prom_name, len, dev->parent->num_addrs); in fill_ebus_child()
167 dev->num_addrs = len / sizeof(struct linux_prom_registers); in fill_ebus_device()
169 for (i = 0; i < dev->num_addrs; i++) { in fill_ebus_device()
/linux-2.4.37.9/arch/parisc/kernel/
Dinventory.c489 add_system_map_addresses(struct parisc_device *dev, int num_addrs, in add_system_map_addresses() argument
496 dev->addr = kmalloc(num_addrs * sizeof(unsigned long), GFP_KERNEL); in add_system_map_addresses()
503 for(i = 1; i <= num_addrs; ++i) { in add_system_map_addresses()
507 dev->addr[dev->num_addrs] = (unsigned long)addr_result.mod_addr; in add_system_map_addresses()
508 dev->num_addrs++; in add_system_map_addresses()
Ddrivers.c588 if (dev->num_addrs) { in print_parisc_device()
591 for (k = 0; k < dev->num_addrs; k++) in print_parisc_device()
/linux-2.4.37.9/include/asm-sparc/
Debus.h24 int num_addrs; member
36 int num_addrs; member
/linux-2.4.37.9/include/asm-sparc64/
Debus.h21 int num_addrs; member
33 int num_addrs; member
/linux-2.4.37.9/drivers/net/
D3c523.c610 int num_addrs = dev->mc_count; in init586() local
762 if (len < num_addrs) { in init586()
763 num_addrs = len; in init586()
765 dev->name, num_addrs); in init586()
771 mc_cmd->mc_cnt = num_addrs * 6; in init586()
772 for (i = 0; i < num_addrs; i++) { in init586()
Dsun3_82586.c396 int num_addrs=dev->mc_count; in init586() local
416 if(num_addrs > len) { in init586()
513 if(num_addrs && !(dev->flags & IFF_PROMISC) ) in init586()
519 mc_cmd->mc_cnt = swab16(num_addrs * 6); in init586()
521 for(i=0;i<num_addrs;i++,dmi=dmi->next) in init586()
Dni52.c547 int num_addrs=dev->mc_count; in init586() local
567 if(num_addrs > len) { in init586()
664 if(num_addrs && !(dev->flags & IFF_PROMISC) ) in init586()
670 mc_cmd->mc_cnt = num_addrs * 6; in init586()
672 for(i=0;i<num_addrs;i++,dmi=dmi->next) in init586()
Dlance.c1218 int num_addrs=dev->mc_count; in set_multicast_list() local
1220 num_addrs=1; in set_multicast_list()
1222 memset(multicast_table, (num_addrs == 0) ? 0 : -1, sizeof(multicast_table)); in set_multicast_list()
Dznet.c680 if (num_addrs > 0) { in set_multicast_list()
681 int addrs_len = 6*num_addrs; in set_multicast_list()
Dsun3lance.c905 int num_addrs = dev->mc_count; in set_multicast_list() local
909 memset( multicast_table, (num_addrs == 0) ? 0 : -1, in set_multicast_list()
Dbmac.c1016 int num_addrs = dev->mc_count; in bmac_set_multicast() local
1023 XXDEBUG(("bmac: enter bmac_set_multicast, n_addrs=%d\n", num_addrs)); in bmac_set_multicast()
1030 } else if ((dev->flags & IFF_PROMISC) || (num_addrs < 0)) { in bmac_set_multicast()
1039 if (num_addrs == 0) { in bmac_set_multicast()
Dariadne.c819 int num_addrs = dev->mc_count; in set_multicast_list() local
822 memset(multicast_table, (num_addrs == 0) ? 0 : -1, in set_multicast_list()
Datarilance.c1119 int num_addrs = dev->mc_count; in set_multicast_list() local
1123 memset( multicast_table, (num_addrs == 0) ? 0 : -1, in set_multicast_list()
Dbagetlance.c1274 int num_addrs = dev->mc_count; local
1278 memset( multicast_table, (num_addrs == 0) ? 0 : -1,
Dseeq8005.c593 if (num_addrs) { /* Enable promiscuous mode */ in set_multicast_list()
/linux-2.4.37.9/include/asm-parisc/
Dhardware.h38 unsigned int num_addrs; /* some devices have additional address ranges. */ member
/linux-2.4.37.9/drivers/net/pcmcia/
Dnmclan_cs.c1584 int num_addrs = lp->multicast_num_addrs; in restore_multicast_list() local
1590 dev->name, num_addrs); in restore_multicast_list()
1592 if (num_addrs > 0) { in restore_multicast_list()
1607 } else if (num_addrs < 0) { in restore_multicast_list()
1660 if (num_addrs > 0) { in set_multicast_list()
/linux-2.4.37.9/drivers/gsc/
Deisa.c363 if (dev->num_addrs) { in eisa_probe()
/linux-2.4.37.9/drivers/sbus/char/
Dbbc_i2c.c368 if (edev->num_addrs == 2) { in attach_one_i2c()
/linux-2.4.37.9/drivers/video/sti/
Dsticore.c909 if(dev->num_addrs) { in sticore_pa_init()