Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dnct6683.c358 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
359 .attr = {.name = _template, .mode = _mode }, \
364 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
365 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
369 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
371 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
376 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
378 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
381 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
384 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
Dnct6775.c1245 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
1246 .attr = {.name = _template, .mode = _mode }, \
1251 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
1252 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
1256 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
1258 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
1263 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
1265 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
1268 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
1271 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
/Linux-v5.4/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-v5.4/sound/soc/
Dsoc-core.c2224 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template, in snd_soc_cnew() argument
2232 memcpy(&template, _template, sizeof(template)); in snd_soc_cnew()
/Linux-v5.4/include/sound/
Dsoc.h564 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template,