Searched refs:template (Results 1 - 25 of 113) sorted by relevance

12345

/linux-master/include/trace/events/
H A Dbpf_test_run.h29 #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \
30 DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \
34 #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \
35 DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
H A Dnbd.h85 #define NBD_DEFINE_EVENT(template, call, proto, args, size) \
86 DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \
90 #define NBD_DEFINE_EVENT(template, call, proto, args, size) \
91 DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
/linux-master/sound/soc/intel/avs/
H A Dpath.h21 struct avs_tplg_path *template;
32 struct avs_tplg_pipeline *template;
43 struct avs_tplg_module *template;
55 struct avs_tplg_binding *template;
63 struct avs_tplg_path_template *template,
H A Dpath.c35 if (mod->template->id == template_id)
46 if (ppl->template->id == template_id)
54 struct avs_tplg_path_template *pos, *template = NULL; local
64 template = pos;
68 if (!template)
72 /* Only one variant of given path template may be instantiated at a time. */
74 if (path->template->owner == template) {
95 struct avs_tplg_path_template *template,
101 list_for_each_entry(variant, &template
94 avs_path_find_variant(struct avs_dev *adev, struct avs_tplg_path_template *template, struct snd_pcm_hw_params *fe_params, struct snd_pcm_hw_params *be_params) argument
583 avs_path_module_create(struct avs_dev *adev, struct avs_path_pipeline *owner, struct avs_tplg_module *template) argument
751 avs_path_pipeline_create(struct avs_dev *adev, struct avs_path *owner, struct avs_tplg_pipeline *template) argument
811 avs_path_init(struct avs_dev *adev, struct avs_path *path, struct avs_tplg_path *template, u32 dma_id) argument
879 avs_path_create_unlocked(struct avs_dev *adev, u32 dma_id, struct avs_tplg_path *template) argument
913 avs_path_create(struct avs_dev *adev, u32 dma_id, struct avs_tplg_path_template *template, struct snd_pcm_hw_params *fe_params, struct snd_pcm_hw_params *be_params) argument
[all...]
H A Dcontrol.c34 if (guid_equal(&mod->template->cfg_ext->type, &AVS_PEAKVOL_MOD_UUID)
35 && mod->template->ctl_id == id) {
/linux-master/drivers/leds/
H A Dleds-gpio.c80 static int create_gpio_led(const struct gpio_led *template, argument
88 led_dat->cdev.default_trigger = template->default_trigger;
99 if (template->default_state == LEDS_GPIO_DEFSTATE_KEEP) {
104 state = (template->default_state == LEDS_GPIO_DEFSTATE_ON);
108 if (!template->retain_state_suspended)
110 if (template->panic_indicator)
112 if (template->retain_state_shutdown)
119 if (template->name) {
120 led_dat->cdev.name = template->name;
214 const struct gpio_led *template)
213 gpio_led_get_gpiod(struct device *dev, int idx, const struct gpio_led *template) argument
273 const struct gpio_led *template = &pdata->leds[i]; local
[all...]
/linux-master/include/trace/
H A Dperf.h64 #define DEFINE_EVENT(template, call, proto, args) \
67 check_trace_callback_type_##call(perf_trace_##template); \
72 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
73 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
H A Dbpf_probe.h62 #define __DEFINE_EVENT(template, call, proto, args, size) \
65 check_trace_callback_type_##call(__bpf_trace_##template); \
75 .bpf_func = __bpf_trace_##template, \
95 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \
97 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
100 #define DEFINE_EVENT(template, call, proto, args) \
101 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
104 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
105 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
H A Dtrace_events.h36 * TRACE_EVENT is a one to one mapping between tracepoint and template.
61 #define DEFINE_EVENT(template, name, proto, args) \
66 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \
67 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
70 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
71 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
121 #define DEFINE_EVENT(template, name, proto, args)
124 #define DEFINE_EVENT_PRINT(template, name, proto, args, print)
212 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \
217 struct trace_event_raw_##template *fiel
[all...]
H A Ddefine_trace.h53 #define DEFINE_EVENT_NOP(template, name, proto, args)
56 #define DEFINE_EVENT(template, name, proto, args) \
60 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \
64 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
68 #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \
69 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
H A Dtrace_custom_events.h51 #define DEFINE_CUSTOM_EVENT(template, name, proto, args) \
68 #define DEFINE_CUSTOM_EVENT(template, name, proto, args)
175 #define DEFINE_CUSTOM_EVENT(template, call, proto, args) \
178 check_trace_callback_type_##call(trace_custom_event_raw_event_##template); \
200 #define DEFINE_CUSTOM_EVENT(template, call, proto, args) \
204 .class = &custom_event_class_##template, \
205 .event.funcs = &trace_custom_event_type_funcs_##template, \
206 .print_fmt = custom_print_fmt_##template, \
H A Ddefine_custom_trace.h30 #define DEFINE_CUSTOM_EVENT(template, name, proto, args)
/linux-master/drivers/hid/
H A Dhid-uclogic-rdesc-test.c14 const __u8 *template; member in struct:uclogic_template_case
101 .template = template_empty,
109 .template = template_small,
117 .template = template_no_ph,
125 .template = template_pen_ph_end,
133 .template = template_btn_ph_end,
141 .template = template_pen_all_params,
149 .template = template_frame_all_params,
157 .template = template_pen_some_params,
165 .template
[all...]
/linux-master/security/integrity/ima/
H A Dima_template.c9 * Helpers to manage template descriptors.
76 * need to be accounted for since they shouldn't be defined in the same template
86 * ima_template_has_modsig - Check whether template has modsig-related fields.
87 * @ima_template: IMA template to check.
89 * Tells whether the given template has fields referencing a file's appended
116 * Verify that a template with the supplied name exists.
121 pr_err("template %s not found, using %s\n",
128 * by the 'ima' template.
132 pr_err("template does not support hash alg\n");
150 pr_err("format string '%s' not valid, using template
295 struct ima_template_desc *template = ima_template_desc_current(); local
[all...]
/linux-master/kernel/debug/kdb/
H A Dkdb_bp.c285 kdb_bp_t template = {0}; local
302 diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr,
306 if (!template.bp_addr)
314 diag = kgdb_validate_break_address(template.bp_addr);
330 template.bp_type = BP_HARDWARE_BREAKPOINT;
331 diag = kdb_parsebp(argc, argv, &nextarg, &template);
335 template.bp_type = BP_BREAKPOINT;
347 bp_check->bp_addr == template.bp_addr) {
349 kdb_bfd_vma_fmt0 "\n", template.bp_addr);
354 template
[all...]
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flower.c17 prestera_flower_template_free(struct prestera_flower_template *template) argument
19 prestera_acl_ruleset_put(template->ruleset);
20 list_del(&template->list);
21 kfree(template);
26 struct prestera_flower_template *template, *tmp; local
29 list_for_each_entry_safe(template, tmp, &block->template_list, list)
30 prestera_flower_template_free(template);
484 struct prestera_flower_template *template; local
494 template = kmalloc(sizeof(*template), GFP_KERNE
539 struct prestera_flower_template *template, *tmp; local
[all...]
/linux-master/drivers/pci/msi/
H A Dirqdomain.c361 * @template: The MSI info template which describes the domain
397 bool pci_create_ims_domain(struct pci_dev *pdev, const struct msi_domain_template *template, argument
405 if (template->info.bus_token != DOMAIN_BUS_PCI_DEVICE_IMS ||
406 !(template->info.flags & MSI_FLAG_ALLOC_SIMPLE_MSI_DESCS) ||
407 !(template->info.flags & MSI_FLAG_FREE_MSI_DESCS) ||
408 !template->chip.irq_mask || !template->chip.irq_unmask ||
409 !template->chip.irq_write_msi_msg || template
[all...]
/linux-master/block/
H A Dblk-integrity.c354 * @template: block integrity profile to register
358 * the capability with the block layer. The template is a blk_integrity
362 void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template) argument
367 template->flags;
368 bi->interval_exp = template->interval_exp ? :
370 bi->profile = template->profile ? template->profile : &nop_profile;
371 bi->tuple_size = template->tuple_size;
372 bi->tag_size = template->tag_size;
373 bi->pi_offset = template
[all...]
/linux-master/tools/perf/scripts/python/
H A Dflamegraph.py145 if os.path.isfile(self.args.template):
146 template = f"file://{self.args.template}"
149 print(f"""Warning: Flame Graph template '{self.args.template}'
152 graph template (--template PATH) or use another output format (--format
156 print("""Not attempting to download Flame Graph template as script command line
158 template retry without live mode. For example, use 'perf record -a -g
160 download the template fro
[all...]
/linux-master/scripts/atomic/
H A Dgen-atomic-fallback.sh8 #gen_template_fallback(template, meta, pfx, name, sfx, order, atomic, int, args...)
11 local template="$1"; shift
25 . ${template}
69 local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")"
89 if [ -z ${template} ] && [ -z "${order}" ] && ! meta_has_relaxed "${meta}"; then
111 if [ ! -z "${template}" ]; then
/linux-master/arch/um/os-Linux/
H A Dmem.c114 * Create an unlinked tempfile in a suitable tempdir. template must be the
115 * basename part of the template with a leading '/'.
117 static int __init make_tempfile(const char *template) argument
142 tempname = malloc(strlen(tempdir) + strlen(template) + 1);
147 strcat(tempname, template);
/linux-master/sound/soc/codecs/
H A Dsigmadsp.c645 struct snd_kcontrol_new template; local
648 memset(&template, 0, sizeof(template));
649 template.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
650 template.name = ctrl->name;
651 template.info = sigmadsp_ctrl_info;
652 template.get = sigmadsp_ctrl_get;
653 template.put = sigmadsp_ctrl_put;
654 template.private_value = (unsigned long)ctrl;
655 template
[all...]
/linux-master/scripts/gcc-plugins/
H A Dgcc-common.h159 template <>
160 template <>
317 template <>
318 template <>
324 template <>
325 template <>
/linux-master/sound/pci/oxygen/
H A Dse6x.c58 static int se6x_control_filter(struct snd_kcontrol_new *template) argument
61 if (!strncmp(template->name, "Master Playback ", 16))
/linux-master/drivers/bus/
H A Dvexpress-config.c57 u32 template[] __counted_by(num_templates); /* Keep it last! */
173 command = func->template[index];
287 func = kzalloc(struct_size(func, template, num), GFP_KERNEL);
304 func->template[i] = SYS_CFGCTRL_DCC(dcc);
305 func->template[i] |= SYS_CFGCTRL_SITE(site);
306 func->template[i] |= SYS_CFGCTRL_POSITION(position);
307 func->template[i] |= SYS_CFGCTRL_FUNC(function);
308 func->template[i] |= SYS_CFGCTRL_DEVICE(device);

Completed in 525 milliseconds

12345