/openbmc/linux/tools/lib/bpf/ |
H A D | gen_loader.c | 45 static int blob_fd_array_off(struct bpf_gen *gen, int index) in blob_fd_array_off() argument 47 return gen->fd_array + index * sizeof(int); in blob_fd_array_off() 50 static int realloc_insn_buf(struct bpf_gen *gen, __u32 size) in realloc_insn_buf() argument 52 size_t off = gen->insn_cur - gen->insn_start; in realloc_insn_buf() 55 if (gen->error) in realloc_insn_buf() 56 return gen->error; in realloc_insn_buf() 58 gen->error = -ERANGE; in realloc_insn_buf() 61 insn_start = realloc(gen->insn_start, off + size); in realloc_insn_buf() 63 gen->error = -ENOMEM; in realloc_insn_buf() 64 free(gen->insn_start); in realloc_insn_buf() [all …]
|
H A D | bpf_gen_internal.h | 54 void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps); 55 int bpf_gen__finish(struct bpf_gen *gen, int nr_progs, int nr_maps); 56 void bpf_gen__free(struct bpf_gen *gen); 57 void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size); 58 void bpf_gen__map_create(struct bpf_gen *gen, 62 void bpf_gen__prog_load(struct bpf_gen *gen, 66 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *value, __u32 value_size); 67 void bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx); 68 void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type… 69 void bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak, [all …]
|
/openbmc/linux/scripts/ |
H A D | Makefile.headersinst | 18 gen := $(objtree)/$(subst include/,include/generated/,$(obj)) 26 gen-subdirs := $(patsubst $(gen)/%/,%,$(filter %/, $(wildcard $(gen)/*/))) 27 all-subdirs := $(sort $(src-subdirs) $(gen-subdirs)) 31 gen-headers := $(if $(gen-subdirs), $(shell cd $(gen) && find $(gen-subdirs) -name '*.h')) 32 gen-headers := $(filter-out $(no-export-headers), $(gen-headers)) 36 duplicated := $(filter $(gen-headers), $(src-headers)) 39 gen-headers := $(filter-out $(duplicated), $(gen-headers)) 44 gen-headers := $(addprefix $(dst)/, $(gen-headers)) 45 all-headers := $(src-headers) $(gen-headers) 65 $(gen-headers): $(dst)/%.h: $(gen)/%.h $(srctree)/scripts/headers_install.sh FORCE
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/avro/avro-c++/ |
H A D | 0001-Remove-cpp-unittest-compilation.patch | 24 -macro (gen file ns) 32 -endmacro (gen) 34 -gen (empty_record empty) 35 -gen (bigrecord testgen) 36 -gen (bigrecord_r testgen_r) 37 -gen (bigrecord2 testgen2) 38 -gen (tweet testgen3) 39 -gen (union_array_union uau) 40 -gen (union_map_union umu) 41 -gen (union_conflict uc) [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | patch_analog.c | 23 struct hda_gen_spec gen; member 171 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in ad198x_parse_auto_config() 178 spec->gen.indep_hp = indep_hp; in ad198x_parse_auto_config() 179 if (!spec->gen.add_stereo_mix_input) in ad198x_parse_auto_config() 180 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in ad198x_parse_auto_config() 204 snd_hda_gen_spec_init(&spec->gen); in alloc_ad_spec() 221 spec->gen.keep_eapd_on = 1; in ad_fixup_inv_jack_detect() 222 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad_fixup_inv_jack_detect() 235 spec->gen.keep_eapd_on = 1; in ad1986a_fixup_eapd() 248 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_ENABLE; in ad1986a_fixup_eapd_mix_in() [all …]
|
H A D | patch_via.c | 78 struct hda_gen_spec gen; member 109 snd_hda_gen_spec_init(&spec->gen); in via_new_spec() 114 spec->gen.indep_hp = 1; in via_new_spec() 115 spec->gen.keep_eapd_on = 1; in via_new_spec() 116 spec->gen.dac_min_mute = 1; in via_new_spec() 117 spec->gen.pcm_playback_hook = via_playback_pcm_hook; in via_new_spec() 118 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in via_new_spec() 120 spec->gen.power_down_unused = 1; in via_new_spec() 187 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_stop_hp_work() 200 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_update_hp_work() [all …]
|
H A D | patch_cmedia.c | 21 struct hda_gen_spec gen; member 47 cfg = &spec->gen.autocfg; in patch_cmi9880() 48 snd_hda_gen_spec_init(&spec->gen); in patch_cmi9880() 76 cfg = &spec->gen.autocfg; in patch_cmi8888() 77 snd_hda_gen_spec_init(&spec->gen); in patch_cmi8888() 82 spec->gen.out_vol_mask = (1ULL << 0x10); in patch_cmi8888() 96 if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &_kctl)) { in patch_cmi8888()
|
/openbmc/linux/arch/arm/tools/ |
H A D | Makefile | 8 gen := arch/$(ARCH)/include/generated macro 9 kapi := $(gen)/asm 10 uapi := $(gen)/uapi/asm 16 gen-y := $(gen)/calls-oabi.S 17 gen-y += $(gen)/calls-eabi.S 23 targets += $(addprefix ../../../,$(gen-y) $(kapi-hdrs-y) $(uapi-hdrs-y)) 27 kapi: $(kapi-hdrs-y) $(gen-y) 37 $(kapi)/mach-types.h: $(src)/gen-mach-types $(src)/mach-types FORCE 56 $(gen)/calls-%.S: $(syscall) $(systbl) FORCE
|
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/ |
H A D | regs.h | 125 #define R_AH gen.A.I8_reg.h_reg 126 #define R_AL gen.A.I8_reg.l_reg 127 #define R_BH gen.B.I8_reg.h_reg 128 #define R_BL gen.B.I8_reg.l_reg 129 #define R_CH gen.C.I8_reg.h_reg 130 #define R_CL gen.C.I8_reg.l_reg 131 #define R_DH gen.D.I8_reg.h_reg 132 #define R_DL gen.D.I8_reg.l_reg 135 #define R_AX gen.A.I16_reg.x_reg 136 #define R_BX gen.B.I16_reg.x_reg [all …]
|
/openbmc/phosphor-host-ipmid/scripts/ |
H A D | meson.build | 4 sensor_gen = custom_target('sensor-gen', 5 output: 'sensor-gen.cpp', 6 input: [ 'sensor_gen.py', get_option('sensor-yaml-gen')], 17 invsensor_gen = custom_target('invsensor-gen', 18 output: 'inventory-sensor-gen.cpp', 19 input: [ 'inventory-sensor.py', get_option('invsensor-yaml-gen')], 30 fru_gen = custom_target('fru-gen', 31 output: 'fru-read-gen.cpp', 32 input: [ 'fru_gen.py', get_option('fru-yaml-gen') ],
|
/openbmc/linux/sound/soc/sh/rcar/ |
H A D | gen.c | 33 #define rsnd_priv_to_gen(p) ((struct rsnd_gen *)(p)->gen) 34 #define rsnd_reg_name(gen, id) ((gen)->reg_name[id]) argument 62 struct rsnd_gen *gen, enum rsnd_reg reg) in rsnd_is_accessible_reg() argument 64 if (!gen->regs[reg]) { in rsnd_is_accessible_reg() 86 struct rsnd_gen *gen = rsnd_priv_to_gen(priv); in rsnd_mod_read() local 89 if (!rsnd_is_accessible_reg(priv, gen, reg)) in rsnd_mod_read() 92 regmap_fields_read(gen->regs[reg], rsnd_mod_id_cmd(mod), &val); in rsnd_mod_read() 96 rsnd_reg_name(gen, reg), reg, val); in rsnd_mod_read() 106 struct rsnd_gen *gen = rsnd_priv_to_gen(priv); in rsnd_mod_write() local 108 if (!rsnd_is_accessible_reg(priv, gen, reg)) in rsnd_mod_write() [all …]
|
/openbmc/libcper/ |
H A D | meson.build | 50 'generator/sections/gen-section-ampere.c', 51 'generator/sections/gen-section-arm.c', 52 'generator/sections/gen-section-ccix-per.c', 53 'generator/sections/gen-section-cxl-component.c', 54 'generator/sections/gen-section-cxl-protocol.c', 55 'generator/sections/gen-section-dmar.c', 56 'generator/sections/gen-section-firmware.c', 57 'generator/sections/gen-section-generic.c', 58 'generator/sections/gen-section-ia32x64.c', 59 'generator/sections/gen-section-memory.c', [all …]
|
/openbmc/u-boot/board/toradex/apalis_imx6/ |
H A D | pf0100_otp.inc | 28 {pmic_i2c, 0xA0, 0x2B}, // Auto gen from Row94 29 {pmic_i2c, 0xA1, 0x01}, // Auto gen from Row95 30 {pmic_i2c, 0xA2, 0x05}, // Auto gen from Row96 31 {pmic_i2c, 0xA8, 0x2B}, // Auto gen from Row102 32 {pmic_i2c, 0xA9, 0x02}, // Auto gen from Row103 33 {pmic_i2c, 0xAA, 0x01}, // Auto gen from Row104 34 {pmic_i2c, 0xAC, 0x18}, // Auto gen from Row106 35 {pmic_i2c, 0xAE, 0x01}, // Auto gen from Row108 36 {pmic_i2c, 0xB0, 0x2C}, // Auto gen from Row110 37 {pmic_i2c, 0xB1, 0x04}, // Auto gen from Row111 [all …]
|
/openbmc/u-boot/board/toradex/colibri_imx6/ |
H A D | pf0100_otp.inc | 28 {pmic_i2c, 0xA0, 0x2B}, // Auto gen from Row94 29 {pmic_i2c, 0xA1, 0x01}, // Auto gen from Row95 30 {pmic_i2c, 0xA2, 0x05}, // Auto gen from Row96 31 {pmic_i2c, 0xA8, 0x2B}, // Auto gen from Row102 32 {pmic_i2c, 0xA9, 0x02}, // Auto gen from Row103 33 {pmic_i2c, 0xAA, 0x01}, // Auto gen from Row104 34 {pmic_i2c, 0xAC, 0x18}, // Auto gen from Row106 35 {pmic_i2c, 0xAE, 0x01}, // Auto gen from Row108 36 {pmic_i2c, 0xB0, 0x2C}, // Auto gen from Row110 37 {pmic_i2c, 0xB1, 0x04}, // Auto gen from Row111 [all …]
|
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_drv.c | 36 .gen = 2, 60 .gen = 2, 83 .gen = 2, 111 .gen = 3, 142 .gen = 3, 173 .gen = 3, 201 .gen = 3, 232 .gen = 1, 253 .gen = 2, 285 .gen = 2, [all …]
|
H A D | rcar_du_group.c | 61 if (rcdu->info->gen < 3) { in rcar_du_group_setup_defr8() 103 if (rcdu->info->gen < 3 && rgrp->index == 0) { in rcar_du_group_setup_didsr() 110 } else if (rcdu->info->gen >= 3 && rgrp->num_crtcs > 1) { in rcar_du_group_setup_didsr() 145 if (rcdu->info->gen < 3) { in rcar_du_group_setup() 152 if (rcdu->info->gen < 4) in rcar_du_group_setup() 155 if (rcdu->info->gen < 4) { in rcar_du_group_setup() 166 if (rcdu->info->gen >= 2) { in rcar_du_group_setup() 167 if (rcdu->info->gen < 4) in rcar_du_group_setup() 172 if (rcdu->info->gen >= 3) in rcar_du_group_setup() 184 if (rcdu->info->gen >= 3 && rgrp->num_crtcs == 1) in rcar_du_group_setup() [all …]
|
/openbmc/qemu/target/s390x/ |
H A D | cpu_models.h | 24 uint8_t gen; /* hw generation identification */ member 76 void s390_cpudef_featoff(uint8_t gen, uint8_t ec_ga, S390Feat feat); 77 void s390_cpudef_featoff_greater(uint8_t gen, uint8_t ec_ga, S390Feat feat); 78 void s390_cpudef_group_featoff_greater(uint8_t gen, uint8_t ec_ga, 87 if (model->def->gen >= S390_GEN_Z10) { in s390_ibc_from_cpu_model() 88 ibc = ((model->def->gen - S390_GEN_Z10) << 4) + model->def->ec_ga; in s390_ibc_from_cpu_model() 112 (model->def->gen == 7 ? 0 : (uint64_t)model->cpu_id_format << 15); in s390_cpuid_from_cpu_model() 114 S390CPUDef const *s390_find_cpu_def(uint16_t type, uint8_t gen, uint8_t ec_ga,
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libcereal/files/ |
H A D | 0001-sandbox-Do-not-use-int8_t-in-std-uniform_int_distrib.patch | 17 c = std::uniform_int_distribution<char>(' ', '~')(gen); 20 c = std::uniform_int_distribution<char>(' ', '~')(gen); 34 @@ -258,7 +258,7 @@ random_value(std::mt19937 & gen) 36 std::string s(std::uniform_int_distribution<int>(3, 30)(gen), ' '); 38 - c = std::uniform_int_distribution<char>(' ', '~')(gen); 39 + c = static_cast<char>( std::uniform_int_distribution<int>(' ', '~')(gen) ); 43 @@ -277,7 +277,7 @@ std::string random_binary_string(std::mt19937 & gen) 47 - c = std::uniform_int_distribution<char>('0', '1')(gen); 48 + c = static_cast<char>( std::uniform_int_distribution<int>( '0', '1' )(gen) );
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server/ |
H A D | 0004-call-native-helpers.patch | 21 @@ -25,7 +25,7 @@ target_link_libraries(gen-western-table 25 - COMMAND ${CMAKE_CURRENT_BINARY_DIR}/gen-western-table "${CMAKE_CURRENT_SOURCE_DIR}/e-name-western… 26 + COMMAND gen-western-table "${CMAKE_CURRENT_SOURCE_DIR}/e-name-western-tables.h.in" >${CMAKE_CURRE… 27 DEPENDS gen-western-table e-name-western-tables.h.in 34 @@ -20,7 +20,7 @@ target_include_directories(camel-gen-tables PUBLIC 38 - COMMAND ${CMAKE_CURRENT_BINARY_DIR}/camel-gen-tables >${CMAKE_CURRENT_BINARY_DIR}/camel-mime-tabl… 39 + COMMAND camel-gen-tables >${CMAKE_CURRENT_BINARY_DIR}/camel-mime-tables.c 40 DEPENDS camel-gen-tables
|
/openbmc/qemu/hw/vfio/ |
H A D | igd.c | 267 int ggms, gen = igd_gen(vdev); in vfio_igd_gtt_max() local 270 ggms = (gmch >> (gen < 8 ? 8 : 6)) & 0x3; in vfio_igd_gtt_max() 271 if (gen > 6) { in vfio_igd_gtt_max() 277 return (ggms / (4 * KiB)) * (gen < 8 ? 4 : 8); in vfio_igd_gtt_max() 308 int gen = igd_gen(vdev); in vfio_igd_quirk_data_write() local 325 if (gen < 8 || (igd->index % 8 == 1)) { in vfio_igd_quirk_data_write() 328 if (gen < 11) { in vfio_igd_quirk_data_write() 449 int gen; in vfio_probe_igd_bar0_quirk() local 467 gen = igd_gen(vdev); in vfio_probe_igd_bar0_quirk() 468 if (gen < 11) { in vfio_probe_igd_bar0_quirk() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/evolution-data-server/ |
H A D | evolution-data-server-native.bb | 12 sed -i 's:#include "evolution-data-server-config.h"::g' camel-gen-tables.c 13 ${CC} -o ${B}/camel-gen-tables camel-gen-tables.c ${CFLAGS} ${LDFLAGS} 18 sed -i 's:#include "evolution-data-server-config.h"::g' gen-western-table.c 19 …${CC} -o ${B}/gen-western-table gen-western-table.c ${CFLAGS} ${CFLAGS_glib} ${LDFLAGS} ${LDFLAGS_…
|
/openbmc/openbmc/poky/meta/recipes-graphics/menu-cache/files/ |
H A D | 0001-Support-gcc10-compilation.patch | 8 /bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:167: multiple definition of `DirDirs'; main.o:menu… 9 /bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:164: multiple definition of `AppDirs'; main.o:menu… 10 /bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:52: multiple definition of `menuTag_Layout'; main.… 18 menu-cache-gen/menu-tags.h | 55 ++++++++++++-------------------------- 21 diff --git a/menu-cache-gen/menu-tags.h b/menu-cache-gen/menu-tags.h 23 --- a/menu-cache-gen/menu-tags.h 24 +++ b/menu-cache-gen/menu-tags.h
|
/openbmc/linux/include/linux/ |
H A D | mm_inline.h | 164 static inline bool lru_gen_is_active(struct lruvec *lruvec, int gen) in lru_gen_is_active() argument 168 VM_WARN_ON_ONCE(gen >= MAX_NR_GENS); in lru_gen_is_active() 171 return gen == lru_gen_from_seq(max_seq) || gen == lru_gen_from_seq(max_seq - 1); in lru_gen_is_active() 224 int gen = folio_lru_gen(folio); in lru_gen_add_folio() local 229 VM_WARN_ON_ONCE_FOLIO(gen != -1, folio); in lru_gen_add_folio() 256 gen = lru_gen_from_seq(seq); in lru_gen_add_folio() 257 flags = (gen + 1UL) << LRU_GEN_PGOFF; in lru_gen_add_folio() 261 lru_gen_update_size(lruvec, folio, -1, gen); in lru_gen_add_folio() 264 list_add_tail(&folio->lru, &lrugen->folios[gen][type][zone]); in lru_gen_add_folio() 266 list_add(&folio->lru, &lrugen->folios[gen][type][zone]); in lru_gen_add_folio() [all …]
|
/openbmc/linux/arch/s390/kernel/syscalls/ |
H A D | Makefile | 3 gen := arch/$(ARCH)/include/generated macro 4 kapi := $(gen)/asm 5 uapi := $(gen)/uapi/asm 10 gen-y := $(kapi)/syscall_table.h 15 targets += $(addprefix ../../../../,$(gen-y) $(kapi-hdrs-y) $(uapi-hdrs-y)) 19 kapi: $(gen-y) $(kapi-hdrs-y)
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/ipmi/ |
H A D | phosphor-ipmi-host_%.bbappend | 8 -Dsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/acx22-yaml-config/ipmi-sensors.yaml \ 9 … -Dinvsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/acx22-yaml-config/ipmi-inventory-sensors.yaml \ 10 -Dfru-yaml-gen=${STAGING_DIR_HOST}${datadir}/acx22-yaml-config/ipmi-fru-read.yaml \ 14 -Dsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/p10bmc-yaml-config/ipmi-sensors.yaml \ 15 …-Dinvsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/p10bmc-yaml-config/ipmi-inventory-sensors.yaml \ 16 -Dfru-yaml-gen=${STAGING_DIR_HOST}${datadir}/p10bmc-yaml-config/ipmi-fru-read.yaml \
|