Lines Matching refs:mac_control
1060 u32 mac_control = 0; in _cpsw_adjust_link() local
1070 mac_control = CPSW_SL_CTL_GMII_EN; in _cpsw_adjust_link()
1073 mac_control |= CPSW_SL_CTL_GIG; in _cpsw_adjust_link()
1075 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in _cpsw_adjust_link()
1079 mac_control |= CPSW_SL_CTL_IFCTL_A; in _cpsw_adjust_link()
1082 mac_control |= CPSW_SL_CTL_EXT_EN; /* In Band mode */ in _cpsw_adjust_link()
1085 mac_control |= CPSW_SL_CTL_RX_FLOW_EN; in _cpsw_adjust_link()
1088 mac_control |= CPSW_SL_CTL_TX_FLOW_EN; in _cpsw_adjust_link()
1090 if (mac_control != slave->mac_control) in _cpsw_adjust_link()
1091 cpsw_sl_ctl_set(slave->mac_sl, mac_control); in _cpsw_adjust_link()
1105 mac_control = 0; in _cpsw_adjust_link()
1115 if (mac_control != slave->mac_control) in _cpsw_adjust_link()
1118 slave->mac_control = mac_control; in _cpsw_adjust_link()
1243 slave->mac_control = 0; /* no link yet */ in cpsw_slave_open()
2543 data->mac_control = prop; in cpsw_probe_dt()