[Xenomai-git] Alexis Berlemont : analogy: the subdevice structure got a new status field (broken)
Module: xenomai-head Branch: master Commit: d4536f71d39d81bf2228bff161faafbab131deea URL: http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=d4536f71d39d81bf2228bff161faafbab131deea Author: Alexis Berlemont alexis.berlem...@gmail.com Date: Sun May 16 23:20:51 2010 +0200 analogy: the subdevice structure got a new status field (broken) --- include/analogy/subdevice.h | 26 +- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/include/analogy/subdevice.h b/include/analogy/subdevice.h index 1c3bcd4..11a345e 100644 --- a/include/analogy/subdevice.h +++ b/include/analogy/subdevice.h @@ -141,12 +141,28 @@ /*! @} ANALOGY_SUBD_FT_xxx */ +/*! + * @anchor ANALOGY_SUBD_ST_xxx @name Subdevice status + * @brief Flags to define the subdevice's status + * @{ + */ + +/* Subdevice status flag(s) */ +/** + * The subdevice is busy, a synchronous or an asynchronous acquisition + * is occuring + */ +#define A4L_SUBD_BUSY_NR 0 +#define A4L_SUBD_BUSY (1 A4L_SUBD_BUSY_NR) + + /*! @} ANALOGY_SUBD_ST_xxx */ + #ifdef __KERNEL__ /* --- Subdevice descriptor structure --- */ struct a4l_device; -struct a4l_driver; +struct a4l_buffer; /*! * @brief Structure describing the subdevice @@ -160,9 +176,17 @@ struct a4l_subdevice { struct a4l_device *dev; /** Containing device */ + unsigned int idx; /** Subdevice index */ + struct a4l_buffer *buf; + /** Linked buffer */ + + /* Subdevice's status (busy, linked?) */ + unsigned long status; +/** Subdevice's status */ + /* Descriptors stuff */ unsigned long flags; /** Type flags */ ___ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git
[Xenomai-git] Alexis Berlemont : analogy: the subdevice structure got a new status field (broken)
Module: xenomai-abe Branch: analogy Commit: 872844e17a5360feec618a8f91265c23e950663d URL: http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=872844e17a5360feec618a8f91265c23e950663d Author: Alexis Berlemont alexis.berlem...@gmail.com Date: Sun May 16 23:20:51 2010 +0200 analogy: the subdevice structure got a new status field (broken) --- include/analogy/subdevice.h | 26 +- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/include/analogy/subdevice.h b/include/analogy/subdevice.h index 1c3bcd4..11a345e 100644 --- a/include/analogy/subdevice.h +++ b/include/analogy/subdevice.h @@ -141,12 +141,28 @@ /*! @} ANALOGY_SUBD_FT_xxx */ +/*! + * @anchor ANALOGY_SUBD_ST_xxx @name Subdevice status + * @brief Flags to define the subdevice's status + * @{ + */ + +/* Subdevice status flag(s) */ +/** + * The subdevice is busy, a synchronous or an asynchronous acquisition + * is occuring + */ +#define A4L_SUBD_BUSY_NR 0 +#define A4L_SUBD_BUSY (1 A4L_SUBD_BUSY_NR) + + /*! @} ANALOGY_SUBD_ST_xxx */ + #ifdef __KERNEL__ /* --- Subdevice descriptor structure --- */ struct a4l_device; -struct a4l_driver; +struct a4l_buffer; /*! * @brief Structure describing the subdevice @@ -160,9 +176,17 @@ struct a4l_subdevice { struct a4l_device *dev; /** Containing device */ + unsigned int idx; /** Subdevice index */ + struct a4l_buffer *buf; + /** Linked buffer */ + + /* Subdevice's status (busy, linked?) */ + unsigned long status; +/** Subdevice's status */ + /* Descriptors stuff */ unsigned long flags; /** Type flags */ ___ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git
[Xenomai-git] Alexis Berlemont : analogy: the subdevice structure got a new status field (broken)
Module: xenomai-abe Branch: experimental Commit: b598c947343c235b391620fb0998c7513557f6e5 URL: http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=b598c947343c235b391620fb0998c7513557f6e5 Author: Alexis Berlemont alexis.berlem...@gmail.com Date: Sun May 16 23:20:51 2010 +0200 analogy: the subdevice structure got a new status field (broken) --- include/analogy/subdevice.h | 26 +- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/include/analogy/subdevice.h b/include/analogy/subdevice.h index 1c3bcd4..11a345e 100644 --- a/include/analogy/subdevice.h +++ b/include/analogy/subdevice.h @@ -141,12 +141,28 @@ /*! @} ANALOGY_SUBD_FT_xxx */ +/*! + * @anchor ANALOGY_SUBD_ST_xxx @name Subdevice status + * @brief Flags to define the subdevice's status + * @{ + */ + +/* Subdevice status flag(s) */ +/** + * The subdevice is busy, a synchronous or an asynchronous acquisition + * is occuring + */ +#define A4L_SUBD_BUSY_NR 0 +#define A4L_SUBD_BUSY (1 A4L_SUBD_BUSY_NR) + + /*! @} ANALOGY_SUBD_ST_xxx */ + #ifdef __KERNEL__ /* --- Subdevice descriptor structure --- */ struct a4l_device; -struct a4l_driver; +struct a4l_buffer; /*! * @brief Structure describing the subdevice @@ -160,9 +176,17 @@ struct a4l_subdevice { struct a4l_device *dev; /** Containing device */ + unsigned int idx; /** Subdevice index */ + struct a4l_buffer *buf; + /** Linked buffer */ + + /* Subdevice's status (busy, linked?) */ + unsigned long status; +/** Subdevice's status */ + /* Descriptors stuff */ unsigned long flags; /** Type flags */ ___ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git
[Xenomai-git] Alexis Berlemont : analogy: the subdevice structure got a new status field (broken)
Module: xenomai-abe Branch: experimental Commit: d075caa92d145b0a9e9acf3514060833eb98e03e URL: http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=d075caa92d145b0a9e9acf3514060833eb98e03e Author: Alexis Berlemont alexis.berlem...@gmail.com Date: Sun May 16 23:20:51 2010 +0200 analogy: the subdevice structure got a new status field (broken) --- include/analogy/subdevice.h | 26 +- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/include/analogy/subdevice.h b/include/analogy/subdevice.h index 1c3bcd4..11a345e 100644 --- a/include/analogy/subdevice.h +++ b/include/analogy/subdevice.h @@ -141,12 +141,28 @@ /*! @} ANALOGY_SUBD_FT_xxx */ +/*! + * @anchor ANALOGY_SUBD_ST_xxx @name Subdevice status + * @brief Flags to define the subdevice's status + * @{ + */ + +/* Subdevice status flag(s) */ +/** + * The subdevice is busy, a synchronous or an asynchronous acquisition + * is occuring + */ +#define A4L_SUBD_BUSY_NR 0 +#define A4L_SUBD_BUSY (1 A4L_SUBD_BUSY_NR) + + /*! @} ANALOGY_SUBD_ST_xxx */ + #ifdef __KERNEL__ /* --- Subdevice descriptor structure --- */ struct a4l_device; -struct a4l_driver; +struct a4l_buffer; /*! * @brief Structure describing the subdevice @@ -160,9 +176,17 @@ struct a4l_subdevice { struct a4l_device *dev; /** Containing device */ + unsigned int idx; /** Subdevice index */ + struct a4l_buffer *buf; + /** Linked buffer */ + + /* Subdevice's status (busy, linked?) */ + unsigned long status; +/** Subdevice's status */ + /* Descriptors stuff */ unsigned long flags; /** Type flags */ ___ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git