Lines Matching refs:hwinfo

32 	struct snd_efw_hwinfo *hwinfo;  in proc_read_hwinfo()  local
34 hwinfo = kmalloc(sizeof(struct snd_efw_hwinfo), GFP_KERNEL); in proc_read_hwinfo()
35 if (hwinfo == NULL) in proc_read_hwinfo()
38 if (snd_efw_command_get_hwinfo(efw, hwinfo) < 0) in proc_read_hwinfo()
41 snd_iprintf(buffer, "guid_hi: 0x%X\n", hwinfo->guid_hi); in proc_read_hwinfo()
42 snd_iprintf(buffer, "guid_lo: 0x%X\n", hwinfo->guid_lo); in proc_read_hwinfo()
43 snd_iprintf(buffer, "type: 0x%X\n", hwinfo->type); in proc_read_hwinfo()
44 snd_iprintf(buffer, "version: 0x%X\n", hwinfo->version); in proc_read_hwinfo()
45 snd_iprintf(buffer, "vendor_name: %s\n", hwinfo->vendor_name); in proc_read_hwinfo()
46 snd_iprintf(buffer, "model_name: %s\n", hwinfo->model_name); in proc_read_hwinfo()
48 snd_iprintf(buffer, "dsp_version: 0x%X\n", hwinfo->dsp_version); in proc_read_hwinfo()
49 snd_iprintf(buffer, "arm_version: 0x%X\n", hwinfo->arm_version); in proc_read_hwinfo()
50 snd_iprintf(buffer, "fpga_version: 0x%X\n", hwinfo->fpga_version); in proc_read_hwinfo()
52 snd_iprintf(buffer, "flags: 0x%X\n", hwinfo->flags); in proc_read_hwinfo()
54 snd_iprintf(buffer, "max_sample_rate: 0x%X\n", hwinfo->max_sample_rate); in proc_read_hwinfo()
55 snd_iprintf(buffer, "min_sample_rate: 0x%X\n", hwinfo->min_sample_rate); in proc_read_hwinfo()
57 hwinfo->supported_clocks); in proc_read_hwinfo()
59 snd_iprintf(buffer, "phys out: 0x%X\n", hwinfo->phys_out); in proc_read_hwinfo()
60 snd_iprintf(buffer, "phys in: 0x%X\n", hwinfo->phys_in); in proc_read_hwinfo()
63 hwinfo->phys_in_grp_count); in proc_read_hwinfo()
64 for (i = 0; i < hwinfo->phys_in_grp_count; i++) { in proc_read_hwinfo()
67 i, hwinfo->phys_out_grps[i].type, in proc_read_hwinfo()
68 hwinfo->phys_out_grps[i].count); in proc_read_hwinfo()
72 hwinfo->phys_out_grp_count); in proc_read_hwinfo()
73 for (i = 0; i < hwinfo->phys_out_grp_count; i++) { in proc_read_hwinfo()
76 i, hwinfo->phys_out_grps[i].type, in proc_read_hwinfo()
77 hwinfo->phys_out_grps[i].count); in proc_read_hwinfo()
81 hwinfo->amdtp_rx_pcm_channels); in proc_read_hwinfo()
83 hwinfo->amdtp_tx_pcm_channels); in proc_read_hwinfo()
85 hwinfo->amdtp_rx_pcm_channels_2x); in proc_read_hwinfo()
87 hwinfo->amdtp_tx_pcm_channels_2x); in proc_read_hwinfo()
89 hwinfo->amdtp_rx_pcm_channels_4x); in proc_read_hwinfo()
91 hwinfo->amdtp_tx_pcm_channels_4x); in proc_read_hwinfo()
93 snd_iprintf(buffer, "midi out ports: 0x%X\n", hwinfo->midi_out_ports); in proc_read_hwinfo()
94 snd_iprintf(buffer, "midi in ports: 0x%X\n", hwinfo->midi_in_ports); in proc_read_hwinfo()
97 hwinfo->mixer_playback_channels); in proc_read_hwinfo()
99 hwinfo->mixer_capture_channels); in proc_read_hwinfo()
101 kfree(hwinfo); in proc_read_hwinfo()