Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/hwmon/
H A 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, \
H A 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, \
/OK3568_Linux_fs/kernel/sound/pci/ac97/
H A Dac97_patch.h54 static struct snd_kcontrol *snd_ac97_cnew(const struct snd_kcontrol_new *_template,
H A 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()
/OK3568_Linux_fs/kernel/sound/soc/
H A Dsoc-core.c2058 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template, in snd_soc_cnew() argument
2066 memcpy(&template, _template, sizeof(template)); in snd_soc_cnew()
/OK3568_Linux_fs/kernel/include/sound/
H A Dsoc.h569 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template,