On 3/24/21 10:10 AM, Alexandru Ardelean wrote:
On Tue, Mar 23, 2021 at 1:35 PM Jonathan Cameron
wrote:
[..]
Continuing a bit with the original IIO buffer ioctl(), I talked to
Lars a bit over IRC.
And there was an idea/suggestion to maybe use a struct to pass more
information to the buffer F
> Sent: Saturday, March 6, 2021 6:01 PM
> > > > > > To: Jonathan Cameron
> > > > > > Cc: Lars-Peter Clausen ; Ardelean,
> > > > > > zzzzAlexandru ; LKML > > > > > ker...@vger.kernel.org>; linux-iio ;
> >
Clausen ; Ardelean,
> > > > > Alexandru ; LKML > > > > ker...@vger.kernel.org>; linux-iio ;
> > > > > Hennerich, Michael ; Jonathan
> > > > > Cameron ; Sa, Nuno ;
> > > > > Bogdan, Dragos
> > > &
gt; Hennerich, Michael ; Jonathan
> > > > Cameron ; Sa, Nuno ;
> > > > Bogdan, Dragos
> > > > Subject: Re: [PATCH v6 20/24] iio: buffer: add ioctl() to support
> > > > opening
> > > > extra buffers for IIO device
&g
> To: Jonathan Cameron
> > > Cc: Lars-Peter Clausen ; Ardelean,
> > > Alexandru ; LKML > > ker...@vger.kernel.org>; linux-iio ;
> > > Hennerich, Michael ; Jonathan
> > > Cameron ; Sa, Nuno ;
> > > Bogdan, Dragos
>
u ; LKML > ker...@vger.kernel.org>; linux-iio ;
> > Hennerich, Michael ; Jonathan
> > Cameron ; Sa, Nuno ;
> > Bogdan, Dragos
> > Subject: Re: [PATCH v6 20/24] iio: buffer: add ioctl() to support opening
> > extra buffers for IIO device
> >
> > [External]
Sa, Nuno ;
> Bogdan, Dragos
> Subject: Re: [PATCH v6 20/24] iio: buffer: add ioctl() to support opening
> extra buffers for IIO device
>
> [External]
>
> On Sun, Feb 28, 2021 at 9:00 PM Jonathan Cameron
> wrote:
> >
> > On Sun, 28 Feb 2021 16:51:51 +0100
> &
On Sun, 7 Mar 2021 12:13:08 +
Jonathan Cameron wrote:
> On Sat, 6 Mar 2021 19:00:52 +0200
> Alexandru Ardelean wrote:
>
> > On Sun, Feb 28, 2021 at 9:00 PM Jonathan Cameron
> > wrote:
> > >
> > > On Sun, 28 Feb 2021 16:51:51 +0100
> > > Lars-Peter Clausen wrote:
> > >
> > > > On 2/2
On Sat, 6 Mar 2021 19:00:52 +0200
Alexandru Ardelean wrote:
> On Sun, Feb 28, 2021 at 9:00 PM Jonathan Cameron
> wrote:
> >
> > On Sun, 28 Feb 2021 16:51:51 +0100
> > Lars-Peter Clausen wrote:
> >
> > > On 2/28/21 3:34 PM, Jonathan Cameron wrote:
> > > > On Sun, 28 Feb 2021 09:51:38 +0100
>
On Sun, Feb 28, 2021 at 9:00 PM Jonathan Cameron
wrote:
>
> On Sun, 28 Feb 2021 16:51:51 +0100
> Lars-Peter Clausen wrote:
>
> > On 2/28/21 3:34 PM, Jonathan Cameron wrote:
> > > On Sun, 28 Feb 2021 09:51:38 +0100
> > > Lars-Peter Clausen wrote:
> > >
> > >> On 2/15/21 11:40 AM, Alexandru Ardele
On Sun, Feb 28, 2021 at 5:54 PM Lars-Peter Clausen wrote:
>
> On 2/28/21 3:34 PM, Jonathan Cameron wrote:
> > On Sun, 28 Feb 2021 09:51:38 +0100
> > Lars-Peter Clausen wrote:
> >
> >> On 2/15/21 11:40 AM, Alexandru Ardelean wrote:
> >>> With this change, an ioctl() call is added to open a charact
On Sun, Feb 28, 2021 at 9:58 AM Lars-Peter Clausen wrote:
>
> On 2/15/21 11:40 AM, Alexandru Ardelean wrote:
> > [...]
> > /**
> >* iio_buffer_wakeup_poll - Wakes up the buffer waitqueue
> >* @indio_dev: The IIO device
> > @@ -1343,6 +1371,96 @@ static void
> > iio_buffer_unregister_leg
On Sun, 28 Feb 2021 16:51:51 +0100
Lars-Peter Clausen wrote:
> On 2/28/21 3:34 PM, Jonathan Cameron wrote:
> > On Sun, 28 Feb 2021 09:51:38 +0100
> > Lars-Peter Clausen wrote:
> >
> >> On 2/15/21 11:40 AM, Alexandru Ardelean wrote:
> >>> With this change, an ioctl() call is added to open a c
On 2/28/21 3:34 PM, Jonathan Cameron wrote:
On Sun, 28 Feb 2021 09:51:38 +0100
Lars-Peter Clausen wrote:
On 2/15/21 11:40 AM, Alexandru Ardelean wrote:
With this change, an ioctl() call is added to open a character device for a
buffer. The ioctl() number is 'i' 0x91, which follows the
IIO_GET
On Sun, 28 Feb 2021 09:51:38 +0100
Lars-Peter Clausen wrote:
> On 2/15/21 11:40 AM, Alexandru Ardelean wrote:
> > With this change, an ioctl() call is added to open a character device for a
> > buffer. The ioctl() number is 'i' 0x91, which follows the
> > IIO_GET_EVENT_FD_IOCTL ioctl.
> >
> > The
On 2/15/21 11:40 AM, Alexandru Ardelean wrote:
With this change, an ioctl() call is added to open a character device for a
buffer. The ioctl() number is 'i' 0x91, which follows the
IIO_GET_EVENT_FD_IOCTL ioctl.
The ioctl() will return an FD for the requested buffer index. The indexes
are the sam
On 2/15/21 11:40 AM, Alexandru Ardelean wrote:
[...]
/**
* iio_buffer_wakeup_poll - Wakes up the buffer waitqueue
* @indio_dev: The IIO device
@@ -1343,6 +1371,96 @@ static void
iio_buffer_unregister_legacy_sysfs_groups(struct iio_dev *indio_dev)
kfree(iio_dev_opaque->legacy_scan
17 matches
Mail list logo