Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hwmon/
Dnct6683.c367 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
368 .attr = {.name = _template, .mode = _mode }, \
373 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
374 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
378 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
380 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
385 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
387 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
390 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
393 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
Dnct6775.c1145 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
1146 .attr = {.name = _template, .mode = _mode }, \
1151 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
1152 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
1156 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
1158 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
1163 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
1165 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
1168 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
1171 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
/Linux-v4.19/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-v4.19/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-v4.19/include/sound/
Dsoc.h578 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template,