Home
last modified time | relevance | path

Searched refs:sname (Results 1 – 25 of 41) 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.c320 #define STREAM_ROUTES(id, sname) \ argument
321 { "XBAR-" sname, NULL, "XBAR-TX" }, \
322 { "RX-CIF-" sname, NULL, "XBAR-" sname }, \
323 { "RX", NULL, "RX-CIF-" sname }, \
325 { "TX" #id "-CIF-" sname, NULL, "TX" #id }, \
326 { "TX" #id " XBAR-" sname, NULL, "TX" #id "-CIF-" sname }, \
327 { "TX" #id " XBAR-RX", NULL, "TX" #id " XBAR-" sname }
333 #define STREAM_ROUTES(id, sname) \ argument
[all...]
H A Dtegra186_asrc.c608 #define ASRC_STREAM_ROUTE(id, sname) \ argument
609 { "RX" #id " XBAR-" sname, NULL, "RX" #id " XBAR-TX" }, \
610 { "RX" #id "-CIF-" sname, NULL, "RX" #id " XBAR-" sname }, \
611 { "RX" #id, NULL, "RX" #id "-CIF-" sname }, \
613 { "TX" #id "-CIF-" sname, NULL, "TX" #id }, \
614 { "TX" #id " XBAR-" sname, NULL, "TX" #id "-CIF-" sname }, \
615 { "TX" #id " XBAR-RX", NULL, "TX" #id " XBAR-" sname },
621 #define ASRC_RATIO_ROUTE(sname) \ argument
[all...]
H A Dtegra210_amx.c344 #define STREAM_ROUTES(id, sname) \ argument
345 { "RX" #id " XBAR-" sname, NULL, "RX" #id " XBAR-TX" }, \
346 { "RX" #id "-CIF-" sname, NULL, "RX" #id " XBAR-" sname },\
347 { "RX" #id, NULL, "RX" #id "-CIF-" sname }, \
349 { "TX-CIF-" sname, NULL, "TX" }, \
350 { "XBAR-" sname, NULL, "TX-CIF-" sname }, \
351 { "XBAR-RX", NULL, "XBAR-" sname }
/linux/arch/arm64/include/asm/
H A Dsyscall_wrapper.h35 #define COMPAT_SYSCALL_DEFINE0(sname) \ argument
36 asmlinkage long __arm64_compat_sys_##sname(const struct pt_regs *__unused); \
37 ALLOW_ERROR_INJECTION(__arm64_compat_sys_##sname, ERRNO); \
38 asmlinkage long __arm64_compat_sys_##sname(const struct pt_regs *__unused)
67 #define SYSCALL_DEFINE0(sname) \ argument
68 SYSCALL_METADATA(_##sname, 0); \
69 asmlinkage long __arm64_sys_##sname(const struct pt_regs *__unused); \
70 ALLOW_ERROR_INJECTION(__arm64_sys_##sname, ERRNO); \
71 asmlinkage long __arm64_sys_##sname(const struct pt_regs *__unused)
/linux/arch/riscv/include/asm/
H A Dsyscall_wrapper.h64 #define COMPAT_SYSCALL_DEFINE0(sname) \ argument
65 asmlinkage long __riscv_compat_sys_##sname(const struct pt_regs *__unused); \
66 ALLOW_ERROR_INJECTION(__riscv_compat_sys_##sname, ERRNO); \
67 asmlinkage long __riscv_compat_sys_##sname(const struct pt_regs *__unused)
95 #define SYSCALL_DEFINE0(sname) \ argument
96 SYSCALL_METADATA(_##sname, 0); \
97 asmlinkage long __riscv_sys_##sname(const struct pt_regs *__unused); \
98 ALLOW_ERROR_INJECTION(__riscv_sys_##sname, ERRNO); \
99 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/regulator/
H A Dpalmas-regulator.c41 .sname = "smps1-in",
49 .sname = "smps1-in",
57 .sname = "smps3-in",
64 .sname = "smps4-in",
72 .sname = "smps4-in",
80 .sname = "smps6-in",
88 .sname = "smps7-in",
95 .sname = "smps8-in",
103 .sname = "smps9-in",
110 .sname = "smps10-in",
[all …]
H A Das3722-regulator.c49 const char *sname; member
103 .sname = "vsup-sd2",
117 .sname = "vsup-sd3",
131 .sname = "vsup-sd4",
145 .sname = "vsup-sd5",
171 .sname = "vin-ldo0",
183 .sname = "vin-ldo1-6",
195 .sname = "vin-ldo2-5-7",
207 .sname = "vin-ldo3-4",
219 .sname = "vin-ldo3-4",
[all …]
H A Drt5120-regulator.c220 static const char * const sname[] = { in rt5120_fillin_regulator_desc() local
225 desc->supply_name = sname[rid]; in rt5120_fillin_regulator_desc()
/linux/drivers/hwmon/
H A Diio_hwmon.c88 char *sname; in iio_hwmon_probe() local
193 sname = devm_kasprintf(dev, GFP_KERNEL, "%pfwP", dev_fwnode(dev)); in iio_hwmon_probe()
194 if (!sname) in iio_hwmon_probe()
196 strreplace(sname, '-', '_'); in iio_hwmon_probe()
198 sname = "iio_hwmon"; in iio_hwmon_probe()
201 hwmon_dev = devm_hwmon_device_register_with_groups(dev, sname, st, in iio_hwmon_probe()
/linux/include/linux/
H A Dsyscalls.h146 #define SYSCALL_TRACE_ENTER_EVENT(sname) \
147 static struct syscall_metadata __syscall_meta_##sname; \ argument
149 event_enter_##sname = { \
152 .name = "sys_enter"#sname, \
155 .data = (void *)&__syscall_meta_##sname,\
160 *__event_enter_##sname = &event_enter_##sname;
162 #define SYSCALL_TRACE_EXIT_EVENT(sname) \
163 static struct syscall_metadata __syscall_meta_##sname; \ argument
165 event_exit_##sname
179 SYSCALL_METADATA(sname,nb,...) global() argument
210 SYSCALL_METADATA(sname,nb,...) global() argument
219 SYSCALL_DEFINE0(sname) global() argument
235 SYSCALL_DEFINEx(x,sname,...) global() argument
[all...]
H A Dslimbus.h204 const char *sname);
/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
389 sname = of_get_property(np, "nvidia,model", NULL); in hda_tegra_first_init()
390 if (!sname) in hda_tegra_first_init()
391 sname = drv_name; in hda_tegra_first_init()
392 if (strlen(sname) > sizeof(card->shortname)) in hda_tegra_first_init()
394 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.c1852 char *sname; in hv_balloon_debug_show() local
1870 sname = "Initializing"; in hv_balloon_debug_show()
1873 sname = "Initialized"; in hv_balloon_debug_show()
1876 sname = "Balloon Up"; in hv_balloon_debug_show()
1879 sname = "Balloon Down"; in hv_balloon_debug_show()
1882 sname = "Hot Add"; in hv_balloon_debug_show()
1885 sname = "Error"; in hv_balloon_debug_show()
1888 sname = "Unknown"; in hv_balloon_debug_show()
1890 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.c1079 if (!w->sname) { in sof_connect_dai_widget()
1096 if (!strcmp(rtd->dai_link->stream_name, w->sname)) { in sof_connect_dai_widget()
1099 } else if (strstr(rtd->dai_link->stream_name, w->sname)) { in sof_connect_dai_widget()
1132 w->name, w->sname); in sof_connect_dai_widget()
1144 const char *sname = w->sname; in sof_disconnect_dai_widget() local
1148 if (!sname) in sof_disconnect_dai_widget()
1161 !strstr(rtd->dai_link->stream_name, sname)) in sof_disconnect_dai_widget()
1487 strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 ? w->sname : "none"); in sof_widget_ready()
1557 swidget->id, tw->name, strnlen(tw->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 in sof_widget_ready()
1558 ? tw->sname : "none"); in sof_widget_ready()
/linux/kernel/module/
H A Dmain.c1654 bool module_init_layout_section(const char *sname) in module_init_layout_section() argument
1657 if (module_exit_section(sname)) in module_init_layout_section()
1660 return module_init_section(sname); in module_init_layout_section()
1698 const char *sname = info->secstrings + s->sh_name; in __layout_sections() local
1703 || is_init != module_init_layout_section(sname)) in __layout_sections()
1713 if (codetag_needs_module_section(mod, sname, s->sh_size)) { in __layout_sections()
1724 pr_debug("\t%s\n", sname); in __layout_sections()
2755 const char *sname; in move_module() local
2760 sname = info->secstrings + shdr->sh_name; in move_module()
2765 if (codetag_needs_module_section(mod, sname, shdr->sh_size)) { in move_module()
[all …]
/linux/sound/soc/
H A Dsoc-dapm.c372 if (_widget->sname) { in dapm_cnew_widget()
373 w->sname = kstrdup_const(_widget->sname, GFP_KERNEL); in dapm_cnew_widget()
374 if (!w->sname) { in dapm_cnew_widget()
2479 if (w->sname) in dapm_widget_power_read_file()
2481 w->sname, in dapm_widget_power_read_file()
2874 kfree_const(w->sname); in snd_soc_dapm_free_widget()
3893 kfree_const(w->sname); in snd_soc_dapm_new_control_unlocked()
4374 template.sname = dai->driver->playback.stream_name; in snd_soc_dapm_new_dai_widgets()
4390 template.sname = dai->driver->capture.stream_name; in snd_soc_dapm_new_dai_widgets()
4445 if (!w->sname || !strstr(w->sname, dai_w->sname)) in snd_soc_dapm_link_dai_widgets()

12