Lines Matching refs:sfx
356 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ argument
357 fn(bank, pin, GP_##bank##_##pin, sfx, cfg)
358 #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) argument
360 #define PORT_GP_CFG_4(bank, fn, sfx, cfg) \ argument
361 PORT_GP_CFG_1(bank, 0, fn, sfx, cfg), \
362 PORT_GP_CFG_1(bank, 1, fn, sfx, cfg), \
363 PORT_GP_CFG_1(bank, 2, fn, sfx, cfg), \
364 PORT_GP_CFG_1(bank, 3, fn, sfx, cfg)
365 #define PORT_GP_4(bank, fn, sfx) PORT_GP_CFG_4(bank, fn, sfx, 0) argument
367 #define PORT_GP_CFG_6(bank, fn, sfx, cfg) \ argument
368 PORT_GP_CFG_4(bank, fn, sfx, cfg), \
369 PORT_GP_CFG_1(bank, 4, fn, sfx, cfg), \
370 PORT_GP_CFG_1(bank, 5, fn, sfx, cfg)
371 #define PORT_GP_6(bank, fn, sfx) PORT_GP_CFG_6(bank, fn, sfx, 0) argument
373 #define PORT_GP_CFG_8(bank, fn, sfx, cfg) \ argument
374 PORT_GP_CFG_6(bank, fn, sfx, cfg), \
375 PORT_GP_CFG_1(bank, 6, fn, sfx, cfg), \
376 PORT_GP_CFG_1(bank, 7, fn, sfx, cfg)
377 #define PORT_GP_8(bank, fn, sfx) PORT_GP_CFG_8(bank, fn, sfx, 0) argument
379 #define PORT_GP_CFG_9(bank, fn, sfx, cfg) \ argument
380 PORT_GP_CFG_8(bank, fn, sfx, cfg), \
381 PORT_GP_CFG_1(bank, 8, fn, sfx, cfg)
382 #define PORT_GP_9(bank, fn, sfx) PORT_GP_CFG_9(bank, fn, sfx, 0) argument
384 #define PORT_GP_CFG_10(bank, fn, sfx, cfg) \ argument
385 PORT_GP_CFG_9(bank, fn, sfx, cfg), \
386 PORT_GP_CFG_1(bank, 9, fn, sfx, cfg)
387 #define PORT_GP_10(bank, fn, sfx) PORT_GP_CFG_10(bank, fn, sfx, 0) argument
389 #define PORT_GP_CFG_11(bank, fn, sfx, cfg) \ argument
390 PORT_GP_CFG_10(bank, fn, sfx, cfg), \
391 PORT_GP_CFG_1(bank, 10, fn, sfx, cfg)
392 #define PORT_GP_11(bank, fn, sfx) PORT_GP_CFG_11(bank, fn, sfx, 0) argument
394 #define PORT_GP_CFG_12(bank, fn, sfx, cfg) \ argument
395 PORT_GP_CFG_10(bank, fn, sfx, cfg), \
396 PORT_GP_CFG_1(bank, 10, fn, sfx, cfg), \
397 PORT_GP_CFG_1(bank, 11, fn, sfx, cfg)
398 #define PORT_GP_12(bank, fn, sfx) PORT_GP_CFG_12(bank, fn, sfx, 0) argument
400 #define PORT_GP_CFG_14(bank, fn, sfx, cfg) \ argument
401 PORT_GP_CFG_12(bank, fn, sfx, cfg), \
402 PORT_GP_CFG_1(bank, 12, fn, sfx, cfg), \
403 PORT_GP_CFG_1(bank, 13, fn, sfx, cfg)
404 #define PORT_GP_14(bank, fn, sfx) PORT_GP_CFG_14(bank, fn, sfx, 0) argument
406 #define PORT_GP_CFG_15(bank, fn, sfx, cfg) \ argument
407 PORT_GP_CFG_14(bank, fn, sfx, cfg), \
408 PORT_GP_CFG_1(bank, 14, fn, sfx, cfg)
409 #define PORT_GP_15(bank, fn, sfx) PORT_GP_CFG_15(bank, fn, sfx, 0) argument
411 #define PORT_GP_CFG_16(bank, fn, sfx, cfg) \ argument
412 PORT_GP_CFG_15(bank, fn, sfx, cfg), \
413 PORT_GP_CFG_1(bank, 15, fn, sfx, cfg)
414 #define PORT_GP_16(bank, fn, sfx) PORT_GP_CFG_16(bank, fn, sfx, 0) argument
416 #define PORT_GP_CFG_17(bank, fn, sfx, cfg) \ argument
417 PORT_GP_CFG_16(bank, fn, sfx, cfg), \
418 PORT_GP_CFG_1(bank, 16, fn, sfx, cfg)
419 #define PORT_GP_17(bank, fn, sfx) PORT_GP_CFG_17(bank, fn, sfx, 0) argument
421 #define PORT_GP_CFG_18(bank, fn, sfx, cfg) \ argument
422 PORT_GP_CFG_17(bank, fn, sfx, cfg), \
423 PORT_GP_CFG_1(bank, 17, fn, sfx, cfg)
424 #define PORT_GP_18(bank, fn, sfx) PORT_GP_CFG_18(bank, fn, sfx, 0) argument
426 #define PORT_GP_CFG_20(bank, fn, sfx, cfg) \ argument
427 PORT_GP_CFG_18(bank, fn, sfx, cfg), \
428 PORT_GP_CFG_1(bank, 18, fn, sfx, cfg), \
429 PORT_GP_CFG_1(bank, 19, fn, sfx, cfg)
430 #define PORT_GP_20(bank, fn, sfx) PORT_GP_CFG_20(bank, fn, sfx, 0) argument
432 #define PORT_GP_CFG_21(bank, fn, sfx, cfg) \ argument
433 PORT_GP_CFG_20(bank, fn, sfx, cfg), \
434 PORT_GP_CFG_1(bank, 20, fn, sfx, cfg)
435 #define PORT_GP_21(bank, fn, sfx) PORT_GP_CFG_21(bank, fn, sfx, 0) argument
437 #define PORT_GP_CFG_22(bank, fn, sfx, cfg) \ argument
438 PORT_GP_CFG_21(bank, fn, sfx, cfg), \
439 PORT_GP_CFG_1(bank, 21, fn, sfx, cfg)
440 #define PORT_GP_22(bank, fn, sfx) PORT_GP_CFG_22(bank, fn, sfx, 0) argument
442 #define PORT_GP_CFG_23(bank, fn, sfx, cfg) \ argument
443 PORT_GP_CFG_22(bank, fn, sfx, cfg), \
444 PORT_GP_CFG_1(bank, 22, fn, sfx, cfg)
445 #define PORT_GP_23(bank, fn, sfx) PORT_GP_CFG_23(bank, fn, sfx, 0) argument
447 #define PORT_GP_CFG_24(bank, fn, sfx, cfg) \ argument
448 PORT_GP_CFG_23(bank, fn, sfx, cfg), \
449 PORT_GP_CFG_1(bank, 23, fn, sfx, cfg)
450 #define PORT_GP_24(bank, fn, sfx) PORT_GP_CFG_24(bank, fn, sfx, 0) argument
452 #define PORT_GP_CFG_25(bank, fn, sfx, cfg) \ argument
453 PORT_GP_CFG_24(bank, fn, sfx, cfg), \
454 PORT_GP_CFG_1(bank, 24, fn, sfx, cfg)
455 #define PORT_GP_25(bank, fn, sfx) PORT_GP_CFG_25(bank, fn, sfx, 0) argument
457 #define PORT_GP_CFG_26(bank, fn, sfx, cfg) \ argument
458 PORT_GP_CFG_25(bank, fn, sfx, cfg), \
459 PORT_GP_CFG_1(bank, 25, fn, sfx, cfg)
460 #define PORT_GP_26(bank, fn, sfx) PORT_GP_CFG_26(bank, fn, sfx, 0) argument
462 #define PORT_GP_CFG_28(bank, fn, sfx, cfg) \ argument
463 PORT_GP_CFG_26(bank, fn, sfx, cfg), \
464 PORT_GP_CFG_1(bank, 26, fn, sfx, cfg), \
465 PORT_GP_CFG_1(bank, 27, fn, sfx, cfg)
466 #define PORT_GP_28(bank, fn, sfx) PORT_GP_CFG_28(bank, fn, sfx, 0) argument
468 #define PORT_GP_CFG_29(bank, fn, sfx, cfg) \ argument
469 PORT_GP_CFG_28(bank, fn, sfx, cfg), \
470 PORT_GP_CFG_1(bank, 28, fn, sfx, cfg)
471 #define PORT_GP_29(bank, fn, sfx) PORT_GP_CFG_29(bank, fn, sfx, 0) argument
473 #define PORT_GP_CFG_30(bank, fn, sfx, cfg) \ argument
474 PORT_GP_CFG_29(bank, fn, sfx, cfg), \
475 PORT_GP_CFG_1(bank, 29, fn, sfx, cfg)
476 #define PORT_GP_30(bank, fn, sfx) PORT_GP_CFG_30(bank, fn, sfx, 0) argument
478 #define PORT_GP_CFG_32(bank, fn, sfx, cfg) \ argument
479 PORT_GP_CFG_30(bank, fn, sfx, cfg), \
480 PORT_GP_CFG_1(bank, 30, fn, sfx, cfg), \
481 PORT_GP_CFG_1(bank, 31, fn, sfx, cfg)
482 #define PORT_GP_32(bank, fn, sfx) PORT_GP_CFG_32(bank, fn, sfx, 0) argument
484 #define PORT_GP_32_REV(bank, fn, sfx) \ argument
485 PORT_GP_1(bank, 31, fn, sfx), PORT_GP_1(bank, 30, fn, sfx), \
486 PORT_GP_1(bank, 29, fn, sfx), PORT_GP_1(bank, 28, fn, sfx), \
487 PORT_GP_1(bank, 27, fn, sfx), PORT_GP_1(bank, 26, fn, sfx), \
488 PORT_GP_1(bank, 25, fn, sfx), PORT_GP_1(bank, 24, fn, sfx), \
489 PORT_GP_1(bank, 23, fn, sfx), PORT_GP_1(bank, 22, fn, sfx), \
490 PORT_GP_1(bank, 21, fn, sfx), PORT_GP_1(bank, 20, fn, sfx), \
491 PORT_GP_1(bank, 19, fn, sfx), PORT_GP_1(bank, 18, fn, sfx), \
492 PORT_GP_1(bank, 17, fn, sfx), PORT_GP_1(bank, 16, fn, sfx), \
493 PORT_GP_1(bank, 15, fn, sfx), PORT_GP_1(bank, 14, fn, sfx), \
494 PORT_GP_1(bank, 13, fn, sfx), PORT_GP_1(bank, 12, fn, sfx), \
495 PORT_GP_1(bank, 11, fn, sfx), PORT_GP_1(bank, 10, fn, sfx), \
496 PORT_GP_1(bank, 9, fn, sfx), PORT_GP_1(bank, 8, fn, sfx), \
497 PORT_GP_1(bank, 7, fn, sfx), PORT_GP_1(bank, 6, fn, sfx), \
498 PORT_GP_1(bank, 5, fn, sfx), PORT_GP_1(bank, 4, fn, sfx), \
499 PORT_GP_1(bank, 3, fn, sfx), PORT_GP_1(bank, 2, fn, sfx), \
500 PORT_GP_1(bank, 1, fn, sfx), PORT_GP_1(bank, 0, fn, sfx)
503 #define _GP_ALL(bank, pin, name, sfx, cfg) name##_##sfx argument
507 #define _GP_GPIO(bank, _pin, _name, sfx, cfg) \ argument
517 #define _GP_DATA(bank, pin, name, sfx, cfg) PINMUX_DATA(name##_DATA, name##_FN) argument
524 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument
526 #define PORT_10(pn, fn, pfx, sfx) \ argument
527 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \
528 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \
529 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \
530 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \
531 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx)
533 #define PORT_90(pn, fn, pfx, sfx) \ argument
534 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \
535 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \
536 PORT_10(pn+50, fn, pfx##5, sfx), PORT_10(pn+60, fn, pfx##6, sfx), \
537 PORT_10(pn+70, fn, pfx##7, sfx), PORT_10(pn+80, fn, pfx##8, sfx), \
538 PORT_10(pn+90, fn, pfx##9, sfx)
541 #define _PORT_ALL(pn, pfx, sfx) pfx##_##sfx argument
580 #define _PORT_DATA(pn, pfx, sfx) \ argument