Home
last modified time | relevance | path

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

/linux-6.6.21/net/hsr/
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()
97 bool has_carrier; in hsr_check_carrier_and_operstate() local
104 has_carrier = hsr_check_carrier(master); in hsr_check_carrier_and_operstate()
105 hsr_set_operstate(master, has_carrier); in hsr_check_carrier_and_operstate()
/linux-6.6.21/net/bridge/
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()