Lines Matching full:static

82 static const struct pinctrl_pin_desc bm1880_pins[] = {
220 static const unsigned int nand_pins[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
222 static const unsigned int spi_pins[] = { 0, 1, 8, 10, 11, 12, 13 };
223 static const unsigned int emmc_pins[] = { 2, 3, 4, 5, 6, 7, 9, 14, 15, 16 };
224 static const unsigned int sdio_pins[] = { 17, 18, 19, 20, 21, 22, 23, 24,
226 static const unsigned int eth0_pins[] = { 27, 28, 29, 30, 31, 32, 33, 34, 35,
228 static const unsigned int pwm0_pins[] = { 29 };
229 static const unsigned int pwm1_pins[] = { 30 };
230 static const unsigned int pwm2_pins[] = { 34 };
231 static const unsigned int pwm3_pins[] = { 35 };
232 static const unsigned int pwm4_pins[] = { 43 };
233 static const unsigned int pwm5_pins[] = { 44 };
234 static const unsigned int pwm6_pins[] = { 45 };
235 static const unsigned int pwm7_pins[] = { 46 };
236 static const unsigned int pwm8_pins[] = { 47 };
237 static const unsigned int pwm9_pins[] = { 48 };
238 static const unsigned int pwm10_pins[] = { 49 };
239 static const unsigned int pwm11_pins[] = { 50 };
240 static const unsigned int pwm12_pins[] = { 51 };
241 static const unsigned int pwm13_pins[] = { 52 };
242 static const unsigned int pwm14_pins[] = { 53 };
243 static const unsigned int pwm15_pins[] = { 54 };
244 static const unsigned int pwm16_pins[] = { 55 };
245 static const unsigned int pwm17_pins[] = { 56 };
246 static const unsigned int pwm18_pins[] = { 57 };
247 static const unsigned int pwm19_pins[] = { 58 };
248 static const unsigned int pwm20_pins[] = { 59 };
249 static const unsigned int pwm21_pins[] = { 60 };
250 static const unsigned int pwm22_pins[] = { 61 };
251 static const unsigned int pwm23_pins[] = { 62 };
252 static const unsigned int pwm24_pins[] = { 97 };
253 static const unsigned int pwm25_pins[] = { 98 };
254 static const unsigned int pwm26_pins[] = { 99 };
255 static const unsigned int pwm27_pins[] = { 100 };
256 static const unsigned int pwm28_pins[] = { 101 };
257 static const unsigned int pwm29_pins[] = { 102 };
258 static const unsigned int pwm30_pins[] = { 103 };
259 static const unsigned int pwm31_pins[] = { 104 };
260 static const unsigned int pwm32_pins[] = { 105 };
261 static const unsigned int pwm33_pins[] = { 106 };
262 static const unsigned int pwm34_pins[] = { 107 };
263 static const unsigned int pwm35_pins[] = { 108 };
264 static const unsigned int pwm36_pins[] = { 109 };
265 static const unsigned int pwm37_pins[] = { 110 };
266 static const unsigned int i2c0_pins[] = { 63, 64 };
267 static const unsigned int i2c1_pins[] = { 65, 66 };
268 static const unsigned int i2c2_pins[] = { 67, 68 };
269 static const unsigned int i2c3_pins[] = { 69, 70 };
270 static const unsigned int i2c4_pins[] = { 71, 72 };
271 static const unsigned int uart0_pins[] = { 73, 74 };
272 static const unsigned int uart1_pins[] = { 75, 76 };
273 static const unsigned int uart2_pins[] = { 77, 78 };
274 static const unsigned int uart3_pins[] = { 79, 80 };
275 static const unsigned int uart4_pins[] = { 81, 82 };
276 static const unsigned int uart5_pins[] = { 83, 84 };
277 static const unsigned int uart6_pins[] = { 85, 86 };
278 static const unsigned int uart7_pins[] = { 87, 88 };
279 static const unsigned int uart8_pins[] = { 89, 90 };
280 static const unsigned int uart9_pins[] = { 91, 92 };
281 static const unsigned int uart10_pins[] = { 93, 94 };
282 static const unsigned int uart11_pins[] = { 95, 96 };
283 static const unsigned int uart12_pins[] = { 73, 74, 75, 76 };
284 static const unsigned int uart13_pins[] = { 77, 78, 83, 84 };
285 static const unsigned int uart14_pins[] = { 79, 80, 85, 86 };
286 static const unsigned int uart15_pins[] = { 81, 82, 87, 88 };
287 static const unsigned int gpio0_pins[] = { 97 };
288 static const unsigned int gpio1_pins[] = { 98 };
289 static const unsigned int gpio2_pins[] = { 99 };
290 static const unsigned int gpio3_pins[] = { 100 };
291 static const unsigned int gpio4_pins[] = { 101 };
292 static const unsigned int gpio5_pins[] = { 102 };
293 static const unsigned int gpio6_pins[] = { 103 };
294 static const unsigned int gpio7_pins[] = { 104 };
295 static const unsigned int gpio8_pins[] = { 105 };
296 static const unsigned int gpio9_pins[] = { 106 };
297 static const unsigned int gpio10_pins[] = { 107 };
298 static const unsigned int gpio11_pins[] = { 108 };
299 static const unsigned int gpio12_pins[] = { 109 };
300 static const unsigned int gpio13_pins[] = { 110 };
301 static const unsigned int gpio14_pins[] = { 43 };
302 static const unsigned int gpio15_pins[] = { 44 };
303 static const unsigned int gpio16_pins[] = { 45 };
304 static const unsigned int gpio17_pins[] = { 46 };
305 static const unsigned int gpio18_pins[] = { 47 };
306 static const unsigned int gpio19_pins[] = { 48 };
307 static const unsigned int gpio20_pins[] = { 49 };
308 static const unsigned int gpio21_pins[] = { 50 };
309 static const unsigned int gpio22_pins[] = { 51 };
310 static const unsigned int gpio23_pins[] = { 52 };
311 static const unsigned int gpio24_pins[] = { 53 };
312 static const unsigned int gpio25_pins[] = { 54 };
313 static const unsigned int gpio26_pins[] = { 55 };
314 static const unsigned int gpio27_pins[] = { 56 };
315 static const unsigned int gpio28_pins[] = { 57 };
316 static const unsigned int gpio29_pins[] = { 58 };
317 static const unsigned int gpio30_pins[] = { 59 };
318 static const unsigned int gpio31_pins[] = { 60 };
319 static const unsigned int gpio32_pins[] = { 61 };
320 static const unsigned int gpio33_pins[] = { 62 };
321 static const unsigned int gpio34_pins[] = { 63 };
322 static const unsigned int gpio35_pins[] = { 64 };
323 static const unsigned int gpio36_pins[] = { 65 };
324 static const unsigned int gpio37_pins[] = { 66 };
325 static const unsigned int gpio38_pins[] = { 67 };
326 static const unsigned int gpio39_pins[] = { 68 };
327 static const unsigned int gpio40_pins[] = { 69 };
328 static const unsigned int gpio41_pins[] = { 70 };
329 static const unsigned int gpio42_pins[] = { 71 };
330 static const unsigned int gpio43_pins[] = { 72 };
331 static const unsigned int gpio44_pins[] = { 73 };
332 static const unsigned int gpio45_pins[] = { 74 };
333 static const unsigned int gpio46_pins[] = { 75 };
334 static const unsigned int gpio47_pins[] = { 76 };
335 static const unsigned int gpio48_pins[] = { 77 };
336 static const unsigned int gpio49_pins[] = { 78 };
337 static const unsigned int gpio50_pins[] = { 79 };
338 static const unsigned int gpio51_pins[] = { 80 };
339 static const unsigned int gpio52_pins[] = { 81 };
340 static const unsigned int gpio53_pins[] = { 82 };
341 static const unsigned int gpio54_pins[] = { 83 };
342 static const unsigned int gpio55_pins[] = { 84 };
343 static const unsigned int gpio56_pins[] = { 85 };
344 static const unsigned int gpio57_pins[] = { 86 };
345 static const unsigned int gpio58_pins[] = { 87 };
346 static const unsigned int gpio59_pins[] = { 88 };
347 static const unsigned int gpio60_pins[] = { 89 };
348 static const unsigned int gpio61_pins[] = { 90 };
349 static const unsigned int gpio62_pins[] = { 91 };
350 static const unsigned int gpio63_pins[] = { 92 };
351 static const unsigned int gpio64_pins[] = { 93 };
352 static const unsigned int gpio65_pins[] = { 94 };
353 static const unsigned int gpio66_pins[] = { 95 };
354 static const unsigned int gpio67_pins[] = { 96 };
355 static const unsigned int eth1_pins[] = { 43, 44, 45, 46, 47, 48, 49, 50, 51,
357 static const unsigned int i2s0_pins[] = { 87, 88, 89, 90, 91 };
358 static const unsigned int i2s0_mclkin_pins[] = { 97 };
359 static const unsigned int i2s1_pins[] = { 92, 93, 94, 95, 96 };
360 static const unsigned int i2s1_mclkin_pins[] = { 98 };
361 static const unsigned int spi0_pins[] = { 59, 60, 61, 62 };
370 static const struct bm1880_pctrl_group bm1880_pctrl_groups[] = {
511 static const char * const nand_group[] = { "nand_grp" };
512 static const char * const spi_group[] = { "spi_grp" };
513 static const char * const emmc_group[] = { "emmc_grp" };
514 static const char * const sdio_group[] = { "sdio_grp" };
515 static const char * const eth0_group[] = { "eth0_grp" };
516 static const char * const pwm0_group[] = { "pwm0_grp" };
517 static const char * const pwm1_group[] = { "pwm1_grp" };
518 static const char * const pwm2_group[] = { "pwm2_grp" };
519 static const char * const pwm3_group[] = { "pwm3_grp" };
520 static const char * const pwm4_group[] = { "pwm4_grp" };
521 static const char * const pwm5_group[] = { "pwm5_grp" };
522 static const char * const pwm6_group[] = { "pwm6_grp" };
523 static const char * const pwm7_group[] = { "pwm7_grp" };
524 static const char * const pwm8_group[] = { "pwm8_grp" };
525 static const char * const pwm9_group[] = { "pwm9_grp" };
526 static const char * const pwm10_group[] = { "pwm10_grp" };
527 static const char * const pwm11_group[] = { "pwm11_grp" };
528 static const char * const pwm12_group[] = { "pwm12_grp" };
529 static const char * const pwm13_group[] = { "pwm13_grp" };
530 static const char * const pwm14_group[] = { "pwm14_grp" };
531 static const char * const pwm15_group[] = { "pwm15_grp" };
532 static const char * const pwm16_group[] = { "pwm16_grp" };
533 static const char * const pwm17_group[] = { "pwm17_grp" };
534 static const char * const pwm18_group[] = { "pwm18_grp" };
535 static const char * const pwm19_group[] = { "pwm19_grp" };
536 static const char * const pwm20_group[] = { "pwm20_grp" };
537 static const char * const pwm21_group[] = { "pwm21_grp" };
538 static const char * const pwm22_group[] = { "pwm22_grp" };
539 static const char * const pwm23_group[] = { "pwm23_grp" };
540 static const char * const pwm24_group[] = { "pwm24_grp" };
541 static const char * const pwm25_group[] = { "pwm25_grp" };
542 static const char * const pwm26_group[] = { "pwm26_grp" };
543 static const char * const pwm27_group[] = { "pwm27_grp" };
544 static const char * const pwm28_group[] = { "pwm28_grp" };
545 static const char * const pwm29_group[] = { "pwm29_grp" };
546 static const char * const pwm30_group[] = { "pwm30_grp" };
547 static const char * const pwm31_group[] = { "pwm31_grp" };
548 static const char * const pwm32_group[] = { "pwm32_grp" };
549 static const char * const pwm33_group[] = { "pwm33_grp" };
550 static const char * const pwm34_group[] = { "pwm34_grp" };
551 static const char * const pwm35_group[] = { "pwm35_grp" };
552 static const char * const pwm36_group[] = { "pwm36_grp" };
553 static const char * const pwm37_group[] = { "pwm37_grp" };
554 static const char * const i2c0_group[] = { "i2c0_grp" };
555 static const char * const i2c1_group[] = { "i2c1_grp" };
556 static const char * const i2c2_group[] = { "i2c2_grp" };
557 static const char * const i2c3_group[] = { "i2c3_grp" };
558 static const char * const i2c4_group[] = { "i2c4_grp" };
559 static const char * const uart0_group[] = { "uart0_grp" };
560 static const char * const uart1_group[] = { "uart1_grp" };
561 static const char * const uart2_group[] = { "uart2_grp" };
562 static const char * const uart3_group[] = { "uart3_grp" };
563 static const char * const uart4_group[] = { "uart4_grp" };
564 static const char * const uart5_group[] = { "uart5_grp" };
565 static const char * const uart6_group[] = { "uart6_grp" };
566 static const char * const uart7_group[] = { "uart7_grp" };
567 static const char * const uart8_group[] = { "uart8_grp" };
568 static const char * const uart9_group[] = { "uart9_grp" };
569 static const char * const uart10_group[] = { "uart10_grp" };
570 static const char * const uart11_group[] = { "uart11_grp" };
571 static const char * const uart12_group[] = { "uart12_grp" };
572 static const char * const uart13_group[] = { "uart13_grp" };
573 static const char * const uart14_group[] = { "uart14_grp" };
574 static const char * const uart15_group[] = { "uart15_grp" };
575 static const char * const gpio0_group[] = { "gpio0_grp" };
576 static const char * const gpio1_group[] = { "gpio1_grp" };
577 static const char * const gpio2_group[] = { "gpio2_grp" };
578 static const char * const gpio3_group[] = { "gpio3_grp" };
579 static const char * const gpio4_group[] = { "gpio4_grp" };
580 static const char * const gpio5_group[] = { "gpio5_grp" };
581 static const char * const gpio6_group[] = { "gpio6_grp" };
582 static const char * const gpio7_group[] = { "gpio7_grp" };
583 static const char * const gpio8_group[] = { "gpio8_grp" };
584 static const char * const gpio9_group[] = { "gpio9_grp" };
585 static const char * const gpio10_group[] = { "gpio10_grp" };
586 static const char * const gpio11_group[] = { "gpio11_grp" };
587 static const char * const gpio12_group[] = { "gpio12_grp" };
588 static const char * const gpio13_group[] = { "gpio13_grp" };
589 static const char * const gpio14_group[] = { "gpio14_grp" };
590 static const char * const gpio15_group[] = { "gpio15_grp" };
591 static const char * const gpio16_group[] = { "gpio16_grp" };
592 static const char * const gpio17_group[] = { "gpio17_grp" };
593 static const char * const gpio18_group[] = { "gpio18_grp" };
594 static const char * const gpio19_group[] = { "gpio19_grp" };
595 static const char * const gpio20_group[] = { "gpio20_grp" };
596 static const char * const gpio21_group[] = { "gpio21_grp" };
597 static const char * const gpio22_group[] = { "gpio22_grp" };
598 static const char * const gpio23_group[] = { "gpio23_grp" };
599 static const char * const gpio24_group[] = { "gpio24_grp" };
600 static const char * const gpio25_group[] = { "gpio25_grp" };
601 static const char * const gpio26_group[] = { "gpio26_grp" };
602 static const char * const gpio27_group[] = { "gpio27_grp" };
603 static const char * const gpio28_group[] = { "gpio28_grp" };
604 static const char * const gpio29_group[] = { "gpio29_grp" };
605 static const char * const gpio30_group[] = { "gpio30_grp" };
606 static const char * const gpio31_group[] = { "gpio31_grp" };
607 static const char * const gpio32_group[] = { "gpio32_grp" };
608 static const char * const gpio33_group[] = { "gpio33_grp" };
609 static const char * const gpio34_group[] = { "gpio34_grp" };
610 static const char * const gpio35_group[] = { "gpio35_grp" };
611 static const char * const gpio36_group[] = { "gpio36_grp" };
612 static const char * const gpio37_group[] = { "gpio37_grp" };
613 static const char * const gpio38_group[] = { "gpio38_grp" };
614 static const char * const gpio39_group[] = { "gpio39_grp" };
615 static const char * const gpio40_group[] = { "gpio40_grp" };
616 static const char * const gpio41_group[] = { "gpio41_grp" };
617 static const char * const gpio42_group[] = { "gpio42_grp" };
618 static const char * const gpio43_group[] = { "gpio43_grp" };
619 static const char * const gpio44_group[] = { "gpio44_grp" };
620 static const char * const gpio45_group[] = { "gpio45_grp" };
621 static const char * const gpio46_group[] = { "gpio46_grp" };
622 static const char * const gpio47_group[] = { "gpio47_grp" };
623 static const char * const gpio48_group[] = { "gpio48_grp" };
624 static const char * const gpio49_group[] = { "gpio49_grp" };
625 static const char * const gpio50_group[] = { "gpio50_grp" };
626 static const char * const gpio51_group[] = { "gpio51_grp" };
627 static const char * const gpio52_group[] = { "gpio52_grp" };
628 static const char * const gpio53_group[] = { "gpio53_grp" };
629 static const char * const gpio54_group[] = { "gpio54_grp" };
630 static const char * const gpio55_group[] = { "gpio55_grp" };
631 static const char * const gpio56_group[] = { "gpio56_grp" };
632 static const char * const gpio57_group[] = { "gpio57_grp" };
633 static const char * const gpio58_group[] = { "gpio58_grp" };
634 static const char * const gpio59_group[] = { "gpio59_grp" };
635 static const char * const gpio60_group[] = { "gpio60_grp" };
636 static const char * const gpio61_group[] = { "gpio61_grp" };
637 static const char * const gpio62_group[] = { "gpio62_grp" };
638 static const char * const gpio63_group[] = { "gpio63_grp" };
639 static const char * const gpio64_group[] = { "gpio64_grp" };
640 static const char * const gpio65_group[] = { "gpio65_grp" };
641 static const char * const gpio66_group[] = { "gpio66_grp" };
642 static const char * const gpio67_group[] = { "gpio67_grp" };
643 static const char * const eth1_group[] = { "eth1_grp" };
644 static const char * const i2s0_group[] = { "i2s0_grp" };
645 static const char * const i2s0_mclkin_group[] = { "i2s0_mclkin_grp" };
646 static const char * const i2s1_group[] = { "i2s1_grp" };
647 static const char * const i2s1_mclkin_group[] = { "i2s1_mclkin_grp" };
648 static const char * const spi0_group[] = { "spi0_grp" };
658 static const struct bm1880_pinmux_function bm1880_pmux_functions[] = {
804 static const struct bm1880_pinconf_data bm1880_pinconf[] = {
919 static int bm1880_pctrl_get_groups_count(struct pinctrl_dev *pctldev) in bm1880_pctrl_get_groups_count()
926 static const char *bm1880_pctrl_get_group_name(struct pinctrl_dev *pctldev, in bm1880_pctrl_get_group_name()
934 static int bm1880_pctrl_get_group_pins(struct pinctrl_dev *pctldev, in bm1880_pctrl_get_group_pins()
947 static const struct pinctrl_ops bm1880_pctrl_ops = {
956 static int bm1880_pmux_get_functions_count(struct pinctrl_dev *pctldev) in bm1880_pmux_get_functions_count()
963 static const char *bm1880_pmux_get_function_name(struct pinctrl_dev *pctldev, in bm1880_pmux_get_function_name()
971 static int bm1880_pmux_get_function_groups(struct pinctrl_dev *pctldev, in bm1880_pmux_get_function_groups()
983 static int bm1880_pinmux_set_mux(struct pinctrl_dev *pctldev, in bm1880_pinmux_set_mux()
1016 static int bm1880_pinconf_drv_set(unsigned int mA, u32 width, in bm1880_pinconf_drv_set()
1092 static int bm1880_pinconf_drv_get(u32 width, u32 drv) in bm1880_pinconf_drv_get()
1151 static int bm1880_pinconf_cfg_get(struct pinctrl_dev *pctldev, in bm1880_pinconf_cfg_get()
1203 static int bm1880_pinconf_cfg_set(struct pinctrl_dev *pctldev, in bm1880_pinconf_cfg_set()
1268 static int bm1880_pinconf_group_set(struct pinctrl_dev *pctldev, in bm1880_pinconf_group_set()
1287 static const struct pinconf_ops bm1880_pinconf_ops = {
1294 static const struct pinmux_ops bm1880_pinmux_ops = {
1301 static struct pinctrl_desc bm1880_desc = {
1311 static int bm1880_pinctrl_probe(struct platform_device *pdev) in bm1880_pinctrl_probe()
1342 static const struct of_device_id bm1880_pinctrl_of_match[] = {
1347 static struct platform_driver bm1880_pinctrl_driver = {
1355 static int __init bm1880_pinctrl_init(void) in bm1880_pinctrl_init()