Lines Matching refs:port
64 struct hsr_port *port; in hsr_check_carrier() local
70 hsr_for_each_port(master->hsr, port) in hsr_check_carrier()
71 if ((port->type != HSR_PT_MASTER) && is_slave_up(port->dev)) { in hsr_check_carrier()
125 struct hsr_port *port; in hsr_get_max_mtu() local
129 hsr_for_each_port(hsr, port) in hsr_get_max_mtu()
130 if (port->type != HSR_PT_MASTER) in hsr_get_max_mtu()
131 mtu_max = min(port->dev->mtu, mtu_max); in hsr_get_max_mtu()
162 struct hsr_port *port; in hsr_dev_open() local
169 hsr_for_each_port(hsr, port) { in hsr_dev_open()
170 if (port->type == HSR_PT_MASTER) in hsr_dev_open()
172 switch (port->type) { in hsr_dev_open()
182 if (!is_slave_up(port->dev)) in hsr_dev_open()
184 designation, port->dev->name); in hsr_dev_open()
206 struct hsr_port *port; in hsr_features_recompute() local
218 hsr_for_each_port(hsr, port) in hsr_features_recompute()
220 port->dev->features, in hsr_features_recompute()
369 struct hsr_port *port; in hsr_dev_destroy() local
374 hsr_for_each_port(hsr, port) in hsr_dev_destroy()
375 hsr_del_port(port); in hsr_dev_destroy()
445 struct hsr_port *port; in hsr_dev_finalize() local
508 hsr_for_each_port(hsr, port) in hsr_dev_finalize()
509 hsr_del_port(port); in hsr_dev_finalize()