Home
last modified time | relevance | path

Searched refs:lan_port (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_phy.c24 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 Dspl2sw_mac.c225 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 Dspl2sw_driver.c31 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 Dspl2sw_define.h265 u8 lan_port; member