summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/i945/rcven.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/intel/i945/rcven.c')
-rw-r--r--src/northbridge/intel/i945/rcven.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/src/northbridge/intel/i945/rcven.c b/src/northbridge/intel/i945/rcven.c
index 2271904ed5..84814f7355 100644
--- a/src/northbridge/intel/i945/rcven.c
+++ b/src/northbridge/intel/i945/rcven.c
@@ -100,8 +100,7 @@ static int normalize(int channel_offset, u8 *mediumcoarse, u8 *fine)
return -1;
}
- set_receive_enable(channel_offset, *mediumcoarse & 3,
- *mediumcoarse >> 2);
+ set_receive_enable(channel_offset, *mediumcoarse & 3, *mediumcoarse >> 2);
MCHBAR8(C0WL0REOST + channel_offset) = *fine;
@@ -123,8 +122,7 @@ static int find_preamble(int channel_offset, u8 *mediumcoarse,
}
*mediumcoarse -= 4;
- set_receive_enable(channel_offset, *mediumcoarse & 3,
- *mediumcoarse >> 2);
+ set_receive_enable(channel_offset, *mediumcoarse & 3, *mediumcoarse >> 2);
reg32 = sample_strobes(channel_offset, sysinfo);
@@ -155,8 +153,7 @@ static int add_quarter_clock(int channel_offset, u8 *mediumcoarse, u8 *fine)
return -1;
}
- set_receive_enable(channel_offset, *mediumcoarse & 3,
- *mediumcoarse >> 2);
+ set_receive_enable(channel_offset, *mediumcoarse & 3, *mediumcoarse >> 2);
} else {
*fine += 0x80;
}
@@ -176,8 +173,7 @@ static int find_strobes_low(int channel_offset, u8 *mediumcoarse, u8 *fine,
for (;;) {
MCHBAR8(C0WL0REOST + channel_offset) = *fine;
- set_receive_enable(channel_offset, *mediumcoarse & 3,
- *mediumcoarse >> 2);
+ set_receive_enable(channel_offset, *mediumcoarse & 3, *mediumcoarse >> 2);
rcvenmt = sample_strobes(channel_offset, sysinfo);
@@ -210,8 +206,7 @@ static int find_strobes_edge(int channel_offset, u8 *mediumcoarse, u8 *fine,
printk(BIOS_SPEW, " %s()\n", __func__);
counter = 8;
- set_receive_enable(channel_offset, *mediumcoarse & 3,
- *mediumcoarse >> 2);
+ set_receive_enable(channel_offset, *mediumcoarse & 3, *mediumcoarse >> 2);
for (;;) {
MCHBAR8(C0WL0REOST + channel_offset) = *fine;
@@ -249,8 +244,7 @@ static int find_strobes_edge(int channel_offset, u8 *mediumcoarse, u8 *fine,
*fine -= 7;
if (*fine >= 0xf9) {
*mediumcoarse -= 2;
- set_receive_enable(channel_offset, *mediumcoarse & 3,
- *mediumcoarse >> 2);
+ set_receive_enable(channel_offset, *mediumcoarse & 3, *mediumcoarse >> 2);
}
*fine &= ~(1 << 3);
@@ -265,8 +259,7 @@ static int find_strobes_edge(int channel_offset, u8 *mediumcoarse, u8 *fine,
* a lot of if ()s so let's just pass 0 or 0x80 for the channel offset.
*/
-static int receive_enable_autoconfig(int channel_offset,
- struct sys_info *sysinfo)
+static int receive_enable_autoconfig(int channel_offset, struct sys_info *sysinfo)
{
u8 mediumcoarse;
u8 fine;