Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/hwmon/
Dnct6683.c370 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
371 .attr = {.name = _template, .mode = _mode }, \
376 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
377 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
381 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
383 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
388 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
390 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
393 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
396 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
Dnct6775-core.c1042 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
1043 .attr = {.name = _template, .mode = _mode }, \
1048 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
1049 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
1053 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
1055 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
1060 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
1062 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
1065 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
1068 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
/linux-6.6.21/sound/pci/ac97/
Dac97_patch.h54 static struct snd_kcontrol *snd_ac97_cnew(const struct snd_kcontrol_new *_template,
Dac97_codec.c1154 static struct snd_kcontrol *snd_ac97_cnew(const struct snd_kcontrol_new *_template, in snd_ac97_cnew() argument
1158 memcpy(&template, _template, sizeof(template)); in snd_ac97_cnew()
/linux-6.6.21/sound/soc/
Dsoc-core.c2278 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template, in snd_soc_cnew() argument
2286 memcpy(&template, _template, sizeof(template)); in snd_soc_cnew()
/linux-6.6.21/include/sound/
Dsoc.h551 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template,