Lines Matching full:static

14 static const struct mtk_pin_field_calc mt7629_pin_mode_range[] = {
18 static const struct mtk_pin_field_calc mt7629_pin_dir_range[] = {
22 static const struct mtk_pin_field_calc mt7629_pin_di_range[] = {
26 static const struct mtk_pin_field_calc mt7629_pin_do_range[] = {
30 static const struct mtk_pin_field_calc mt7629_pin_ies_range[] = {
40 static const struct mtk_pin_field_calc mt7629_pin_smt_range[] = {
50 static const struct mtk_pin_field_calc mt7629_pin_pullen_range[] = {
60 static const struct mtk_pin_field_calc mt7629_pin_pullsel_range[] = {
70 static const struct mtk_pin_field_calc mt7629_pin_drv_range[] = {
80 static const struct mtk_pin_field_calc mt7629_pin_tdsel_range[] = {
90 static const struct mtk_pin_field_calc mt7629_pin_rdsel_range[] = {
100 static const struct mtk_pin_reg_calc mt7629_reg_cals[] = {
114 static const struct mtk_pin_desc mt7629_pins[] = {
202 static int mt7629_ephy_leds_pins[] = { 12, 13, 14, 15, 16, 17, 18, };
203 static int mt7629_ephy_leds_funcs[] = { 1, 1, 1, 1, 1, 1, 1, };
204 static int mt7629_ephy_led0_pins[] = { 12, };
205 static int mt7629_ephy_led0_funcs[] = { 1, };
206 static int mt7629_ephy_led1_pins[] = { 13, };
207 static int mt7629_ephy_led1_funcs[] = { 1, };
208 static int mt7629_ephy_led2_pins[] = { 14, };
209 static int mt7629_ephy_led2_funcs[] = { 1, };
210 static int mt7629_ephy_led3_pins[] = { 15, };
211 static int mt7629_ephy_led3_funcs[] = { 1, };
212 static int mt7629_ephy_led4_pins[] = { 16, };
213 static int mt7629_ephy_led4_funcs[] = { 1, };
214 static int mt7629_wf2g_led_pins[] = { 17, };
215 static int mt7629_wf2g_led_funcs[] = { 1, };
216 static int mt7629_wf5g_led_pins[] = { 18, };
217 static int mt7629_wf5g_led_funcs[] = { 1, };
220 static int mt7629_watchdog_pins[] = { 11, };
221 static int mt7629_watchdog_funcs[] = { 1, };
224 static int mt7629_gphy_leds_0_pins[] = { 21, 22, 23, };
225 static int mt7629_gphy_leds_0_funcs[] = { 2, 2, 2, };
226 static int mt7629_gphy_led1_0_pins[] = { 21, };
227 static int mt7629_gphy_led1_0_funcs[] = { 2, };
228 static int mt7629_gphy_led2_0_pins[] = { 22, };
229 static int mt7629_gphy_led2_0_funcs[] = { 2, };
230 static int mt7629_gphy_led3_0_pins[] = { 23, };
231 static int mt7629_gphy_led3_0_funcs[] = { 2, };
232 static int mt7629_gphy_leds_1_pins[] = { 57, 58, 59, };
233 static int mt7629_gphy_leds_1_funcs[] = { 1, 1, 1, };
234 static int mt7629_gphy_led1_1_pins[] = { 57, };
235 static int mt7629_gphy_led1_1_funcs[] = { 1, };
236 static int mt7629_gphy_led2_1_pins[] = { 58, };
237 static int mt7629_gphy_led2_1_funcs[] = { 1, };
238 static int mt7629_gphy_led3_1_pins[] = { 59, };
239 static int mt7629_gphy_led3_1_funcs[] = { 1, };
242 static int mt7629_i2c_0_pins[] = { 19, 20, };
243 static int mt7629_i2c_0_funcs[] = { 1, 1, };
244 static int mt7629_i2c_1_pins[] = { 53, 54, };
245 static int mt7629_i2c_1_funcs[] = { 1, 1, };
248 static int mt7629_spi_0_pins[] = { 21, 22, 23, 24, };
249 static int mt7629_spi_0_funcs[] = { 1, 1, 1, 1, };
250 static int mt7629_spi_1_pins[] = { 62, 63, 64, 65, };
251 static int mt7629_spi_1_funcs[] = { 1, 1, 1, 1, };
252 static int mt7629_spi_wp_pins[] = { 66, };
253 static int mt7629_spi_wp_funcs[] = { 1, };
254 static int mt7629_spi_hold_pins[] = { 67, };
255 static int mt7629_spi_hold_funcs[] = { 1, };
258 static int mt7629_uart1_0_txd_rxd_pins[] = { 25, 26, };
259 static int mt7629_uart1_0_txd_rxd_funcs[] = { 1, 1, };
260 static int mt7629_uart1_1_txd_rxd_pins[] = { 53, 54, };
261 static int mt7629_uart1_1_txd_rxd_funcs[] = { 2, 2, };
262 static int mt7629_uart2_0_txd_rxd_pins[] = { 29, 30, };
263 static int mt7629_uart2_0_txd_rxd_funcs[] = { 1, 1, };
264 static int mt7629_uart2_1_txd_rxd_pins[] = { 57, 58, };
265 static int mt7629_uart2_1_txd_rxd_funcs[] = { 2, 2, };
266 static int mt7629_uart1_0_cts_rts_pins[] = { 27, 28, };
267 static int mt7629_uart1_0_cts_rts_funcs[] = { 1, 1, };
268 static int mt7629_uart1_1_cts_rts_pins[] = { 55, 56, };
269 static int mt7629_uart1_1_cts_rts_funcs[] = { 2, 2, };
270 static int mt7629_uart2_0_cts_rts_pins[] = { 31, 32, };
271 static int mt7629_uart2_0_cts_rts_funcs[] = { 1, 1, };
272 static int mt7629_uart2_1_cts_rts_pins[] = { 59, 60, };
273 static int mt7629_uart2_1_cts_rts_funcs[] = { 2, 2, };
274 static int mt7629_uart0_txd_rxd_pins[] = { 68, 69, };
275 static int mt7629_uart0_txd_rxd_funcs[] = { 1, 1, };
278 static int mt7629_mdc_mdio_pins[] = { 49, 50, };
279 static int mt7629_mdc_mdio_funcs[] = { 1, 1, };
282 static int mt7629_pcie_pereset_pins[] = { 51, };
283 static int mt7629_pcie_pereset_funcs[] = { 1, };
284 static int mt7629_pcie_wake_pins[] = { 55, };
285 static int mt7629_pcie_wake_funcs[] = { 1, };
286 static int mt7629_pcie_clkreq_pins[] = { 56, };
287 static int mt7629_pcie_clkreq_funcs[] = { 1, };
290 static int mt7629_pwm_0_pins[] = { 52, };
291 static int mt7629_pwm_0_funcs[] = { 1, };
292 static int mt7629_pwm_1_pins[] = { 61, };
293 static int mt7629_pwm_1_funcs[] = { 2, };
296 static int mt7629_wf0_2g_pins[] = { 70, 71, 72, 73, 74, 75, 76, 77, 78, };
297 static int mt7629_wf0_2g_funcs[] = { 1, 1, 1, 1, 1, 1, 1, 1, };
300 static int mt7629_wf0_5g_pins[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, };
301 static int mt7629_wf0_5g_funcs[] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, };
304 static int mt7629_snfi_pins[] = { 62, 63, 64, 65, 66, 67 };
305 static int mt7629_snfi_funcs[] = { 2, 2, 2, 2, 2, 2 };
308 static int mt7629_snor_pins[] = { 62, 63, 64, 65, 66, 67 };
309 static int mt7629_snor_funcs[] = { 1, 1, 1, 1, 1, 1 };
311 static const struct group_desc mt7629_groups[] = {
359 static const char *mt7629_ethernet_groups[] = { "mdc_mdio", };
360 static const char *mt7629_i2c_groups[] = { "i2c_0", "i2c_1", };
361 static const char *mt7629_led_groups[] = { "ephy_leds", "ephy_led0",
369 static const char *mt7629_pcie_groups[] = { "pcie_pereset", "pcie_wake",
371 static const char *mt7629_pwm_groups[] = { "pwm_0", "pwm_1", };
372 static const char *mt7629_spi_groups[] = { "spi_0", "spi_1", "spi_wp",
374 static const char *mt7629_uart_groups[] = { "uart1_0_txd_rxd",
383 static const char *mt7629_wdt_groups[] = { "watchdog", };
384 static const char *mt7629_wifi_groups[] = { "wf0_5g", "wf0_2g", };
385 static const char *mt7629_flash_groups[] = { "snfi", "spi_nor" };
387 static const struct function_desc mt7629_functions[] = {
400 static const struct mtk_eint_hw mt7629_eint_hw = {
407 static struct mtk_pin_soc mt7629_data = {
428 static const struct of_device_id mt7629_pinctrl_of_match[] = {
433 static int mt7629_pinctrl_probe(struct platform_device *pdev) in mt7629_pinctrl_probe()
438 static struct platform_driver mt7629_pinctrl_driver = {
446 static int __init mt7629_pinctrl_init(void) in mt7629_pinctrl_init()