snd_ps3.c (d30cc16c8e48368e0518f4975a78711e53e14a0f) snd_ps3.c (9fce85f7ff94f1a877c15ad3d6ffbaed4b5cd1a6)
1/*
2 * Audio support for PS3
3 * Copyright (C) 2007 Sony Computer Entertainment Inc.
4 * All rights reserved.
5 * Copyright 2006, 2007 Sony Corporation
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License

--- 862 unchanged lines hidden (view full) ---

871 uint64_t val;
872 int ret;
873
874 val = (ioaddr_start & (0x0fUL << 32)) >> (32 - 20) |
875 (0x03UL << 24) |
876 (0x0fUL << 12) |
877 (PS3_AUDIO_IOID);
878
1/*
2 * Audio support for PS3
3 * Copyright (C) 2007 Sony Computer Entertainment Inc.
4 * All rights reserved.
5 * Copyright 2006, 2007 Sony Corporation
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License

--- 862 unchanged lines hidden (view full) ---

871 uint64_t val;
872 int ret;
873
874 val = (ioaddr_start & (0x0fUL << 32)) >> (32 - 20) |
875 (0x03UL << 24) |
876 (0x0fUL << 12) |
877 (PS3_AUDIO_IOID);
878
879 ret = lv1_gpu_attribute(0x100, 0x007, val, 0, 0);
879 ret = lv1_gpu_attribute(0x100, 0x007, val);
880 if (ret)
881 pr_info("%s: gpu_attribute failed %d\n", __func__,
882 ret);
883}
884
885static void __devinit snd_ps3_audio_fixup(struct snd_ps3_card_info *card)
886{
887 /*

--- 273 unchanged lines hidden ---
880 if (ret)
881 pr_info("%s: gpu_attribute failed %d\n", __func__,
882 ret);
883}
884
885static void __devinit snd_ps3_audio_fixup(struct snd_ps3_card_info *card)
886{
887 /*

--- 273 unchanged lines hidden ---