Home
last modified time | relevance | path

Searched refs:efw (Results 1 – 3 of 3) sorted by relevance

/linux/sound/firewire/fireworks/
H A Dfireworks.c72 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 strscpy(efw->card->driver, "Fireworks"); in get_hardware_info()
94 strscpy(efw->card->shortname, hwinfo->model_name); in get_hardware_info()
95 strscpy(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->unit->device), 100 << fw_dev->max_speed); in get_hardware_info()
103 efw->resp_addr_changable = true; in get_hardware_info()
[all …]
H A Dfireworks_proc.c30 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->phys_out, meters->out_meters); in proc_read_phys_meters()
153 for (g = 0; g < efw->phys_out_grp_count; g++) { in proc_read_phys_meters()
[all …]
H A Dfireworks.h119 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 …]