Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 909ea93b authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Jiri Kosina
Browse files

arm: uengine.c: remove C99 comments



Comments should be /* */ not //.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Jiri Kosina <trivial@kernel.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent aa88bc0a
Loading
Loading
Loading
Loading
+9 −9
Original line number Original line Diff line number Diff line
@@ -312,16 +312,16 @@ static void generate_ucode(u8 *ucode, u32 *gpr_a, u32 *gpr_b)
		b1 = (gpr_a[i] >> 8) & 0xff;
		b1 = (gpr_a[i] >> 8) & 0xff;
		b0 = gpr_a[i] & 0xff;
		b0 = gpr_a[i] & 0xff;


		// immed[@ai, (b1 << 8) | b0]
		/* immed[@ai, (b1 << 8) | b0] */
		// 11110000 0000VVVV VVVV11VV VVVVVV00 1IIIIIII
		/* 11110000 0000VVVV VVVV11VV VVVVVV00 1IIIIIII */
		ucode[offset++] = 0xf0;
		ucode[offset++] = 0xf0;
		ucode[offset++] = (b1 >> 4);
		ucode[offset++] = (b1 >> 4);
		ucode[offset++] = (b1 << 4) | 0x0c | (b0 >> 6);
		ucode[offset++] = (b1 << 4) | 0x0c | (b0 >> 6);
		ucode[offset++] = (b0 << 2);
		ucode[offset++] = (b0 << 2);
		ucode[offset++] = 0x80 | i;
		ucode[offset++] = 0x80 | i;


		// immed_w1[@ai, (b3 << 8) | b2]
		/* immed_w1[@ai, (b3 << 8) | b2] */
		// 11110100 0100VVVV VVVV11VV VVVVVV00 1IIIIIII
		/* 11110100 0100VVVV VVVV11VV VVVVVV00 1IIIIIII */
		ucode[offset++] = 0xf4;
		ucode[offset++] = 0xf4;
		ucode[offset++] = 0x40 | (b3 >> 4);
		ucode[offset++] = 0x40 | (b3 >> 4);
		ucode[offset++] = (b3 << 4) | 0x0c | (b2 >> 6);
		ucode[offset++] = (b3 << 4) | 0x0c | (b2 >> 6);
@@ -340,16 +340,16 @@ static void generate_ucode(u8 *ucode, u32 *gpr_a, u32 *gpr_b)
		b1 = (gpr_b[i] >> 8) & 0xff;
		b1 = (gpr_b[i] >> 8) & 0xff;
		b0 = gpr_b[i] & 0xff;
		b0 = gpr_b[i] & 0xff;


		// immed[@bi, (b1 << 8) | b0]
		/* immed[@bi, (b1 << 8) | b0] */
		// 11110000 0000VVVV VVVV001I IIIIII11 VVVVVVVV
		/* 11110000 0000VVVV VVVV001I IIIIII11 VVVVVVVV */
		ucode[offset++] = 0xf0;
		ucode[offset++] = 0xf0;
		ucode[offset++] = (b1 >> 4);
		ucode[offset++] = (b1 >> 4);
		ucode[offset++] = (b1 << 4) | 0x02 | (i >> 6);
		ucode[offset++] = (b1 << 4) | 0x02 | (i >> 6);
		ucode[offset++] = (i << 2) | 0x03;
		ucode[offset++] = (i << 2) | 0x03;
		ucode[offset++] = b0;
		ucode[offset++] = b0;


		// immed_w1[@bi, (b3 << 8) | b2]
		/* immed_w1[@bi, (b3 << 8) | b2] */
		// 11110100 0100VVVV VVVV001I IIIIII11 VVVVVVVV
		/* 11110100 0100VVVV VVVV001I IIIIII11 VVVVVVVV */
		ucode[offset++] = 0xf4;
		ucode[offset++] = 0xf4;
		ucode[offset++] = 0x40 | (b3 >> 4);
		ucode[offset++] = 0x40 | (b3 >> 4);
		ucode[offset++] = (b3 << 4) | 0x02 | (i >> 6);
		ucode[offset++] = (b3 << 4) | 0x02 | (i >> 6);
@@ -357,7 +357,7 @@ static void generate_ucode(u8 *ucode, u32 *gpr_a, u32 *gpr_b)
		ucode[offset++] = b2;
		ucode[offset++] = b2;
	}
	}


	// ctx_arb[kill]
	/* ctx_arb[kill] */
	ucode[offset++] = 0xe0;
	ucode[offset++] = 0xe0;
	ucode[offset++] = 0x00;
	ucode[offset++] = 0x00;
	ucode[offset++] = 0x01;
	ucode[offset++] = 0x01;