Home
last modified time | relevance | path

Searched refs:slave_num (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/drivers/net/
Dcpsw.c207 int slave_num; member
648 slave->slave_num, phy->speed, in cpsw_slave_update_link()
651 printf("link down on port %d\n", slave->slave_num); in cpsw_slave_update_link()
672 static inline u32 cpsw_get_slave_port(struct cpsw_priv *priv, u32 slave_num) in cpsw_get_slave_port() argument
675 return slave_num + 1; in cpsw_get_slave_port()
677 return slave_num; in cpsw_get_slave_port()
697 slave_port = cpsw_get_slave_port(priv, slave->slave_num); in cpsw_slave_init()
973 static void cpsw_slave_setup(struct cpsw_slave *slave, int slave_num, in cpsw_slave_setup() argument
977 struct cpsw_slave_data *data = priv->data.slave_data + slave_num; in cpsw_slave_setup()
978 slave->slave_num = slave_num; in cpsw_slave_setup()