/linux/tools/lib/bpf/ |
A D | gen_loader.c | 52 size_t off = gen->insn_cur - gen->insn_start; in realloc_insn_buf() 75 size_t off = gen->data_cur - gen->data_start; in realloc_data_buf() 142 gen->cleanup_label = gen->insn_cur - gen->insn_start; in bpf_gen__init() 284 __s64 off = -(gen->insn_cur - gen->insn_start - gen->cleanup_label) / 8 - 1; in emit_check_err() 402 opts->data_sz = gen->data_cur - gen->data_start; in bpf_gen__finish() 409 if (!gen) in bpf_gen__free() 559 name = add_data(gen, gen->attach_target, len); in emit_find_attach_target() 569 gen->attach_target, gen->attach_kind); in emit_find_attach_target() 613 kdesc = &gen->ksyms[gen->nr_ksyms++]; in get_ksym_desc() 883 emit_relo(gen, gen->relos + i, insns); in emit_relos() [all …]
|
A D | bpf_gen_internal.h | 48 void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps); 49 int bpf_gen__finish(struct bpf_gen *gen, int nr_progs, int nr_maps); 50 void bpf_gen__free(struct bpf_gen *gen); 51 void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size); 52 void bpf_gen__map_create(struct bpf_gen *gen, struct bpf_create_map_params *map_attr, int map_idx); 54 void bpf_gen__prog_load(struct bpf_gen *gen, struct bpf_prog_load_params *load_attr, int prog_idx); 55 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *value, __u32 value_size); 56 void bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx); 57 void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type… 58 void bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak,
|
/linux/scripts/ |
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
|
/linux/sound/soc/sh/rcar/ |
A D | gen.c | 34 #define rsnd_reg_name(gen, id) ((gen)->reg_name[id]) argument 64 if (!gen->regs[reg]) { in rsnd_is_accessible_reg() 141 return gen->res[reg_id]; in rsnd_gen_get_phy_addr() 149 return gen->base[reg_id]; in rsnd_gen_get_base_addr() 194 gen->base[reg_id] = base; in _rsnd_gen_regmap_init() 195 gen->regmap[reg_id] = regmap; in _rsnd_gen_regmap_init() 196 gen->res[reg_id] = res->start; in _rsnd_gen_regmap_init() 472 struct rsnd_gen *gen; in rsnd_gen_probe() local 475 gen = devm_kzalloc(dev, sizeof(*gen), GFP_KERNEL); in rsnd_gen_probe() 476 if (!gen) in rsnd_gen_probe() [all …]
|
/linux/sound/pci/hda/ |
A D | patch_analog.c | 23 struct hda_gen_spec gen; member 221 spec->gen.keep_eapd_on = 1; in ad_fixup_inv_jack_detect() 235 spec->gen.keep_eapd_on = 1; in ad1986a_fixup_eapd() 403 spec->gen.mixer_nid = 0x07; in patch_ad1986a() 404 spec->gen.beep_nid = 0x19; in patch_ad1986a() 526 spec->gen.mixer_nid = 0x0e; in patch_ad1983() 527 spec->gen.beep_nid = 0x10; in patch_ad1983() 615 spec->gen.beep_nid = 0x10; in patch_ad1981() 908 spec->gen.beep_nid = 0x10; in patch_ad1988() 1088 spec->gen.beep_nid = 0x10; in patch_ad1884() [all …]
|
A D | patch_via.c | 78 struct hda_gen_spec gen; member 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() 266 spec->gen.beep_nid = nid; in set_beep_amp() 604 spec->gen.mixer_nid = 0x17; in patch_vt1708() 655 spec->gen.mixer_nid = 0x18; in patch_vt1709() 682 spec->gen.mixer_nid = 0x16; in patch_vt1708B() 727 spec->gen.mixer_nid = 0x16; in patch_vt1708S() 774 spec->gen.mixer_nid = 0x1a; in patch_vt1702() [all …]
|
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()
|
A D | patch_conexant.c | 25 struct hda_gen_spec gen; member 63 spec->gen.beep_nid = nid; in set_beep_amp() 253 spec->gen.inv_dmic_split = 1; in cxt_fixup_stereo_dmic() 277 hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; in cxt_update_headset_mode() 290 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode() 314 WARN_ON(spec->gen.cap_sync_hook); in cxt_fixup_headphone_mic() 379 cur_input = spec->gen.input_paths[0][spec->gen.cur_mux[0]]; in olpc_xo_update_mic_pins() 1014 spec->gen.dac_min_mute = true; in add_cx5051_fake_mutes() 1032 spec->gen.own_eapd_ctl = 1; in patch_conexant_auto() 1037 spec->gen.mixer_nid = 0x17; in patch_conexant_auto() [all …]
|
A D | patch_cirrus.c | 24 struct hda_gen_spec gen; member 167 if (spec->gen.automute_speaker) in cs_automute() 359 if (spec->gen.dyn_adc_switch) { in cs_parse_auto_config() 363 int idx = spec->gen.dyn_adc_idx[i]; in cs_parse_auto_config() 368 spec->gen.adc_nids[idx]); in cs_parse_auto_config() 581 snd_hda_gen_spec_init(&spec->gen); in cs_alloc_spec() 596 spec->gen.automute_hook = cs_automute; in patch_cs420x() 778 spec->gen.automute_hook = cs_automute; in patch_cs4208() 780 spec->gen.out_vol_mask = 1ULL << 0x10; in patch_cs4208() 1120 if (spec->gen.autocfg.speaker_outs && in cs421x_parse_auto_config() [all …]
|
A D | patch_cs8409.c | 32 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config() 37 if (spec->gen.dyn_adc_switch) { in cs8409_parse_auto_config() 40 for (i = 0; i < spec->gen.input_mux.num_items; i++) { in cs8409_parse_auto_config() 41 int idx = spec->gen.dyn_adc_idx[i]; in cs8409_parse_auto_config() 45 snd_hda_gen_fix_pin_power(codec, spec->gen.adc_nids[idx]); in cs8409_parse_auto_config() 67 snd_hda_gen_spec_init(&spec->gen); in cs8409_alloc_spec() 978 spec->gen.suppress_auto_mute = 1; in cs8409_cs42l42_fixups() 979 spec->gen.no_primary_hp = 1; in cs8409_cs42l42_fixups() 980 spec->gen.suppress_vmaster = 1; in cs8409_cs42l42_fixups() 1022 spec->gen.pcm_capture_hook = cs42l42_capture_pcm_hook; in cs8409_cs42l42_fixups() [all …]
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
A D | .gen-hyprel.cmd | 1 …gen-hyprel := gcc -Wp,-MMD,arch/arm64/kvm/hyp/nvhe/.gen-hyprel.d -Wall -Wmissing-prototypes -Wstri… 3 source_arch/arm64/kvm/hyp/nvhe/gen-hyprel := arch/arm64/kvm/hyp/nvhe/gen-hyprel.c 5 deps_arch/arm64/kvm/hyp/nvhe/gen-hyprel := \ 10 arch/arm64/kvm/hyp/nvhe/gen-hyprel: $(deps_arch/arm64/kvm/hyp/nvhe/gen-hyprel) 12 $(deps_arch/arm64/kvm/hyp/nvhe/gen-hyprel):
|
/linux/arch/arm/tools/ |
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) 38 $(kapi)/mach-types.h: $(src)/gen-mach-types $(src)/mach-types FORCE 57 $(gen)/calls-%.S: $(syscall) $(systbl) FORCE
|
/linux/drivers/gpu/drm/rcar-du/ |
A D | rcar_du_drv.c | 39 .gen = 2, 62 .gen = 2, 84 .gen = 2, 111 .gen = 3, 141 .gen = 3, 171 .gen = 3, 198 .gen = 3, 228 .gen = 1, 249 .gen = 2, 280 .gen = 2, [all …]
|
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() 144 if (rcdu->info->gen < 3) { in rcar_du_group_setup() 162 if (rcdu->info->gen >= 2) { in rcar_du_group_setup() 167 if (rcdu->info->gen >= 3) in rcar_du_group_setup() 277 if (rcdu->info->gen < 2) in rcar_du_set_dpad0_vsp1_routing() 287 index = rcdu->info->gen < 3 ? 0 : DIV_ROUND_UP(rcdu->num_crtcs, 2) - 1; in rcar_du_set_dpad0_vsp1_routing() 316 if (rcdu->info->gen < 2) in rcar_du_group_set_dpad_levels()
|
/linux/arch/s390/kernel/syscalls/ |
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)
|
/linux/arch/arm64/tools/ |
A D | Makefile | 3 gen := arch/$(ARCH)/include/generated macro 4 kapi := $(gen)/asm 8 targets += $(addprefix ../../../,$(gen-y) $(kapi-hdrs-y)) 12 kapi: $(kapi-hdrs-y) $(gen-y) 21 $(kapi)/cpucaps.h: $(src)/gen-cpucaps.awk $(src)/cpucaps FORCE
|
/linux/drivers/base/firmware_loader/builtin/ |
A D | Makefile | 9 firmware := $(addsuffix .gen.o, $(subst $(quote),,$(CONFIG_EXTRA_FIRMWARE))) 12 FWNAME = $(patsubst $(obj)/%.gen.S,%,$@) 35 $(obj)/%.gen.S: FORCE 39 $(addprefix $(obj)/, $(firmware)): $(obj)/%.gen.o: $(fwdir)/% 42 $(shell find $(obj) -name \*.gen.S 2>/dev/null))
|
/linux/drivers/phy/st/ |
A D | phy-miphy28lp.c | 435 struct miphy28lp_pll_gen *gen = &sata_pll_gen[i]; in miphy28lp_sata_config_gen() local 438 writeb_relaxed(gen->bank, base + MIPHY_CONF); in miphy28lp_sata_config_gen() 439 writeb_relaxed(gen->speed, base + MIPHY_SPEED); in miphy28lp_sata_config_gen() 444 writeb_relaxed(gen->tx_ctrl_2, base + MIPHY_TX_CTRL_2); in miphy28lp_sata_config_gen() 445 writeb_relaxed(gen->tx_ctrl_3, base + MIPHY_TX_CTRL_3); in miphy28lp_sata_config_gen() 462 struct miphy28lp_pll_gen *gen = &pcie_pll_gen[i]; in miphy28lp_pcie_config_gen() local 465 writeb_relaxed(gen->bank, base + MIPHY_CONF); in miphy28lp_pcie_config_gen() 466 writeb_relaxed(gen->speed, base + MIPHY_SPEED); in miphy28lp_pcie_config_gen() 471 writeb_relaxed(gen->tx_ctrl_1, base + MIPHY_TX_CTRL_1); in miphy28lp_pcie_config_gen() 472 writeb_relaxed(gen->tx_ctrl_2, base + MIPHY_TX_CTRL_2); in miphy28lp_pcie_config_gen() [all …]
|
/linux/kernel/debug/kdb/ |
A D | Makefile | 9 obj-y := kdb_io.o kdb_main.o kdb_support.o kdb_bt.o gen-kdb_cmds.o kdb_bp.o kdb_debugger.o 12 clean-files := gen-kdb_cmds.c 23 $(obj)/gen-kdb_cmds.c: $(src)/kdb_cmds $(src)/Makefile 24 $(call cmd,gen-kdb)
|
/linux/drivers/usb/host/ |
A D | pci-quirks.c | 127 enum amd_chipset_gen gen; member 154 pinfo->sb_type.gen = AMD_CHIPSET_UNKNOWN; in amd_chipset_sb_type_init() 161 pinfo->sb_type.gen = AMD_CHIPSET_SB600; in amd_chipset_sb_type_init() 163 pinfo->sb_type.gen = AMD_CHIPSET_SB700; in amd_chipset_sb_type_init() 165 pinfo->sb_type.gen = AMD_CHIPSET_SB800; in amd_chipset_sb_type_init() 173 pinfo->sb_type.gen = AMD_CHIPSET_HUDSON2; in amd_chipset_sb_type_init() 175 pinfo->sb_type.gen = AMD_CHIPSET_BOLTON; in amd_chipset_sb_type_init() 177 pinfo->sb_type.gen = AMD_CHIPSET_YANGTZE; in amd_chipset_sb_type_init() 183 pinfo->sb_type.gen = AMD_CHIPSET_TAISHAN; in amd_chipset_sb_type_init() 185 pinfo->sb_type.gen = NOT_AMD_CHIPSET; in amd_chipset_sb_type_init() [all …]
|
/linux/drivers/scsi/aic7xxx/ |
A D | Makefile | 50 aic7xxx-gen-$(CONFIG_AIC7XXX_BUILD_FIRMWARE) := $(obj)/aic7xxx_reg.h 51 aic7xxx-gen-$(CONFIG_AIC7XXX_REG_PRETTY_PRINT) += $(obj)/aic7xxx_reg_print.c 62 $(aic7xxx-gen-y): $(objtree)/$(obj)/aic7xxx_seq.h 68 aic79xx-gen-$(CONFIG_AIC79XX_BUILD_FIRMWARE) := $(obj)/aic79xx_reg.h 69 aic79xx-gen-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) += $(obj)/aic79xx_reg_print.c 80 $(aic79xx-gen-y): $(objtree)/$(obj)/aic79xx_seq.h
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_renderstate.h | 24 const struct intel_renderstate_rodata gen ## _g ## _null_state = { \ 25 .reloc = gen ## _g ## _null_state_relocs, \ 26 .batch = gen ## _g ## _null_state_batch, \ 27 .batch_items = sizeof(gen ## _g ## _null_state_batch)/4, \
|
/linux/drivers/net/vmxnet3/ |
A D | vmxnet3_defs.h | 132 u32 gen:1; /* generation bit */ member 136 u32 gen:1; /* generation bit */ member 203 u32 gen:1; /* generation bit */ member 210 u32 gen:1; /* Generation bit */ member 220 u32 gen:1; /* Generation bit */ member 272 u32 gen:1; /* generation bit */ member 294 u32 gen:1; /* generation bit */ member 305 u32 gen:1; /* generation bit */ member 327 u32 gen:1; /* generation bit */ member 778 #define VMXNET3_FLIP_RING_GEN(gen) ((gen) = (gen) ^ 0x1) argument
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
A D | sge.c | 548 q->gen ^= 1; in refill_fl() 592 q->gen ^= 1; in recycle_rx_buf() 1140 gen ^= 1; in write_wr_hdr_sgl() 1319 gen = q->gen; in t3_eth_xmit() 1327 q->gen ^= 1; in t3_eth_xmit() 1507 q->gen ^= 1; in ctrl_xmit() 1539 q->gen ^= 1; in restart_ctrlq() 1721 gen = q->gen; in ofld_xmit() 1727 q->gen ^= 1; in ofld_xmit() 1774 gen = q->gen; in restart_offloadq() [all …]
|
/linux/fs/dlm/ |
A D | member.c | 105 uint32_t gen; in dlm_slots_copy_in() local 110 gen = le32_to_cpu(rf->rf_generation); in dlm_slots_copy_in() 111 if (gen <= ls->ls_generation) { in dlm_slots_copy_in() 113 gen, ls->ls_generation); in dlm_slots_copy_in() 115 ls->ls_generation = gen; in dlm_slots_copy_in() 128 log_slots(ls, gen, num_slots, ro0, NULL, 0); in dlm_slots_copy_in() 175 uint32_t gen = 0; in dlm_slots_assign() local 188 if (memb->generation > gen) in dlm_slots_assign() 189 gen = memb->generation; in dlm_slots_assign() 270 gen++; in dlm_slots_assign() [all …]
|