/kernel/linux/linux-6.6/sound/firewire/fireworks/ |
H A D | fireworks_stream.c | 11 static int init_stream(struct snd_efw *efw, struct amdtp_stream *stream) in init_stream() argument 18 if (stream == &efw->tx_stream) { in init_stream() 19 conn = &efw->out_conn; in init_stream() 23 conn = &efw->in_conn; in init_stream() 28 err = cmp_connection_init(conn, efw->unit, c_dir, 0); in init_stream() 32 err = amdtp_am824_init(stream, efw->unit, s_dir, CIP_BLOCKING | CIP_UNAWARE_SYT); in init_stream() 39 if (stream == &efw->tx_stream) { in init_stream() 41 efw->tx_stream.flags |= CIP_EMPTY_WITH_TAG0; in init_stream() 43 efw->tx_stream.flags |= CIP_DBC_IS_END_EVENT; in init_stream() 45 efw in init_stream() 65 start_stream(struct snd_efw *efw, struct amdtp_stream *stream, unsigned int rate) start_stream() argument 94 destroy_stream(struct snd_efw *efw, struct amdtp_stream *stream) destroy_stream() argument 105 check_connection_used_by_others(struct snd_efw *efw, struct amdtp_stream *s) check_connection_used_by_others() argument 128 snd_efw_stream_init_duplex(struct snd_efw *efw) snd_efw_stream_init_duplex() argument 159 keep_resources(struct snd_efw *efw, struct amdtp_stream *stream, unsigned int rate, unsigned int mode) keep_resources() argument 185 snd_efw_stream_reserve_duplex(struct snd_efw *efw, unsigned int rate, unsigned int frames_per_period, unsigned int frames_per_buffer) snd_efw_stream_reserve_duplex() argument 247 snd_efw_stream_start_duplex(struct snd_efw *efw) snd_efw_stream_start_duplex() argument 308 snd_efw_stream_stop_duplex(struct snd_efw *efw) snd_efw_stream_stop_duplex() argument 321 snd_efw_stream_update_duplex(struct snd_efw *efw) snd_efw_stream_update_duplex() argument 332 snd_efw_stream_destroy_duplex(struct snd_efw *efw) snd_efw_stream_destroy_duplex() argument 340 snd_efw_stream_lock_changed(struct snd_efw *efw) snd_efw_stream_lock_changed() argument 346 snd_efw_stream_lock_try(struct snd_efw *efw) snd_efw_stream_lock_try() argument 367 snd_efw_stream_lock_release(struct snd_efw *efw) snd_efw_stream_lock_release() argument [all...] |
H A D | fireworks.c | 72 get_hardware_info(struct snd_efw *efw) in get_hardware_info() argument 74 struct fw_device *fw_dev = fw_parent_device(efw->unit); in get_hardware_info() 83 err = snd_efw_command_get_hwinfo(efw, hwinfo); in get_hardware_info() 91 efw->firmware_version = hwinfo->arm_version; in get_hardware_info() 93 strcpy(efw->card->driver, "Fireworks"); in get_hardware_info() 94 strcpy(efw->card->shortname, hwinfo->model_name); in get_hardware_info() 95 strcpy(efw->card->mixername, hwinfo->model_name); in get_hardware_info() 96 scnprintf(efw->card->longname, sizeof(efw->card->longname), in get_hardware_info() 100 dev_name(&efw in get_hardware_info() 189 struct snd_efw *efw = card->private_data; efw_card_free() local 206 struct snd_efw *efw; efw_probe() local 286 struct snd_efw *efw = dev_get_drvdata(&unit->device); efw_update() local 297 struct snd_efw *efw = dev_get_drvdata(&unit->device); efw_remove() local [all...] |
H A D | fireworks_midi.c | 12 struct snd_efw *efw = substream->rmidi->private_data; in midi_open() local 15 err = snd_efw_stream_lock_try(efw); in midi_open() 19 mutex_lock(&efw->mutex); in midi_open() 20 err = snd_efw_stream_reserve_duplex(efw, 0, 0, 0); in midi_open() 22 ++efw->substreams_counter; in midi_open() 23 err = snd_efw_stream_start_duplex(efw); in midi_open() 25 --efw->substreams_counter; in midi_open() 27 mutex_unlock(&efw->mutex); in midi_open() 29 snd_efw_stream_lock_release(efw); in midi_open() 36 struct snd_efw *efw in midi_close() local 49 struct snd_efw *efw = substrm->rmidi->private_data; midi_capture_trigger() local 66 struct snd_efw *efw = substrm->rmidi->private_data; midi_playback_trigger() local 81 set_midi_substream_names(struct snd_efw *efw, struct snd_rawmidi_str *str) set_midi_substream_names() argument 92 snd_efw_create_midi_devices(struct snd_efw *efw) snd_efw_create_midi_devices() argument [all...] |
H A D | fireworks_hwdep.c | 22 hwdep_read_resp_buf(struct snd_efw *efw, char __user *buf, long remained, in hwdep_read_resp_buf() argument 42 spin_lock_irq(&efw->lock); in hwdep_read_resp_buf() 49 pull_ptr = efw->pull_ptr; in hwdep_read_resp_buf() 51 while (efw->push_ptr != pull_ptr) { in hwdep_read_resp_buf() 62 (unsigned int)(pull_ptr - efw->resp_buf); in hwdep_read_resp_buf() 65 spin_unlock_irq(&efw->lock); in hwdep_read_resp_buf() 70 spin_lock_irq(&efw->lock); in hwdep_read_resp_buf() 73 if (pull_ptr >= efw->resp_buf + snd_efw_resp_buf_size) in hwdep_read_resp_buf() 91 efw->pull_ptr = pull_ptr; in hwdep_read_resp_buf() 93 spin_unlock_irq(&efw in hwdep_read_resp_buf() 99 hwdep_read_locked(struct snd_efw *efw, char __user *buf, long count, loff_t *offset) hwdep_read_locked() argument 125 struct snd_efw *efw = hwdep->private_data; hwdep_read() local 161 struct snd_efw *efw = hwdep->private_data; hwdep_write() local 190 struct snd_efw *efw = hwdep->private_data; hwdep_poll() local 206 hwdep_get_info(struct snd_efw *efw, void __user *arg) hwdep_get_info() argument 226 hwdep_lock(struct snd_efw *efw) hwdep_lock() argument 245 hwdep_unlock(struct snd_efw *efw) hwdep_unlock() argument 266 struct snd_efw *efw = hwdep->private_data; hwdep_release() local 280 struct snd_efw *efw = hwdep->private_data; hwdep_ioctl() local 306 snd_efw_create_hwdep_device(struct snd_efw *efw) snd_efw_create_hwdep_device() argument [all...] |
H A D | fireworks_pcm.c | 132 pcm_init_hw_params(struct snd_efw *efw, in pcm_init_hw_params() argument 142 s = &efw->tx_stream; in pcm_init_hw_params() 143 pcm_channels = efw->pcm_capture_channels; in pcm_init_hw_params() 146 s = &efw->rx_stream; in pcm_init_hw_params() 147 pcm_channels = efw->pcm_playback_channels; in pcm_init_hw_params() 151 runtime->hw.rates = efw->supported_sampling_rate; in pcm_init_hw_params() 175 struct snd_efw *efw = substream->private_data; in pcm_open() local 176 struct amdtp_domain *d = &efw->domain; in pcm_open() 180 err = snd_efw_stream_lock_try(efw); in pcm_open() 184 err = pcm_init_hw_params(efw, substrea in pcm_open() 242 struct snd_efw *efw = substream->private_data; pcm_close() local 250 struct snd_efw *efw = substream->private_data; pcm_hw_params() local 271 struct snd_efw *efw = substream->private_data; pcm_hw_free() local 287 struct snd_efw *efw = substream->private_data; pcm_capture_prepare() local 298 struct snd_efw *efw = substream->private_data; pcm_playback_prepare() local 310 struct snd_efw *efw = substream->private_data; pcm_capture_trigger() local 327 struct snd_efw *efw = substream->private_data; pcm_playback_trigger() local 345 struct snd_efw *efw = sbstrm->private_data; pcm_capture_pointer() local 351 struct snd_efw *efw = sbstrm->private_data; pcm_playback_pointer() local 358 struct snd_efw *efw = substream->private_data; pcm_capture_ack() local 365 struct snd_efw *efw = substream->private_data; pcm_playback_ack() local 370 snd_efw_create_pcm_devices(struct snd_efw *efw) snd_efw_create_pcm_devices() argument [all...] |
H A D | fireworks_proc.c | 30 struct snd_efw *efw = entry->private_data; in proc_read_hwinfo() local 38 if (snd_efw_command_get_hwinfo(efw, hwinfo) < 0) in proc_read_hwinfo() 107 struct snd_efw *efw = entry->private_data; in proc_read_clock() local 111 if (snd_efw_command_get_clock_source(efw, &clock_source) < 0) in proc_read_clock() 114 if (snd_efw_command_get_sampling_rate(efw, &sampling_rate) < 0) in proc_read_clock() 130 struct snd_efw *efw = entry->private_data; in proc_read_phys_meters() local 138 (efw->phys_in + efw->phys_out) * sizeof(u32); in proc_read_phys_meters() 143 err = snd_efw_command_get_phys_meters(efw, meters, size); in proc_read_phys_meters() 150 max = min(efw in proc_read_phys_meters() 181 struct snd_efw *efw = entry->private_data; proc_read_queues_state() local 195 add_node(struct snd_efw *efw, struct snd_info_entry *root, const char *name, void (*op)(struct snd_info_entry *e, struct snd_info_buffer *b)) add_node() argument 205 snd_efw_proc_init(struct snd_efw *efw) snd_efw_proc_init() argument [all...] |
H A D | fireworks_command.c | 101 efw_transaction(struct snd_efw *efw, unsigned int category, in efw_transaction() argument 122 spin_lock(&efw->lock); in efw_transaction() 123 if ((efw->seqnum < KERNEL_SEQNUM_MIN) || in efw_transaction() 124 (efw->seqnum >= KERNEL_SEQNUM_MAX - 2)) in efw_transaction() 125 efw->seqnum = KERNEL_SEQNUM_MIN; in efw_transaction() 127 efw->seqnum += 2; in efw_transaction() 128 seqnum = efw->seqnum; in efw_transaction() 129 spin_unlock(&efw->lock); in efw_transaction() 144 err = snd_efw_transaction_run(efw->unit, buf, cmd_bytes, in efw_transaction() 154 dev_err(&efw in efw_transaction() 181 snd_efw_command_set_resp_addr(struct snd_efw *efw, u16 addr_high, u32 addr_low) snd_efw_command_set_resp_addr() argument 202 snd_efw_command_set_tx_mode(struct snd_efw *efw, enum snd_efw_transport_mode mode) snd_efw_command_set_tx_mode() argument 211 snd_efw_command_get_hwinfo(struct snd_efw *efw, struct snd_efw_hwinfo *hwinfo) snd_efw_command_get_hwinfo() argument 255 snd_efw_command_get_phys_meters(struct snd_efw *efw, struct snd_efw_phys_meters *meters, unsigned int len) snd_efw_command_get_phys_meters() argument 274 command_get_clock(struct snd_efw *efw, struct efc_clock *clock) command_get_clock() argument 293 command_set_clock(struct snd_efw *efw, unsigned int source, unsigned int rate) command_set_clock() argument 342 snd_efw_command_get_clock_source(struct snd_efw *efw, enum snd_efw_clock_source *source) snd_efw_command_get_clock_source() argument 355 snd_efw_command_get_sampling_rate(struct snd_efw *efw, unsigned int *rate) snd_efw_command_get_sampling_rate() argument 367 snd_efw_command_set_sampling_rate(struct snd_efw *efw, unsigned int rate) snd_efw_command_set_sampling_rate() argument [all...] |
H A D | fireworks.h | 119 void snd_efw_transaction_add_instance(struct snd_efw *efw); 120 void snd_efw_transaction_remove_instance(struct snd_efw *efw); 192 int snd_efw_command_set_resp_addr(struct snd_efw *efw, 194 int snd_efw_command_set_tx_mode(struct snd_efw *efw, 196 int snd_efw_command_get_hwinfo(struct snd_efw *efw, 198 int snd_efw_command_get_phys_meters(struct snd_efw *efw, 201 int snd_efw_command_get_clock_source(struct snd_efw *efw, 203 int snd_efw_command_get_sampling_rate(struct snd_efw *efw, unsigned int *rate); 204 int snd_efw_command_set_sampling_rate(struct snd_efw *efw, unsigned int rate); 206 int snd_efw_stream_init_duplex(struct snd_efw *efw); [all...] |
H A D | fireworks_transaction.c | 118 copy_resp_to_buf(struct snd_efw *efw, void *data, size_t length, int *rcode) in copy_resp_to_buf() argument 126 spin_lock(&efw->lock); in copy_resp_to_buf() 128 if (efw->push_ptr < efw->pull_ptr) in copy_resp_to_buf() 129 capacity = (unsigned int)(efw->pull_ptr - efw->push_ptr); in copy_resp_to_buf() 132 (unsigned int)(efw->push_ptr - efw->pull_ptr); in copy_resp_to_buf() 143 (unsigned int)(efw->push_ptr - efw in copy_resp_to_buf() 169 struct snd_efw *efw; handle_resp_for_user() local 258 snd_efw_transaction_add_instance(struct snd_efw *efw) snd_efw_transaction_add_instance() argument 274 snd_efw_transaction_remove_instance(struct snd_efw *efw) snd_efw_transaction_remove_instance() argument [all...] |
/kernel/linux/linux-5.10/sound/firewire/fireworks/ |
H A D | fireworks_stream.c | 11 static int init_stream(struct snd_efw *efw, struct amdtp_stream *stream) in init_stream() argument 18 if (stream == &efw->tx_stream) { in init_stream() 19 conn = &efw->out_conn; in init_stream() 23 conn = &efw->in_conn; in init_stream() 28 err = cmp_connection_init(conn, efw->unit, c_dir, 0); in init_stream() 32 err = amdtp_am824_init(stream, efw->unit, s_dir, CIP_BLOCKING); in init_stream() 39 if (stream == &efw->tx_stream) { in init_stream() 41 efw->tx_stream.flags |= CIP_EMPTY_WITH_TAG0; in init_stream() 43 efw->tx_stream.flags |= CIP_DBC_IS_END_EVENT; in init_stream() 45 efw in init_stream() 64 start_stream(struct snd_efw *efw, struct amdtp_stream *stream, unsigned int rate) start_stream() argument 93 destroy_stream(struct snd_efw *efw, struct amdtp_stream *stream) destroy_stream() argument 104 check_connection_used_by_others(struct snd_efw *efw, struct amdtp_stream *s) check_connection_used_by_others() argument 127 snd_efw_stream_init_duplex(struct snd_efw *efw) snd_efw_stream_init_duplex() argument 158 keep_resources(struct snd_efw *efw, struct amdtp_stream *stream, unsigned int rate, unsigned int mode) keep_resources() argument 184 snd_efw_stream_reserve_duplex(struct snd_efw *efw, unsigned int rate, unsigned int frames_per_period, unsigned int frames_per_buffer) snd_efw_stream_reserve_duplex() argument 246 snd_efw_stream_start_duplex(struct snd_efw *efw) snd_efw_stream_start_duplex() argument 299 snd_efw_stream_stop_duplex(struct snd_efw *efw) snd_efw_stream_stop_duplex() argument 312 snd_efw_stream_update_duplex(struct snd_efw *efw) snd_efw_stream_update_duplex() argument 323 snd_efw_stream_destroy_duplex(struct snd_efw *efw) snd_efw_stream_destroy_duplex() argument 331 snd_efw_stream_lock_changed(struct snd_efw *efw) snd_efw_stream_lock_changed() argument 337 snd_efw_stream_lock_try(struct snd_efw *efw) snd_efw_stream_lock_try() argument 358 snd_efw_stream_lock_release(struct snd_efw *efw) snd_efw_stream_lock_release() argument [all...] |
H A D | fireworks_midi.c | 12 struct snd_efw *efw = substream->rmidi->private_data; in midi_open() local 15 err = snd_efw_stream_lock_try(efw); in midi_open() 19 mutex_lock(&efw->mutex); in midi_open() 20 err = snd_efw_stream_reserve_duplex(efw, 0, 0, 0); in midi_open() 22 ++efw->substreams_counter; in midi_open() 23 err = snd_efw_stream_start_duplex(efw); in midi_open() 25 --efw->substreams_counter; in midi_open() 27 mutex_unlock(&efw->mutex); in midi_open() 29 snd_efw_stream_lock_release(efw); in midi_open() 36 struct snd_efw *efw in midi_close() local 49 struct snd_efw *efw = substrm->rmidi->private_data; midi_capture_trigger() local 66 struct snd_efw *efw = substrm->rmidi->private_data; midi_playback_trigger() local 81 set_midi_substream_names(struct snd_efw *efw, struct snd_rawmidi_str *str) set_midi_substream_names() argument 92 snd_efw_create_midi_devices(struct snd_efw *efw) snd_efw_create_midi_devices() argument [all...] |
H A D | fireworks.c | 72 get_hardware_info(struct snd_efw *efw) in get_hardware_info() argument 74 struct fw_device *fw_dev = fw_parent_device(efw->unit); in get_hardware_info() 83 err = snd_efw_command_get_hwinfo(efw, hwinfo); in get_hardware_info() 91 efw->firmware_version = hwinfo->arm_version; in get_hardware_info() 93 strcpy(efw->card->driver, "Fireworks"); in get_hardware_info() 94 strcpy(efw->card->shortname, hwinfo->model_name); in get_hardware_info() 95 strcpy(efw->card->mixername, hwinfo->model_name); in get_hardware_info() 96 snprintf(efw->card->longname, sizeof(efw->card->longname), in get_hardware_info() 100 dev_name(&efw in get_hardware_info() 189 struct snd_efw *efw = card->private_data; efw_card_free() local 202 struct snd_efw *efw = container_of(work, struct snd_efw, dwork.work); do_registration() local 284 struct snd_efw *efw; efw_probe() local 305 struct snd_efw *efw = dev_get_drvdata(&unit->device); efw_update() local 326 struct snd_efw *efw = dev_get_drvdata(&unit->device); efw_remove() local [all...] |
H A D | fireworks_hwdep.c | 22 hwdep_read_resp_buf(struct snd_efw *efw, char __user *buf, long remained, in hwdep_read_resp_buf() argument 42 spin_lock_irq(&efw->lock); in hwdep_read_resp_buf() 49 pull_ptr = efw->pull_ptr; in hwdep_read_resp_buf() 51 while (efw->push_ptr != pull_ptr) { in hwdep_read_resp_buf() 62 (unsigned int)(pull_ptr - efw->resp_buf); in hwdep_read_resp_buf() 65 spin_unlock_irq(&efw->lock); in hwdep_read_resp_buf() 70 spin_lock_irq(&efw->lock); in hwdep_read_resp_buf() 73 if (pull_ptr >= efw->resp_buf + snd_efw_resp_buf_size) in hwdep_read_resp_buf() 91 efw->pull_ptr = pull_ptr; in hwdep_read_resp_buf() 93 spin_unlock_irq(&efw in hwdep_read_resp_buf() 99 hwdep_read_locked(struct snd_efw *efw, char __user *buf, long count, loff_t *offset) hwdep_read_locked() argument 125 struct snd_efw *efw = hwdep->private_data; hwdep_read() local 161 struct snd_efw *efw = hwdep->private_data; hwdep_write() local 190 struct snd_efw *efw = hwdep->private_data; hwdep_poll() local 206 hwdep_get_info(struct snd_efw *efw, void __user *arg) hwdep_get_info() argument 226 hwdep_lock(struct snd_efw *efw) hwdep_lock() argument 245 hwdep_unlock(struct snd_efw *efw) hwdep_unlock() argument 266 struct snd_efw *efw = hwdep->private_data; hwdep_release() local 280 struct snd_efw *efw = hwdep->private_data; hwdep_ioctl() local 306 snd_efw_create_hwdep_device(struct snd_efw *efw) snd_efw_create_hwdep_device() argument [all...] |
H A D | fireworks_pcm.c | 132 pcm_init_hw_params(struct snd_efw *efw, in pcm_init_hw_params() argument 142 s = &efw->tx_stream; in pcm_init_hw_params() 143 pcm_channels = efw->pcm_capture_channels; in pcm_init_hw_params() 146 s = &efw->rx_stream; in pcm_init_hw_params() 147 pcm_channels = efw->pcm_playback_channels; in pcm_init_hw_params() 151 runtime->hw.rates = efw->supported_sampling_rate; in pcm_init_hw_params() 175 struct snd_efw *efw = substream->private_data; in pcm_open() local 176 struct amdtp_domain *d = &efw->domain; in pcm_open() 180 err = snd_efw_stream_lock_try(efw); in pcm_open() 184 err = pcm_init_hw_params(efw, substrea in pcm_open() 242 struct snd_efw *efw = substream->private_data; pcm_close() local 250 struct snd_efw *efw = substream->private_data; pcm_hw_params() local 271 struct snd_efw *efw = substream->private_data; pcm_hw_free() local 287 struct snd_efw *efw = substream->private_data; pcm_capture_prepare() local 298 struct snd_efw *efw = substream->private_data; pcm_playback_prepare() local 310 struct snd_efw *efw = substream->private_data; pcm_capture_trigger() local 327 struct snd_efw *efw = substream->private_data; pcm_playback_trigger() local 345 struct snd_efw *efw = sbstrm->private_data; pcm_capture_pointer() local 351 struct snd_efw *efw = sbstrm->private_data; pcm_playback_pointer() local 358 struct snd_efw *efw = substream->private_data; pcm_capture_ack() local 365 struct snd_efw *efw = substream->private_data; pcm_playback_ack() local 370 snd_efw_create_pcm_devices(struct snd_efw *efw) snd_efw_create_pcm_devices() argument [all...] |
H A D | fireworks_proc.c | 30 struct snd_efw *efw = entry->private_data; in proc_read_hwinfo() local 38 if (snd_efw_command_get_hwinfo(efw, hwinfo) < 0) in proc_read_hwinfo() 107 struct snd_efw *efw = entry->private_data; in proc_read_clock() local 111 if (snd_efw_command_get_clock_source(efw, &clock_source) < 0) in proc_read_clock() 114 if (snd_efw_command_get_sampling_rate(efw, &sampling_rate) < 0) in proc_read_clock() 130 struct snd_efw *efw = entry->private_data; in proc_read_phys_meters() local 138 (efw->phys_in + efw->phys_out) * sizeof(u32); in proc_read_phys_meters() 143 err = snd_efw_command_get_phys_meters(efw, meters, size); in proc_read_phys_meters() 150 max = min(efw in proc_read_phys_meters() 181 struct snd_efw *efw = entry->private_data; proc_read_queues_state() local 195 add_node(struct snd_efw *efw, struct snd_info_entry *root, const char *name, void (*op)(struct snd_info_entry *e, struct snd_info_buffer *b)) add_node() argument 205 snd_efw_proc_init(struct snd_efw *efw) snd_efw_proc_init() argument [all...] |
H A D | fireworks_command.c | 101 efw_transaction(struct snd_efw *efw, unsigned int category, in efw_transaction() argument 122 spin_lock(&efw->lock); in efw_transaction() 123 if ((efw->seqnum < KERNEL_SEQNUM_MIN) || in efw_transaction() 124 (efw->seqnum >= KERNEL_SEQNUM_MAX - 2)) in efw_transaction() 125 efw->seqnum = KERNEL_SEQNUM_MIN; in efw_transaction() 127 efw->seqnum += 2; in efw_transaction() 128 seqnum = efw->seqnum; in efw_transaction() 129 spin_unlock(&efw->lock); in efw_transaction() 144 err = snd_efw_transaction_run(efw->unit, buf, cmd_bytes, in efw_transaction() 154 dev_err(&efw in efw_transaction() 181 snd_efw_command_set_resp_addr(struct snd_efw *efw, u16 addr_high, u32 addr_low) snd_efw_command_set_resp_addr() argument 202 snd_efw_command_set_tx_mode(struct snd_efw *efw, enum snd_efw_transport_mode mode) snd_efw_command_set_tx_mode() argument 211 snd_efw_command_get_hwinfo(struct snd_efw *efw, struct snd_efw_hwinfo *hwinfo) snd_efw_command_get_hwinfo() argument 255 snd_efw_command_get_phys_meters(struct snd_efw *efw, struct snd_efw_phys_meters *meters, unsigned int len) snd_efw_command_get_phys_meters() argument 274 command_get_clock(struct snd_efw *efw, struct efc_clock *clock) command_get_clock() argument 293 command_set_clock(struct snd_efw *efw, unsigned int source, unsigned int rate) command_set_clock() argument 342 snd_efw_command_get_clock_source(struct snd_efw *efw, enum snd_efw_clock_source *source) snd_efw_command_get_clock_source() argument 355 snd_efw_command_get_sampling_rate(struct snd_efw *efw, unsigned int *rate) snd_efw_command_get_sampling_rate() argument 367 snd_efw_command_set_sampling_rate(struct snd_efw *efw, unsigned int rate) snd_efw_command_set_sampling_rate() argument [all...] |
H A D | fireworks.h | 122 void snd_efw_transaction_add_instance(struct snd_efw *efw); 123 void snd_efw_transaction_remove_instance(struct snd_efw *efw); 195 int snd_efw_command_set_resp_addr(struct snd_efw *efw, 197 int snd_efw_command_set_tx_mode(struct snd_efw *efw, 199 int snd_efw_command_get_hwinfo(struct snd_efw *efw, 201 int snd_efw_command_get_phys_meters(struct snd_efw *efw, 204 int snd_efw_command_get_clock_source(struct snd_efw *efw, 206 int snd_efw_command_get_sampling_rate(struct snd_efw *efw, unsigned int *rate); 207 int snd_efw_command_set_sampling_rate(struct snd_efw *efw, unsigned int rate); 209 int snd_efw_stream_init_duplex(struct snd_efw *efw); [all...] |
H A D | fireworks_transaction.c | 118 copy_resp_to_buf(struct snd_efw *efw, void *data, size_t length, int *rcode) in copy_resp_to_buf() argument 126 spin_lock(&efw->lock); in copy_resp_to_buf() 128 if (efw->push_ptr < efw->pull_ptr) in copy_resp_to_buf() 129 capacity = (unsigned int)(efw->pull_ptr - efw->push_ptr); in copy_resp_to_buf() 132 (unsigned int)(efw->push_ptr - efw->pull_ptr); in copy_resp_to_buf() 143 (unsigned int)(efw->push_ptr - efw in copy_resp_to_buf() 169 struct snd_efw *efw; handle_resp_for_user() local 258 snd_efw_transaction_add_instance(struct snd_efw *efw) snd_efw_transaction_add_instance() argument 274 snd_efw_transaction_remove_instance(struct snd_efw *efw) snd_efw_transaction_remove_instance() argument [all...] |