Lines Matching refs:mac_control
103 u32 mac_control; member
156 u32 mac_control; member
473 u32 mac_control = 0; in cpsw_slave_update_link() local
488 mac_control = priv->data->mac_control; in cpsw_slave_update_link()
490 mac_control |= GIGABITEN; in cpsw_slave_update_link()
492 mac_control |= FULLDUPLEXEN; in cpsw_slave_update_link()
494 mac_control |= MIIEN; in cpsw_slave_update_link()
496 mac_control |= CTL_EXT_EN; in cpsw_slave_update_link()
499 if (mac_control == slave->mac_control) in cpsw_slave_update_link()
502 if (mac_control) { in cpsw_slave_update_link()
510 __raw_writel(mac_control, &slave->sliver->mac_control); in cpsw_slave_update_link()
511 slave->mac_control = mac_control; in cpsw_slave_update_link()
550 slave->mac_control = 0; /* no link yet */ in cpsw_slave_init()
1279 ret = dev_read_u32(dev, "mac_control", &data->mac_control); in cpsw_eth_of_to_plat()