Searched refs:m2p (Results 1 – 2 of 2) sorted by relevance
654 nge_mac2phy m2p; in nge_phys_init() local658 m2p.m2p_val = nge_reg_get32(ngep, NGE_MAC2PHY); in nge_phys_init()659 ngep->phy_mode = m2p.m2p_bits.in_type; in nge_phys_init()662 m2p.m2p_bits.in_type = RGMII_IN; in nge_phys_init()663 nge_reg_put32(ngep, NGE_MAC2PHY, m2p.m2p_val); in nge_phys_init()
1460 nge_mac2phy m2p; in nge_sync_mac_modes() local1468 m2p.m2p_val = nge_reg_get32(ngep, NGE_MAC2PHY); in nge_sync_mac_modes()1474 m2p.m2p_bits.speed = low_speed; in nge_sync_mac_modes()1488 m2p.m2p_bits.speed = fast_speed; in nge_sync_mac_modes()1502 m2p.m2p_bits.speed = giga_speed; in nge_sync_mac_modes()1519 m2p.m2p_bits.phyintr = NGE_CLEAR; in nge_sync_mac_modes()1520 m2p.m2p_bits.phyintrlvl = NGE_CLEAR; in nge_sync_mac_modes()1523 m2p.m2p_bits.hdup_en = NGE_SET; in nge_sync_mac_modes()1526 m2p.m2p_bits.hdup_en = NGE_CLEAR; in nge_sync_mac_modes()1527 nge_reg_put32(ngep, NGE_MAC2PHY, m2p.m2p_val); in nge_sync_mac_modes()