Lines Matching refs:hsr
28 struct hsr_priv *hsr; in hsr_netdev_notify() local
37 hsr = netdev_priv(dev); in hsr_netdev_notify()
38 port = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_netdev_notify()
44 hsr = port->hsr; in hsr_netdev_notify()
51 hsr_check_carrier_and_operstate(hsr); in hsr_netdev_notify()
62 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_netdev_notify()
70 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_netdev_notify()
71 res = hsr_create_self_node(&hsr->self_node_db, in hsr_netdev_notify()
83 mtu_max = hsr_get_max_mtu(port->hsr); in hsr_netdev_notify()
84 master = hsr_port_get_hsr(port->hsr, HSR_PT_MASTER); in hsr_netdev_notify()
101 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt) in hsr_port_get_hsr() argument
105 hsr_for_each_port(hsr, port) in hsr_port_get_hsr()