Home
last modified time | relevance | path

Searched defs:ctl (Results 1 – 25 of 500) sorted by relevance

12345678910>>...20

/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/alsa/
H A Dmixer-test.c106 int card, ctl, err; in find_controls() local
226 static int wait_for_event(struct ctl_data *ctl, int timeout) in wait_for_event()
295 static bool ctl_value_index_valid(struct ctl_data *ctl, in ctl_value_index_valid()
408 static bool ctl_value_valid(struct ctl_data *ctl, snd_ctl_elem_value_t *val) in ctl_value_valid()
424 static void test_ctl_get_value(struct ctl_data *ctl) in test_ctl_get_value()
469 static void test_ctl_name(struct ctl_data *ctl) in test_ctl_name()
497 static bool show_mismatch(struct ctl_data *ctl, int index, in show_mismatch()
562 static int write_and_verify(struct ctl_data *ctl, in write_and_verify()
671 static void test_ctl_write_default(struct ctl_data *ctl) in test_ctl_write_default()
704 static bool test_ctl_write_valid_boolean(struct ctl_data *ctl) in test_ctl_write_valid_boolean()
[all …]
/aosp_15_r20/external/tinyalsa_new/src/
H A Dmixer.c82 struct mixer_ctl *ctl; member
112 static void mixer_cleanup_control(struct mixer_ctl *ctl) in mixer_cleanup_control()
182 struct mixer_ctl *ctl; in add_controls() local
419 struct mixer_ctl *ctl; in mixer_get_num_ctls_by_name() local
725 struct mixer_ctl *ctl; in mixer_get_ctl_by_name_and_index() local
778 struct mixer_ctl *ctl; in mixer_get_ctl_by_name_and_device() local
817 void mixer_ctl_update(struct mixer_ctl *ctl) in mixer_ctl_update()
834 int mixer_ctl_is_access_tlv_rw(const struct mixer_ctl *ctl) in mixer_ctl_is_access_tlv_rw()
849 unsigned int mixer_ctl_get_id(const struct mixer_ctl *ctl) in mixer_ctl_get_id()
866 const char *mixer_ctl_get_name(const struct mixer_ctl *ctl) in mixer_ctl_get_name()
[all …]
H A Dmixer_plugin.c72 struct snd_control *ctl; in mixer_plug_get_elem_id() local
91 static int mixer_plug_info_enum(struct snd_control *ctl, in mixer_plug_info_enum()
110 static int mixer_plug_info_bytes(struct snd_control *ctl, in mixer_plug_info_bytes()
127 static int mixer_plug_info_integer(struct snd_control *ctl, in mixer_plug_info_integer()
208 struct snd_control *ctl; in mixer_plug_tlv_write() local
221 struct snd_control *ctl; in mixer_plug_tlv_read() local
234 struct snd_control *ctl; in mixer_plug_elem_write() local
250 struct snd_control *ctl; in mixer_plug_elem_read() local
267 struct snd_control *ctl; in mixer_plug_get_elem_info() local
/aosp_15_r20/external/tinyalsa/
H A Dmixer.c65 struct mixer_ctl *ctl; member
173 struct mixer_ctl *ctl = grp->ctl + n; in mixer_grp_open() local
298 static bool mixer_ctl_get_elem_info(struct mixer_ctl* ctl) in mixer_ctl_get_elem_info()
363 struct mixer_ctl *ctl; in mixer_get_ctl() local
414 void mixer_ctl_update(struct mixer_ctl *ctl) in mixer_ctl_update()
425 const char *mixer_ctl_get_name(struct mixer_ctl *ctl) in mixer_ctl_get_name()
433 enum mixer_ctl_type mixer_ctl_get_type(struct mixer_ctl *ctl) in mixer_ctl_get_type()
449 const char *mixer_ctl_get_type_string(struct mixer_ctl *ctl) in mixer_ctl_get_type_string()
465 unsigned int mixer_ctl_get_num_values(struct mixer_ctl *ctl) in mixer_ctl_get_num_values()
497 int mixer_ctl_get_percent(struct mixer_ctl *ctl, unsigned int id) in mixer_ctl_get_percent()
[all …]
H A Dmixer_plugin.c68 struct snd_control *ctl; in mixer_plug_get_elem_id() local
85 static int mixer_plug_info_enum(struct snd_control *ctl, in mixer_plug_info_enum()
103 static int mixer_plug_info_bytes(struct snd_control *ctl, in mixer_plug_info_bytes()
120 static int mixer_plug_info_integer(struct snd_control *ctl, in mixer_plug_info_integer()
216 struct snd_control *ctl; in mixer_plug_tlv_write() local
229 struct snd_control *ctl; in mixer_plug_tlv_read() local
242 struct snd_control *ctl; in mixer_plug_elem_write() local
258 struct snd_control *ctl; in mixer_plug_elem_read() local
275 struct snd_control *ctl; in mixer_plug_get_elem_info() local
H A Dtinymix.c140 struct mixer_ctl *ctl; in tinymix_list_controls() local
171 static void tinymix_print_enum(struct mixer_ctl *ctl, const char *space, in tinymix_print_enum()
197 struct mixer_ctl *ctl; in tinymix_detail_control() local
282 static void tinymix_set_byte_ctl(struct mixer_ctl *ctl, in tinymix_set_byte_ctl()
347 struct mixer_ctl *ctl; in tinymix_set_value() local
/aosp_15_r20/external/tinyalsa_new/examples/plugins/
H A Dsample_mixer_plugin.c56 struct snd_control *ctl, struct snd_ctl_elem_value *ev) in sample_mixer_int_ctl_get()
62 struct snd_control *ctl, struct snd_ctl_elem_value *ev) in sample_mixer_int_ctl_put()
74 struct snd_control *ctl, struct snd_ctl_elem_value *ev) in sample_mixer_byte_array_ctl_get()
80 struct snd_control *ctl, struct snd_ctl_elem_value *ev) in sample_mixer_byte_array_ctl_put()
91 struct snd_control *ctl, struct snd_ctl_tlv *ev) in sample_mixer_tlv_ctl_get()
97 struct snd_control *ctl, struct snd_ctl_tlv *tlv) in sample_mixer_tlv_ctl_put()
109 struct snd_control *ctl, struct snd_ctl_elem_value *ev) in sample_mixer_enum_ctl_get()
115 struct snd_control *ctl, struct snd_ctl_elem_value *ev) in sample_mixer_enum_ctl_put()
137 struct snd_control *ctl = SAMPLE_MIXER_PRIV_GET_CTL_PTR(priv, ctl_idx); in create_integer_ctl() local
148 struct snd_control *ctl = SAMPLE_MIXER_PRIV_GET_CTL_PTR(priv, ctl_idx); in create_byte_array_ctl() local
[all …]
/aosp_15_r20/hardware/interfaces/audio/aidl/default/alsa/
H A DMixer.cpp62 struct mixer_ctl* ctl = mixer_get_ctl_by_name(mixer, ctlName.c_str()); in initializeMixerControls() local
172 ndk::ScopedAStatus Mixer::findControl(Control ctl, struct mixer_ctl** result) { in findControl()
183 ndk::ScopedAStatus Mixer::getMixerControlMute(Control ctl, bool* muted) { in getMixerControlMute()
200 ndk::ScopedAStatus Mixer::getMixerControlVolume(Control ctl, float* volume) { in getMixerControlVolume()
217 ndk::ScopedAStatus Mixer::setMixerControlMute(Control ctl, bool muted) { in setMixerControlMute()
228 ndk::ScopedAStatus Mixer::setMixerControlVolume(Control ctl, float volume) { in setMixerControlVolume()
240 int Mixer::getMixerControlPercent(struct mixer_ctl* ctl, std::vector<int>* percents) { in getMixerControlPercent()
253 int Mixer::getMixerControlValues(struct mixer_ctl* ctl, std::vector<int>* values) { in getMixerControlValues()
266 int Mixer::setMixerControlPercent(struct mixer_ctl* ctl, int percent) { in setMixerControlPercent()
276 int Mixer::setMixerControlPercent(struct mixer_ctl* ctl, const std::vector<int>& percents) { in setMixerControlPercent()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/rustix/src/fs/
Dioctl.rs28 let ctl = ioctl::Getter::<ioctl::BadOpcode<{ c::BLKSSZGET }>, c::c_uint>::new(); in ioctl_blksszget() localVariable
40 let ctl = ioctl::Getter::<ioctl::BadOpcode<{ c::BLKPBSZGET }>, c::c_uint>::new(); in ioctl_blkpbszget() localVariable
67 let ctl = ioctl::Setter::<ioctl::BadOpcode<{ backend::fs::EXT4_IOC_RESIZE_FS }>, u64>::new( in ext4_ioc_resize_fs() localVariable
140 let ctl = ioctl::Getter::<ioctl::BadOpcode<{ c::FS_IOC32_GETFLAGS }>, u32>::new(); in ioctl_getflags() localVariable
142 let ctl = ioctl::Getter::<ioctl::BadOpcode<{ c::FS_IOC_GETFLAGS }>, u32>::new(); in ioctl_getflags() localVariable
157 let ctl = in ioctl_setflags() localVariable
161 let ctl = ioctl::Setter::<ioctl::BadOpcode<{ c::FS_IOC_SETFLAGS }>, u32>::new(flags.bits()); in ioctl_setflags() localVariable
/aosp_15_r20/external/tinyalsa_new/utils/
H A Dtinymix.c202 struct mixer_ctl *ctl; in list_controls() local
230 static void print_enum(struct mixer_ctl *ctl) in print_enum()
248 struct mixer_ctl *ctl; in print_control_values_by_name_or_id() local
323 static void tinymix_set_byte_ctl(struct mixer_ctl *ctl, in tinymix_set_byte_ctl()
471 static int set_control_value(struct mixer_ctl* ctl, unsigned int i, in set_control_value()
492 static int set_control_values(struct mixer_ctl* ctl, in set_control_values()
541 struct mixer_ctl *ctl; in set_values() local
/aosp_15_r20/system/media/audio_route/
H A Daudio_route.c49 struct mixer_ctl *ctl; member
283 struct mixer_ctl *ctl = index_to_ctl(ar, setting->ctl_index); in path_add_setting() local
319 struct mixer_ctl *ctl; in path_add_value() local
407 struct mixer_ctl *ctl; in path_apply() local
429 struct mixer_ctl *ctl; in path_reset() local
464 static int mixer_enum_string_to_value(struct mixer_ctl *ctl, const char *string, in mixer_enum_string_to_value()
507 struct mixer_ctl *ctl; in start_tag() local
688 struct mixer_ctl *ctl; in alloc_mixer_state() local
751 struct mixer_ctl *ctl; in audio_route_update_mixer() local
/aosp_15_r20/external/igt-gpu-tools/tests/i915/
H A Dgem_vm_create.c28 static int vm_create_ioctl(int i915, struct drm_i915_gem_vm_control *ctl) in vm_create_ioctl()
39 static int vm_destroy_ioctl(int i915, struct drm_i915_gem_vm_control *ctl) in vm_destroy_ioctl()
64 struct drm_i915_gem_vm_control ctl = {}; in has_vm() local
85 struct drm_i915_gem_vm_control ctl = {}; in invalid_create() local
109 struct drm_i915_gem_vm_control ctl = {}; in invalid_destroy() local
/aosp_15_r20/external/rust/android-crates-io/crates/rustix/src/io/
Dioctl.rs26 let ctl = ioctl::NoArg::<ioctl::BadOpcode<{ c::FIOCLEX }>>::new(); in ioctl_fioclex() localVariable
46 let ctl = ioctl::Setter::<ioctl::BadOpcode<{ c::FIONBIO }>, c::c_int>::new(value.into()); in ioctl_fionbio() localVariable
74 let ctl = ioctl::Getter::<ioctl::BadOpcode<{ c::FIONREAD }>, c::c_int>::new(); in ioctl_fionread() localVariable
/aosp_15_r20/external/trusty/arm-trusted-firmware/drivers/st/ddr/
Dstm32mp_ddr.c52 void stm32mp_ddr_start_sw_done(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_start_sw_done()
60 void stm32mp_ddr_wait_sw_done_ack(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_wait_sw_done_ack()
83 void stm32mp_ddr_enable_axi_port(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_enable_axi_port()
/aosp_15_r20/device/generic/car/emulator/audio/driver/audio_extn/
Dhfp.c33 struct mixer_ctl *ctl; in hfp_set_enable() local
55 struct mixer_ctl *ctl; in hfp_set_sampling_rate() local
77 struct mixer_ctl *ctl; in hfp_set_volume() local
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/src/internal/
H A DOnDemandAllocatingPool.kt49 controlState.loop { ctl -> in <lambda>() method
86 val ctl = controlState.value in <lambda>() constant
/aosp_15_r20/external/tensorflow/tensorflow/core/ir/
H A Dutility_test.cc48 Value ctl = LookupControlDependency(copy); in TEST() local
82 Value ctl = ret_op.getOperand(1); in TEST() local
117 Value ctl = ret_op.getOperand(1); in TEST() local
/aosp_15_r20/external/arm-trusted-firmware/drivers/st/ddr/
H A Dstm32mp1_ddr.c385 static void stm32mp1_start_sw_done(struct stm32mp1_ddrctl *ctl) in stm32mp1_start_sw_done()
393 static void stm32mp1_wait_sw_done_ack(struct stm32mp1_ddrctl *ctl) in stm32mp1_wait_sw_done_ack()
672 static void stm32mp1_refresh_disable(struct stm32mp1_ddrctl *ctl) in stm32mp1_refresh_disable()
684 static void stm32mp1_refresh_restore(struct stm32mp1_ddrctl *ctl, in stm32mp1_refresh_restore()
/aosp_15_r20/external/libevent/
H A Devent.c879 struct common_timeout_list *ctl = in event_base_free_() local
1450 common_timeout_schedule(struct common_timeout_list *ctl, in common_timeout_schedule()
1465 struct common_timeout_list *ctl = arg; in common_timeout_callback() local
1505 const struct common_timeout_list *ctl = in event_base_init_common_timeout() local
2738 struct common_timeout_list *ctl = in event_add_nolock_() local
3279 struct common_timeout_list *ctl = in event_queue_remove_timeout() local
3294 struct common_timeout_list *ctl; in event_queue_reinsert_timeout() local
3331 insert_common_timeout_inorder(struct common_timeout_list *ctl, in insert_common_timeout_inorder()
3430 struct common_timeout_list *ctl = in event_queue_insert_timeout() local
3706 struct common_timeout_list *ctl = in event_base_foreach_event_nolock_() local
[all …]
/aosp_15_r20/external/coreboot/src/soc/cavium/cn81xx/
H A Duart.c78 union cn81xx_uart_ctl ctl; in uart_hclk() local
123 union cn81xx_uart_ctl ctl; in uart_is_enabled() local
143 union cn81xx_uart_ctl ctl; in uart_setup() local
/aosp_15_r20/external/libpcap/
H A Dpcap-dlpi.c189 struct strbuf ctl = { in pcap_read_dlpi() local
1162 struct strbuf ctl; local
1182 struct strbuf ctl; local
1540 struct strbuf ctl, data; local
1650 struct strbuf ctl; local
/aosp_15_r20/external/vulkan-validation-layers/layers/
H A Dvk_loader_platform.h125 #define LOADER_PLATFORM_THREAD_ONCE(ctl, func) argument
317 #define LOADER_PLATFORM_THREAD_ONCE(ctl, func) argument
321 #define LOADER_PLATFORM_THREAD_ONCE(ctl, func) loader_platform_thread_once_fn(ctl, func) argument
327 static void loader_platform_thread_once_fn(void *ctl, void (*func)(void)) { in loader_platform_thread_once_fn() argument
/aosp_15_r20/external/flashrom/
H A Dserial.c325 DWORD ctl; in sp_set_pin() local
361 DWORD ctl; in sp_get_pin() local
366 int ctl; in sp_get_pin() local
/aosp_15_r20/external/rust/android-crates-io/crates/rustix/src/termios/
Dioctl.rs27 let ctl = ioctl::NoArg::<ioctl::BadOpcode<{ c::TIOCEXCL as _ }>>::new(); in ioctl_tiocexcl() localVariable
50 let ctl = ioctl::NoArg::<ioctl::BadOpcode<{ c::TIOCNXCL as _ }>>::new(); in ioctl_tiocnxcl() localVariable
/aosp_15_r20/external/rust/android-crates-io/crates/nix/test/common/
Dmod.rs43 let ctl = ::sysctl::Ctl::new("vfs.usermount").unwrap(); localVariable
70 let ctl = ::sysctl::Ctl::new("security.jail.jailed").unwrap(); localVariable

12345678910>>...20