Re: [RFC V1] lib: cordic: add library module for cordic anglecalculation

From: Randy Dunlap
Date: Wed May 25 2011 - 16:04:47 EST


On Wed, 25 May 2011 21:40:26 +0200 Arend van Spriel wrote:

> diff --git a/include/linux/cordic.h b/include/linux/cordic.h
> new file mode 100644
> index 0000000..28443a6
> --- /dev/null
> +++ b/include/linux/cordic.h
> @@ -0,0 +1,48 @@

> +/**
> + * struct - i/q coordinate.

* struct cordic_iq - i/q coordinate

> + *
> + * @i: real part of coordinate (in phase).
> + * @q: imaginary part of coordinate (quadrature).
> + */
> +struct cordic_iq {
> + s32 i;
> + s32 q;
> +};


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/