Searched refs:template (Results 26 - 50 of 113) sorted by relevance

12345

/linux-master/sound/soc/intel/catpt/
H A Dpcm.c262 struct catpt_stream_template *template; local
268 template = catpt_get_stream_template(substream);
279 res = catpt_request_region(&cdev->dram, template->persistent_size);
287 stream->template = template;
365 if (stream->template->type != CATPT_STRM_TYPE_LOOPBACK)
408 ret = catpt_ipc_alloc_stream(cdev, stream->template->path_id,
409 stream->template->type,
411 stream->template->num_entries,
412 stream->template
1150 struct catpt_stream_template *template; local
[all...]
H A Dcore.h156 struct catpt_stream_template *template;
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-std.c280 struct v4l2_standard *template; local
283 template = match_std(id);
284 if (!template) return 0;
286 memcpy(std,template,sizeof(*template));
/linux-master/sound/soc/
H A Dsoc-dapm.c381 struct snd_soc_dapm_widget template; local
395 memset(&template, 0, sizeof(template));
396 template.reg = mc->reg;
397 template.mask = (1 << fls(mc->max)) - 1;
398 template.shift = mc->shift;
400 template.off_val = mc->max;
402 template.off_val = 0;
403 template.on_val = template
424 struct snd_soc_dapm_widget template; local
4156 struct snd_soc_dapm_widget template; local
4234 struct snd_soc_dapm_widget template; local
[all...]
H A Dsoc-topology.c1297 struct snd_soc_dapm_widget template, *widget; local
1318 memset(&template, 0, sizeof(template));
1321 template.id = get_widget_id(le32_to_cpu(w->id));
1322 if ((int)template.id < 0)
1323 return template.id;
1326 template.name = kstrdup(w->name, GFP_KERNEL);
1327 if (!template.name)
1329 template.sname = kstrdup(w->sname, GFP_KERNEL);
1330 if (!template
[all...]
/linux-master/scripts/atomic/
H A Datomic-tbl.sh185 #gen_template_kerneldoc(template, class, meta, pfx, name, sfx, order, atomic, int, args...)
188 local template="$1"; shift
224 . ${template}
/linux-master/include/media/
H A Ddvbdev.h201 * @template: dvb_device used for registration
207 const struct dvb_device *template;
253 * @template: Template used to create &pdvbdev;
261 const struct dvb_device *template,
/linux-master/drivers/gpu/drm/ci/
H A Digt_runner.sh94 --template "See https://$CI_PROJECT_ROOT_NAMESPACE.pages.freedesktop.org/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/results/{{testcase}}.xml"
/linux-master/sound/soc/intel/avs/
H A Dtopology.c1399 struct avs_tplg_path_template *template,
1407 /* Path template header MUST be followed by at least one path variant. */
1414 ret = avs_parse_tokens(comp, template, tmpl_tokens, num_tmpl_tokens, tuples, offset);
1428 path = avs_tplg_path_create(comp, template, tuples, esize, path_tokens,
1435 list_add_tail(&path->node, &template->path_list);
1447 struct avs_tplg_path_template *template; local
1450 template = devm_kzalloc(comp->card->dev, sizeof(*template), GFP_KERNEL);
1451 if (!template)
1454 template
1397 parse_path_template(struct snd_soc_component *comp, struct snd_soc_tplg_vendor_array *tuples, u32 block_size, struct avs_tplg_path_template *template, const struct avs_tplg_token_parser *tmpl_tokens, u32 num_tmpl_tokens, const struct avs_tplg_token_parser *path_tokens, u32 num_path_tokens) argument
1577 struct avs_tplg_path_template *template; local
1631 struct avs_tplg_path_template *template = w->priv; local
[all...]
/linux-master/crypto/
H A Dalgboss.c36 char template[CRYPTO_MAX_ALG_NAME]; member in struct:cryptomgr_param
56 tmpl = crypto_lookup_template(param->template);
96 memcpy(param->template, name, len);
H A Dtestmgr.c1173 * "-generic" to every part of the name that is not a template name. Examples:
1985 const struct hash_testvec *template = desc->suite.hash.vecs; local
1998 if (template[nr_unkeyed].ksize)
2002 if (!template[nr_unkeyed + nr_keyed].ksize) {
2008 template[nr_unkeyed + nr_keyed].ksize);
2013 err = __alg_test_hash(template, nr_unkeyed, driver, type, mask,
2015 template += nr_unkeyed;
2019 err = __alg_test_hash(template, nr_keyed, driver, type, mask,
2718 const struct cipher_testvec *template,
2741 if (fips_enabled && template[
2717 test_cipher(struct crypto_cipher *tfm, int enc, const struct cipher_testvec *template, unsigned int tcount) argument
3598 test_cprng(struct crypto_rng *tfm, const struct cprng_testvec *template, unsigned int tcount) argument
3868 const struct drbg_testvec *template = desc->suite.drbg.vecs; local
[all...]
/linux-master/include/linux/
H A Dtracepoint.h556 #define DEFINE_EVENT(template, name, proto, args) \
558 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\
560 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
562 #define DEFINE_EVENT_CONDITION(template, name, proto, \
597 #define DEFINE_EVENT_NOP(template, name, proto, args) \
H A Dnvme-fc-driver.h343 * NVME-FC transport remembers template reference and may
522 struct nvme_fc_port_template *template,
767 * registrations. NVME-FC transport remembers template
993 struct nvmet_fc_target_template *template,
/linux-master/drivers/leds/
H A Dleds-netxbig.c279 const struct netxbig_led *template)
283 led_dat->cdev.name = template->name;
284 led_dat->cdev.default_trigger = template->default_trigger;
299 led_dat->cdev.max_brightness = template->bright_max;
301 led_dat->mode_addr = template->mode_addr;
302 led_dat->mode_val = template->mode_val;
303 led_dat->bright_addr = template->bright_addr;
276 create_netxbig_led(struct platform_device *pdev, struct netxbig_led_platform_data *pdata, struct netxbig_led_data *led_dat, const struct netxbig_led *template) argument
/linux-master/drivers/regulator/
H A Dtwl-regulator.c581 const struct twlreg_info *template; local
587 template = of_device_get_match_data(&pdev->dev);
588 if (!template)
591 id = template->desc.id;
593 &template->desc);
597 info = devm_kmemdup(&pdev->dev, template, sizeof(*info), GFP_KERNEL);
H A Dtwl6030-regulator.c681 const struct twlreg_info *template; local
688 template = of_device_get_match_data(&pdev->dev);
689 if (!template)
692 id = template->desc.id;
693 initdata = of_get_regulator_init_data(&pdev->dev, np, &template->desc);
697 info = devm_kmemdup(&pdev->dev, template, sizeof(*info), GFP_KERNEL);
/linux-master/tools/perf/Documentation/
H A Dasciidoc.conf72 template::[header-declarations]
/linux-master/tools/lib/perf/Documentation/
H A Dasciidoc.conf72 template::[header-declarations]
/linux-master/security/integrity/ima/
H A Dima_main.c59 pr_err("invalid hash algorithm \"%s\" for template \"%s\"",
346 * template format and whether the file was already measured.
472 struct ima_template_desc *template = NULL; local
492 &pcr, &template, NULL, NULL);
495 MMAP_CHECK_REQPROT, &pcr, &template, NULL,
942 struct ima_template_desc *template; local
956 template = ima_template_desc_buf();
957 if (!template) {
973 secid, 0, func, &pcr, &template,
1012 ret = ima_alloc_init_template(&event_data, &entry, template);
[all...]
H A Dima_policy.c124 struct ima_template_desc *template; member in struct:ima_rule_entry
394 * entry->template->fields may be allocated in ima_parse_rule() but that
726 * @template_desc: the template that should be used for this rule
783 if (template_desc && entry->template)
784 *template_desc = entry->template;
1122 {Opt_template, "template=%s"},
1196 * the 'd-modsig' field in the template.
1198 static void check_template_modsig(const struct ima_template_desc *template) argument
1200 #define MSG "template with 'modsig' field also needs 'd-modsig' field\n"
1210 for (i = 0; i < template
1227 check_template_field(const struct ima_template_desc *template, const char *field, const char *msg) argument
[all...]
/linux-master/sound/pci/oxygen/
H A Doxygen_mixer.c1044 struct snd_kcontrol_new template; local
1049 template = controls[i];
1051 err = chip->model.control_filter(&template);
1057 if (!strcmp(template.name, "Stereo Upmixing") &&
1060 if (!strcmp(template.name, "Mic Source Capture Enum") &&
1063 if (!strncmp(template.name, "CD Capture ", 11) &&
1066 if (!strcmp(template.name, "Master Playback Volume") &&
1068 template.tlv.p = chip->model.dac_tlv;
1069 template.access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ;
1071 ctl = snd_ctl_new1(&template, chi
[all...]
/linux-master/drivers/net/wireless/ti/wl1251/
H A Dmain.c568 struct ieee80211_qos_hdr template; local
570 memset(&template, 0, sizeof(template));
572 memcpy(template.addr1, wl->bssid, ETH_ALEN);
573 memcpy(template.addr2, wl->mac_addr, ETH_ALEN);
574 memcpy(template.addr3, wl->bssid, ETH_ALEN);
576 template.frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA |
581 template.qos_ctrl = cpu_to_le16(0);
583 return wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, &template,
584 sizeof(template));
[all...]
/linux-master/drivers/hwmon/
H A Dhwmon.c390 const char *template,
400 /* The attribute is invisible if there is no template string */
401 if (!template)
419 name = template;
421 scnprintf(hattr->name, sizeof(hattr->name), template,
656 const char *template; local
665 template = templates[attr];
669 scnprintf(sattr, MAX_SYSFS_ATTR_NAME_LENGTH, template, base + channel);
386 hwmon_genattr(const void *drvdata, enum hwmon_sensor_types type, u32 attr, int index, const char *template, const struct hwmon_ops *ops) argument
/linux-master/drivers/media/dvb-core/
H A Ddvbdev.c450 const struct dvb_device *template, void *priv,
483 node->type == type && node->template == template) {
490 dvbdevfops = kmemdup(template->fops, sizeof(*dvbdevfops), GFP_KERNEL);
509 new_node->template = template;
513 memcpy(dvbdev, template, sizeof(struct dvb_device));
449 dvb_register_device(struct dvb_adapter *adap, struct dvb_device **pdvbdev, const struct dvb_device *template, void *priv, enum dvb_device_type type, int demux_sink_pads) argument
/linux-master/drivers/remoteproc/
H A Dkeystone_remoteproc.c369 char *template = "keystone-dsp%d-fw"; local
385 name_len = strlen(template); /* assuming a single digit alias */
389 snprintf(fw_name, name_len, template, dsp_id);

Completed in 556 milliseconds

12345