Lines Matching refs:FUNC

56 static struct rt2880_pmx_func i2c_grp[] =  { FUNC("i2c", 0, 1, 2) };
57 static struct rt2880_pmx_func spi_grp[] = { FUNC("spi", 0, 3, 4) };
58 static struct rt2880_pmx_func uartlite_grp[] = { FUNC("uartlite", 0, 15, 2) };
60 FUNC("mdio", MT7620_GPIO_MODE_MDIO, 22, 2),
61 FUNC("refclk", MT7620_GPIO_MODE_MDIO_REFCLK, 22, 2),
63 static struct rt2880_pmx_func rgmii1_grp[] = { FUNC("rgmii1", 0, 24, 12) };
64 static struct rt2880_pmx_func refclk_grp[] = { FUNC("spi refclk", 0, 37, 3) };
65 static struct rt2880_pmx_func ephy_grp[] = { FUNC("ephy", 0, 40, 5) };
66 static struct rt2880_pmx_func rgmii2_grp[] = { FUNC("rgmii2", 0, 60, 12) };
67 static struct rt2880_pmx_func wled_grp[] = { FUNC("wled", 0, 72, 1) };
68 static struct rt2880_pmx_func pa_grp[] = { FUNC("pa", 0, 18, 4) };
70 FUNC("uartf", MT7620_GPIO_MODE_UARTF, 7, 8),
71 FUNC("pcm uartf", MT7620_GPIO_MODE_PCM_UARTF, 7, 8),
72 FUNC("pcm i2s", MT7620_GPIO_MODE_PCM_I2S, 7, 8),
73 FUNC("i2s uartf", MT7620_GPIO_MODE_I2S_UARTF, 7, 8),
74 FUNC("pcm gpio", MT7620_GPIO_MODE_PCM_GPIO, 11, 4),
75 FUNC("gpio uartf", MT7620_GPIO_MODE_GPIO_UARTF, 7, 4),
76 FUNC("gpio i2s", MT7620_GPIO_MODE_GPIO_I2S, 7, 4),
79 FUNC("wdt rst", 0, 17, 1),
80 FUNC("wdt refclk", 0, 17, 1),
83 FUNC("pcie rst", MT7620_GPIO_MODE_PCIE_RST, 36, 1),
84 FUNC("pcie refclk", MT7620_GPIO_MODE_PCIE_REF, 36, 1)
87 FUNC("nand", MT7620_GPIO_MODE_NAND, 45, 15),
88 FUNC("sd", MT7620_GPIO_MODE_SD, 47, 13)
115 FUNC("sdxc d6", 3, 19, 1),
116 FUNC("utif", 2, 19, 1),
117 FUNC("gpio", 1, 19, 1),
118 FUNC("pwm1", 0, 19, 1),
122 FUNC("sdxc d7", 3, 18, 1),
123 FUNC("utif", 2, 18, 1),
124 FUNC("gpio", 1, 18, 1),
125 FUNC("pwm0", 0, 18, 1),
129 FUNC("sdxc d5 d4", 3, 20, 2),
130 FUNC("pwm", 2, 20, 2),
131 FUNC("gpio", 1, 20, 2),
132 FUNC("uart2", 0, 20, 2),
136 FUNC("sw_r", 3, 45, 2),
137 FUNC("pwm", 2, 45, 2),
138 FUNC("gpio", 1, 45, 2),
139 FUNC("uart1", 0, 45, 2),
143 FUNC("-", 3, 4, 2),
144 FUNC("debug", 2, 4, 2),
145 FUNC("gpio", 1, 4, 2),
146 FUNC("i2c", 0, 4, 2),
149 static struct rt2880_pmx_func refclk_grp_mt7628[] = { FUNC("refclk", 0, 37, 1) };
150 static struct rt2880_pmx_func perst_grp_mt7628[] = { FUNC("perst", 0, 36, 1) };
151 static struct rt2880_pmx_func wdt_grp_mt7628[] = { FUNC("wdt", 0, 38, 1) };
152 static struct rt2880_pmx_func spi_grp_mt7628[] = { FUNC("spi", 0, 7, 4) };
155 FUNC("jtag", 3, 22, 8),
156 FUNC("utif", 2, 22, 8),
157 FUNC("gpio", 1, 22, 8),
158 FUNC("sdxc", 0, 22, 8),
162 FUNC("-", 3, 12, 2),
163 FUNC("-", 2, 12, 2),
164 FUNC("gpio", 1, 12, 2),
165 FUNC("uart0", 0, 12, 2),
169 FUNC("antenna", 3, 0, 4),
170 FUNC("pcm", 2, 0, 4),
171 FUNC("gpio", 1, 0, 4),
172 FUNC("i2s", 0, 0, 4),
176 FUNC("-", 3, 6, 1),
177 FUNC("refclk", 2, 6, 1),
178 FUNC("gpio", 1, 6, 1),
179 FUNC("spi cs1", 0, 6, 1),
183 FUNC("pwm_uart2", 3, 14, 4),
184 FUNC("utif", 2, 14, 4),
185 FUNC("gpio", 1, 14, 4),
186 FUNC("spis", 0, 14, 4),
190 FUNC("pcie", 3, 11, 1),
191 FUNC("refclk", 2, 11, 1),
192 FUNC("gpio", 1, 11, 1),
193 FUNC("gpio", 0, 11, 1),
197 FUNC("jtag", 3, 30, 1),
198 FUNC("utif", 2, 30, 1),
199 FUNC("gpio", 1, 30, 1),
200 FUNC("p4led_kn", 0, 30, 1),
204 FUNC("jtag", 3, 31, 1),
205 FUNC("utif", 2, 31, 1),
206 FUNC("gpio", 1, 31, 1),
207 FUNC("p3led_kn", 0, 31, 1),
211 FUNC("jtag", 3, 32, 1),
212 FUNC("utif", 2, 32, 1),
213 FUNC("gpio", 1, 32, 1),
214 FUNC("p2led_kn", 0, 32, 1),
218 FUNC("jtag", 3, 33, 1),
219 FUNC("utif", 2, 33, 1),
220 FUNC("gpio", 1, 33, 1),
221 FUNC("p1led_kn", 0, 33, 1),
225 FUNC("jtag", 3, 34, 1),
226 FUNC("rsvd", 2, 34, 1),
227 FUNC("gpio", 1, 34, 1),
228 FUNC("p0led_kn", 0, 34, 1),
232 FUNC("rsvd", 3, 35, 1),
233 FUNC("rsvd", 2, 35, 1),
234 FUNC("gpio", 1, 35, 1),
235 FUNC("wled_kn", 0, 35, 1),
239 FUNC("jtag", 3, 39, 1),
240 FUNC("utif", 2, 39, 1),
241 FUNC("gpio", 1, 39, 1),
242 FUNC("p4led_an", 0, 39, 1),
246 FUNC("jtag", 3, 40, 1),
247 FUNC("utif", 2, 40, 1),
248 FUNC("gpio", 1, 40, 1),
249 FUNC("p3led_an", 0, 40, 1),
253 FUNC("jtag", 3, 41, 1),
254 FUNC("utif", 2, 41, 1),
255 FUNC("gpio", 1, 41, 1),
256 FUNC("p2led_an", 0, 41, 1),
260 FUNC("jtag", 3, 42, 1),
261 FUNC("utif", 2, 42, 1),
262 FUNC("gpio", 1, 42, 1),
263 FUNC("p1led_an", 0, 42, 1),
267 FUNC("jtag", 3, 43, 1),
268 FUNC("rsvd", 2, 43, 1),
269 FUNC("gpio", 1, 43, 1),
270 FUNC("p0led_an", 0, 43, 1),
274 FUNC("rsvd", 3, 44, 1),
275 FUNC("rsvd", 2, 44, 1),
276 FUNC("gpio", 1, 44, 1),
277 FUNC("wled_an", 0, 44, 1),