Lines Matching refs:FUNC

57 static struct ralink_pmx_func i2c_func[] =  { FUNC("i2c", 0, 1, 2) };
58 static struct ralink_pmx_func spi_func[] = { FUNC("spi", 0, 3, 4) };
59 static struct ralink_pmx_func uartlite_func[] = { FUNC("uartlite", 0, 15, 2) };
61 FUNC("mdio", MT7620_GPIO_MODE_MDIO, 22, 2),
62 FUNC("refclk", MT7620_GPIO_MODE_MDIO_REFCLK, 22, 2),
64 static struct ralink_pmx_func rgmii1_func[] = { FUNC("rgmii1", 0, 24, 12) };
65 static struct ralink_pmx_func refclk_func[] = { FUNC("spi refclk", 0, 37, 3) };
66 static struct ralink_pmx_func ephy_func[] = { FUNC("ephy", 0, 40, 5) };
67 static struct ralink_pmx_func rgmii2_func[] = { FUNC("rgmii2", 0, 60, 12) };
68 static struct ralink_pmx_func wled_func[] = { FUNC("wled", 0, 72, 1) };
69 static struct ralink_pmx_func pa_func[] = { FUNC("pa", 0, 18, 4) };
71 FUNC("uartf", MT7620_GPIO_MODE_UARTF, 7, 8),
72 FUNC("pcm uartf", MT7620_GPIO_MODE_PCM_UARTF, 7, 8),
73 FUNC("pcm i2s", MT7620_GPIO_MODE_PCM_I2S, 7, 8),
74 FUNC("i2s uartf", MT7620_GPIO_MODE_I2S_UARTF, 7, 8),
75 FUNC("pcm gpio", MT7620_GPIO_MODE_PCM_GPIO, 11, 4),
76 FUNC("gpio uartf", MT7620_GPIO_MODE_GPIO_UARTF, 7, 4),
77 FUNC("gpio i2s", MT7620_GPIO_MODE_GPIO_I2S, 7, 4),
80 FUNC("wdt rst", 0, 17, 1),
81 FUNC("wdt refclk", 0, 17, 1),
84 FUNC("pcie rst", MT7620_GPIO_MODE_PCIE_RST, 36, 1),
85 FUNC("pcie refclk", MT7620_GPIO_MODE_PCIE_REF, 36, 1)
88 FUNC("nand", MT7620_GPIO_MODE_NAND, 45, 15),
89 FUNC("sd", MT7620_GPIO_MODE_SD, 47, 13)
116 FUNC("sdxc d6", 3, 19, 1),
117 FUNC("utif", 2, 19, 1),
118 FUNC("gpio", 1, 19, 1),
119 FUNC("pwm1", 0, 19, 1),
123 FUNC("sdxc d7", 3, 18, 1),
124 FUNC("utif", 2, 18, 1),
125 FUNC("gpio", 1, 18, 1),
126 FUNC("pwm0", 0, 18, 1),
130 FUNC("sdxc d5 d4", 3, 20, 2),
131 FUNC("pwm", 2, 20, 2),
132 FUNC("gpio", 1, 20, 2),
133 FUNC("uart2", 0, 20, 2),
137 FUNC("sw_r", 3, 45, 2),
138 FUNC("pwm", 2, 45, 2),
139 FUNC("gpio", 1, 45, 2),
140 FUNC("uart1", 0, 45, 2),
144 FUNC("-", 3, 4, 2),
145 FUNC("debug", 2, 4, 2),
146 FUNC("gpio", 1, 4, 2),
147 FUNC("i2c", 0, 4, 2),
150 static struct ralink_pmx_func refclk_func_mt76x8[] = { FUNC("refclk", 0, 37, 1) };
151 static struct ralink_pmx_func perst_func_mt76x8[] = { FUNC("perst", 0, 36, 1) };
152 static struct ralink_pmx_func wdt_func_mt76x8[] = { FUNC("wdt", 0, 38, 1) };
153 static struct ralink_pmx_func spi_func_mt76x8[] = { FUNC("spi", 0, 7, 4) };
156 FUNC("jtag", 3, 22, 8),
157 FUNC("utif", 2, 22, 8),
158 FUNC("gpio", 1, 22, 8),
159 FUNC("sdxc", 0, 22, 8),
163 FUNC("-", 3, 12, 2),
164 FUNC("-", 2, 12, 2),
165 FUNC("gpio", 1, 12, 2),
166 FUNC("uart0", 0, 12, 2),
170 FUNC("antenna", 3, 0, 4),
171 FUNC("pcm", 2, 0, 4),
172 FUNC("gpio", 1, 0, 4),
173 FUNC("i2s", 0, 0, 4),
177 FUNC("-", 3, 6, 1),
178 FUNC("refclk", 2, 6, 1),
179 FUNC("gpio", 1, 6, 1),
180 FUNC("spi cs1", 0, 6, 1),
184 FUNC("pwm_uart2", 3, 14, 4),
185 FUNC("utif", 2, 14, 4),
186 FUNC("gpio", 1, 14, 4),
187 FUNC("spis", 0, 14, 4),
191 FUNC("pcie", 3, 11, 1),
192 FUNC("refclk", 2, 11, 1),
193 FUNC("gpio", 1, 11, 1),
194 FUNC("gpio", 0, 11, 1),
198 FUNC("jtag", 3, 30, 1),
199 FUNC("utif", 2, 30, 1),
200 FUNC("gpio", 1, 30, 1),
201 FUNC("p4led_kn", 0, 30, 1),
205 FUNC("jtag", 3, 31, 1),
206 FUNC("utif", 2, 31, 1),
207 FUNC("gpio", 1, 31, 1),
208 FUNC("p3led_kn", 0, 31, 1),
212 FUNC("jtag", 3, 32, 1),
213 FUNC("utif", 2, 32, 1),
214 FUNC("gpio", 1, 32, 1),
215 FUNC("p2led_kn", 0, 32, 1),
219 FUNC("jtag", 3, 33, 1),
220 FUNC("utif", 2, 33, 1),
221 FUNC("gpio", 1, 33, 1),
222 FUNC("p1led_kn", 0, 33, 1),
226 FUNC("jtag", 3, 34, 1),
227 FUNC("rsvd", 2, 34, 1),
228 FUNC("gpio", 1, 34, 1),
229 FUNC("p0led_kn", 0, 34, 1),
233 FUNC("rsvd", 3, 35, 1),
234 FUNC("rsvd", 2, 35, 1),
235 FUNC("gpio", 1, 35, 1),
236 FUNC("wled_kn", 0, 35, 1),
240 FUNC("jtag", 3, 39, 1),
241 FUNC("utif", 2, 39, 1),
242 FUNC("gpio", 1, 39, 1),
243 FUNC("p4led_an", 0, 39, 1),
247 FUNC("jtag", 3, 40, 1),
248 FUNC("utif", 2, 40, 1),
249 FUNC("gpio", 1, 40, 1),
250 FUNC("p3led_an", 0, 40, 1),
254 FUNC("jtag", 3, 41, 1),
255 FUNC("utif", 2, 41, 1),
256 FUNC("gpio", 1, 41, 1),
257 FUNC("p2led_an", 0, 41, 1),
261 FUNC("jtag", 3, 42, 1),
262 FUNC("utif", 2, 42, 1),
263 FUNC("gpio", 1, 42, 1),
264 FUNC("p1led_an", 0, 42, 1),
268 FUNC("jtag", 3, 43, 1),
269 FUNC("rsvd", 2, 43, 1),
270 FUNC("gpio", 1, 43, 1),
271 FUNC("p0led_an", 0, 43, 1),
275 FUNC("rsvd", 3, 44, 1),
276 FUNC("rsvd", 2, 44, 1),
277 FUNC("gpio", 1, 44, 1),
278 FUNC("wled_an", 0, 44, 1),