[alsa-devel] ALSA lots of namespace issues
Takashi Iwai
tiwai at suse.de
Sun Jan 5 11:38:57 CET 2014
At Sun, 29 Dec 2013 12:09:36 -0800,
Stephen Hemminger wrote:
>
> When doing my namespace checks, I find lots of local functions declared
> global (and dead code) in ALSA. Which tree is used for submitting patches
> for -next?
For sound/* in general, use my sound.git tree for-next branch.
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
For sound/soc/*, maybe better to use Mark's sound git tree.
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
Mark is managing many small topic branches, but for-next branch should
be available to make patches, at least.
> Some examples from 'make namespacecheck'
There are quite lots of hits indeed. But I see a few of them are
false-positive (depending on kconfig) and a few would be still better
to keep for API consistency. If you can give a complete list
beforehand, we can sort out such.
Ideally, it'd be best if we have a on-demand loading of library code
in the kernel, instead of loading a whole "library module"...
thanks,
Takashi
>
> sound/core/compress_offload.o
> snd_compress_deregister
> snd_compress_register
> sound/core/control.o
> snd_ctl_activate_id
> snd_ctl_rename_id
> snd_ctl_replace
> sound/core/device.o
> snd_device_disconnect
> sound/core/isadma.o
> snd_dma_disable
> sound/core/jack.o
> snd_jack_set_key
> snd_jack_set_parent
> sound/core/oss/mixer_oss.o
> snd_mixer_oss_ioctl_card
> sound/core/pcm_dmaengine.o
> snd_dmaengine_pcm_close_release_chan
> snd_dmaengine_pcm_open_request_chan
> sound/core/pcm_lib.o
> snd_interval_ratnum
> sound/core/pcm_memory.o
> snd_pcm_lib_preallocate_free
> sound/core/pcm_misc.o
> snd_pcm_format_size
> snd_pcm_rate_bit_to_rate
> sound/core/pcm_native.o
> snd_pcm_hw_constraints_complete
> snd_pcm_hw_constraints_init
> sound/core/rawmidi.o
> snd_rawmidi_drain_input
> snd_rawmidi_drop_output
> sound/core/timer.o
> snd_timer_continue
> sound/drivers/dummy.o
> dummy_models
> model_ac97
> model_ca0106
> model_emu10k1
> model_ice1712
> model_rme9652
> model_uda1341
> sound/drivers/mpu401/mpu401_uart.o
> snd_mpu401_uart_interrupt_tx
> sound/drivers/opl3/opl3_lib.o
> snd_opl3_interrupt
> sound/firewire/amdtp.o
> amdtp_syt_intervals
> sound/i2c/i2c.o
> snd_i2c_probeaddr
> sound/i2c/other/ak4113.o
> snd_ak4113_check_rate_and_errors
> snd_ak4113_reg_write
> snd_ak4113_reinit
> sound/i2c/other/ak4114.o
> snd_ak4114_check_rate_and_errors
> snd_ak4114_reg_write
> sound/isa/sb/sb16_main.o
> snd_sb16dsp_configure
> snd_sb16dsp_get_pcm_ops
> sound/isa/sb/sb_common.o
> snd_sbdsp_get_byte
> sound/isa/sb/sb_mixer.o
> snd_sbmixer_add_ctl (export only)
> sound/oss/dmabuf.o
> DMAbuf_start_dma
> sound/oss/sb_ess.o
> ess_midi_init
> sound/oss/soundcard.o
> dev_list
> sound/pci/asihpi/hpidebug.o
> hpi_debug_data
> hpi_debug_init
> hpi_debug_level_get
> hpi_debug_level_set
> sound/pci/asihpi/hpifunc.o
> hpi_adapter_close
> hpi_adapter_enumerate_property
> hpi_adapter_get_mode
> hpi_adapter_get_module_by_index
> hpi_adapter_open
> hpi_adapter_set_mode
> hpi_adapter_set_mode_ex
> hpi_adapter_set_property
> hpi_aesebu_receiver_get_channel_status
> hpi_aesebu_receiver_get_sample_rate
> hpi_aesebu_receiver_get_user_data
> hpi_aesebu_receiver_query_format
> hpi_aesebu_transmitter_get_channel_status
> hpi_aesebu_transmitter_query_format
> hpi_aesebu_transmitter_set_channel_status
> hpi_aesebu_transmitter_set_sample_rate
> hpi_aesebu_transmitter_set_user_data
> hpi_bitstream_get_activity
> hpi_bitstream_set_clock_edge
> hpi_bitstream_set_data_polarity
> hpi_cobranet_get_ip_address
> hpi_cobranet_get_macaddress
> hpi_cobranet_get_static_ip_address
> hpi_cobranet_hmi_get_status
> hpi_cobranet_hmi_read
> hpi_cobranet_hmi_write
> hpi_cobranet_set_ip_address
> hpi_cobranet_set_static_ip_address
> hpi_compander_get_attack_time_constant
> hpi_compander_get_decay_time_constant
> hpi_compander_get_enable
> hpi_compander_get_makeup_gain
> hpi_compander_get_ratio
> hpi_compander_get_threshold
> hpi_compander_set_attack_time_constant
> hpi_compander_set_decay_time_constant
> hpi_compander_set_enable
> hpi_compander_set_makeup_gain
> hpi_compander_set_ratio
> hpi_compander_set_threshold
> hpi_format_to_msg
> hpi_indexes_to_handle
> hpi_instream_ancillary_get_info
> hpi_instream_ancillary_reset
> hpi_instream_ancillary_write
> hpi_instream_group_get_map
> hpi_instream_host_buffer_allocate
> hpi_instream_host_buffer_get_info
> hpi_instream_wait_start
> hpi_meter_get_peak_ballistics
> hpi_meter_get_rms
> hpi_meter_get_rms_ballistics
> hpi_meter_set_peak_ballistics
> hpi_meter_set_rms_ballistics
> hpi_microphone_get_phantom_power
> hpi_microphone_set_phantom_power
> hpi_mixer_close
> hpi_mixer_store
> hpi_outstream_ancillary_get_info
> hpi_outstream_ancillary_read
> hpi_outstream_ancillary_reset
> hpi_outstream_group_get_map
> hpi_outstream_host_buffer_allocate
> hpi_outstream_host_buffer_free
> hpi_outstream_host_buffer_get_info
> hpi_outstream_set_format
> hpi_outstream_set_punch_in_out
> hpi_outstream_set_time_scale
> hpi_outstream_set_velocity
> hpi_outstream_sinegen
> hpi_outstream_wait_start
> hpi_pad_get_artist
> hpi_pad_get_channel_name
> hpi_pad_get_comment
> hpi_pad_get_program_type
> hpi_pad_get_rdsPI
> hpi_pad_get_title
> hpi_parametric_eq_get_band
> hpi_parametric_eq_get_coeffs
> hpi_parametric_eq_get_info
> hpi_parametric_eq_set_band
> hpi_parametric_eq_set_state
> hpi_sample_clock_get_auto
> hpi_sample_clock_get_local_rate_lock
> hpi_sample_clock_set_auto
> hpi_sample_clock_set_local_rate_lock
> hpi_silence_detector_get_delay
> hpi_silence_detector_get_enable
> hpi_silence_detector_get_event_enable
> hpi_silence_detector_get_state
> hpi_silence_detector_get_threshold
> hpi_silence_detector_set_delay
> hpi_silence_detector_set_enable
> hpi_silence_detector_set_event_enable
> hpi_silence_detector_set_threshold
> hpi_stream_estimate_buffer_size
> hpi_stream_response_to_legacy
> hpi_subsys_get_adapter
> hpi_subsys_get_num_adapters
> hpi_subsys_get_version_ex
> hpi_tone_detector_get_enable
> hpi_tone_detector_get_event_enable
> hpi_tone_detector_get_frequency
> hpi_tone_detector_get_state
> hpi_tone_detector_get_threshold
> hpi_tone_detector_set_enable
> hpi_tone_detector_set_event_enable
> hpi_tone_detector_set_threshold
> hpi_tuner_get_deemphasis
> hpi_tuner_get_hd_radio_dsp_version
> hpi_tuner_get_hd_radio_sdk_version
> hpi_tuner_get_hd_radio_signal_blend
> hpi_tuner_get_hd_radio_signal_quality
> hpi_tuner_get_mode
> hpi_tuner_get_program
> hpi_tuner_get_raw_rf_level
> hpi_tuner_get_rds
> hpi_tuner_get_rf_level
> hpi_tuner_get_status
> hpi_tuner_query_deemphasis
> hpi_tuner_query_program
> hpi_tuner_set_deemphasis
> hpi_tuner_set_hd_radio_signal_blend
> hpi_tuner_set_mode
> hpi_tuner_set_program
> hpi_volume_auto_fade
> hpi_volume_auto_fade_profile
> hpi_volume_query_auto_fade_profile
> hpi_volume_query_channels
> hpi_vox_get_threshold
> hpi_vox_set_threshold
> sound/pci/asihpi/hpimsginit.o
> hpi_init_responseV1
> sound/pci/cs46xx/dsp_spos.o
> cs46xx_dsp_set_iec958_volume
> sound/pci/emu10k1/io.o
> snd_emu10k1_voice_half_loop_intr_enable
> snd_emu10k1_voice_set_loop_stop
> sound/pci/hda/hda_codec.o
> snd_hda_check_board_codec_sid_config
> snd_hda_codec_amp_init
> snd_hda_ctls_clear
> snd_hda_is_supported_format
> snd_hda_lock_devices
> snd_hda_unlock_devices
> sound/pci/hda/hda_eld.o
> snd_hdmi_get_eld_size
> sound/pci/hda/hda_generic.o
> hda_extra_out_badness
> hda_main_out_badness
> snd_hda_add_new_path
> snd_hda_parse_nid_path
> sound/pci/hda/hda_hwdep.o
> snd_hda_get_hint
> sound/pci/hda/hda_jack.o
> snd_hda_jack_tbl_new
> sound/pci/ice1712/wm8766.o
> snd_wm8766_set_master_mode
> snd_wm8766_set_power
> sound/pci/ice1712/wm8776.o
> snd_wm8776_set_adc_if
> snd_wm8776_set_dac_if
> snd_wm8776_set_master_mode
> sound/pci/lola/lola_clock.o
> lola_set_clock
> sound/pci/lola/lola_mixer.o
> lola_restore_mixer
> lola_save_mixer
> sound/pci/lx6464es/lx_core.o
> lx_buffer_cancel
> lx_buffer_free
> lx_dsp_es_check_pipeline
> lx_dsp_read_async_events
> lx_pipe_sample_count
> lx_pipe_state
> lx_plx_mbox_read
> lx_plx_mbox_write
> lx_stream_sample_position
> lx_stream_state
> sound/pci/trident/trident_main.o
> snd_trident_alloc_voice
> snd_trident_free_voice
> snd_trident_start_voice
> snd_trident_stop_voice
> snd_trident_write_voice_regs
> sound/soc/atmel/atmel-pcm.o
> atmel_pcm_free
> atmel_pcm_mmap
> atmel_pcm_new
> sound/soc/codecs/arizona.o
> arizona_set_output_mode
> sound/soc/codecs/cx20442.o
> v253_ops
> sound/soc/codecs/max98090.o
> max98090_mic_detect
> sound/soc/codecs/max98095.o
> max98095_jack_detect
> sound/soc/codecs/sigmadsp.o
> process_sigma_firmware_regmap
> sound/soc/codecs/tpa6130a2.o
> tpa6130a2_add_controls
> tpa6130a2_stereo_enable
> sound/soc/codecs/wl1273.o
> wl1273_get_format
> sound/soc/codecs/wm5100.o
> wm5100_detect
> sound/soc/codecs/wm8962.o
> wm8962_mic_detect
> sound/soc/codecs/wm8996.o
> wm8996_detect
> sound/soc/codecs/wm_hubs.o
> wm_hubs_dcs_done
> wm_hubs_update_class_w
> sound/soc/mxs/mxs-pcm.o
> mxs_pcm_platform_register
> sound/soc/mxs/mxs-saif.o
> mxs_saif_get_mclk
> sound/soc/soc-core.o
> __tracepoint_snd_soc_preg_read
> __tracepoint_snd_soc_preg_write
> __tracepoint_snd_soc_reg_read
> __tracepoint_snd_soc_reg_write
> snd_soc_add_platform_controls
> snd_soc_codec_readable_register
> snd_soc_codec_set_pll
> snd_soc_codec_set_sysclk
> snd_soc_dai_set_bclk_ratio
> snd_soc_dai_set_channel_map
> snd_soc_dai_set_clkdiv
> snd_soc_dai_set_pll
> snd_soc_dai_set_tdm_slot
> snd_soc_dai_set_tristate
> snd_soc_debugfs_root
> snd_soc_free_ac97_codec
> snd_soc_get_dai_substream
> snd_soc_get_pcm_runtime
> snd_soc_limit_volume
> snd_soc_new_ac97_codec
> snd_soc_of_get_dai_name
> snd_soc_of_parse_daifmt
> snd_soc_poweroff
> snd_soc_resume
> snd_soc_set_ac97_ops
> snd_soc_set_ac97_ops_of_reset
> snd_soc_suspend
> snd_soc_update_bits_locked
> soc_ac97_ops
> sound/soc/soc-dapm.o
> dapm_mark_dirty
> snd_soc_dapm_get_pin_status
> snd_soc_dapm_ignore_suspend
> snd_soc_dapm_mux_update_power
> snd_soc_dapm_weak_routes
> sound/soc/soc-devres.o
> devm_snd_soc_register_card
> sound/soc/soc-jack.o
> snd_soc_jack_add_zones
> snd_soc_jack_get_type
> snd_soc_jack_notifier_register
> snd_soc_jack_notifier_unregister
> sound/soc/soc-pcm.o
> snd_soc_dpcm_be_can_update
> snd_soc_dpcm_be_get_state
> snd_soc_dpcm_be_set_state
> snd_soc_dpcm_can_be_free_stop
> snd_soc_dpcm_can_be_params
> snd_soc_dpcm_fe_can_update
> snd_soc_dpcm_get_substream
> snd_soc_platform_trigger
> soc_dpcm_be_digital_mute
> sound/soc/soc-utils.o
> snd_soc_calc_frame_size
> sound/soc/tegra/tegra_asoc_utils.o
> tegra_asoc_utils_init
> tegra_asoc_utils_set_ac97_rate
> sound/soc/tegra/tegra_pcm.o
> tegra_pcm_platform_register
> tegra_pcm_platform_unregister
> sound/synth/emux/emux_synth.o
> snd_emux_lock_voice
> snd_emux_unlock_voice
> sound/synth/emux/soundfont.o
> snd_sf_linear_to_log
> sound/synth/util_mem.o
> snd_util_mem_alloc
> snd_util_mem_free
> sound/usb/endpoint.o
> snd_usb_handle_sync_urb
> sound/usb/pcm.o
> snd_usb_pcm_delay
> sound/usb/usx2y/us122l.o
> usb_stream_free
> usb_stream_new
> usb_stream_start
> usb_stream_stop
>
More information about the Alsa-devel
mailing list