/linux-4.1.27/drivers/pinctrl/sh-pfc/ |
H A D | sh_pfc.h | 183 #define PORT_GP_1(bank, pin, fn, sfx) fn(bank, pin, GP_##bank##_##pin, sfx) 185 #define PORT_GP_32(bank, fn, sfx) \ 186 PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 187 PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ 188 PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 189 PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 190 PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ 191 PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \ 192 PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \ 193 PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \ 194 PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx), \ 195 PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \ 196 PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \ 197 PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \ 198 PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx), \ 199 PORT_GP_1(bank, 26, fn, sfx), PORT_GP_1(bank, 27, fn, sfx), \ 200 PORT_GP_1(bank, 28, fn, sfx), PORT_GP_1(bank, 29, fn, sfx), \ 201 PORT_GP_1(bank, 30, fn, sfx), PORT_GP_1(bank, 31, fn, sfx) 203 #define PORT_GP_32_REV(bank, fn, sfx) \ 204 PORT_GP_1(bank, 31, fn, sfx), PORT_GP_1(bank, 30, fn, sfx), \ 205 PORT_GP_1(bank, 29, fn, sfx), PORT_GP_1(bank, 28, fn, sfx), \ 206 PORT_GP_1(bank, 27, fn, sfx), PORT_GP_1(bank, 26, fn, sfx), \ 207 PORT_GP_1(bank, 25, fn, sfx), PORT_GP_1(bank, 24, fn, sfx), \ 208 PORT_GP_1(bank, 23, fn, sfx), PORT_GP_1(bank, 22, fn, sfx), \ 209 PORT_GP_1(bank, 21, fn, sfx), PORT_GP_1(bank, 20, fn, sfx), \ 210 PORT_GP_1(bank, 19, fn, sfx), PORT_GP_1(bank, 18, fn, sfx), \ 211 PORT_GP_1(bank, 17, fn, sfx), PORT_GP_1(bank, 16, fn, sfx), \ 212 PORT_GP_1(bank, 15, fn, sfx), PORT_GP_1(bank, 14, fn, sfx), \ 213 PORT_GP_1(bank, 13, fn, sfx), PORT_GP_1(bank, 12, fn, sfx), \ 214 PORT_GP_1(bank, 11, fn, sfx), PORT_GP_1(bank, 10, fn, sfx), \ 215 PORT_GP_1(bank, 9, fn, sfx), PORT_GP_1(bank, 8, fn, sfx), \ 216 PORT_GP_1(bank, 7, fn, sfx), PORT_GP_1(bank, 6, fn, sfx), \ 217 PORT_GP_1(bank, 5, fn, sfx), PORT_GP_1(bank, 4, fn, sfx), \ 218 PORT_GP_1(bank, 3, fn, sfx), PORT_GP_1(bank, 2, fn, sfx), \ 219 PORT_GP_1(bank, 1, fn, sfx), PORT_GP_1(bank, 0, fn, sfx) 222 #define _GP_ALL(bank, pin, name, sfx) name##_##sfx 226 #define _GP_GPIO(bank, _pin, _name, sfx) \ 235 #define _GP_DATA(bank, pin, name, sfx) PINMUX_DATA(name##_DATA, name##_FN) 242 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) 244 #define PORT_10(pn, fn, pfx, sfx) \ 245 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \ 246 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \ 247 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \ 248 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \ 249 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx) 251 #define PORT_90(pn, fn, pfx, sfx) \ 252 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \ 253 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \ 254 PORT_10(pn+50, fn, pfx##5, sfx), PORT_10(pn+60, fn, pfx##6, sfx), \ 255 PORT_10(pn+70, fn, pfx##7, sfx), PORT_10(pn+80, fn, pfx##8, sfx), \ 256 PORT_10(pn+90, fn, pfx##9, sfx) 259 #define _PORT_ALL(pn, pfx, sfx) pfx##_##sfx 290 #define _PORT_DATA(pn, pfx, sfx) \
|
H A D | pfc-r8a73a4.c | 31 #define CPU_ALL_PORT(fn, pfx, sfx) \ 33 PORT_10(0, fn, pfx, sfx), \ 34 PORT_10(10, fn, pfx##1, sfx), \ 35 PORT_10(20, fn, pfx##2, sfx), \ 36 PORT_1(30, fn, pfx##30, sfx), \ 38 PORT_1(32, fn, pfx##32, sfx), PORT_1(33, fn, pfx##33, sfx), \ 39 PORT_1(34, fn, pfx##34, sfx), PORT_1(35, fn, pfx##35, sfx), \ 40 PORT_1(36, fn, pfx##36, sfx), PORT_1(37, fn, pfx##37, sfx), \ 41 PORT_1(38, fn, pfx##38, sfx), PORT_1(39, fn, pfx##39, sfx), \ 42 PORT_1(40, fn, pfx##40, sfx), \ 44 PORT_1(64, fn, pfx##64, sfx), PORT_1(65, fn, pfx##65, sfx), \ 45 PORT_1(66, fn, pfx##66, sfx), PORT_1(67, fn, pfx##67, sfx), \ 46 PORT_1(68, fn, pfx##68, sfx), PORT_1(69, fn, pfx##69, sfx), \ 47 PORT_10(70, fn, pfx##7, sfx), \ 48 PORT_1(80, fn, pfx##80, sfx), PORT_1(81, fn, pfx##81, sfx), \ 49 PORT_1(82, fn, pfx##82, sfx), PORT_1(83, fn, pfx##83, sfx), \ 50 PORT_1(84, fn, pfx##84, sfx), PORT_1(85, fn, pfx##85, sfx), \ 52 PORT_1(96, fn, pfx##96, sfx), PORT_1(97, fn, pfx##97, sfx), \ 53 PORT_1(98, fn, pfx##98, sfx), PORT_1(99, fn, pfx##99, sfx), \ 54 PORT_10(100, fn, pfx##10, sfx), \ 55 PORT_10(110, fn, pfx##11, sfx), \ 56 PORT_1(120, fn, pfx##120, sfx), PORT_1(121, fn, pfx##121, sfx), \ 57 PORT_1(122, fn, pfx##122, sfx), PORT_1(123, fn, pfx##123, sfx), \ 58 PORT_1(124, fn, pfx##124, sfx), PORT_1(125, fn, pfx##125, sfx), \ 59 PORT_1(126, fn, pfx##126, sfx), \ 61 PORT_1(128, fn, pfx##128, sfx), PORT_1(129, fn, pfx##129, sfx), \ 62 PORT_1(130, fn, pfx##130, sfx), PORT_1(131, fn, pfx##131, sfx), \ 63 PORT_1(132, fn, pfx##132, sfx), PORT_1(133, fn, pfx##133, sfx), \ 64 PORT_1(134, fn, pfx##134, sfx), \ 66 PORT_10(160, fn, pfx##16, sfx), \ 67 PORT_1(170, fn, pfx##170, sfx), PORT_1(171, fn, pfx##171, sfx), \ 68 PORT_1(172, fn, pfx##172, sfx), PORT_1(173, fn, pfx##173, sfx), \ 69 PORT_1(174, fn, pfx##174, sfx), PORT_1(175, fn, pfx##175, sfx), \ 70 PORT_1(176, fn, pfx##176, sfx), PORT_1(177, fn, pfx##177, sfx), \ 71 PORT_1(178, fn, pfx##178, sfx), \ 73 PORT_1(192, fn, pfx##192, sfx), PORT_1(193, fn, pfx##193, sfx), \ 74 PORT_1(194, fn, pfx##194, sfx), PORT_1(195, fn, pfx##195, sfx), \ 75 PORT_1(196, fn, pfx##196, sfx), PORT_1(197, fn, pfx##197, sfx), \ 76 PORT_1(198, fn, pfx##198, sfx), PORT_1(199, fn, pfx##199, sfx), \ 77 PORT_10(200, fn, pfx##20, sfx), \ 78 PORT_10(210, fn, pfx##21, sfx), \ 79 PORT_1(220, fn, pfx##220, sfx), PORT_1(221, fn, pfx##221, sfx), \ 80 PORT_1(222, fn, pfx##222, sfx), \ 82 PORT_1(224, fn, pfx##224, sfx), PORT_1(225, fn, pfx##225, sfx), \ 83 PORT_1(226, fn, pfx##226, sfx), PORT_1(227, fn, pfx##227, sfx), \ 84 PORT_1(228, fn, pfx##228, sfx), PORT_1(229, fn, pfx##229, sfx), \ 85 PORT_10(230, fn, pfx##23, sfx), \ 86 PORT_10(240, fn, pfx##24, sfx), \ 87 PORT_1(250, fn, pfx##250, sfx), \ 89 PORT_1(256, fn, pfx##256, sfx), PORT_1(257, fn, pfx##257, sfx), \ 90 PORT_1(258, fn, pfx##258, sfx), PORT_1(259, fn, pfx##259, sfx), \ 91 PORT_10(260, fn, pfx##26, sfx), \ 92 PORT_10(270, fn, pfx##27, sfx), \ 93 PORT_1(280, fn, pfx##280, sfx), PORT_1(281, fn, pfx##281, sfx), \ 94 PORT_1(282, fn, pfx##282, sfx), PORT_1(283, fn, pfx##283, sfx), \ 96 PORT_1(288, fn, pfx##288, sfx), PORT_1(289, fn, pfx##289, sfx), \ 97 PORT_10(290, fn, pfx##29, sfx), \ 98 PORT_1(300, fn, pfx##300, sfx), PORT_1(301, fn, pfx##301, sfx), \ 99 PORT_1(302, fn, pfx##302, sfx), PORT_1(303, fn, pfx##303, sfx), \ 100 PORT_1(304, fn, pfx##304, sfx), PORT_1(305, fn, pfx##305, sfx), \ 101 PORT_1(306, fn, pfx##306, sfx), PORT_1(307, fn, pfx##307, sfx), \ 102 PORT_1(308, fn, pfx##308, sfx), \ 104 PORT_10(320, fn, pfx##32, sfx)
|
H A D | pfc-r8a7778.c | 26 #define PORT_GP_27(bank, fn, sfx) \ 27 PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 28 PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ 29 PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 30 PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 31 PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ 32 PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \ 33 PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \ 34 PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \ 35 PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx), \ 36 PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \ 37 PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \ 38 PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \ 39 PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx), \ 40 PORT_GP_1(bank, 26, fn, sfx) 42 #define CPU_ALL_PORT(fn, sfx) \ 43 PORT_GP_32(0, fn, sfx), \ 44 PORT_GP_32(1, fn, sfx), \ 45 PORT_GP_32(2, fn, sfx), \ 46 PORT_GP_32(3, fn, sfx), \ 47 PORT_GP_27(4, fn, sfx)
|
H A D | pfc-emev2.c | 15 #define CPU_ALL_PORT(fn, pfx, sfx) \ 16 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \ 17 PORT_10(100, fn, pfx##10, sfx), PORT_10(110, fn, pfx##11, sfx), \ 18 PORT_10(120, fn, pfx##12, sfx), PORT_10(130, fn, pfx##13, sfx), \ 19 PORT_10(140, fn, pfx##14, sfx), PORT_1(150, fn, pfx##150, sfx), \ 20 PORT_1(151, fn, pfx##151, sfx), PORT_1(152, fn, pfx##152, sfx), \ 21 PORT_1(153, fn, pfx##153, sfx), PORT_1(154, fn, pfx##154, sfx), \ 22 PORT_1(155, fn, pfx##155, sfx), PORT_1(156, fn, pfx##156, sfx), \ 23 PORT_1(157, fn, pfx##157, sfx), PORT_1(158, fn, pfx##158, sfx) 231 #define __PIN_CFG(pn, pfx, sfx) SH_PFC_PIN_CFG(pfx, 0) 253 #define __PORT_DATA(pn, pfx, sfx) PINMUX_DATA(PORT##pfx##_DATA, PORT##pfx##_FN)
|
H A D | pfc-sh73a0.c | 36 #define CPU_ALL_PORT(fn, pfx, sfx) \ 37 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \ 38 PORT_10(100, fn, pfx##10, sfx), \ 39 PORT_1(110, fn, pfx##110, sfx), PORT_1(111, fn, pfx##111, sfx), \ 40 PORT_1(112, fn, pfx##112, sfx), PORT_1(113, fn, pfx##113, sfx), \ 41 PORT_1(114, fn, pfx##114, sfx), PORT_1(115, fn, pfx##115, sfx), \ 42 PORT_1(116, fn, pfx##116, sfx), PORT_1(117, fn, pfx##117, sfx), \ 43 PORT_1(118, fn, pfx##118, sfx), \ 44 PORT_1(128, fn, pfx##128, sfx), PORT_1(129, fn, pfx##129, sfx), \ 45 PORT_10(130, fn, pfx##13, sfx), PORT_10(140, fn, pfx##14, sfx), \ 46 PORT_10(150, fn, pfx##15, sfx), \ 47 PORT_1(160, fn, pfx##160, sfx), PORT_1(161, fn, pfx##161, sfx), \ 48 PORT_1(162, fn, pfx##162, sfx), PORT_1(163, fn, pfx##163, sfx), \ 49 PORT_1(164, fn, pfx##164, sfx), \ 50 PORT_1(192, fn, pfx##192, sfx), PORT_1(193, fn, pfx##193, sfx), \ 51 PORT_1(194, fn, pfx##194, sfx), PORT_1(195, fn, pfx##195, sfx), \ 52 PORT_1(196, fn, pfx##196, sfx), PORT_1(197, fn, pfx##197, sfx), \ 53 PORT_1(198, fn, pfx##198, sfx), PORT_1(199, fn, pfx##199, sfx), \ 54 PORT_10(200, fn, pfx##20, sfx), PORT_10(210, fn, pfx##21, sfx), \ 55 PORT_10(220, fn, pfx##22, sfx), PORT_10(230, fn, pfx##23, sfx), \ 56 PORT_10(240, fn, pfx##24, sfx), PORT_10(250, fn, pfx##25, sfx), \ 57 PORT_10(260, fn, pfx##26, sfx), PORT_10(270, fn, pfx##27, sfx), \ 58 PORT_1(280, fn, pfx##280, sfx), PORT_1(281, fn, pfx##281, sfx), \ 59 PORT_1(282, fn, pfx##282, sfx), \ 60 PORT_1(288, fn, pfx##288, sfx), PORT_1(289, fn, pfx##289, sfx), \ 61 PORT_10(290, fn, pfx##29, sfx), PORT_10(300, fn, pfx##30, sfx)
|
H A D | pfc-sh7734.c | 17 #define PORT_GP_12(bank, fn, sfx) \ 18 PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 19 PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ 20 PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 21 PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 22 PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ 23 PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx) 25 #define CPU_ALL_PORT(fn, sfx) \ 26 PORT_GP_32(0, fn, sfx), \ 27 PORT_GP_32(1, fn, sfx), \ 28 PORT_GP_32(2, fn, sfx), \ 29 PORT_GP_32(3, fn, sfx), \ 30 PORT_GP_32(4, fn, sfx), \ 31 PORT_GP_12(5, fn, sfx) 34 #define _GP_DATA(bank, pin, name, sfx) \ 37 #define _GP_INOUTSEL(bank, pin, name, sfx) name##_IN, name##_OUT 38 #define _GP_INDT(bank, pin, name, sfx) name##_DATA
|
H A D | pfc-r8a7779.c | 27 #define PORT_GP_9(bank, fn, sfx) \ 28 PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 29 PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ 30 PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 31 PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 32 PORT_GP_1(bank, 8, fn, sfx) 34 #define CPU_ALL_PORT(fn, sfx) \ 35 PORT_GP_32(0, fn, sfx), \ 36 PORT_GP_32(1, fn, sfx), \ 37 PORT_GP_32(2, fn, sfx), \ 38 PORT_GP_32(3, fn, sfx), \ 39 PORT_GP_32(4, fn, sfx), \ 40 PORT_GP_32(5, fn, sfx), \ 41 PORT_GP_9(6, fn, sfx)
|
H A D | pfc-r8a7740.c | 32 #define CPU_ALL_PORT(fn, pfx, sfx) \ 33 PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \ 34 PORT_10(100, fn, pfx##10, sfx), PORT_90(100, fn, pfx##1, sfx), \ 35 PORT_10(200, fn, pfx##20, sfx), \ 36 PORT_1(210, fn, pfx##210, sfx), PORT_1(211, fn, pfx##211, sfx)
|
H A D | pfc-r8a7791.c | 17 #define CPU_ALL_PORT(fn, sfx) \ 18 PORT_GP_32(0, fn, sfx), \ 19 PORT_GP_32(1, fn, sfx), \ 20 PORT_GP_32(2, fn, sfx), \ 21 PORT_GP_32(3, fn, sfx), \ 22 PORT_GP_32(4, fn, sfx), \ 23 PORT_GP_32(5, fn, sfx), \ 24 PORT_GP_32(6, fn, sfx), \ 25 PORT_GP_32(7, fn, sfx)
|
H A D | pfc-r8a7790.c | 30 #define CPU_ALL_PORT(fn, sfx) \ 31 PORT_GP_32(0, fn, sfx), \ 32 PORT_GP_32(1, fn, sfx), \ 33 PORT_GP_32(2, fn, sfx), \ 34 PORT_GP_32(3, fn, sfx), \ 35 PORT_GP_32(4, fn, sfx), \ 36 PORT_GP_32(5, fn, sfx)
|
/linux-4.1.27/include/linux/ |
H A D | btree-type.h | 1 #define __BTREE_TP(pfx, type, sfx) pfx ## type ## sfx 2 #define _BTREE_TP(pfx, type, sfx) __BTREE_TP(pfx, type, sfx)
|
/linux-4.1.27/sound/pci/hda/ |
H A D | hda_auto_parser.c | 660 const char *pfx, *sfx = ""; fill_audio_out_name() local 669 sfx = check_output_sfx(nid, cfg->line_out_pins, cfg->line_outs, fill_audio_out_name() 671 if (!sfx) fill_audio_out_name() 672 sfx = check_output_sfx(nid, cfg->speaker_pins, cfg->speaker_outs, fill_audio_out_name() 674 if (!sfx) { fill_audio_out_name() 680 sfx = ""; fill_audio_out_name() 683 snprintf(label, maxlen, "%s%s%s", pfx, name, sfx); fill_audio_out_name()
|
H A D | hda_generic.c | 1010 const char *sfx, int cidx, unsigned long val) add_control_with_pfx() 1013 snprintf(name, sizeof(name), "%s %s %s", pfx, dir, sfx); add_control_with_pfx() 3581 const char *sfx = is_switch ? "Switch" : "Volume"; add_single_cap_ctl() local 3590 "%s Capture %s", label, sfx); add_single_cap_ctl() 3593 "Capture %s", sfx); add_single_cap_ctl() 3606 "Inverted %s Capture %s", label, sfx); add_single_cap_ctl() 3609 "Inverted Capture %s", sfx); add_single_cap_ctl() 5476 static void fill_pcm_stream_name(char *str, size_t len, const char *sfx, fill_pcm_stream_name() argument 5492 strlcat(str, sfx, len); fill_pcm_stream_name() 1008 add_control_with_pfx(struct hda_gen_spec *spec, int type, const char *pfx, const char *dir, const char *sfx, int cidx, unsigned long val) add_control_with_pfx() argument
|
/linux-4.1.27/arch/powerpc/xmon/ |
H A D | spu-insns.h | 356 APUOP(M_SFX, RR, 0x341, "sfx", _A3(A_T,A_A,A_B), 00113, FX2) /* Add_eXtended RT<-RA+RB+RT */
|
/linux-4.1.27/net/sctp/ |
H A D | sm_sideeffect.c | 1087 pr_debug("%s[post-sfx]: error:%d, asoc:%p[%s]\n", __func__, error, \
|