Searched refs:new_carrier (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/include/linux/ |
D | phy_fixed.h | 20 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
|
D | netdevice.h | 1581 bool new_carrier);
|
/linux-6.1.9/drivers/net/ |
D | dummy.c | 82 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()
|
D | mii.c | 506 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()
|
D | tun.c | 1235 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/ |
D | dev.h | 87 int dev_change_carrier(struct net_device *dev, bool new_carrier);
|
D | net-sysfs.c | 170 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()
|
D | dev.c | 8858 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/ |
D | fixed_phy.c | 48 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/ |
D | dm9000.c | 777 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/ |
D | smc91x.c | 1161 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/ |
D | en_rep.c | 619 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/ |
D | team.c | 2039 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/ |
D | bcmgenet.c | 3691 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()
|