Lines Matching refs:n
67 #define FM_DTSEC_INFO_INITIALIZER(idx, n) \ argument
71 .num = n - 1, \
73 .port = FM##idx##_DTSEC##n, \
74 .rx_port_id = RX_PORT_1G_BASE + n - 1, \
75 .tx_port_id = TX_PORT_1G_BASE + n - 1, \
77 offsetof(struct ccsr_fman, memac[n-1]),\
81 #define FM_TGEC_INFO_INITIALIZER(idx, n) \ argument
85 .num = n - 1, \
87 .port = FM##idx##_10GEC##n, \
88 .rx_port_id = RX_PORT_10G_BASE2 + n - 1, \
89 .tx_port_id = TX_PORT_10G_BASE2 + n - 1, \
91 offsetof(struct ccsr_fman, memac[n-1]),\
95 #define FM_TGEC_INFO_INITIALIZER(idx, n) \ argument
99 .num = n - 1, \
101 .port = FM##idx##_10GEC##n, \
102 .rx_port_id = RX_PORT_10G_BASE + n - 1, \
103 .tx_port_id = TX_PORT_10G_BASE + n - 1, \
105 offsetof(struct ccsr_fman, memac[n-1+8]),\
108 #define FM_TGEC_INFO_INITIALIZER(idx, n) \ argument
112 .num = n - 1, \
114 .port = FM##idx##_10GEC##n, \
115 .rx_port_id = RX_PORT_10G_BASE + n - 1, \
116 .tx_port_id = TX_PORT_10G_BASE + n - 1, \
118 offsetof(struct ccsr_fman, memac[n-1+8]),\
124 #define FM_TGEC_INFO_INITIALIZER2(idx, n) \ argument
128 .num = n - 1, \
130 .port = FM##idx##_10GEC##n, \
131 .rx_port_id = RX_PORT_10G_BASE2 + n - 3, \
132 .tx_port_id = TX_PORT_10G_BASE2 + n - 3, \
134 offsetof(struct ccsr_fman, memac[n-1-2]),\
139 #define FM_DTSEC_INFO_INITIALIZER(idx, n) \ argument
143 .num = n - 1, \
145 .port = FM##idx##_DTSEC##n, \
146 .rx_port_id = RX_PORT_1G_BASE + n - 1, \
147 .tx_port_id = TX_PORT_1G_BASE + n - 1, \
149 offsetof(struct ccsr_fman, mac_1g[n-1]),\
152 #define FM_TGEC_INFO_INITIALIZER(idx, n) \ argument
156 .num = n - 1, \
158 .port = FM##idx##_10GEC##n, \
159 .rx_port_id = RX_PORT_10G_BASE + n - 1, \
160 .tx_port_id = TX_PORT_10G_BASE + n - 1, \
162 offsetof(struct ccsr_fman, mac_10g[n-1]),\