/Linux-v6.1/tools/lib/bpf/ |
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 …]
|
D | bpf_gen_internal.h | 52 void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps); 53 int bpf_gen__finish(struct bpf_gen *gen, int nr_progs, int nr_maps); 54 void bpf_gen__free(struct bpf_gen *gen); 55 void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size); 56 void bpf_gen__map_create(struct bpf_gen *gen, 60 void bpf_gen__prog_load(struct bpf_gen *gen, 64 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *value, __u32 value_size); 65 void bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx); 66 void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type… 67 void bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak, [all …]
|
/Linux-v6.1/scripts/ |
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-v6.1/sound/soc/sh/rcar/ |
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 …]
|
/Linux-v6.1/arch/arm/tools/ |
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
|
/Linux-v6.1/sound/pci/hda/ |
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 …]
|
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 …]
|
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()
|
D | patch_conexant.c | 25 struct hda_gen_spec gen; member 63 spec->gen.beep_nid = nid; in set_beep_amp() 65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp() 254 spec->gen.inv_dmic_split = 1; in cxt_fixup_stereo_dmic() 276 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in cxt_update_headset_mode() 278 hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; in cxt_update_headset_mode() 288 spec->gen.hp_jack_present = false; in cxt_update_headset_mode() 291 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode() 315 WARN_ON(spec->gen.cap_sync_hook); in cxt_fixup_headphone_mic() 316 spec->gen.cap_sync_hook = cxt_update_headset_mode_hook; in cxt_fixup_headphone_mic() [all …]
|
D | patch_cirrus.c | 24 struct hda_gen_spec gen; member 162 spec->gen.master_mute = !!(spec->spdif_present && spec->sense_b); in cs_automute() 167 if (spec->gen.automute_speaker) in cs_automute() 168 spec->gpio_data = spec->gen.hp_jack_present ? in cs_automute() 350 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs_parse_auto_config() 354 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs_parse_auto_config() 359 if (spec->gen.dyn_adc_switch) { in cs_parse_auto_config() 362 for (i = 0; i < spec->gen.input_mux.num_items; i++) { 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() [all …]
|
/Linux-v6.1/drivers/gpu/drm/rcar-du/ |
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 …]
|
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-v6.1/arch/s390/kernel/syscalls/ |
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-v6.1/include/linux/ |
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() 251 gen = lru_gen_from_seq(seq); in lru_gen_add_folio() 252 flags = (gen + 1UL) << LRU_GEN_PGOFF; in lru_gen_add_folio() 256 lru_gen_update_size(lruvec, folio, -1, gen); in lru_gen_add_folio() 259 list_add_tail(&folio->lru, &lrugen->lists[gen][type][zone]); in lru_gen_add_folio() 261 list_add(&folio->lru, &lrugen->lists[gen][type][zone]); in lru_gen_add_folio() [all …]
|
/Linux-v6.1/drivers/base/firmware_loader/builtin/ |
D | Makefile | 9 firmware := $(addsuffix .gen.o, $(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-v6.1/scripts/basic/ |
D | Makefile | 9 gen-randstruct-seed := $(srctree)/scripts/gen-randstruct-seed.sh 12 $(CONFIG_SHELL) $(gen-randstruct-seed) \ 14 $(obj)/randstruct.seed: $(gen-randstruct-seed) FORCE
|
/Linux-v6.1/kernel/debug/kdb/ |
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-v6.1/arch/arm64/tools/ |
D | Makefile | 3 gen := arch/$(ARCH)/include/generated macro 4 kapi := $(gen)/asm 20 $(kapi)/cpucaps.h: $(src)/gen-cpucaps.awk $(src)/cpucaps FORCE 23 $(kapi)/sysreg-defs.h: $(src)/gen-sysreg.awk $(src)/sysreg FORCE
|
/Linux-v6.1/drivers/gpu/drm/i915/gt/ |
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-v6.1/drivers/scsi/aic7xxx/ |
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-v6.1/drivers/phy/st/ |
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() 440 writeb_relaxed(gen->bias_boost_1, base + MIPHY_BIAS_BOOST_1); in miphy28lp_sata_config_gen() 441 writeb_relaxed(gen->bias_boost_2, base + MIPHY_BIAS_BOOST_2); 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() 448 writeb_relaxed(gen->rx_buff_ctrl, base + MIPHY_RX_BUFFER_CTRL); in miphy28lp_sata_config_gen() 449 writeb_relaxed(gen->rx_vga_gain, base + MIPHY_RX_VGA_GAIN); in miphy28lp_sata_config_gen() 450 writeb_relaxed(gen->rx_equ_gain_1, base + MIPHY_RX_EQU_GAIN_1); in miphy28lp_sata_config_gen() [all …]
|
/Linux-v6.1/drivers/usb/host/ |
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-v6.1/drivers/clk/tegra/ |
D | clk-tegra-super-gen4.c | 36 enum tegra_super_gen gen; member 60 .gen = gen4, 86 .gen = gen5, 177 if (gen_info->gen == gen5) { in tegra_super_clk_init() 198 if (gen_info->gen == gen5) { in tegra_super_clk_init() 232 if (gen_info->gen == gen5) in tegra_super_clk_init()
|
/Linux-v6.1/drivers/net/vmxnet3/ |
D | vmxnet3_defs.h | 154 u32 gen:1; /* generation bit */ member 158 u32 gen:1; /* generation bit */ member 225 u32 gen:1; /* generation bit */ member 232 u32 gen:1; /* Generation bit */ member 242 u32 gen:1; /* Generation bit */ member 296 u32 gen:1; /* generation bit */ member 318 u32 gen:1; /* generation bit */ member 329 u32 gen:1; /* generation bit */ member 351 u32 gen:1; /* generation bit */ member 812 #define VMXNET3_FLIP_RING_GEN(gen) ((gen) = (gen) ^ 0x1) argument
|
/Linux-v6.1/fs/dlm/ |
D | member.c | 62 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_slots() argument 94 log_rinfo(ls, "generation %u slots %d%s", gen, num_slots, line); in log_slots() 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() 123 log_slots(ls, gen, num_slots, ro0, NULL, 0); in dlm_slots_copy_in() 170 uint32_t gen = 0; in dlm_slots_assign() local 183 if (memb->generation > gen) in dlm_slots_assign() [all …]
|