/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mt76x8.c | 39 FUNC("sdxc d6", 3, 19, 1), 40 FUNC("utif", 2, 19, 1), 41 FUNC("gpio", 1, 19, 1), 42 FUNC("pwm1", 0, 19, 1), 46 FUNC("sdxc d7", 3, 18, 1), 47 FUNC("utif", 2, 18, 1), 48 FUNC("gpio", 1, 18, 1), 49 FUNC("pwm0", 0, 18, 1), 53 FUNC("sdxc d5 d4", 3, 20, 2), 54 FUNC("pwm", 2, 20, 2), [all …]
|
H A D | pinctrl-mt7620.c | 55 static struct mtmips_pmx_func i2c_grp[] = { FUNC("i2c", 0, 1, 2) }; 56 static struct mtmips_pmx_func spi_grp[] = { FUNC("spi", 0, 3, 4) }; 57 static struct mtmips_pmx_func uartlite_grp[] = { FUNC("uartlite", 0, 15, 2) }; 59 FUNC("mdio", MT7620_GPIO_MODE_MDIO, 22, 2), 60 FUNC("refclk", MT7620_GPIO_MODE_MDIO_REFCLK, 22, 2), 62 static struct mtmips_pmx_func rgmii1_grp[] = { FUNC("rgmii1", 0, 24, 12) }; 63 static struct mtmips_pmx_func refclk_grp[] = { FUNC("spi refclk", 0, 37, 3) }; 64 static struct mtmips_pmx_func ephy_grp[] = { FUNC("ephy", 0, 40, 5) }; 65 static struct mtmips_pmx_func rgmii2_grp[] = { FUNC("rgmii2", 0, 60, 12) }; 66 static struct mtmips_pmx_func wled_grp[] = { FUNC("wled", 0, 72, 1) }; [all …]
|
H A D | pinctrl-rt305x.c | 34 static struct mtmips_pmx_func i2c_grp[] = { FUNC("i2c", 0, 1, 2) }; 35 static struct mtmips_pmx_func spi_grp[] = { FUNC("spi", 0, 3, 4) }; 37 FUNC("uartf", RT305X_GPIO_MODE_UARTF, 7, 8), 38 FUNC("pcm uartf", RT305X_GPIO_MODE_PCM_UARTF, 7, 8), 39 FUNC("pcm i2s", RT305X_GPIO_MODE_PCM_I2S, 7, 8), 40 FUNC("i2s uartf", RT305X_GPIO_MODE_I2S_UARTF, 7, 8), 41 FUNC("pcm gpio", RT305X_GPIO_MODE_PCM_GPIO, 11, 4), 42 FUNC("gpio uartf", RT305X_GPIO_MODE_GPIO_UARTF, 7, 4), 43 FUNC("gpio i2s", RT305X_GPIO_MODE_GPIO_I2S, 7, 4), 45 static struct mtmips_pmx_func uartlite_grp[] = { FUNC("uartlite", 0, 15, 2) }; [all …]
|
H A D | pinctrl-mt7621.c | 37 static struct mtmips_pmx_func uart1_grp[] = { FUNC("uart1", 0, 1, 2) }; 38 static struct mtmips_pmx_func i2c_grp[] = { FUNC("i2c", 0, 3, 2) }; 40 FUNC("uart3", 0, 5, 4), 41 FUNC("i2s", 2, 5, 4), 42 FUNC("spdif3", 3, 5, 4), 45 FUNC("uart2", 0, 9, 4), 46 FUNC("pcm", 2, 9, 4), 47 FUNC("spdif2", 3, 9, 4), 49 static struct mtmips_pmx_func jtag_grp[] = { FUNC("jtag", 0, 13, 5) }; 51 FUNC("wdt rst", 0, 18, 1), [all …]
|
H A D | pinctrl-rt3883.c | 42 static struct mtmips_pmx_func i2c_grp[] = { FUNC("i2c", 0, 1, 2) }; 43 static struct mtmips_pmx_func spi_grp[] = { FUNC("spi", 0, 3, 4) }; 45 FUNC("uartf", RT3883_GPIO_MODE_UARTF, 7, 8), 46 FUNC("pcm uartf", RT3883_GPIO_MODE_PCM_UARTF, 7, 8), 47 FUNC("pcm i2s", RT3883_GPIO_MODE_PCM_I2S, 7, 8), 48 FUNC("i2s uartf", RT3883_GPIO_MODE_I2S_UARTF, 7, 8), 49 FUNC("pcm gpio", RT3883_GPIO_MODE_PCM_GPIO, 11, 4), 50 FUNC("gpio uartf", RT3883_GPIO_MODE_GPIO_UARTF, 7, 4), 51 FUNC("gpio i2s", RT3883_GPIO_MODE_GPIO_I2S, 7, 4), 53 static struct mtmips_pmx_func uartlite_grp[] = { FUNC("uartlite", 0, 15, 2) }; [all …]
|
H A D | pinctrl-rt2880.c | 18 static struct mtmips_pmx_func i2c_grp[] = { FUNC("i2c", 0, 1, 2) }; 19 static struct mtmips_pmx_func spi_grp[] = { FUNC("spi", 0, 3, 4) }; 20 static struct mtmips_pmx_func uartlite_grp[] = { FUNC("uartlite", 0, 7, 8) }; 21 static struct mtmips_pmx_func jtag_grp[] = { FUNC("jtag", 0, 17, 5) }; 22 static struct mtmips_pmx_func mdio_grp[] = { FUNC("mdio", 0, 22, 2) }; 23 static struct mtmips_pmx_func sdram_grp[] = { FUNC("sdram", 0, 24, 16) }; 24 static struct mtmips_pmx_func pci_grp[] = { FUNC("pci", 0, 40, 32) };
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | kprobe_eventname.tc | 8 FUNC=`grep " [tT] .*vfs_read$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " "` 9 [ "x" != "x$FUNC" ] || exit_unresolved 10 echo "p $FUNC" > kprobe_events 11 PROBE_NAME=`echo $FUNC | tr ".:" "_"` 16 echo "p:event1 $FUNC" > kprobe_events 21 echo "p:kprobes2/event2 $FUNC" > kprobe_events 41 FUNC=`find_dot_func | tail -n 1` 42 [ "x" != "x$FUNC" ] || exit_unresolved 43 echo "p $FUNC" > kprobe_events 44 EVENT=`grep $FUNC kprobe_events | cut -f 1 -d " " | cut -f 2 -d:`
|
H A D | kprobe_module.tc | 14 FUNC=trace_printk_irq_work 18 echo "p $MOD:$FUNC" > kprobe_events 19 PROBE_NAME=`echo $MOD:$FUNC | tr ".:" "_"` 24 echo "p:event1 $MOD:$FUNC" > kprobe_events 29 echo "p:kprobes1/event1 $MOD:$FUNC" > kprobe_events 40 echo "p:event2 $MOD:$FUNC" >> kprobe_events
|
/openbmc/linux/sound/usb/ |
H A D | validate.c | 234 #define FUNC(p, t, f) { .protocol = (p), .type = (t), .func = (f) } macro 238 FUNC(UAC_VERSION_1, UAC_HEADER, validate_uac1_header), 243 FUNC(UAC_VERSION_1, UAC_MIXER_UNIT, validate_mixer_unit), 244 FUNC(UAC_VERSION_1, UAC_SELECTOR_UNIT, validate_selector_unit), 245 FUNC(UAC_VERSION_1, UAC_FEATURE_UNIT, validate_uac1_feature_unit), 246 FUNC(UAC_VERSION_1, UAC1_PROCESSING_UNIT, validate_processing_unit), 247 FUNC(UAC_VERSION_1, UAC1_EXTENSION_UNIT, validate_processing_unit), 255 FUNC(UAC_VERSION_2, UAC_MIXER_UNIT, validate_mixer_unit), 256 FUNC(UAC_VERSION_2, UAC_SELECTOR_UNIT, validate_selector_unit), 257 FUNC(UAC_VERSION_2, UAC_FEATURE_UNIT, validate_uac2_feature_unit), [all …]
|
/openbmc/linux/arch/mips/vdso/ |
H A D | genvdso.h | 7 static inline bool FUNC(patch_vdso)(const char *path, void *vdso) in FUNC() function 15 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC() 20 shstrtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC() 58 static inline bool FUNC(get_symbols)(const char *path, void *vdso) in FUNC() function 69 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC() 96 symtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC() 97 st_entsize = FUNC(swap_uint)(shdr->sh_entsize); in FUNC() 98 st_count = FUNC(swap_uint)(shdr->sh_size) / st_entsize; in FUNC() 102 strtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC() 114 offset = FUNC(swap_uint)(sym->st_value); in FUNC()
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | usr.c | 423 #define TEST_x_OP_x(RESTYPE, CHECKFN, SRCTYPE, FUNC, SRC, RES, USR_RES) \ argument 428 result = FUNC(src, &usr_result); \ 433 #define TEST_R_OP_R(FUNC, SRC, RES, USR_RES) \ argument 434 TEST_x_OP_x(uint32_t, check32, uint32_t, FUNC, SRC, RES, USR_RES) 436 #define TEST_R_OP_P(FUNC, SRC, RES, USR_RES) \ argument 437 TEST_x_OP_x(uint32_t, check32, uint64_t, FUNC, SRC, RES, USR_RES) 439 #define TEST_P_OP_P(FUNC, SRC, RES, USR_RES) \ argument 440 TEST_x_OP_x(uint64_t, check64, uint64_t, FUNC, SRC, RES, USR_RES) 442 #define TEST_P_OP_R(FUNC, SRC, RES, USR_RES) \ argument 443 TEST_x_OP_x(uint64_t, check64, uint32_t, FUNC, SRC, RES, USR_RES) [all …]
|
/openbmc/linux/scripts/ |
H A D | test_fortify.sh | 11 FUNC="${FILE#*-}" 12 FUNC="${FUNC%%-*}" 13 FUNC="${FUNC%%.*}" 46 status="warning: unsafe ${FUNC}() usage lacked '$WANT' symbol in $IN" 55 status="warning: unsafe ${FUNC}() usage lacked '$WANT' warning in $IN" 64 echo "ok: unsafe ${FUNC}() usage correctly detected with '$WANT' in $IN" >"$OUT"
|
/openbmc/linux/tools/testing/selftests/amd-pstate/ |
H A D | run.sh | 20 FUNC=all 169 FUNC=$OPTARG 251 case "$FUNC" in 262 echo "$0 # Current comparative test is for $FUNC." 273 case "$FUNC" in 321 case "$FUNC" in 348 case "$FUNC" in
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_interrupts.S | 19 #define FUNC(name) name macro 21 #define FUNC(name) GLUE(.,name) macro 26 #define FUNC(name) name macro 88 bl FUNC(kvmppc_copy_to_svcpu) 126 bl FUNC(kvmppc_entry_trampoline) 157 bl FUNC(kvmppc_copy_from_svcpu) 196 bl FUNC(kvmppc_handle_exit_pr)
|
H A D | book3s_rmhandlers.S | 30 #define FUNC(name) name macro 32 #define FUNC(name) GLUE(.,name) macro 37 #define FUNC(name) name macro
|
/openbmc/linux/drivers/input/serio/ |
H A D | hil_mlc.c | 442 #define FUNC(funct, funct_arg, zero_rc, neg_rc, pos_rc) \ macro 464 FUNC(hilse_init_lcv, 0, HILSEN_NEXT, HILSEN_SLEEP, 0) 467 FUNC(hilse_inc_lcv, 10, HILSEN_NEXT, HILSEN_START, 0) 483 FUNC(hilse_init_lcv, 0, HILSEN_NEXT, HILSEN_SLEEP, 0) 486 FUNC(hilse_inc_lcv, 10, HILSEN_NEXT, HILSEN_START, 0) 487 FUNC(hilse_set_ddi, -1, HILSEN_NEXT, 0, 0) 503 FUNC(hilse_dec_ddi, 0, HILSEN_NEXT, HILSEN_ACF, 0) 504 FUNC(hilse_inc_ddi, 0, HILSEN_NEXT, 0, 0) 510 FUNC(hilse_dec_ddi, 0, HILSEN_HEAL, HILSEN_NEXT, 0) 513 FUNC(hilse_init_lcv, 0, HILSEN_NEXT, HILSEN_DOZE, 0) [all …]
|
/openbmc/linux/tools/testing/selftests/cpufreq/ |
H A D | main.sh | 10 FUNC=basic # do basic tests by default 80 FUNC=$OPTARG 107 if [ $count = 0 -a $FUNC != "modtest" ]; then 112 case "$FUNC" in
|
/openbmc/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-btf.rst | 185 [19] FUNC 'my_func' type_id=18 256 [104852] FUNC 'i2c_register_spd' type_id=84745 linkage=static 257 [104853] FUNC 'smbalert_driver_init' type_id=1213 linkage=static 260 [104855] FUNC 'i2c_handle_smbus_alert' type_id=104854 linkage=static 261 [104856] FUNC 'smbalert_remove' type_id=104854 linkage=static 265 [104858] FUNC 'smbalert_probe' type_id=104857 linkage=static 266 [104859] FUNC 'smbalert_work' type_id=9695 linkage=static 267 [104860] FUNC 'smbus_alert' type_id=71367 linkage=static 268 [104861] FUNC 'smbus_do_alert' type_id=84827 linkage=static
|
/openbmc/linux/include/media/ |
H A D | dvbdev.h | 482 #define dvb_detach(FUNC) symbol_put_addr(FUNC) argument 489 #define dvb_detach(FUNC) {} argument
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-neon.c | 809 #define DO_3SAME(INSN, FUNC) \ argument 812 return do_3same(s, a, FUNC); \ 849 #define DO_3SAME_NO_SZ_3(INSN, FUNC) \ argument 855 return do_3same(s, a, FUNC); \ 897 #define WRAP_OOL_FN(WRAPNAME, FUNC) \ argument 901 tcg_gen_gvec_3_ool(rd_ofs, rn_ofs, rm_ofs, oprsz, maxsz, 0, FUNC); \ 914 #define DO_VQRDMLAH(INSN, FUNC) \ argument 923 return do_3same(s, a, FUNC); \ 929 #define DO_SHA1(NAME, FUNC) \ in DO_VQRDMLAH() argument 930 WRAP_OOL_FN(gen_##NAME##_3s, FUNC) \ in DO_VQRDMLAH() [all …]
|
/openbmc/linux/arch/x86/math-emu/ |
H A D | fpu_aux.c | 66 static FUNC const finit_table[] = { 82 static FUNC const fstsw_table[] = { 92 static FUNC const fp_nop_table[] = {
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | pnp_def.h | 32 #define PNP_DEV(PORT, FUNC) (((PORT) << 8) | (FUNC)) argument
|
/openbmc/qemu/target/loongarch/ |
H A D | translate.h | 13 #define TRANS(NAME, AVAIL, FUNC, ...) \ argument 15 { return avail_##AVAIL(ctx) && FUNC(ctx, a, __VA_ARGS__); }
|
/openbmc/openpower-hw-diags/analyzer/plugins/ |
H A D | plugin.hpp | 136 #define __PLUGIN_DEFINE(CHIP, NAME, FUNC) \ argument 143 PluginMap::getSingleton().add(CHIP, #NAME, &FUNC); \
|
/openbmc/linux/Documentation/core-api/ |
H A D | asm-annotations.rst | 36 25: 0000000000000000 33 FUNC GLOBAL DEFAULT 1 __put_user_1 37 29: 0000000000000030 37 FUNC GLOBAL DEFAULT 1 __put_user_2 38 32: 0000000000000060 36 FUNC GLOBAL DEFAULT 1 __put_user_4 39 35: 0000000000000090 37 FUNC GLOBAL DEFAULT 1 __put_user_8 149 one. ``_NOALIGN`` variants exist too. The use is the same as for the ``FUNC`` 162 ``SYM_{CODE,FUNC}_START`` and ``SYM_{CODE,FUNC}_END``. They are very similar
|