Home
last modified time | relevance | path

Searched full:gen (Results 1 – 25 of 930) sorted by relevance

12345678910>>...38

/linux/tools/lib/bpf/
H A Dgen_loader.c45 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 Dbpf_gen_internal.h54 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 …]
/linux/arch/x86/include/asm/
H A DGEN-for-each-reg.h6 GEN(rax)
7 GEN(rcx)
8 GEN(rdx)
9 GEN(rbx)
10 GEN(rsp)
11 GEN(rbp)
12 GEN(rsi)
13 GEN(rdi)
14 GEN(r8)
15 GEN(r9)
[all …]
/linux/tools/net/sunrpc/xdrgen/subcmds/
H A Dsource.py33 gen = XdrEnumGenerator(language, peer)
35 gen = XdrPointerGenerator(language, peer)
37 gen = XdrTypedefGenerator(language, peer)
39 gen = XdrStructGenerator(language, peer)
41 gen = XdrUnionGenerator(language, peer)
43 gen = XdrProgramGenerator(language, peer)
46 gen.emit_decoder(node)
52 gen = XdrEnumGenerator(language, peer)
54 gen = XdrPointerGenerator(language, peer)
56 gen = XdrTypedefGenerator(language, peer)
[all …]
H A Ddefinitions.py37 gen = XdrConstantGenerator(language, peer)
39 gen = XdrEnumGenerator(language, peer)
41 gen = XdrPointerGenerator(language, peer)
43 gen = XdrProgramGenerator(language, peer)
45 gen = XdrTypedefGenerator(language, peer)
47 gen = XdrStructGenerator(language, peer)
49 gen = XdrUnionGenerator(language, peer)
52 gen.emit_definition(definition.value)
70 gen = XdrHeaderTopGenerator(args.language, args.peer)
71 gen.emit_definition(args.filename, ast)
[all …]
H A Ddeclarations.py37 gen = XdrEnumGenerator(language, peer)
39 gen = XdrPointerGenerator(language, peer)
41 gen = XdrTypedefGenerator(language, peer)
43 gen = XdrStructGenerator(language, peer)
45 gen = XdrUnionGenerator(language, peer)
47 gen = XdrProgramGenerator(language, peer)
50 gen.emit_declaration(definition.value)
68 gen = XdrHeaderTopGenerator(args.language, args.peer)
69 gen.emit_declaration(args.filename, ast)
73 gen = XdrHeaderBottomGenerator(args.language, args.peer)
[all …]
/linux/include/linux/
H A Dsysfb.h20 M_I24_8_1, /* 24-Inch iMac, 8,1th gen */
21 M_I24_10_1, /* 24-Inch iMac, 10,1th gen */
22 M_I27_11_1, /* 27-Inch iMac, 11,1th gen */
24 M_MINI_3_1, /* Mac Mini, 3,1th gen */
25 M_MINI_4_1, /* Mac Mini, 4,1th gen */
32 M_MB_SR, /* MacBook, 2nd gen, (Santa Rosa) */
36 M_MBP_2, /* MacBook Pro 2nd gen */
37 M_MBP_2_2, /* MacBook Pro 2,2nd gen */
39 M_MBP_4, /* MacBook Pro, 4th gen */
40 M_MBP_5_1, /* MacBook Pro, 5,1th gen */
[all …]
H A Dmm_inline.h165 static inline bool lru_gen_is_active(struct lruvec *lruvec, int gen) in lru_gen_is_active() argument
169 VM_WARN_ON_ONCE(gen >= MAX_NR_GENS); in lru_gen_is_active()
172 return gen == lru_gen_from_seq(max_seq) || gen == lru_gen_from_seq(max_seq - 1); in lru_gen_is_active()
225 int gen = folio_lru_gen(folio); in lru_gen_add_folio() local
230 VM_WARN_ON_ONCE_FOLIO(gen != -1, folio); in lru_gen_add_folio()
257 gen = lru_gen_from_seq(seq); in lru_gen_add_folio()
258 flags = (gen + 1UL) << LRU_GEN_PGOFF; in lru_gen_add_folio()
262 lru_gen_update_size(lruvec, folio, -1, gen); in lru_gen_add_folio()
265 list_add_tail(&folio->lru, &lrugen->folios[gen][type][zone]); in lru_gen_add_folio()
267 list_add(&folio->lru, &lrugen->folios[gen][type][zone]); in lru_gen_add_folio()
[all …]
/linux/scripts/
H A DMakefile.headersinst18 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/
H A Dgen.c33 #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/arch/arm/tools/
H A DMakefile8 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)
34 quiet_cmd_gen_mach = GEN $@
37 $(kapi)/mach-types.h: $(src)/gen-mach-types $(src)/mach-types FORCE
56 $(gen)/calls-%.S: $(syscall) $(systbl) FORCE
/linux/drivers/net/dsa/sja1105/
H A DKconfig15 - SJA1105E (Gen. 1, No TT-Ethernet)
16 - SJA1105T (Gen. 1, TT-Ethernet)
17 - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet)
18 - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet)
19 - SJA1105R (Gen. 2, SGMII, No TT-Ethernet)
20 - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
21 - SJA1110A (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 10 ports)
22 - SJA1110B (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 9 ports)
23 - SJA1110C (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 7 ports)
24 - SJA1110D (Gen. 3, SGMII, TT-Ethernet, no 100base-TX PHY, 7 ports)
/linux/fs/bcachefs/
H A Dbuckets.c139 "bucket %u:%zu data type %s ptr gen %u missing in alloc btree\n" in bch2_check_fix_ptr()
143 p.ptr.gen, in bch2_check_fix_ptr()
148 g->gen = p.ptr.gen; in bch2_check_fix_ptr()
154 if (fsck_err_on(gen_cmp(p.ptr.gen, g->gen) > 0, in bch2_check_fix_ptr()
156 "bucket %u:%zu data type %s ptr gen in the future: %u > %u\n" in bch2_check_fix_ptr()
160 p.ptr.gen, g->gen, in bch2_check_fix_ptr()
167 g->gen = p.ptr.gen; in bch2_check_fix_ptr()
177 if (fsck_err_on(gen_cmp(g->gen, p.ptr.gen) > BUCKET_GC_GEN_MAX, in bch2_check_fix_ptr()
179 "bucket %u:%zu gen %u data type %s: ptr gen %u too stale\n" in bch2_check_fix_ptr()
181 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), g->gen, in bch2_check_fix_ptr()
[all …]
/linux/arch/x86/lib/
H A Dretpoline.S63 #define GEN(reg) THUNK reg macro
64 #include <asm/GEN-for-each-reg.h>
65 #undef GEN
70 #define GEN(reg) __EXPORT_THUNK(__x86_indirect_thunk_ ## reg) macro
71 #include <asm/GEN-for-each-reg.h>
72 #undef GEN
92 #define GEN(reg) CALL_THUNK reg macro
93 #include <asm/GEN-for-each-reg.h>
94 #undef GEN
99 #define GEN(reg) __EXPORT_THUNK(__x86_indirect_call_thunk_ ## reg) macro
[all …]
/linux/sound/pci/hda/
H A Dpatch_via.c78 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 Dpatch_analog.c23 struct hda_gen_spec gen; member
167 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in ad198x_parse_auto_config()
174 spec->gen.indep_hp = indep_hp; in ad198x_parse_auto_config()
175 if (!spec->gen.add_stereo_mix_input) in ad198x_parse_auto_config()
176 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in ad198x_parse_auto_config()
200 snd_hda_gen_spec_init(&spec->gen); in alloc_ad_spec()
217 spec->gen.keep_eapd_on = 1; in ad_fixup_inv_jack_detect()
218 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad_fixup_inv_jack_detect()
231 spec->gen.keep_eapd_on = 1; in ad1986a_fixup_eapd()
244 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_ENABLE; in ad1986a_fixup_eapd_mix_in()
[all …]
H A Dpatch_senarytech.c23 struct hda_gen_spec gen; member
52 spec->gen.beep_nid = nid; in set_beep_amp()
54 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
183 snd_hda_gen_spec_init(&spec->gen); in patch_senary_auto()
188 spec->gen.own_eapd_ctl = 1; in patch_senary_auto()
190 if (!spec->gen.vmaster_mute.hook) in patch_senary_auto()
191 spec->gen.vmaster_mute.hook = senary_auto_vmaster_hook; in patch_senary_auto()
195 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in patch_senary_auto()
204 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in patch_senary_auto()
H A Dpatch_cmedia.c43 struct hda_gen_spec gen; member
123 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; in cm9825_unsol_hp_delayed()
173 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; in cm9825_setup_unsol()
222 hp_pin = spec->gen.autocfg.hp_pins[0]; in cm9825_resume()
275 cfg = &spec->gen.autocfg; in patch_cm9825()
276 snd_hda_gen_spec_init(&spec->gen); in patch_cm9825()
315 cfg = &spec->gen.autocfg; in patch_cmi9880()
316 snd_hda_gen_spec_init(&spec->gen); in patch_cmi9880()
344 cfg = &spec->gen.autocfg; in patch_cmi8888()
345 snd_hda_gen_spec_init(&spec->gen); in patch_cmi8888()
[all …]
/linux/arch/s390/kernel/syscalls/
H A DMakefile3 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/x86/events/intel/
H A Duncore_snb.c1194 IMC_DEV(IVB_IMC, &ivb_uncore_pci_driver), /* 3rd Gen Core processor */
1195 IMC_DEV(IVB_E3_IMC, &ivb_uncore_pci_driver), /* Xeon E3-1200 v2/3rd Gen Core processor */
1196 IMC_DEV(HSW_IMC, &hsw_uncore_pci_driver), /* 4th Gen Core Processor */
1197 IMC_DEV(HSW_U_IMC, &hsw_uncore_pci_driver), /* 4th Gen Core ULT Mobile Processor */
1198 IMC_DEV(BDW_IMC, &bdw_uncore_pci_driver), /* 5th Gen Core U */
1199 IMC_DEV(SKL_Y_IMC, &skl_uncore_pci_driver), /* 6th Gen Core Y */
1200 IMC_DEV(SKL_U_IMC, &skl_uncore_pci_driver), /* 6th Gen Core U */
1201 IMC_DEV(SKL_HD_IMC, &skl_uncore_pci_driver), /* 6th Gen Core H Dual Core */
1202 IMC_DEV(SKL_HQ_IMC, &skl_uncore_pci_driver), /* 6th Gen Core H Quad Core */
1203 IMC_DEV(SKL_SD_IMC, &skl_uncore_pci_driver), /* 6th Gen Core S Dual Core */
[all …]
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_group.c61 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 …]
H A Drcar_du_drv.c36 .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 …]
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-gen.rst4 bpftool-gen
17 **bpftool** [*OPTIONS*] **gen** *COMMAND*
23 GEN COMMANDS
26 | **bpftool** **gen object** *OUTPUT_FILE* *INPUT_FILE* [*INPUT_FILE*...]
27 | **bpftool** **gen skeleton** *FILE* [**name** *OBJECT_NAME*]
28 | **bpftool** **gen subskeleton** *FILE* [**name** *OBJECT_NAME*]
29 | **bpftool** **gen min_core_btf** *INPUT* *OUTPUT* *OBJECT* [*OBJECT*...]
30 | **bpftool** **gen help**
34 bpftool gen object *OUTPUT_FILE* *INPUT_FILE* [*INPUT_FILE*...]
47 file, which can be used to generated BPF skeleton (with **gen skeleton**
[all …]
/linux/fs/btrfs/
H A Dlru_cache.c24 u64 gen) in match_entry() argument
29 if (entry->key == key && entry->gen == gen) in match_entry()
41 * @gen: Generation associated to the key.
46 u64 key, u64 gen) in btrfs_lru_cache_lookup() argument
55 entry = match_entry(head, key, gen); in btrfs_lru_cache_lookup()
126 if (match_entry(head, key, new_entry->gen) != NULL) in btrfs_lru_cache_store()
/linux/drivers/phy/st/
H A Dphy-miphy28lp.c431 struct miphy28lp_pll_gen *gen = &sata_pll_gen[i]; in miphy28lp_sata_config_gen() local
434 writeb_relaxed(gen->bank, base + MIPHY_CONF); in miphy28lp_sata_config_gen()
435 writeb_relaxed(gen->speed, base + MIPHY_SPEED); in miphy28lp_sata_config_gen()
436 writeb_relaxed(gen->bias_boost_1, base + MIPHY_BIAS_BOOST_1); in miphy28lp_sata_config_gen()
437 writeb_relaxed(gen->bias_boost_2, base + MIPHY_BIAS_BOOST_2); in miphy28lp_sata_config_gen()
440 writeb_relaxed(gen->tx_ctrl_2, base + MIPHY_TX_CTRL_2); in miphy28lp_sata_config_gen()
441 writeb_relaxed(gen->tx_ctrl_3, base + MIPHY_TX_CTRL_3); in miphy28lp_sata_config_gen()
444 writeb_relaxed(gen->rx_buff_ctrl, base + MIPHY_RX_BUFFER_CTRL); in miphy28lp_sata_config_gen()
445 writeb_relaxed(gen->rx_vga_gain, base + MIPHY_RX_VGA_GAIN); in miphy28lp_sata_config_gen()
446 writeb_relaxed(gen->rx_equ_gain_1, base + MIPHY_RX_EQU_GAIN_1); in miphy28lp_sata_config_gen()
[all …]

12345678910>>...38