Lines Matching full:fn
359 * - fn: Function name, referring to a field in the IPSR
361 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument
362 PINMUX_DATA(fn##_MARK, FN_##fn)
369 * - fn: Function name, also referring to the IPSR field
371 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument
372 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr)
379 * - fn: Function name, also referring to the IPSR field
382 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument
383 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel)
390 * - fn: Function name, also referring to the GPSR field
393 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument
394 PINMUX_DATA(fn##_MARK, FN_##gpsr, FN_##gsel)
402 * - fn: Function name, also referring to the IPSR field
405 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument
406 PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr)
413 * - fn: Function name, also referring to the IPSR field
417 #define PINMUX_IPSR_PHYS_MSEL(ipsr, fn, psel, msel) \ argument
418 PINMUX_DATA(fn##_MARK, FN_##psel, FN_##msel, FN_##fn, FN_##ipsr)
424 * - fn: Function name
427 #define PINMUX_IPSR_PHYS(ipsr, fn, psel) \ argument
428 PINMUX_DATA(fn##_MARK, FN_##psel, FN_##ipsr)
433 * - fn: Function name
435 #define PINMUX_SINGLE(fn) \ argument
436 PINMUX_DATA(fn##_MARK, FN_##fn)
442 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ argument
443 fn(bank, pin, GP_##bank##_##pin, sfx, cfg)
444 #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) argument
446 #define PORT_GP_CFG_2(bank, fn, sfx, cfg) \ argument
447 PORT_GP_CFG_1(bank, 0, fn, sfx, cfg), \
448 PORT_GP_CFG_1(bank, 1, fn, sfx, cfg)
449 #define PORT_GP_2(bank, fn, sfx) PORT_GP_CFG_2(bank, fn, sfx, 0) argument
451 #define PORT_GP_CFG_4(bank, fn, sfx, cfg) \ argument
452 PORT_GP_CFG_2(bank, fn, sfx, cfg), \
453 PORT_GP_CFG_1(bank, 2, fn, sfx, cfg), \
454 PORT_GP_CFG_1(bank, 3, fn, sfx, cfg)
455 #define PORT_GP_4(bank, fn, sfx) PORT_GP_CFG_4(bank, fn, sfx, 0) argument
457 #define PORT_GP_CFG_6(bank, fn, sfx, cfg) \ argument
458 PORT_GP_CFG_4(bank, fn, sfx, cfg), \
459 PORT_GP_CFG_1(bank, 4, fn, sfx, cfg), \
460 PORT_GP_CFG_1(bank, 5, fn, sfx, cfg)
461 #define PORT_GP_6(bank, fn, sfx) PORT_GP_CFG_6(bank, fn, sfx, 0) argument
463 #define PORT_GP_CFG_7(bank, fn, sfx, cfg) \ argument
464 PORT_GP_CFG_6(bank, fn, sfx, cfg), \
465 PORT_GP_CFG_1(bank, 6, fn, sfx, cfg)
466 #define PORT_GP_7(bank, fn, sfx) PORT_GP_CFG_7(bank, fn, sfx, 0) argument
468 #define PORT_GP_CFG_8(bank, fn, sfx, cfg) \ argument
469 PORT_GP_CFG_7(bank, fn, sfx, cfg), \
470 PORT_GP_CFG_1(bank, 7, fn, sfx, cfg)
471 #define PORT_GP_8(bank, fn, sfx) PORT_GP_CFG_8(bank, fn, sfx, 0) argument
473 #define PORT_GP_CFG_9(bank, fn, sfx, cfg) \ argument
474 PORT_GP_CFG_8(bank, fn, sfx, cfg), \
475 PORT_GP_CFG_1(bank, 8, fn, sfx, cfg)
476 #define PORT_GP_9(bank, fn, sfx) PORT_GP_CFG_9(bank, fn, sfx, 0) argument
478 #define PORT_GP_CFG_10(bank, fn, sfx, cfg) \ argument
479 PORT_GP_CFG_9(bank, fn, sfx, cfg), \
480 PORT_GP_CFG_1(bank, 9, fn, sfx, cfg)
481 #define PORT_GP_10(bank, fn, sfx) PORT_GP_CFG_10(bank, fn, sfx, 0) argument
483 #define PORT_GP_CFG_11(bank, fn, sfx, cfg) \ argument
484 PORT_GP_CFG_10(bank, fn, sfx, cfg), \
485 PORT_GP_CFG_1(bank, 10, fn, sfx, cfg)
486 #define PORT_GP_11(bank, fn, sfx) PORT_GP_CFG_11(bank, fn, sfx, 0) argument
488 #define PORT_GP_CFG_12(bank, fn, sfx, cfg) \ argument
489 PORT_GP_CFG_11(bank, fn, sfx, cfg), \
490 PORT_GP_CFG_1(bank, 11, fn, sfx, cfg)
491 #define PORT_GP_12(bank, fn, sfx) PORT_GP_CFG_12(bank, fn, sfx, 0) argument
493 #define PORT_GP_CFG_13(bank, fn, sfx, cfg) \ argument
494 PORT_GP_CFG_12(bank, fn, sfx, cfg), \
495 PORT_GP_CFG_1(bank, 12, fn, sfx, cfg)
496 #define PORT_GP_13(bank, fn, sfx) PORT_GP_CFG_13(bank, fn, sfx, 0) argument
498 #define PORT_GP_CFG_14(bank, fn, sfx, cfg) \ argument
499 PORT_GP_CFG_13(bank, fn, sfx, cfg), \
500 PORT_GP_CFG_1(bank, 13, fn, sfx, cfg)
501 #define PORT_GP_14(bank, fn, sfx) PORT_GP_CFG_14(bank, fn, sfx, 0) argument
503 #define PORT_GP_CFG_15(bank, fn, sfx, cfg) \ argument
504 PORT_GP_CFG_14(bank, fn, sfx, cfg), \
505 PORT_GP_CFG_1(bank, 14, fn, sfx, cfg)
506 #define PORT_GP_15(bank, fn, sfx) PORT_GP_CFG_15(bank, fn, sfx, 0) argument
508 #define PORT_GP_CFG_16(bank, fn, sfx, cfg) \ argument
509 PORT_GP_CFG_15(bank, fn, sfx, cfg), \
510 PORT_GP_CFG_1(bank, 15, fn, sfx, cfg)
511 #define PORT_GP_16(bank, fn, sfx) PORT_GP_CFG_16(bank, fn, sfx, 0) argument
513 #define PORT_GP_CFG_17(bank, fn, sfx, cfg) \ argument
514 PORT_GP_CFG_16(bank, fn, sfx, cfg), \
515 PORT_GP_CFG_1(bank, 16, fn, sfx, cfg)
516 #define PORT_GP_17(bank, fn, sfx) PORT_GP_CFG_17(bank, fn, sfx, 0) argument
518 #define PORT_GP_CFG_18(bank, fn, sfx, cfg) \ argument
519 PORT_GP_CFG_17(bank, fn, sfx, cfg), \
520 PORT_GP_CFG_1(bank, 17, fn, sfx, cfg)
521 #define PORT_GP_18(bank, fn, sfx) PORT_GP_CFG_18(bank, fn, sfx, 0) argument
523 #define PORT_GP_CFG_19(bank, fn, sfx, cfg) \ argument
524 PORT_GP_CFG_18(bank, fn, sfx, cfg), \
525 PORT_GP_CFG_1(bank, 18, fn, sfx, cfg)
526 #define PORT_GP_19(bank, fn, sfx) PORT_GP_CFG_19(bank, fn, sfx, 0) argument
528 #define PORT_GP_CFG_20(bank, fn, sfx, cfg) \ argument
529 PORT_GP_CFG_19(bank, fn, sfx, cfg), \
530 PORT_GP_CFG_1(bank, 19, fn, sfx, cfg)
531 #define PORT_GP_20(bank, fn, sfx) PORT_GP_CFG_20(bank, fn, sfx, 0) argument
533 #define PORT_GP_CFG_21(bank, fn, sfx, cfg) \ argument
534 PORT_GP_CFG_20(bank, fn, sfx, cfg), \
535 PORT_GP_CFG_1(bank, 20, fn, sfx, cfg)
536 #define PORT_GP_21(bank, fn, sfx) PORT_GP_CFG_21(bank, fn, sfx, 0) argument
538 #define PORT_GP_CFG_22(bank, fn, sfx, cfg) \ argument
539 PORT_GP_CFG_21(bank, fn, sfx, cfg), \
540 PORT_GP_CFG_1(bank, 21, fn, sfx, cfg)
541 #define PORT_GP_22(bank, fn, sfx) PORT_GP_CFG_22(bank, fn, sfx, 0) argument
543 #define PORT_GP_CFG_23(bank, fn, sfx, cfg) \ argument
544 PORT_GP_CFG_22(bank, fn, sfx, cfg), \
545 PORT_GP_CFG_1(bank, 22, fn, sfx, cfg)
546 #define PORT_GP_23(bank, fn, sfx) PORT_GP_CFG_23(bank, fn, sfx, 0) argument
548 #define PORT_GP_CFG_24(bank, fn, sfx, cfg) \ argument
549 PORT_GP_CFG_23(bank, fn, sfx, cfg), \
550 PORT_GP_CFG_1(bank, 23, fn, sfx, cfg)
551 #define PORT_GP_24(bank, fn, sfx) PORT_GP_CFG_24(bank, fn, sfx, 0) argument
553 #define PORT_GP_CFG_25(bank, fn, sfx, cfg) \ argument
554 PORT_GP_CFG_24(bank, fn, sfx, cfg), \
555 PORT_GP_CFG_1(bank, 24, fn, sfx, cfg)
556 #define PORT_GP_25(bank, fn, sfx) PORT_GP_CFG_25(bank, fn, sfx, 0) argument
558 #define PORT_GP_CFG_26(bank, fn, sfx, cfg) \ argument
559 PORT_GP_CFG_25(bank, fn, sfx, cfg), \
560 PORT_GP_CFG_1(bank, 25, fn, sfx, cfg)
561 #define PORT_GP_26(bank, fn, sfx) PORT_GP_CFG_26(bank, fn, sfx, 0) argument
563 #define PORT_GP_CFG_27(bank, fn, sfx, cfg) \ argument
564 PORT_GP_CFG_26(bank, fn, sfx, cfg), \
565 PORT_GP_CFG_1(bank, 26, fn, sfx, cfg)
566 #define PORT_GP_27(bank, fn, sfx) PORT_GP_CFG_27(bank, fn, sfx, 0) argument
568 #define PORT_GP_CFG_28(bank, fn, sfx, cfg) \ argument
569 PORT_GP_CFG_27(bank, fn, sfx, cfg), \
570 PORT_GP_CFG_1(bank, 27, fn, sfx, cfg)
571 #define PORT_GP_28(bank, fn, sfx) PORT_GP_CFG_28(bank, fn, sfx, 0) argument
573 #define PORT_GP_CFG_29(bank, fn, sfx, cfg) \ argument
574 PORT_GP_CFG_28(bank, fn, sfx, cfg), \
575 PORT_GP_CFG_1(bank, 28, fn, sfx, cfg)
576 #define PORT_GP_29(bank, fn, sfx) PORT_GP_CFG_29(bank, fn, sfx, 0) argument
578 #define PORT_GP_CFG_30(bank, fn, sfx, cfg) \ argument
579 PORT_GP_CFG_29(bank, fn, sfx, cfg), \
580 PORT_GP_CFG_1(bank, 29, fn, sfx, cfg)
581 #define PORT_GP_30(bank, fn, sfx) PORT_GP_CFG_30(bank, fn, sfx, 0) argument
583 #define PORT_GP_CFG_31(bank, fn, sfx, cfg) \ argument
584 PORT_GP_CFG_30(bank, fn, sfx, cfg), \
585 PORT_GP_CFG_1(bank, 30, fn, sfx, cfg)
586 #define PORT_GP_31(bank, fn, sfx) PORT_GP_CFG_31(bank, fn, sfx, 0) argument
588 #define PORT_GP_CFG_32(bank, fn, sfx, cfg) \ argument
589 PORT_GP_CFG_31(bank, fn, sfx, cfg), \
590 PORT_GP_CFG_1(bank, 31, fn, sfx, cfg)
591 #define PORT_GP_32(bank, fn, sfx) PORT_GP_CFG_32(bank, fn, sfx, 0) argument
593 #define PORT_GP_32_REV(bank, fn, sfx) \ argument
594 PORT_GP_1(bank, 31, fn, sfx), PORT_GP_1(bank, 30, fn, sfx), \
595 PORT_GP_1(bank, 29, fn, sfx), PORT_GP_1(bank, 28, fn, sfx), \
596 PORT_GP_1(bank, 27, fn, sfx), PORT_GP_1(bank, 26, fn, sfx), \
597 PORT_GP_1(bank, 25, fn, sfx), PORT_GP_1(bank, 24, fn, sfx), \
598 PORT_GP_1(bank, 23, fn, sfx), PORT_GP_1(bank, 22, fn, sfx), \
599 PORT_GP_1(bank, 21, fn, sfx), PORT_GP_1(bank, 20, fn, sfx), \
600 PORT_GP_1(bank, 19, fn, sfx), PORT_GP_1(bank, 18, fn, sfx), \
601 PORT_GP_1(bank, 17, fn, sfx), PORT_GP_1(bank, 16, fn, sfx), \
602 PORT_GP_1(bank, 15, fn, sfx), PORT_GP_1(bank, 14, fn, sfx), \
603 PORT_GP_1(bank, 13, fn, sfx), PORT_GP_1(bank, 12, fn, sfx), \
604 PORT_GP_1(bank, 11, fn, sfx), PORT_GP_1(bank, 10, fn, sfx), \
605 PORT_GP_1(bank, 9, fn, sfx), PORT_GP_1(bank, 8, fn, sfx), \
606 PORT_GP_1(bank, 7, fn, sfx), PORT_GP_1(bank, 6, fn, sfx), \
607 PORT_GP_1(bank, 5, fn, sfx), PORT_GP_1(bank, 4, fn, sfx), \
608 PORT_GP_1(bank, 3, fn, sfx), PORT_GP_1(bank, 2, fn, sfx), \
609 PORT_GP_1(bank, 1, fn, sfx), PORT_GP_1(bank, 0, fn, sfx)
650 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument
652 #define PORT_10(pn, fn, pfx, sfx) \ argument
653 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \
654 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \
655 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \
656 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \
657 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx)
659 #define PORT_90(pn, fn, pfx, sfx) \ argument
660 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \
661 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \
662 PORT_10(pn+50, fn, pfx##5, sfx), PORT_10(pn+60, fn, pfx##6, sfx), \
663 PORT_10(pn+70, fn, pfx##7, sfx), PORT_10(pn+80, fn, pfx##8, sfx), \
664 PORT_10(pn+90, fn, pfx##9, sfx)
725 #define PIN_NOGP_CFG(pin, name, fn, cfg) fn(pin, name, cfg) argument
726 #define PIN_NOGP(pin, name, fn) fn(pin, name, 0) argument