Home
last modified time | relevance | path

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

/openbmc/linux/net/hsr/
H A Dhsr_device.c43 static void hsr_set_operstate(struct hsr_port *master, bool has_carrier) in hsr_set_operstate() argument
50 if (has_carrier) in hsr_set_operstate()
95 bool has_carrier; in hsr_check_carrier_and_operstate() local
101 has_carrier = hsr_check_carrier(master); in hsr_check_carrier_and_operstate()
102 hsr_set_operstate(master, has_carrier); in hsr_check_carrier_and_operstate()
/openbmc/linux/net/bridge/
H A Dbr_vlan.c1626 bool has_carrier = false; in br_vlan_set_vlan_dev_state() local
1636 has_carrier = true; in br_vlan_set_vlan_dev_state()
1641 if (has_carrier) in br_vlan_set_vlan_dev_state()