Home
last modified time | relevance | path

Searched refs:nr_addrs (Results 1 – 2 of 2) sorted by relevance

/drivers/char/ipmi/
Dkcs_bmc_aspeed.c229 static int aspeed_kcs_set_address(struct kcs_bmc_device *kcs_bmc, u32 addrs[2], int nr_addrs) in aspeed_kcs_set_address() argument
233 if (WARN_ON(nr_addrs < 1 || nr_addrs > 2)) in aspeed_kcs_set_address()
241 if (nr_addrs == 2) { in aspeed_kcs_set_address()
254 if (nr_addrs == 2) { in aspeed_kcs_set_address()
264 if (nr_addrs == 2) { in aspeed_kcs_set_address()
275 if (nr_addrs == 1) in aspeed_kcs_set_address()
564 int nr_addrs; in aspeed_kcs_probe() local
579 nr_addrs = aspeed_kcs_of_get_io_address(pdev, addrs); in aspeed_kcs_probe()
580 if (nr_addrs < 0) in aspeed_kcs_probe()
581 return nr_addrs; in aspeed_kcs_probe()
[all …]
/drivers/net/wireless/marvell/libertas/
Dmain.c326 struct net_device *dev, int nr_addrs) in lbs_add_mcast_addrs() argument
328 int i = nr_addrs; in lbs_add_mcast_addrs()
333 return nr_addrs; in lbs_add_mcast_addrs()
338 if (mac_in_list(cmd->maclist, nr_addrs, ha->addr)) { in lbs_add_mcast_addrs()
364 int nr_addrs; in lbs_update_mcast() local
386 nr_addrs = lbs_add_mcast_addrs(&mcast_cmd, priv->dev, 0); in lbs_update_mcast()
387 if (nr_addrs >= 0 && priv->mesh_dev) in lbs_update_mcast()
388 nr_addrs = lbs_add_mcast_addrs(&mcast_cmd, priv->mesh_dev, nr_addrs); in lbs_update_mcast()
389 if (nr_addrs < 0) in lbs_update_mcast()
392 if (nr_addrs) { in lbs_update_mcast()
[all …]