Lines Matching refs:mac_control
155 u32 mac_control; member
208 u32 mac_control; member
619 u32 mac_control = 0; in cpsw_slave_update_link() local
634 mac_control = priv->data.mac_control; in cpsw_slave_update_link()
636 mac_control |= GIGABITEN; in cpsw_slave_update_link()
638 mac_control |= FULLDUPLEXEN; in cpsw_slave_update_link()
640 mac_control |= MIIEN; in cpsw_slave_update_link()
643 if (mac_control == slave->mac_control) in cpsw_slave_update_link()
646 if (mac_control) { in cpsw_slave_update_link()
654 __raw_writel(mac_control, &slave->sliver->mac_control); in cpsw_slave_update_link()
655 slave->mac_control = mac_control; in cpsw_slave_update_link()
694 slave->mac_control = 0; /* no link yet */ in cpsw_slave_init()
1351 priv->data.mac_control = fdtdec_get_int(fdt, node, "mac_control", -1); in cpsw_eth_ofdata_to_platdata()
1352 if (priv->data.mac_control <= 0) { in cpsw_eth_ofdata_to_platdata()