Lines Matching full:slaves
312 for (i = 0, speed = 0; i < cpsw->data.slaves; i++) in cpsw_get_common_speed()
313 if (cpsw->slaves[i].phy && cpsw->slaves[i].phy->link) in cpsw_get_common_speed()
314 speed += cpsw->slaves[i].phy->speed; in cpsw_get_common_speed()
485 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_init_common()
486 struct cpsw_slave *slave = &cpsw->slaves[i]; in cpsw_init_common()
556 struct cpsw_slave *slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_hwtstamp_v1()
583 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_hwtstamp_v2()
715 phy = cpsw->slaves[slave_no].phy; in cpsw_ndo_ioctl()
768 /* update rates for slaves tx queues */ in cpsw_ndo_set_tx_maxrate()
769 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_ndo_set_tx_maxrate()
770 slave = &cpsw->slaves[i]; in cpsw_ndo_set_tx_maxrate()
797 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_shp_is_off()
813 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_fifo_shp_on()
834 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_set_fifo_bw()
892 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_set_fifo_rlimit()
958 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_set_cbs()
1038 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_set_mqprio()
1218 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_destroy_xdp_rxqs()
1219 ndev = cpsw->slaves[i].ndev; in cpsw_destroy_xdp_rxqs()
1244 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_create_xdp_rxqs()
1245 ndev = cpsw->slaves[i].ndev; in cpsw_create_xdp_rxqs()