Lines Matching refs:cfg
414 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ argument
415 fn(bank, pin, GP_##bank##_##pin, sfx, cfg)
418 #define PORT_GP_CFG_4(bank, fn, sfx, cfg) \ argument
419 PORT_GP_CFG_1(bank, 0, fn, sfx, cfg), \
420 PORT_GP_CFG_1(bank, 1, fn, sfx, cfg), \
421 PORT_GP_CFG_1(bank, 2, fn, sfx, cfg), \
422 PORT_GP_CFG_1(bank, 3, fn, sfx, cfg)
425 #define PORT_GP_CFG_6(bank, fn, sfx, cfg) \ argument
426 PORT_GP_CFG_4(bank, fn, sfx, cfg), \
427 PORT_GP_CFG_1(bank, 4, fn, sfx, cfg), \
428 PORT_GP_CFG_1(bank, 5, fn, sfx, cfg)
431 #define PORT_GP_CFG_8(bank, fn, sfx, cfg) \ argument
432 PORT_GP_CFG_6(bank, fn, sfx, cfg), \
433 PORT_GP_CFG_1(bank, 6, fn, sfx, cfg), \
434 PORT_GP_CFG_1(bank, 7, fn, sfx, cfg)
437 #define PORT_GP_CFG_9(bank, fn, sfx, cfg) \ argument
438 PORT_GP_CFG_8(bank, fn, sfx, cfg), \
439 PORT_GP_CFG_1(bank, 8, fn, sfx, cfg)
442 #define PORT_GP_CFG_10(bank, fn, sfx, cfg) \ argument
443 PORT_GP_CFG_9(bank, fn, sfx, cfg), \
444 PORT_GP_CFG_1(bank, 9, fn, sfx, cfg)
447 #define PORT_GP_CFG_11(bank, fn, sfx, cfg) \ argument
448 PORT_GP_CFG_10(bank, fn, sfx, cfg), \
449 PORT_GP_CFG_1(bank, 10, fn, sfx, cfg)
452 #define PORT_GP_CFG_12(bank, fn, sfx, cfg) \ argument
453 PORT_GP_CFG_11(bank, fn, sfx, cfg), \
454 PORT_GP_CFG_1(bank, 11, fn, sfx, cfg)
457 #define PORT_GP_CFG_14(bank, fn, sfx, cfg) \ argument
458 PORT_GP_CFG_12(bank, fn, sfx, cfg), \
459 PORT_GP_CFG_1(bank, 12, fn, sfx, cfg), \
460 PORT_GP_CFG_1(bank, 13, fn, sfx, cfg)
463 #define PORT_GP_CFG_15(bank, fn, sfx, cfg) \ argument
464 PORT_GP_CFG_14(bank, fn, sfx, cfg), \
465 PORT_GP_CFG_1(bank, 14, fn, sfx, cfg)
468 #define PORT_GP_CFG_16(bank, fn, sfx, cfg) \ argument
469 PORT_GP_CFG_15(bank, fn, sfx, cfg), \
470 PORT_GP_CFG_1(bank, 15, fn, sfx, cfg)
473 #define PORT_GP_CFG_17(bank, fn, sfx, cfg) \ argument
474 PORT_GP_CFG_16(bank, fn, sfx, cfg), \
475 PORT_GP_CFG_1(bank, 16, fn, sfx, cfg)
478 #define PORT_GP_CFG_18(bank, fn, sfx, cfg) \ argument
479 PORT_GP_CFG_17(bank, fn, sfx, cfg), \
480 PORT_GP_CFG_1(bank, 17, fn, sfx, cfg)
483 #define PORT_GP_CFG_20(bank, fn, sfx, cfg) \ argument
484 PORT_GP_CFG_18(bank, fn, sfx, cfg), \
485 PORT_GP_CFG_1(bank, 18, fn, sfx, cfg), \
486 PORT_GP_CFG_1(bank, 19, fn, sfx, cfg)
489 #define PORT_GP_CFG_21(bank, fn, sfx, cfg) \ argument
490 PORT_GP_CFG_20(bank, fn, sfx, cfg), \
491 PORT_GP_CFG_1(bank, 20, fn, sfx, cfg)
494 #define PORT_GP_CFG_22(bank, fn, sfx, cfg) \ argument
495 PORT_GP_CFG_21(bank, fn, sfx, cfg), \
496 PORT_GP_CFG_1(bank, 21, fn, sfx, cfg)
499 #define PORT_GP_CFG_23(bank, fn, sfx, cfg) \ argument
500 PORT_GP_CFG_22(bank, fn, sfx, cfg), \
501 PORT_GP_CFG_1(bank, 22, fn, sfx, cfg)
504 #define PORT_GP_CFG_24(bank, fn, sfx, cfg) \ argument
505 PORT_GP_CFG_23(bank, fn, sfx, cfg), \
506 PORT_GP_CFG_1(bank, 23, fn, sfx, cfg)
509 #define PORT_GP_CFG_25(bank, fn, sfx, cfg) \ argument
510 PORT_GP_CFG_24(bank, fn, sfx, cfg), \
511 PORT_GP_CFG_1(bank, 24, fn, sfx, cfg)
514 #define PORT_GP_CFG_26(bank, fn, sfx, cfg) \ argument
515 PORT_GP_CFG_25(bank, fn, sfx, cfg), \
516 PORT_GP_CFG_1(bank, 25, fn, sfx, cfg)
519 #define PORT_GP_CFG_28(bank, fn, sfx, cfg) \ argument
520 PORT_GP_CFG_26(bank, fn, sfx, cfg), \
521 PORT_GP_CFG_1(bank, 26, fn, sfx, cfg), \
522 PORT_GP_CFG_1(bank, 27, fn, sfx, cfg)
525 #define PORT_GP_CFG_29(bank, fn, sfx, cfg) \ argument
526 PORT_GP_CFG_28(bank, fn, sfx, cfg), \
527 PORT_GP_CFG_1(bank, 28, fn, sfx, cfg)
530 #define PORT_GP_CFG_30(bank, fn, sfx, cfg) \ argument
531 PORT_GP_CFG_29(bank, fn, sfx, cfg), \
532 PORT_GP_CFG_1(bank, 29, fn, sfx, cfg)
535 #define PORT_GP_CFG_32(bank, fn, sfx, cfg) \ argument
536 PORT_GP_CFG_30(bank, fn, sfx, cfg), \
537 PORT_GP_CFG_1(bank, 30, fn, sfx, cfg), \
538 PORT_GP_CFG_1(bank, 31, fn, sfx, cfg)
560 #define _GP_ALL(bank, pin, name, sfx, cfg) name##_##sfx argument
564 #define _GP_GPIO(bank, _pin, _name, sfx, cfg) \ argument
569 .configs = cfg, \
574 #define _GP_DATA(bank, pin, name, sfx, cfg) PINMUX_DATA(name##_DATA, name##_FN) argument