19 #include <linux/pci.h>
39 for (i = 0; i <
count; ++
i)
41 checksum = 0xfb + 0xef + command +
count;
42 for (i = 0; i <
count; ++
i)
43 checksum += params[i];
47 static void xonar_hdmi_init_commands(
struct oxygen *chip,
54 hdmi_write_command(chip, 0x61, 1, ¶m);
56 hdmi_write_command(chip, 0x74, 1, ¶m);
57 hdmi_write_command(chip, 0x54, 5, hdmi->
params);
64 xonar_hdmi_init_commands(chip, hdmi);
71 hdmi_write_command(chip, 0x74, 1, ¶m);
76 xonar_hdmi_init_commands(chip, hdmi);
115 hdmi_write_command(chip, 0x54, 5, hdmi->
params);