Lines Matching refs:slave
14 struct slave *slave; in bond_info_seq_start() local
24 bond_for_each_slave(bond, slave, i) { in bond_info_seq_start()
26 return slave; in bond_info_seq_start()
35 struct slave *slave = v; in bond_info_seq_next() local
41 slave = slave->next; in bond_info_seq_next()
43 return (slave == bond->first_slave) ? NULL : slave; in bond_info_seq_next()
59 struct slave *curr; in bond_info_show_master()
166 const struct slave *slave) in bond_info_show_slave() argument
170 seq_printf(seq, "\nSlave Interface: %s\n", slave->dev->name); in bond_info_show_slave()
171 seq_printf(seq, "MII Status: %s\n", bond_slave_link_status(slave->link)); in bond_info_show_slave()
172 if (slave->speed == SPEED_UNKNOWN) in bond_info_show_slave()
175 seq_printf(seq, "Speed: %d Mbps\n", slave->speed); in bond_info_show_slave()
177 if (slave->duplex == DUPLEX_UNKNOWN) in bond_info_show_slave()
180 seq_printf(seq, "Duplex: %s\n", slave->duplex ? "full" : "half"); in bond_info_show_slave()
183 slave->link_failure_count); in bond_info_show_slave()
185 seq_printf(seq, "Permanent HW addr: %pM\n", slave->perm_hwaddr); in bond_info_show_slave()
189 = SLAVE_AD_INFO(slave).port.aggregator; in bond_info_show_slave()
197 seq_printf(seq, "Slave queue ID: %d\n", slave->queue_id); in bond_info_show_slave()