Home
last modified time | relevance | path

Searched refs:template (Results 1 – 105 of 105) sorted by relevance

/linux-4.4.14/crypto/
Dtestmgr.c201 static int __test_hash(struct crypto_ahash *tfm, struct hash_testvec *template, in __test_hash() argument
238 if (template[i].np) in __test_hash()
242 if (WARN_ON(align_offset + template[i].psize > PAGE_SIZE)) in __test_hash()
251 memcpy(hash_buff, template[i].plaintext, template[i].psize); in __test_hash()
252 sg_init_one(&sg[0], hash_buff, template[i].psize); in __test_hash()
254 if (template[i].ksize) { in __test_hash()
256 if (template[i].ksize > MAX_KEYLEN) { in __test_hash()
258 j, algo, template[i].ksize, MAX_KEYLEN); in __test_hash()
262 memcpy(key, template[i].key, template[i].ksize); in __test_hash()
263 ret = crypto_ahash_setkey(tfm, key, template[i].ksize); in __test_hash()
[all …]
Dalgboss.c48 char template[CRYPTO_MAX_ALG_NAME]; member
69 tmpl = crypto_lookup_template(param->template); in cryptomgr_probe()
118 memcpy(param->template, name, len); in cryptomgr_schedule_probe()
Dtcrypt.c302 struct aead_speed_template *template, in test_aead_speed() argument
387 if (template[j].klen == *keysize) { in test_aead_speed()
388 key = template[j].key; in test_aead_speed()
458 struct cipher_speed_template *template, in test_cipher_speed() argument
509 if (template[j].klen == *keysize) { in test_cipher_speed()
510 key = template[j].key; in test_cipher_speed()
1110 struct cipher_speed_template *template, in test_acipher_speed() argument
1172 if (template[j].klen == *keysize) { in test_acipher_speed()
1173 key = template[j].key; in test_acipher_speed()
DKconfig117 Create default cryptographic template instantiations such as
/linux-4.4.14/drivers/leds/
Dleds-lt3593.c84 static int create_lt3593_led(const struct gpio_led *template, in create_lt3593_led() argument
90 if (!gpio_is_valid(template->gpio)) { in create_lt3593_led()
92 KBUILD_MODNAME, template->gpio, template->name); in create_lt3593_led()
96 led_dat->cdev.name = template->name; in create_lt3593_led()
97 led_dat->cdev.default_trigger = template->default_trigger; in create_lt3593_led()
98 led_dat->gpio = template->gpio; in create_lt3593_led()
102 state = (template->default_state == LEDS_GPIO_DEFSTATE_ON); in create_lt3593_led()
105 if (!template->retain_state_suspended) in create_lt3593_led()
108 ret = devm_gpio_request_one(parent, template->gpio, state ? in create_lt3593_led()
110 template->name); in create_lt3593_led()
[all …]
Dleds-gpio.c89 static int create_gpio_led(const struct gpio_led *template, in create_gpio_led() argument
96 led_dat->gpiod = template->gpiod; in create_gpio_led()
106 if (!gpio_is_valid(template->gpio)) { in create_gpio_led()
108 template->gpio, template->name); in create_gpio_led()
112 if (template->active_low) in create_gpio_led()
115 ret = devm_gpio_request_one(parent, template->gpio, flags, in create_gpio_led()
116 template->name); in create_gpio_led()
120 led_dat->gpiod = gpio_to_desc(template->gpio); in create_gpio_led()
125 led_dat->cdev.name = template->name; in create_gpio_led()
126 led_dat->cdev.default_trigger = template->default_trigger; in create_gpio_led()
[all …]
Dleds-ns2.c192 const struct ns2_led *template) in create_ns2_led() argument
197 ret = devm_gpio_request_one(&pdev->dev, template->cmd, in create_ns2_led()
198 gpio_get_value_cansleep(template->cmd) ? in create_ns2_led()
200 template->name); in create_ns2_led()
203 template->name); in create_ns2_led()
207 ret = devm_gpio_request_one(&pdev->dev, template->slow, in create_ns2_led()
208 gpio_get_value_cansleep(template->slow) ? in create_ns2_led()
210 template->name); in create_ns2_led()
213 template->name); in create_ns2_led()
219 led_dat->cdev.name = template->name; in create_ns2_led()
[all …]
Dleds-netxbig.c285 const struct netxbig_led *template) in create_netxbig_led() argument
289 led_dat->cdev.name = template->name; in create_netxbig_led()
290 led_dat->cdev.default_trigger = template->default_trigger; in create_netxbig_led()
305 led_dat->cdev.max_brightness = template->bright_max; in create_netxbig_led()
307 led_dat->mode_addr = template->mode_addr; in create_netxbig_led()
308 led_dat->mode_val = template->mode_val; in create_netxbig_led()
309 led_dat->bright_addr = template->bright_addr; in create_netxbig_led()
/linux-4.4.14/Documentation/security/
DIMA-templates.txt6 The original 'ima' template is fixed length, containing the filedata hash
16 a new template is defined, the functions that generate and display
20 The proposed solution solves this problem by separating the template
22 definition of two new data structures: a template descriptor, to determine
23 which information should be included in the measurement list; a template
29 measurement entries. Defining a new template descriptor requires
30 specifying the template format (a string of field identifiers separated
32 parameter. At boot time, IMA initializes the chosen template descriptor
33 by translating the format into an array of template fields structures taken
37 (new function defined within the patches for the new template management
[all …]
D00-INDEX26 - documentation on the template management mechanism for IMA.
/linux-4.4.14/arch/ia64/kernel/
Dkprobes.c87 brl->quad0.template = 0x05; /* [MLX](stop) */ in set_brl_inst()
100 static void __kprobes update_kprobe_inst_flag(uint template, uint slot, in update_kprobe_inst_flag() argument
120 if (bundle_encoding[template][slot] == B) { in update_kprobe_inst_flag()
136 } else if (bundle_encoding[template][slot] == X) { in update_kprobe_inst_flag()
153 static uint __kprobes is_cmp_ctype_unc_inst(uint template, uint slot, in is_cmp_ctype_unc_inst() argument
160 if (!((bundle_encoding[template][slot] == I) || in is_cmp_ctype_unc_inst()
161 (bundle_encoding[template][slot] == M))) in is_cmp_ctype_unc_inst()
189 static int __kprobes unsupported_inst(uint template, uint slot, in unsupported_inst() argument
197 if (is_cmp_ctype_unc_inst(template, slot, major_opcode, kprobe_inst)) { in unsupported_inst()
207 else if (bundle_encoding[template][slot] == I) { in unsupported_inst()
[all …]
/linux-4.4.14/include/trace/
Dtrace_events.h107 #define DEFINE_EVENT(template, name, proto, args) \ argument
112 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ argument
113 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
116 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
117 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
186 #define DEFINE_EVENT(template, name, proto, args) argument
189 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
190 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
330 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
335 struct trace_event_raw_##template *field; \
[all …]
Ddefine_trace.h44 #define DEFINE_EVENT(template, name, proto, args) \ argument
48 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ argument
52 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
56 #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \ argument
57 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
Dperf.h80 #define DEFINE_EVENT(template, call, proto, args) \ argument
83 check_trace_callback_type_##call(perf_trace_##template); \
88 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
89 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
/linux-4.4.14/security/integrity/ima/
Dima_template.c197 struct ima_template_desc *template = ima_template_desc_current(); in ima_init_template() local
200 result = template_desc_init_fields(template->fmt, in ima_init_template()
201 &(template->fields), in ima_init_template()
202 &(template->num_fields)); in ima_init_template()
205 (strlen(template->name) ? in ima_init_template()
206 template->name : template->fmt), result); in ima_init_template()
DKconfig48 prompt "Default template"
52 Select the default IMA measurement template.
54 The original 'ima' measurement list template contains a
57 template permits both larger hash digests and longer
/linux-4.4.14/kernel/debug/kdb/
Dkdb_bp.c287 kdb_bp_t template = {0}; in kdb_bp() local
304 diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr, in kdb_bp()
308 if (!template.bp_addr) in kdb_bp()
323 template.bp_type = BP_HARDWARE_BREAKPOINT; in kdb_bp()
324 diag = kdb_parsebp(argc, argv, &nextarg, &template); in kdb_bp()
328 template.bp_type = BP_BREAKPOINT; in kdb_bp()
340 bp_check->bp_addr == template.bp_addr) { in kdb_bp()
342 kdb_bfd_vma_fmt0 "\n", template.bp_addr); in kdb_bp()
347 template.bp_enabled = 1; in kdb_bp()
352 *bp = template; in kdb_bp()
/linux-4.4.14/drivers/misc/
Dvexpress-syscfg.c52 u32 template[0]; /* Keep it last! */ member
71 command = func->template[index]; in vexpress_syscfg_exec()
185 func = kzalloc(sizeof(*func) + sizeof(*func->template) * num, in vexpress_syscfg_regmap_init()
203 func->template[i] = SYS_CFGCTRL_DCC(dcc); in vexpress_syscfg_regmap_init()
204 func->template[i] |= SYS_CFGCTRL_SITE(site); in vexpress_syscfg_regmap_init()
205 func->template[i] |= SYS_CFGCTRL_POSITION(position); in vexpress_syscfg_regmap_init()
206 func->template[i] |= SYS_CFGCTRL_FUNC(function); in vexpress_syscfg_regmap_init()
207 func->template[i] |= SYS_CFGCTRL_DEVICE(device); in vexpress_syscfg_regmap_init()
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dwidgets.txt7 "template-wname", "user-supplied-wname"
9 The "template-wname" being the template widget name and currently includes:
/linux-4.4.14/sound/soc/
Dsoc-topology.c1374 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1389 memset(&template, 0, sizeof(template)); in soc_tplg_dapm_widget_create()
1392 template.id = get_widget_id(w->id); in soc_tplg_dapm_widget_create()
1393 if (template.id < 0) in soc_tplg_dapm_widget_create()
1394 return template.id; in soc_tplg_dapm_widget_create()
1396 template.name = kstrdup(w->name, GFP_KERNEL); in soc_tplg_dapm_widget_create()
1397 if (!template.name) in soc_tplg_dapm_widget_create()
1399 template.sname = kstrdup(w->sname, GFP_KERNEL); in soc_tplg_dapm_widget_create()
1400 if (!template.sname) { in soc_tplg_dapm_widget_create()
1404 template.reg = w->reg; in soc_tplg_dapm_widget_create()
[all …]
Dsoc-dapm.c334 struct snd_soc_dapm_widget template; in dapm_kcontrol_data_alloc() local
343 memset(&template, 0, sizeof(template)); in dapm_kcontrol_data_alloc()
344 template.reg = mc->reg; in dapm_kcontrol_data_alloc()
345 template.mask = (1 << fls(mc->max)) - 1; in dapm_kcontrol_data_alloc()
346 template.shift = mc->shift; in dapm_kcontrol_data_alloc()
348 template.off_val = mc->max; in dapm_kcontrol_data_alloc()
350 template.off_val = 0; in dapm_kcontrol_data_alloc()
351 template.on_val = template.off_val; in dapm_kcontrol_data_alloc()
352 template.id = snd_soc_dapm_kcontrol; in dapm_kcontrol_data_alloc()
353 template.name = name; in dapm_kcontrol_data_alloc()
[all …]
Dsoc-core.c1872 struct snd_kcontrol_new template; in snd_soc_cnew() local
1876 memcpy(&template, _template, sizeof(template)); in snd_soc_cnew()
1877 template.index = 0; in snd_soc_cnew()
1880 long_name = template.name; in snd_soc_cnew()
1887 template.name = name; in snd_soc_cnew()
1889 template.name = long_name; in snd_soc_cnew()
1892 kcontrol = snd_ctl_new1(&template, data); in snd_soc_cnew()
3219 const char *template, *wname; in snd_soc_of_parse_audio_simple_widgets() local
3251 2 * i, &template); in snd_soc_of_parse_audio_simple_widgets()
3260 if (!strncmp(template, simple_widgets[j].name, in snd_soc_of_parse_audio_simple_widgets()
[all …]
/linux-4.4.14/sound/soc/codecs/
Dsigmadsp.c634 struct snd_kcontrol_new template; in sigmadsp_alloc_control() local
637 memset(&template, 0, sizeof(template)); in sigmadsp_alloc_control()
638 template.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in sigmadsp_alloc_control()
639 template.name = ctrl->name; in sigmadsp_alloc_control()
640 template.info = sigmadsp_ctrl_info; in sigmadsp_alloc_control()
641 template.get = sigmadsp_ctrl_get; in sigmadsp_alloc_control()
642 template.put = sigmadsp_ctrl_put; in sigmadsp_alloc_control()
643 template.private_value = (unsigned long)ctrl; in sigmadsp_alloc_control()
644 template.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in sigmadsp_alloc_control()
646 template.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in sigmadsp_alloc_control()
[all …]
/linux-4.4.14/tools/perf/util/
Dllvm-utils.c339 const char *template = llvm_param.clang_bpf_cmd_template; in llvm__compile_bpf() local
341 if (!template) in llvm__compile_bpf()
342 template = CLANG_BPF_CMD_DEFAULT_TEMPLATE; in llvm__compile_bpf()
393 pr_debug("llvm compiling command template: %s\n", template); in llvm__compile_bpf()
394 err = read_from_pipe(template, &obj_buf, &obj_buf_sz); in llvm__compile_bpf()
Dhist.c314 static struct hist_entry *hist_entry__new(struct hist_entry *template, in hist_entry__new() argument
326 *he = *template; in hist_entry__new()
355 memcpy(he->branch_info, template->branch_info, in hist_entry__new()
/linux-4.4.14/sound/soc/intel/baytrail/
Dsst-baytrail-dsp.c70 struct sst_module_template template; in sst_byt_parse_module() local
73 memset(&template, 0, sizeof(template)); in sst_byt_parse_module()
74 template.id = module->type; in sst_byt_parse_module()
75 template.entry = module->entry_point; in sst_byt_parse_module()
77 mod = sst_module_new(fw, &template, NULL); in sst_byt_parse_module()
/linux-4.4.14/arch/um/os-Linux/
Dmem.c95 static int __init make_tempfile(const char *template) in make_tempfile() argument
109 tempname = malloc(strlen(tempdir) + strlen(template) + 1); in make_tempfile()
114 strcat(tempname, template); in make_tempfile()
/linux-4.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-std.c294 struct v4l2_standard *template; in pvr2_std_fill() local
297 template = match_std(id); in pvr2_std_fill()
298 if (!template) return 0; in pvr2_std_fill()
300 memcpy(std,template,sizeof(*template)); in pvr2_std_fill()
/linux-4.4.14/block/
Dblk-integrity.c409 void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template) in blk_integrity_register() argument
414 template->flags; in blk_integrity_register()
416 bi->profile = template->profile ? template->profile : &nop_profile; in blk_integrity_register()
417 bi->tuple_size = template->tuple_size; in blk_integrity_register()
418 bi->tag_size = template->tag_size; in blk_integrity_register()
/linux-4.4.14/sound/soc/intel/haswell/
Dsst-haswell-dsp.c93 struct sst_module_template template; in hsw_parse_module() local
114 memset(&template, 0, sizeof(template)); in hsw_parse_module()
115 template.id = module->type; in hsw_parse_module()
116 template.entry = module->entry_point - 4; in hsw_parse_module()
117 template.persistent_size = module->info.persistent_size; in hsw_parse_module()
118 template.scratch_size = module->info.scratch_size; in hsw_parse_module()
120 mod = sst_module_new(fw, &template, NULL); in hsw_parse_module()
/linux-4.4.14/sound/pci/oxygen/
Dse6x.c69 static int se6x_control_filter(struct snd_kcontrol_new *template) in se6x_control_filter() argument
72 if (!strncmp(template->name, "Master Playback ", 16)) in se6x_control_filter()
Doxygen_mixer.c1056 struct snd_kcontrol_new template; in add_controls() local
1061 template = controls[i]; in add_controls()
1063 err = chip->model.control_filter(&template); in add_controls()
1069 if (!strcmp(template.name, "Stereo Upmixing") && in add_controls()
1072 if (!strcmp(template.name, "Mic Source Capture Enum") && in add_controls()
1075 if (!strncmp(template.name, "CD Capture ", 11) && in add_controls()
1078 if (!strcmp(template.name, "Master Playback Volume") && in add_controls()
1080 template.tlv.p = chip->model.dac_tlv; in add_controls()
1081 template.access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in add_controls()
1083 ctl = snd_ctl_new1(&template, chip); in add_controls()
Dxonar_pcm179x.c988 static int xonar_d2_control_filter(struct snd_kcontrol_new *template) in xonar_d2_control_filter() argument
990 if (!strncmp(template->name, "CD Capture ", 11)) in xonar_d2_control_filter()
992 template->private_value ^= AC97_CD ^ AC97_VIDEO; in xonar_d2_control_filter()
996 static int xonar_st_h6_control_filter(struct snd_kcontrol_new *template) in xonar_st_h6_control_filter() argument
998 if (!strncmp(template->name, "Master Playback ", 16)) in xonar_st_h6_control_filter()
Dxonar_dg_mixer.c426 static int dg_control_filter(struct snd_kcontrol_new *template) in dg_control_filter() argument
428 if (!strncmp(template->name, "Master Playback ", 16)) in dg_control_filter()
Doxygen.h81 int (*control_filter)(struct snd_kcontrol_new *template);
/linux-4.4.14/include/linux/
Dtracepoint.h486 #define DEFINE_EVENT(template, name, proto, args) \ argument
488 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\ argument
490 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
492 #define DEFINE_EVENT_CONDITION(template, name, proto, \ argument
/linux-4.4.14/drivers/regulator/
Dtwl-regulator.c1094 const struct twlreg_info *template; in twlreg_probe() local
1104 template = match->data; in twlreg_probe()
1105 id = template->desc.id; in twlreg_probe()
1108 &template->desc); in twlreg_probe()
1113 for (i = 0, template = NULL; i < ARRAY_SIZE(twl_of_match); i++) { in twlreg_probe()
1114 template = twl_of_match[i].data; in twlreg_probe()
1115 if (template && template->desc.id == id) in twlreg_probe()
1126 if (!template) in twlreg_probe()
1132 info = devm_kmemdup(&pdev->dev, template, sizeof(*info), GFP_KERNEL); in twlreg_probe()
Dtps65218-regulator.c222 const struct tps_info *template; in tps65218_regulator_probe() local
232 template = match->data; in tps65218_regulator_probe()
233 id = template->id; in tps65218_regulator_probe()
Dqcom_rpm-regulator.c754 const struct qcom_rpm_reg *template; member
901 memcpy(vreg, reg->template, sizeof(*vreg)); in rpm_reg_probe()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dmain.c584 struct ieee80211_qos_hdr template; in wl1251_build_qos_null_data() local
586 memset(&template, 0, sizeof(template)); in wl1251_build_qos_null_data()
588 memcpy(template.addr1, wl->bssid, ETH_ALEN); in wl1251_build_qos_null_data()
589 memcpy(template.addr2, wl->mac_addr, ETH_ALEN); in wl1251_build_qos_null_data()
590 memcpy(template.addr3, wl->bssid, ETH_ALEN); in wl1251_build_qos_null_data()
592 template.frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in wl1251_build_qos_null_data()
597 template.qos_ctrl = cpu_to_le16(0); in wl1251_build_qos_null_data()
599 return wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, &template, in wl1251_build_qos_null_data()
600 sizeof(template)); in wl1251_build_qos_null_data()
/linux-4.4.14/Documentation/DocBook/
DMakefile130 cmd_db2ps = $(subst TYPE,ps, $($(PS_METHOD)template))
135 cmd_db2pdf = $(subst TYPE,pdf, $($(PDF_METHOD)template))
/linux-4.4.14/arch/ia64/include/asm/
Dkprobes.h60 unsigned long long template : 5; member
/linux-4.4.14/sound/core/oss/
Dpcm_oss.c2886 struct snd_pcm_oss_setup *setup, *setup1, template; in snd_pcm_oss_proc_write() local
2890 memset(&template, 0, sizeof(template)); in snd_pcm_oss_proc_write()
2899 template = *setup; in snd_pcm_oss_proc_write()
2904 template.periods = simple_strtoul(str, NULL, 10); in snd_pcm_oss_proc_write()
2906 template.period_size = simple_strtoul(str, NULL, 10); in snd_pcm_oss_proc_write()
2908 if (template.period_size & (1 << idx1)) in snd_pcm_oss_proc_write()
2911 template.period_size &= ~(1 << idx1); in snd_pcm_oss_proc_write()
2915 template.disable = 1; in snd_pcm_oss_proc_write()
2917 template.direct = 1; in snd_pcm_oss_proc_write()
2919 template.block = 1; in snd_pcm_oss_proc_write()
[all …]
/linux-4.4.14/sound/pci/ac97/
Dac97_codec.c1178 struct snd_kcontrol_new template; in snd_ac97_cnew() local
1179 memcpy(&template, _template, sizeof(template)); in snd_ac97_cnew()
1180 template.index = ac97->num; in snd_ac97_cnew()
1181 return snd_ctl_new1(&template, ac97); in snd_ac97_cnew()
2013 int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template, struct snd_ac97 **… in snd_ac97_mixer() argument
2030 if (snd_BUG_ON(!bus || !template)) in snd_ac97_mixer()
2032 if (snd_BUG_ON(template->num >= 4)) in snd_ac97_mixer()
2034 if (bus->codec[template->num]) in snd_ac97_mixer()
2041 ac97->private_data = template->private_data; in snd_ac97_mixer()
2042 ac97->private_free = template->private_free; in snd_ac97_mixer()
[all …]
/linux-4.4.14/scripts/
Dsetlocalversion88 id=`hg log -r . --template '{latesttag}'`
/linux-4.4.14/tools/perf/Documentation/
Dasciidoc.conf72 template::[header-declarations]
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dcmd.c1309 struct ieee80211_qos_hdr template; in wl1271_build_qos_null_data() local
1311 memset(&template, 0, sizeof(template)); in wl1271_build_qos_null_data()
1313 memcpy(template.addr1, vif->bss_conf.bssid, ETH_ALEN); in wl1271_build_qos_null_data()
1314 memcpy(template.addr2, vif->addr, ETH_ALEN); in wl1271_build_qos_null_data()
1315 memcpy(template.addr3, vif->bss_conf.bssid, ETH_ALEN); in wl1271_build_qos_null_data()
1317 template.frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in wl1271_build_qos_null_data()
1322 template.qos_ctrl = cpu_to_le16(0); in wl1271_build_qos_null_data()
1325 CMD_TEMPL_QOS_NULL_DATA, &template, in wl1271_build_qos_null_data()
1326 sizeof(template), 0, in wl1271_build_qos_null_data()
/linux-4.4.14/drivers/media/dvb-core/
Ddvbdev.h193 const struct dvb_device *template,
Ddvbdev.c272 const struct dvb_device *template, void *priv, int type) in dvb_register_device() argument
304 memcpy(dvbdev, template, sizeof(struct dvb_device)); in dvb_register_device()
312 memcpy(dvbdevfops, template->fops, sizeof(struct file_operations)); in dvb_register_device()
/linux-4.4.14/Documentation/
Dkernel-doc-nano-HOWTO.txt127 These are SGML template files, which are normal SGML files with
133 This is a program for converting SGML template files into SGML
139 Additionally it is used to scan the SGML template files to locate
332 How to make new SGML template files
335 SGML template files (*.tmpl) are like normal SGML files, except that
DHOWTO342 template for how to report a possible kernel bug, and details what kind
Dkernel-parameters.txt1480 Select one of defined IMA measurements template formats.
1485 [IMA] Define a custom template format.
/linux-4.4.14/drivers/staging/speakup/
Di18n.c507 static int fmt_validate(char *template, char *user) in fmt_validate() argument
511 char *template_ptr = template; in fmt_validate()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
Dampdu.c1090 char template[T_RAM_ACCESS_SZ * 2]; in brcms_c_ampdu_macaddr_upd() local
1093 memset(template, 0, sizeof(template)); in brcms_c_ampdu_macaddr_upd()
1094 memcpy(template, wlc->pub->cur_etheraddr, ETH_ALEN); in brcms_c_ampdu_macaddr_upd()
1097 template); in brcms_c_ampdu_macaddr_upd()
/linux-4.4.14/Documentation/networking/
Dxfrm_proc.txt40 No matching template for states
Dipvs-sysctl.txt82 9 - binding destination, template checks and applications
157 persistence template if it is to be used to schedule a new
Dbonding.txt1130 format can be found in an example ifcfg template file:
1132 /etc/sysconfig/network/ifcfg.template
1134 Note that the template does not document the various BONDING_
/linux-4.4.14/drivers/crypto/caam/
Dcaamhash.c1849 caam_hash_alloc(struct caam_hash_template *template, in caam_hash_alloc() argument
1862 t_alg->ahash_alg = template->template_ahash; in caam_hash_alloc()
1868 template->hmac_name); in caam_hash_alloc()
1870 template->hmac_driver_name); in caam_hash_alloc()
1873 template->name); in caam_hash_alloc()
1875 template->driver_name); in caam_hash_alloc()
1882 alg->cra_blocksize = template->blocksize; in caam_hash_alloc()
1887 t_alg->alg_type = template->alg_type; in caam_hash_alloc()
1888 t_alg->alg_op = template->alg_op; in caam_hash_alloc()
Dcaamalg.c4422 *template) in caam_alg_alloc()
4435 snprintf(alg->cra_name, CRYPTO_MAX_ALG_NAME, "%s", template->name); in caam_alg_alloc()
4437 template->driver_name); in caam_alg_alloc()
4442 alg->cra_blocksize = template->blocksize; in caam_alg_alloc()
4446 template->type; in caam_alg_alloc()
4447 switch (template->type) { in caam_alg_alloc()
4450 alg->cra_ablkcipher = template->template_ablkcipher; in caam_alg_alloc()
4454 alg->cra_ablkcipher = template->template_ablkcipher; in caam_alg_alloc()
4458 t_alg->caam.class1_alg_type = template->class1_alg_type; in caam_alg_alloc()
4459 t_alg->caam.class2_alg_type = template->class2_alg_type; in caam_alg_alloc()
[all …]
/linux-4.4.14/sound/soc/intel/common/
Dsst-firmware.c479 struct sst_module_template *template, void *private) in sst_module_new() argument
488 sst_module->id = template->id; in sst_module_new()
491 sst_module->scratch_size = template->scratch_size; in sst_module_new()
492 sst_module->persistent_size = template->persistent_size; in sst_module_new()
493 sst_module->entry = template->entry; in sst_module_new()
Dsst-dsp-priv.h348 struct sst_module_template *template, void *private);
/linux-4.4.14/sound/atmel/
Dac97c.c806 struct snd_ac97_template template; in atmel_ac97c_mixer_new() local
807 memset(&template, 0, sizeof(template)); in atmel_ac97c_mixer_new()
808 template.private_data = chip; in atmel_ac97c_mixer_new()
809 return snd_ac97_mixer(chip->ac97_bus, &template, &chip->ac97); in atmel_ac97c_mixer_new()
/linux-4.4.14/Documentation/usb/
Dlinux.inf1 ; Based on template INF file found at
Dlinux-cdc-acm.inf3 ; Based on INF template which was:
Dgadget_multi.txt124 template[9], Microchip's CDC ACM INF file and David Brownell's
/linux-4.4.14/sound/usb/
Dmixer_quirks.c860 struct snd_kcontrol_new template = { in snd_nativeinstruments_create_mixer() local
871 template.name = kc[i].name; in snd_nativeinstruments_create_mixer()
872 template.private_value = kc[i].private_value; in snd_nativeinstruments_create_mixer()
876 &template, &list); in snd_nativeinstruments_create_mixer()
973 static struct snd_kcontrol_new template = { in snd_ftu_create_effect_switch() local
987 &template, &list); in snd_ftu_create_effect_switch()
/linux-4.4.14/net/mac802154/
Dllsec.c120 llsec_key_alloc(const struct ieee802154_llsec_key *template) in llsec_key_alloc() argument
131 key->key = *template; in llsec_key_alloc()
140 if (crypto_aead_setkey(key->tfm[i], template->key, in llsec_key_alloc()
151 if (crypto_blkcipher_setkey(key->tfm0, template->key, in llsec_key_alloc()
/linux-4.4.14/tools/testing/selftests/ftrace/
DREADME26 Copy test.d/template to your testcase (whose filename must have *.tc
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c176 u32 *template, *tmp_buf; in netxen_setup_minidump() local
218 template = (u32 *) adapter->mdump.md_template; in netxen_setup_minidump()
220 *template++ = __le32_to_cpu(*tmp_buf++); in netxen_setup_minidump()
/linux-4.4.14/drivers/remoteproc/
Dremoteproc_core.c1317 char *p, *template = "rproc-%s-fw"; in rproc_alloc() local
1332 name_len = strlen(name) + strlen(template) - 2 + 1; in rproc_alloc()
1340 snprintf(p, name_len, template, name); in rproc_alloc()
/linux-4.4.14/Documentation/virtual/kvm/
Dhypercalls.txt33 The template for each hypercall is:
/linux-4.4.14/Documentation/scsi/
DChangeLog.megaraid_sas421 > template use of eh_timed_out (and allows the transport to override the
600 During initialization, depending on the device id, the template members
622 i. New template defined to represent each family of controllers (identified by processor used).
623 …The template will have defintions that will be initialised to appropritae values for a specific fa…
D53c700.txt70 template and the new parameters as arguments. You should also call
DChangeLog.ncr53c8xx12 - Merge changes for linux-2.4 that declare the host template
175 - Only define the host template in ncr53c8xx.h and include the
181 - Add info() function called from the host template to print
Dscsi_eh.txt107 no_async_abort setting in the host template) scsi_abort_command()
332 no_async_abort is enabled in the host template.
Dscsi_fc_transport.txt294 function in the transport template. The presence of this function will
364 the physical port and the virtual port. The physical port's template
Dscsi_mid_low_api.txt430 * the transport template before calling this function and may only
494 * @sht: pointer to scsi host template
572 * @sht: pointer to scsi host template
789 * @shtp: host template for this driver.
DChangeLog.1992-1997756 * hosts.c: Initialize cmd_per_lun in Scsi_Hosts from template.
913 * u14-34f.c: Use Scsi_Host can_queue variable instead of one from template.
932 * hosts.c: Initialize can_queue from template.
1189 definition for device template structure which defines the linked
DChangeLog.lpfc292 * Removed .proc_info and .proc_name from the driver template and
435 pci_module_init fails we need to release the transport template.
903 setting in the template and only overrides if queue tagging is
DChangeLog.sym53c8xx47 - Merge changes for linux-2.4 that declare the host template
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164-vbi.c698 struct video_device *template, in saa7164_vbi_alloc() argument
710 *vfd = *template; in saa7164_vbi_alloc()
Dsaa7164-encoder.c996 struct video_device *template, in saa7164_encoder_alloc() argument
1008 *vfd = *template; in saa7164_encoder_alloc()
/linux-4.4.14/kernel/
Dcgroup.c818 struct cgroup_subsys_state *template[]) in compare_css_sets() argument
827 if (memcmp(template, cset->subsys, sizeof(cset->subsys))) in compare_css_sets()
885 struct cgroup_subsys_state *template[]) in find_existing_css_set() argument
904 template[i] = cgroup_e_css(cgrp, ss); in find_existing_css_set()
910 template[i] = old_cset->subsys[i]; in find_existing_css_set()
914 key = css_set_hash(template); in find_existing_css_set()
916 if (!compare_css_sets(cset, old_cset, cgrp, template)) in find_existing_css_set()
1005 struct cgroup_subsys_state *template[CGROUP_SUBSYS_COUNT] = { }; in find_css_set() local
1018 cset = find_existing_css_set(old_cset, cgrp, template); in find_css_set()
1047 memcpy(cset->subsys, template, sizeof(cset->subsys)); in find_css_set()
/linux-4.4.14/include/sound/
Dac97_codec.h565 int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template,
/linux-4.4.14/sound/pci/ice1712/
Dice1712.h495 const struct snd_akm4xxx *template,
/linux-4.4.14/arch/arm/mach-omap1/
DKconfig156 no FPGA. Can be used as template for porting Linux to
/linux-4.4.14/Documentation/target/
Dtcm_mod_builder.txt19 using a skeleton struct target_core_fabric_ops API template.
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-core.c810 struct video_device *template, in vdev_init() argument
818 *vfd = *template; in vdev_init()
/linux-4.4.14/drivers/media/pci/cx23885/
Dcx23885-video.c137 struct video_device *template, in cx23885_vdev_init() argument
146 *vfd = *template; in cx23885_vdev_init()
Dcx23885-417.c1493 struct video_device *template, in cx23885_video_dev_alloc() argument
1504 *vfd = *template; in cx23885_video_dev_alloc()
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1088 ahc_linux_register_host(struct ahc_softc *ahc, struct scsi_host_template *template) in ahc_linux_register_host() argument
1096 template->name = ahc->description; in ahc_linux_register_host()
1097 host = scsi_host_alloc(template, sizeof(struct ahc_softc *)); in ahc_linux_register_host()
Daic79xx_osm.c1224 ahd_linux_register_host(struct ahd_softc *ahd, struct scsi_host_template *template) in ahd_linux_register_host() argument
1232 template->name = ahd->description; in ahd_linux_register_host()
1233 host = scsi_host_alloc(template, sizeof(struct ahd_softc *)); in ahd_linux_register_host()
/linux-4.4.14/Documentation/filesystems/
Dtmpfs.txt13 If you compare it to ramfs (which was the template to create tmpfs)
/linux-4.4.14/Documentation/networking/caif/
Dspi_porting.txt90 - CAIF SPI device template:
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-video.c1614 *template, const char *type_name) in vdev_init()
1616 *vfd = *template; in vdev_init()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-417.c1915 const struct video_device *template, in cx231xx_video_dev_init() argument
1919 *vfd = *template; in cx231xx_video_dev_init()
Dcx231xx-video.c2117 const struct video_device *template, in cx231xx_vdev_init() argument
2120 *vfd = *template; in cx231xx_vdev_init()
/linux-4.4.14/Documentation/block/
Ddata-integrity.txt254 The blk_integrity struct is a template and should contain the
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-video.c2190 const struct video_device *template, in em28xx_vdev_init() argument
2193 *vfd = *template; in em28xx_vdev_init()
/linux-4.4.14/drivers/media/usb/s2255/
Ds2255drv.c1597 static struct video_device template = { variable
1675 vc->vdev = template; in s2255_probe_v4l()
/linux-4.4.14/drivers/crypto/
Dtalitos.c2730 *template) in talitos_alg_alloc()
2740 t_alg->algt = *template; in talitos_alg_alloc()
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-driver.c3922 const struct video_device *template, in vdev_init() argument
3925 *vfd = *template; in vdev_init()
/linux-4.4.14/Documentation/nvdimm/
Dnvdimm.txt268 based on the libabc template:
/linux-4.4.14/Documentation/sysctl/
Dkernel.txt187 . core_pattern is used as a pattern template for the output filename;
/linux-4.4.14/Documentation/video4linux/
Dv4l2-framework.txt40 framework. It can be used as a template for real PCI video capture driver.