Searched refs:lan_port (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_phy.c | 24 reg |= FIELD_PREP(MAC_FORCE_RMII_LINK, mac->lan_port); in spl2sw_mii_link_change() 27 reg |= FIELD_PREP(MAC_FORCE_RMII_SPD, mac->lan_port); in spl2sw_mii_link_change() 29 reg &= FIELD_PREP(MAC_FORCE_RMII_SPD, ~mac->lan_port) | in spl2sw_mii_link_change() 34 reg |= FIELD_PREP(MAC_FORCE_RMII_DPX, mac->lan_port); in spl2sw_mii_link_change() 36 reg &= FIELD_PREP(MAC_FORCE_RMII_DPX, ~mac->lan_port) | in spl2sw_mii_link_change() 41 reg |= FIELD_PREP(MAC_FORCE_RMII_FC, mac->lan_port); in spl2sw_mii_link_change() 43 reg &= FIELD_PREP(MAC_FORCE_RMII_FC, ~mac->lan_port) | in spl2sw_mii_link_change() 47 reg &= FIELD_PREP(MAC_FORCE_RMII_LINK, ~mac->lan_port) | in spl2sw_mii_link_change()
|
H A D | spl2sw_mac.c | 225 mask = FIELD_PREP(MAC_DIS_MC2CPU, mac->lan_port) | in spl2sw_mac_rx_mode_set() 226 FIELD_PREP(MAC_DIS_UN2CPU, mac->lan_port); in spl2sw_mac_rx_mode_set() 231 rx_mode = FIELD_PREP(MAC_DIS_MC2CPU, mac->lan_port) | in spl2sw_mac_rx_mode_set() 232 FIELD_PREP(MAC_DIS_UN2CPU, mac->lan_port); in spl2sw_mac_rx_mode_set() 236 rx_mode = FIELD_PREP(MAC_DIS_MC2CPU, mac->lan_port); in spl2sw_mac_rx_mode_set()
|
H A D | spl2sw_driver.c | 31 netdev_dbg(ndev, "Open port = %x\n", mac->lan_port); in spl2sw_ethernet_open() 33 comm->enable |= mac->lan_port; in spl2sw_ethernet_open() 56 comm->enable &= ~mac->lan_port; in spl2sw_ethernet_stop() 462 mac->lan_port = 0x1 << i; /* forward to port i */ in spl2sw_probe()
|
H A D | spl2sw_define.h | 265 u8 lan_port; member
|