| /linux-6.15/drivers/hwmon/ |
| H A D | nct6683.c | 375 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument 376 .attr = {.name = _template, .mode = _mode }, \ 381 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument 382 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \ 386 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument 388 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \ 393 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument 395 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \ 398 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument 401 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
|
| H A D | nct6775-core.c | 1042 #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.15/sound/pci/ac97/ |
| H A D | ac97_patch.h | 54 static struct snd_kcontrol *snd_ac97_cnew(const struct snd_kcontrol_new *_template,
|
| H A D | ac97_codec.c | 1154 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.15/sound/soc/ |
| H A D | soc-core.c | 2390 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template, in snd_soc_cnew() argument 2398 memcpy(&template, _template, sizeof(template)); in snd_soc_cnew()
|
| /linux-6.15/include/sound/ |
| H A D | soc.h | 542 struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template,
|