Home
last modified time | relevance | path

Searched refs:new_carrier (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/include/linux/
Dphy_fixed.h20 extern int fixed_phy_change_carrier(struct net_device *dev, bool new_carrier);
66 static inline int fixed_phy_change_carrier(struct net_device *dev, bool new_carrier) in fixed_phy_change_carrier() argument
Dnetdevice.h1581 bool new_carrier);
/linux-6.1.9/drivers/net/
Ddummy.c82 static int dummy_change_carrier(struct net_device *dev, bool new_carrier) in dummy_change_carrier() argument
84 if (new_carrier) in dummy_change_carrier()
Dmii.c506 unsigned int old_carrier, new_carrier; in mii_check_media() local
512 new_carrier = (unsigned int) mii_link_ok(mii); in mii_check_media()
517 if ((!init_media) && (old_carrier == new_carrier)) in mii_check_media()
521 if (!new_carrier) { in mii_check_media()
Dtun.c1235 static int tun_net_change_carrier(struct net_device *dev, bool new_carrier) in tun_net_change_carrier() argument
1237 if (new_carrier) { in tun_net_change_carrier()
/linux-6.1.9/net/core/
Ddev.h87 int dev_change_carrier(struct net_device *dev, bool new_carrier);
Dnet-sysfs.c170 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier() argument
174 return dev_change_carrier(dev, (bool)new_carrier); in change_carrier()
Ddev.c8858 int dev_change_carrier(struct net_device *dev, bool new_carrier) in dev_change_carrier() argument
8866 return ops->ndo_change_carrier(dev, new_carrier); in dev_change_carrier()
/linux-6.1.9/drivers/net/phy/
Dfixed_phy.c48 int fixed_phy_change_carrier(struct net_device *dev, bool new_carrier) in fixed_phy_change_carrier() argument
59 fp->no_carrier = !new_carrier; in fixed_phy_change_carrier()
/linux-6.1.9/drivers/net/ethernet/davicom/
Ddm9000.c777 unsigned new_carrier; in dm9000_poll_work() local
779 new_carrier = (nsr & NSR_LINKST) ? 1 : 0; in dm9000_poll_work()
781 if (old_carrier != new_carrier) { in dm9000_poll_work()
783 dm9000_show_carrier(db, new_carrier, nsr); in dm9000_poll_work()
785 if (!new_carrier) in dm9000_poll_work()
/linux-6.1.9/drivers/net/ethernet/smsc/
Dsmc91x.c1161 unsigned int old_carrier, new_carrier; in smc_10bt_check_media() local
1166 new_carrier = (SMC_GET_EPH_STATUS(lp) & ES_LINK_OK) ? 1 : 0; in smc_10bt_check_media()
1169 if (init || (old_carrier != new_carrier)) { in smc_10bt_check_media()
1170 if (!new_carrier) { in smc_10bt_check_media()
1177 new_carrier ? "up" : "down"); in smc_10bt_check_media()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c619 static int mlx5e_rep_change_carrier(struct net_device *dev, bool new_carrier) in mlx5e_rep_change_carrier() argument
626 if (new_carrier) { in mlx5e_rep_change_carrier()
/linux-6.1.9/drivers/net/team/
Dteam.c2039 static int team_change_carrier(struct net_device *dev, bool new_carrier) in team_change_carrier() argument
2045 if (new_carrier) in team_change_carrier()
/linux-6.1.9/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c3691 static int bcmgenet_change_carrier(struct net_device *dev, bool new_carrier) in bcmgenet_change_carrier() argument
3699 if (new_carrier) in bcmgenet_change_carrier()