Lines Matching refs:sfp
23 static void print_mac_address(struct seq_file *sfp, unsigned char *mac) in print_mac_address() argument
25 seq_printf(sfp, "%02x:%02x:%02x:%02x:%02x:%02x:", in print_mac_address()
31 hsr_node_table_show(struct seq_file *sfp, void *data) in hsr_node_table_show() argument
33 struct hsr_priv *priv = (struct hsr_priv *)sfp->private; in hsr_node_table_show()
36 seq_puts(sfp, "Node Table entries\n"); in hsr_node_table_show()
37 seq_puts(sfp, "MAC-Address-A, MAC-Address-B, time_in[A], "); in hsr_node_table_show()
38 seq_puts(sfp, "time_in[B], Address-B port\n"); in hsr_node_table_show()
44 print_mac_address(sfp, &node->macaddress_A[0]); in hsr_node_table_show()
45 seq_puts(sfp, " "); in hsr_node_table_show()
46 print_mac_address(sfp, &node->macaddress_B[0]); in hsr_node_table_show()
47 seq_printf(sfp, "0x%lx, ", node->time_in[HSR_PT_SLAVE_A]); in hsr_node_table_show()
48 seq_printf(sfp, "0x%lx ", node->time_in[HSR_PT_SLAVE_B]); in hsr_node_table_show()
49 seq_printf(sfp, "0x%x\n", node->addr_B_port); in hsr_node_table_show()