Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/char/ipmi/
Dipmi_si_hardcode.c20 static unsigned int num_addrs; variable
39 module_param_hw_array(addrs, ulong, iomem, &num_addrs, 0);
143 if (i < num_addrs && addrs[i]) in ipmi_hardcode_init()
169 for (i = 0; i < num_addrs; i++) { in ipmi_si_hardcode_match()
Dipmi_ssif.c1183 static int num_addrs; variable
1184 module_param_array(addr, ushort, &num_addrs, 0);
2131 for (i = 0; i < num_addrs; i++) { in init_ipmi_ssif()
/Linux-v5.10/arch/parisc/kernel/
Dinventory.c519 add_system_map_addresses(struct parisc_device *dev, int num_addrs, in add_system_map_addresses() argument
526 dev->addr = kmalloc_array(num_addrs, sizeof(*dev->addr), GFP_KERNEL); in add_system_map_addresses()
533 for(i = 1; i <= num_addrs; ++i) { in add_system_map_addresses()
537 dev->addr[dev->num_addrs] = (unsigned long)addr_result.mod_addr; in add_system_map_addresses()
538 dev->num_addrs++; in add_system_map_addresses()
Ddrivers.c897 if (dev->num_addrs) { in print_parisc_device()
900 for (k = 0; k < dev->num_addrs; k++) in print_parisc_device()
1068 pr_info("#define HPA_%08lx_num_addr %d\n", hpa, dev->num_addrs); in qemu_print_iodc_data()
1071 if (dev->num_addrs == 0) in qemu_print_iodc_data()
1073 while (count < dev->num_addrs) { in qemu_print_iodc_data()
/Linux-v5.10/arch/parisc/include/asm/
Dparisc-device.h16 unsigned int num_addrs; /* some devices have additional address ranges. */ member
/Linux-v5.10/drivers/net/ethernet/amd/
Dnmclan_cs.c1360 int num_addrs = lp->multicast_num_addrs; in restore_multicast_list() local
1366 dev->name, num_addrs); in restore_multicast_list()
1368 if (num_addrs > 0) { in restore_multicast_list()
1383 } else if (num_addrs < 0) { in restore_multicast_list()
1435 if (num_addrs > 0) { in set_multicast_list()
Dlance.c1295 int num_addrs=netdev_mc_count(dev); in set_multicast_list() local
1297 num_addrs=1; in set_multicast_list()
1299 memset(multicast_table, (num_addrs == 0) ? 0 : -1, sizeof(multicast_table)); in set_multicast_list()
Dsun3lance.c905 int num_addrs = netdev_mc_count(dev); in set_multicast_list() local
909 memset( multicast_table, (num_addrs == 0) ? 0 : -1, in set_multicast_list()
Dariadne.c662 int num_addrs = netdev_mc_count(dev); in set_multicast_list() local
667 memset(multicast_table, (num_addrs == 0) ? 0 : -1, in set_multicast_list()
Datarilance.c1090 int num_addrs = netdev_mc_count(dev); in set_multicast_list() local
1094 memset( multicast_table, (num_addrs == 0) ? 0 : -1, in set_multicast_list()
/Linux-v5.10/drivers/net/ethernet/i825xx/
Dsun3_82586.c414 int num_addrs=netdev_mc_count(dev); in init586() local
434 if(num_addrs > len) { in init586()
528 if(num_addrs && !(dev->flags & IFF_PROMISC) ) in init586()
534 mc_cmd->mc_cnt = swab16(num_addrs * 6); in init586()
/Linux-v5.10/drivers/net/ethernet/apple/
Dbmac.c971 int num_addrs = netdev_mc_count(dev); in bmac_set_multicast() local
978 XXDEBUG(("bmac: enter bmac_set_multicast, n_addrs=%d\n", num_addrs)); in bmac_set_multicast()
985 } else if ((dev->flags & IFF_PROMISC) || (num_addrs < 0)) { in bmac_set_multicast()
994 if (num_addrs == 0) { in bmac_set_multicast()
/Linux-v5.10/arch/arm/mach-omap2/
Domap_hwmod.c198 int num_addrs; member
717 provider->num_addrs = in _setup_clkctrl_provider()
721 memblock_alloc(sizeof(void *) * provider->num_addrs, in _setup_clkctrl_provider()
727 memblock_alloc(sizeof(u32) * provider->num_addrs, in _setup_clkctrl_provider()
732 for (i = 0; i < provider->num_addrs; i++) { in _setup_clkctrl_provider()
787 for (i = 0; i < provider->num_addrs; i++) { in _lookup_clkctrl_clk()
/Linux-v5.10/drivers/parisc/
Deisa.c342 if (dev->num_addrs) { in eisa_probe()
/Linux-v5.10/drivers/net/wireless/st/cw1200/
Dwsm.h1709 __le32 num_addrs; member
Dsta.c565 priv->multicast_filter.num_addrs = __cpu_to_le32(count); in cw1200_prepare_multicast()
/Linux-v5.10/drivers/video/console/
Dsticore.c964 if (dev->num_addrs && dev->addr[0]) in sticore_pa_init()
/Linux-v5.10/drivers/net/ethernet/sfc/
Def10.c350 int num_addrs, rc; in efx_ef10_get_mac_address_vf() local
362 num_addrs = MCDI_DWORD(outbuf, in efx_ef10_get_mac_address_vf()
365 WARN_ON(num_addrs != 1); in efx_ef10_get_mac_address_vf()