Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hwmon/
Dnct6683.c369 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
370 .attr = {.name = _template, .mode = _mode }, \
375 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
376 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
380 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
382 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
387 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
389 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
392 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
395 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
Dnct6775-core.c958 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
959 .attr = {.name = _template, .mode = _mode }, \
964 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
965 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
969 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
971 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
976 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
978 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
981 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
984 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
/linux-5.19.10/sound/pci/ac97/
Dac97_patch.h54 static struct snd_kcontrol *snd_ac97_cnew(const struct snd_kcontrol_new *_template,
Dac97_codec.c1155 static struct snd_kcontrol *snd_ac97_cnew(const struct snd_kcontrol_new *_template, in snd_ac97_cnew() argument
1159 memcpy(&template, _template, sizeof(template)); in snd_ac97_cnew()
/linux-5.19.10/sound/soc/
Dsoc-core.c2180 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template, in snd_soc_cnew() argument
2188 memcpy(&template, _template, sizeof(template)); in snd_soc_cnew()
/linux-5.19.10/include/sound/
Dsoc.h539 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template,