Searched refs:ctl_name (Results 1 – 6 of 6) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alsa_plugin_io.c | 114 const char *pcm_name, const char *ctl_name, in alsa_plugin_io_create() argument 128 rc = snd_hctl_open(&plugin->hctl, ctl_name, SND_CTL_NONBLOCK); in alsa_plugin_io_create() 130 syslog(LOG_ERR, "open hctl fail for plugin %s", ctl_name); in alsa_plugin_io_create() 136 syslog(LOG_ERR, "Failed to nonblock hctl for %s", ctl_name); in alsa_plugin_io_create() 141 syslog(LOG_ERR, "Failed to load hctl for %s", ctl_name); in alsa_plugin_io_create() 146 plugin->mixer = cras_alsa_mixer_create(ctl_name); in alsa_plugin_io_create() 209 const char *tmp, *pcm_name, *ctl_name, *card_name; in cras_alsa_plugin_io_init() local 246 ctl_name = iniparser_getstring(plugins_ini, key_name, NULL); in cras_alsa_plugin_io_init() 247 if (!ctl_name) in cras_alsa_plugin_io_init() 261 pcm_name, ctl_name, card_name); in cras_alsa_plugin_io_init() [all …]
|
D | cras_alsa_io.c | 1224 const char *ctl_name; in new_output_by_mixer_control() local 1226 ctl_name = cras_alsa_mixer_get_control_name(cras_output); in new_output_by_mixer_control() 1227 if (!ctl_name) in new_output_by_mixer_control() 1232 aio->base.info.name, ctl_name) > 0) { in new_output_by_mixer_control() 1236 new_output(aio, cras_output, ctl_name); in new_output_by_mixer_control() 1315 const char *ctl_name = cras_alsa_mixer_get_control_name(cras_input); in new_input_by_mixer_control() local 1319 aio->base.info.name, ctl_name); in new_input_by_mixer_control() 1325 new_input(aio, cras_input, ctl_name); in new_input_by_mixer_control()
|
/external/adhd/sound_card_init/amp/src/max98373d/ |
D | dsm_param.rs | 75 pub fn new(card: &mut Card, num_channels: usize, ctl_name: &str) -> Result<Self> { in new() 76 let tlv = card.control_tlv_by_name(ctl_name)?.load()?; in new()
|
/external/adhd/cros_alsa/src/ |
D | control_primitive.rs | 185 pub fn new(iface: ElemIface, ctl_name: &str) -> Result<ElemId> { in new() 197 let name = CString::new(ctl_name)?; in new()
|
/external/rust/crates/nix/src/sys/socket/ |
D | addr.rs | 992 pub ctl_name: [c_uchar; MAX_KCTL_NAME], field 1024 let mut ctl_name = [0; MAX_KCTL_NAME]; in from_name() localVariable 1025 ctl_name[..name.len()].clone_from_slice(name.as_bytes()); in from_name() 1026 let mut info = ctl_ioc_info { ctl_id: 0, ctl_name }; in from_name()
|
/external/python/cpython3/Modules/ |
D | socketmodule.c | 2317 PyObject *ctl_name; in getsockaddrarg() local 2320 PyUnicode_FSConverter, &ctl_name)) { in getsockaddrarg() 2324 if (PyBytes_GET_SIZE(ctl_name) > (Py_ssize_t)sizeof(info.ctl_name)) { in getsockaddrarg() 2327 Py_DECREF(ctl_name); in getsockaddrarg() 2330 strncpy(info.ctl_name, PyBytes_AS_STRING(ctl_name), in getsockaddrarg() 2331 sizeof(info.ctl_name)); in getsockaddrarg() 2332 Py_DECREF(ctl_name); in getsockaddrarg()
|