Home
last modified time | relevance | path

Searched refs:PORT_MODE_SHIFT (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/dsa/
H A Dbcm_sf2_regs.h123 #define PORT_MODE_SHIFT 2 macro
124 #define INT_EPHY (0 << PORT_MODE_SHIFT)
125 #define INT_GPHY (1 << PORT_MODE_SHIFT)
126 #define EXT_EPHY (2 << PORT_MODE_SHIFT)
127 #define EXT_GPHY (3 << PORT_MODE_SHIFT)
128 #define EXT_REVMII (4 << PORT_MODE_SHIFT)
H A Dbcm_sf2.c785 reg &= ~(PORT_MODE_MASK << PORT_MODE_SHIFT); in bcm_sf2_sw_mac_config()