Lines Matching defs:port
19 #define A5PSW_PORT_OFFSET(port) (0x400 * (port)) argument
22 #define A5PSW_PORT_ENA_TX(port) BIT(port) argument
24 #define A5PSW_PORT_ENA_TX_RX(port) (BIT((port) + A5PSW_PORT_ENA_RX_SHIFT) | \ argument
46 #define A5PSW_VLAN_IN_MODE_PORT_SHIFT(port) ((port) * 2) argument
47 #define A5PSW_VLAN_IN_MODE_PORT(port) (GENMASK(1, 0) << \ argument
54 #define A5PSW_VLAN_OUT_MODE_PORT_SHIFT(port) ((port) * 2) argument
55 #define A5PSW_VLAN_OUT_MODE_PORT(port) (GENMASK(1, 0) << \ argument
65 #define A5PSW_SYSTEM_TAGINFO(port) (0x200 + 4 * (port)) argument
67 #define A5PSW_AUTH_PORT(port) (0x240 + 4 * (port)) argument
77 #define A5PSW_RXMATCH_CONFIG(port) (0x3e80 + 4 * (port)) argument
134 #define A5PSW_CMD_CFG(port) (0x808 + A5PSW_PORT_OFFSET(port)) argument
145 #define A5PSW_FRM_LENGTH(port) (0x814 + A5PSW_PORT_OFFSET(port)) argument
148 #define A5PSW_STATUS(port) (0x840 + A5PSW_PORT_OFFSET(port)) argument