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()
1465 nge_mac2phy m2p; in nge_sync_mac_modes() local1473 m2p.m2p_val = nge_reg_get32(ngep, NGE_MAC2PHY); in nge_sync_mac_modes()1479 m2p.m2p_bits.speed = low_speed; in nge_sync_mac_modes()1493 m2p.m2p_bits.speed = fast_speed; in nge_sync_mac_modes()1507 m2p.m2p_bits.speed = giga_speed; in nge_sync_mac_modes()1524 m2p.m2p_bits.phyintr = NGE_CLEAR; in nge_sync_mac_modes()1525 m2p.m2p_bits.phyintrlvl = NGE_CLEAR; in nge_sync_mac_modes()1528 m2p.m2p_bits.hdup_en = NGE_SET; in nge_sync_mac_modes()1531 m2p.m2p_bits.hdup_en = NGE_CLEAR; in nge_sync_mac_modes()1532 nge_reg_put32(ngep, NGE_MAC2PHY, m2p.m2p_val); in nge_sync_mac_modes()