Home
last modified time | relevance | path

Searched refs:sname (Results 1 – 25 of 42) sorted by relevance

12

/linux/arch/powerpc/include/asm/
H A Dhead-64.h60 #define OPEN_FIXED_SECTION(sname, start, end) \
61 sname##_start = (start); \
62 sname##_end = (end); \
63 sname##_len = (end) - (start); \
64 define_ftsec sname; \
66 start_##sname:
92 #define ZERO_FIXED_SECTION(sname, start, end) \
93 sname##_start = (start); \
94 sname##_end = (end); \
95 sname##_len = (end) - (start); \
[all …]
H A Dsyscall_wrapper.h36 #define SYSCALL_DEFINE0(sname) \ argument
37 SYSCALL_METADATA(_##sname, 0); \
38 long sys_##sname(const struct pt_regs *__unused); \
39 ALLOW_ERROR_INJECTION(sys_##sname, ERRNO); \
40 long sys_##sname(const struct pt_regs *__unused)
/linux/sound/soc/tegra/
H A Dtegra210_ahub.h150 #define WIDGETS(sname, ename) \
151 SND_SOC_DAPM_AIF_IN(sname " XBAR-RX", NULL, 0, SND_SOC_NOPM, 0, 0), \
152 SND_SOC_DAPM_AIF_OUT(sname " XBAR-TX", NULL, 0, SND_SOC_NOPM, 0, 0), \
153 SND_SOC_DAPM_MUX(sname " Mux", SND_SOC_NOPM, 0, 0, \
156 #define TX_WIDGETS(sname) \
157 SND_SOC_DAPM_AIF_IN(sname " XBAR-RX", NULL, 0, SND_SOC_NOPM, 0, 0), \
158 SND_SOC_DAPM_AIF_OUT(sname " XBAR-TX", NULL, 0, SND_SOC_NOPM, 0, 0)
160 #define DAI(sname) \
162 .name = "XBAR-" #sname, \
164 .stream_name = #sname " XBA
120 WIDGETS(sname,ename) global() argument
126 TX_WIDGETS(sname) global() argument
130 DAI(sname) global() argument
[all...]
H A Dtegra210_adx.c324 #define STREAM_ROUTES(id, sname) \ argument
325 { "XBAR-" sname, NULL, "XBAR-TX" }, \
326 { "RX-CIF-" sname, NULL, "XBAR-" sname }, \
327 { "RX", NULL, "RX-CIF-" sname }, \
329 { "TX" #id "-CIF-" sname, NULL, "TX" #id }, \
330 { "TX" #id " XBAR-" sname, NULL, "TX" #id "-CIF-" sname }, \
331 { "TX" #id " XBAR-RX", NULL, "TX" #id " XBAR-" sname }
337 #define STREAM_ROUTES(id, sname) \ argument
338 { "XBAR-" sname, NULL, "XBAR-TX" }, \
339 { "RX-CIF-" sname, NULL, "XBAR-" sname }, \
[all …]
H A Dtegra210_ope.c178 #define OPE_ROUTES(sname) \ argument
179 { "RX XBAR-" sname, NULL, "XBAR-TX" }, \
180 { "RX-CIF-" sname, NULL, "RX XBAR-" sname }, \
181 { "RX", NULL, "RX-CIF-" sname }, \
182 { "TX-CIF-" sname, NULL, "TX" }, \
183 { "TX XBAR-" sname, NULL, "TX-CIF-" sname }, \
184 { "XBAR-RX", NULL, "TX XBAR-" sname }
H A Dtegra210_mixer.c724 #define RX_ROUTES(id, sname) \ argument
725 { "RX" #id " XBAR-" sname, NULL, "RX" #id " XBAR-TX" }, \
726 { "RX" #id "-CIF-" sname, NULL, "RX" #id " XBAR-" sname }, \
727 { "RX" #id, NULL, "RX" #id "-CIF-" sname }
733 #define ADDER_ROUTES(id, sname) \ argument
745 { "TX" #id "-CIF-" sname, NULL, "TX" #id }, \
746 { "TX" #id " XBAR-" sname, NULL, "TX" #id "-CIF-" sname }, \
747 { "TX" #id " XBAR-RX", NULL, "TX" #id " XBAR-" sname } \
749 #define TX_ROUTES(id, sname) \ argument
750 ADDER_ROUTES(1, sname), \
[all …]
H A Dtegra186_asrc.c607 #define ASRC_STREAM_ROUTE(id, sname) \ argument
608 { "RX" #id " XBAR-" sname, NULL, "RX" #id " XBAR-TX" }, \
609 { "RX" #id "-CIF-" sname, NULL, "RX" #id " XBAR-" sname }, \
610 { "RX" #id, NULL, "RX" #id "-CIF-" sname }, \
612 { "TX" #id "-CIF-" sname, NULL, "TX" #id }, \
613 { "TX" #id " XBAR-" sname, NULL, "TX" #id "-CIF-" sname }, \
614 { "TX" #id " XBAR-RX", NULL, "TX" #id " XBAR-" sname },
620 #define ASRC_RATIO_ROUTE(sname) \ argument
[all...]
H A Dtegra210_mvc.c623 #define MVC_ROUTES(sname) \ argument
624 { "RX XBAR-" sname, NULL, "XBAR-TX" }, \
625 { "RX-CIF-" sname, NULL, "RX XBAR-" sname }, \
626 { "RX", NULL, "RX-CIF-" sname }, \
627 { "TX-CIF-" sname, NULL, "TX" }, \
628 { "TX XBAR-" sname, NULL, "TX-CIF-" sname }, \
629 { "XBAR-RX", NULL, "TX XBAR-" sname }
H A Dtegra210_amx.c345 #define STREAM_ROUTES(id, sname) \ argument
346 { "RX" #id " XBAR-" sname, NULL, "RX" #id " XBAR-TX" }, \
347 { "RX" #id "-CIF-" sname, NULL, "RX" #id " XBAR-" sname },\
348 { "RX" #id, NULL, "RX" #id "-CIF-" sname }, \
350 { "TX-CIF-" sname, NULL, "TX" }, \
351 { "XBAR-" sname, NULL, "TX-CIF-" sname }, \
352 { "XBAR-RX", NULL, "XBAR-" sname }
/linux/arch/riscv/include/asm/
H A Dsyscall_wrapper.h68 #define COMPAT_SYSCALL_DEFINE0(sname) \ argument
69 asmlinkage long __riscv_compat_sys_##sname(const struct pt_regs *__unused); \
70 ALLOW_ERROR_INJECTION(__riscv_compat_sys_##sname, ERRNO); \
71 asmlinkage long __riscv_compat_sys_##sname(const struct pt_regs *__unused)
99 #define SYSCALL_DEFINE0(sname) \ argument
100 SYSCALL_METADATA(_##sname, 0); \
101 asmlinkage long __riscv_sys_##sname(const struct pt_regs *__unused); \
102 ALLOW_ERROR_INJECTION(__riscv_sys_##sname, ERRNO); \
103 asmlinkage long __riscv_sys_##sname(const struct pt_regs *__unused)
/linux/sound/hda/codecs/hdmi/
H A Deld.c130 char *sname; in snd_hdmi_write_eld_info() local
161 sname = name + 4; in snd_hdmi_write_eld_info()
164 sname++; in snd_hdmi_write_eld_info()
169 if (!strcmp(sname, "_coding_type")) in snd_hdmi_write_eld_info()
171 else if (!strcmp(sname, "_channels")) in snd_hdmi_write_eld_info()
173 else if (!strcmp(sname, "_rates")) in snd_hdmi_write_eld_info()
175 else if (!strcmp(sname, "_bits")) in snd_hdmi_write_eld_info()
177 else if (!strcmp(sname, "_max_bitrate")) in snd_hdmi_write_eld_info()
179 else if (!strcmp(sname, "_profile")) in snd_hdmi_write_eld_info()
/linux/drivers/hwmon/
H A Diio_hwmon.c87 char *sname; in iio_hwmon_probe() local
192 sname = devm_kasprintf(dev, GFP_KERNEL, "%pfwP", dev_fwnode(dev)); in iio_hwmon_probe()
193 if (!sname) in iio_hwmon_probe()
195 strreplace(sname, '-', '_'); in iio_hwmon_probe()
197 sname = "iio_hwmon"; in iio_hwmon_probe()
200 hwmon_dev = devm_hwmon_device_register_with_groups(dev, sname, st, in iio_hwmon_probe()
/linux/arch/x86/include/asm/
H A Dsyscall_wrapper.h244 #define SYSCALL_DEFINE0(sname) \ argument
245 SYSCALL_METADATA(_##sname, 0); \
246 static long __do_sys_##sname(const struct pt_regs *__unused); \
247 __X64_SYS_STUB0(sname) \
248 __IA32_SYS_STUB0(sname) \
249 static long __do_sys_##sname(const struct pt_regs *__unused)
/linux/sound/hda/controllers/
H A Dacpi.c74 const char *sname, *lname; in hda_acpi_init() local
137 sname = hda->data->short_name ? hda->data->short_name : KBUILD_MODNAME; in hda_acpi_init()
139 if (strlen(sname) > sizeof(card->shortname)) in hda_acpi_init()
140 dev_info(dev, "truncating shortname for card %s\n", sname); in hda_acpi_init()
141 strscpy(card->shortname, sname); in hda_acpi_init()
143 lname = hda->data->long_name ? hda->data->long_name : sname; in hda_acpi_init()
H A Dcix-ipbloq.c102 const char *sname = NULL, *drv_name = "cix-ipbloq-hda"; in cix_ipbloq_hda_init() local
163 sname = of_get_property(pdev->dev.of_node, "model", NULL); in cix_ipbloq_hda_init()
164 if (!sname) in cix_ipbloq_hda_init()
165 sname = drv_name; in cix_ipbloq_hda_init()
166 if (strlen(sname) > sizeof(card->shortname)) in cix_ipbloq_hda_init()
168 strscpy(card->shortname, sname, sizeof(card->shortname)); in cix_ipbloq_hda_init()
H A Dtegra.c273 const char *sname, *drv_name = "tegra-hda"; in hda_tegra_first_init() local
390 sname = of_get_property(np, "nvidia,model", NULL); in hda_tegra_first_init()
391 if (!sname) in hda_tegra_first_init()
392 sname = drv_name; in hda_tegra_first_init()
393 if (strlen(sname) > sizeof(card->shortname)) in hda_tegra_first_init()
395 strscpy(card->shortname, sname); in hda_tegra_first_init()
/linux/scripts/gendwarfksyms/
H A Dkabi.c172 const char *sname; in kabi_read_rules() local
178 sname = elf_strptr(elf, shstrndx, shdr->sh_name); in kabi_read_rules()
179 if (!sname) in kabi_read_rules()
182 if (!strcmp(sname, KABI_RULE_SECTION)) { in kabi_read_rules()
/linux/drivers/hv/
H A Dhv_balloon.c1846 char *sname; in hv_balloon_debug_show() local
1862 sname = "Initializing"; in hv_balloon_debug_show()
1865 sname = "Initialized"; in hv_balloon_debug_show()
1868 sname = "Balloon Up"; in hv_balloon_debug_show()
1871 sname = "Balloon Down"; in hv_balloon_debug_show()
1874 sname = "Hot Add"; in hv_balloon_debug_show()
1877 sname = "Error"; in hv_balloon_debug_show()
1880 sname = "Unknown"; in hv_balloon_debug_show()
1882 seq_printf(f, " (%s)\n", sname); in hv_balloon_debug_show()
/linux/sound/soc/intel/atom/
H A Dsst-atom-controls.h589 { .id = snd_soc_dapm_aif_in, .name = wname, .sname = NULL, \
597 { .id = snd_soc_dapm_aif_out, .name = wname, .sname = NULL, \
605 { .id = snd_soc_dapm_input, .name = wname, .sname = NULL, \
613 { .id = snd_soc_dapm_output, .name = wname, .sname = NULL, \
621 { .id = snd_soc_dapm_output, .name = wname, .sname = NULL, \
/linux/sound/soc/sof/
H A Dtopology.c1097 if (!w->sname) { in sof_connect_dai_widget()
1114 if (!strcmp(rtd->dai_link->stream_name, w->sname)) { in sof_connect_dai_widget()
1117 } else if (strstr(rtd->dai_link->stream_name, w->sname)) { in sof_connect_dai_widget()
1150 w->name, w->sname); in sof_disconnect_dai_widget()
1162 const char *sname = w->sname; in sof_disconnect_dai_widget()
1166 if (!sname) in sof_disconnect_dai_widget()
1179 !strstr(rtd->dai_link->stream_name, sname)) in spcm_bind()
1505 strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 ? w->sname in sof_widget_ready()
1146 const char *sname = w->sname; sof_disconnect_dai_widget() local
[all...]
/linux/include/linux/
H A Dslimbus.h204 const char *sname);
/linux/sound/soc/
H A Dsoc-dapm.c376 if (_widget->sname) { in dapm_cnew_widget()
377 w->sname = kstrdup_const(_widget->sname, GFP_KERNEL); in dapm_cnew_widget()
378 if (!w->sname) { in dapm_cnew_widget()
2491 if (w->sname) in dapm_widget_power_read_file()
2493 w->sname, in dapm_widget_power_read_file()
2893 kfree_const(w->sname); in snd_soc_dapm_free_widget()
3914 kfree_const(w->sname); in snd_soc_dapm_new_control_unlocked()
4395 template.sname = dai->driver->playback.stream_name; in snd_soc_dapm_new_dai_widgets()
4411 template.sname = dai->driver->capture.stream_name; in snd_soc_dapm_new_dai_widgets()
4466 if (!w->sname || !strstr(w->sname, dai_w->sname)) in snd_soc_dapm_link_dai_widgets()
H A Dsoc-topology.c1119 if (strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_create()
1137 template.sname = kstrdup(w->sname, GFP_KERNEL); in soc_tplg_dapm_widget_create()
1138 if (!template.sname) { in soc_tplg_dapm_widget_create()
1247 kfree(template.sname); in soc_tplg_dapm_widget_create()
1257 kfree(template.sname); in soc_tplg_dapm_widget_elems_load()
/linux/sound/pci/
H A Dcmipci.c2349 #define DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask_on, xis_byte, xac3) \ argument
2350 static struct cmipci_switch_args cmipci_switch_arg_##sname = { \
2358 #define DEFINE_BIT_SWITCH_ARG(sname, xreg, xmask, xis_byte, xac3) \ argument
2359 DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask, xis_byte, xac3)
2390 #define DEFINE_SWITCH(sname, stype, sarg) \ argument
2391 { .name = sname, \
2399 #define DEFINE_CARD_SWITCH(sname, sarg) DEFINE_SWITCH(sname, SNDRV_CTL_ELEM_IFACE_CARD, sarg) argument
2400 #define DEFINE_MIXER_SWITCH(sname, sarg) DEFINE_SWITCH(sname, SNDRV_CTL_ELEM_IFACE_MIXE argument
[all...]
/linux/sound/soc/intel/avs/
H A Dcore.c888 #define AVS_TGL_BASED_SPEC(sname, min) \ argument
889 static const struct avs_spec sname##_desc = { \
890 .name = #sname, \

12