Home
last modified time | relevance | path

Searched refs:_template (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/hwmon/
Dnct6683.c361 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
362 .attr = {.name = _template, .mode = _mode }, \
367 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
368 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
372 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
374 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
379 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
381 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
384 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
387 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
Dnct6775.c1012 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
1013 .attr = {.name = _template, .mode = _mode }, \
1018 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
1019 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
1023 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
1025 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
1030 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
1032 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
1035 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
1038 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
/linux-4.4.14/sound/pci/ac97/
Dac97_patch.h69 static struct snd_kcontrol *snd_ac97_cnew(const struct snd_kcontrol_new *_template,
Dac97_codec.c1175 static struct snd_kcontrol *snd_ac97_cnew(const struct snd_kcontrol_new *_template, in snd_ac97_cnew() argument
1179 memcpy(&template, _template, sizeof(template)); in snd_ac97_cnew()
/linux-4.4.14/sound/soc/
Dsoc-core.c1868 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template, in snd_soc_cnew() argument
1876 memcpy(&template, _template, sizeof(template)); in snd_soc_cnew()
/linux-4.4.14/include/sound/
Dsoc.h575 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template,