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

/linux-4.4.14/net/hsr/
H A Dhsr_device.c49 static void hsr_set_operstate(struct hsr_port *master, bool has_carrier) hsr_set_operstate() argument
56 if (has_carrier) hsr_set_operstate()
65 bool has_carrier; hsr_check_carrier() local
67 has_carrier = false; hsr_check_carrier()
72 has_carrier = true; hsr_check_carrier()
77 if (has_carrier) hsr_check_carrier()
82 return has_carrier; hsr_check_carrier()
110 bool has_carrier; hsr_check_carrier_and_operstate() local
117 has_carrier = hsr_check_carrier(master); hsr_check_carrier_and_operstate()
118 hsr_set_operstate(master, has_carrier); hsr_check_carrier_and_operstate()

Completed in 84 milliseconds