Lines Matching refs:params
19 unsigned int count, const u8 *params)
29 oxygen_write_uart(chip, params[i]);
32 checksum += params[i];
46 hdmi_write_command(chip, 0x54, 5, hdmi->params);
51 hdmi->params[1] = IEC958_AES3_CON_FS_48000;
52 hdmi->params[4] = 1;
81 struct snd_pcm_hw_params *params)
83 hdmi->params[0] = 0; /* 1 = non-audio */
84 switch (params_rate(params)) {
86 hdmi->params[1] = IEC958_AES3_CON_FS_44100;
89 hdmi->params[1] = IEC958_AES3_CON_FS_48000;
92 hdmi->params[1] = IEC958_AES3_CON_FS_96000;
95 hdmi->params[1] = IEC958_AES3_CON_FS_192000;
98 hdmi->params[2] = params_channels(params) / 2 - 1;
99 if (params_format(params) == SNDRV_PCM_FORMAT_S16_LE)
100 hdmi->params[3] = 0;
102 hdmi->params[3] = 0xc0;
103 hdmi->params[4] = 1; /* ? */
104 hdmi_write_command(chip, 0x54, 5, hdmi->params);