Linux Input/HID development
 help / color / mirror / Atom feed
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: Sedji Gaouaou <sedji.gaouaou@atmel.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
	linux-input@vger.kernel.org
Subject: Re: ATMEL camera interface
Date: Mon, 3 May 2010 18:40:39 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.1005031836140.4231@axis700.grange> (raw)
In-Reply-To: <4BDEEE38.9070801@atmel.com>

On Mon, 3 May 2010, Sedji Gaouaou wrote:

> Well sorry to bother you again but I am looking at the mx1_camera.c file, and
> I wonder where are implemented the queue and dqueue functions?
> 
> The atmel IP is using linked list for the buffers, and previously I was
> managing it in the queue and dqueue functions.
> I am not sure where I should take care of it now?

qbuf and dqbuf are implemented by soc-camera in soc_camera_qbuf() and 
soc_camera_dqbuf() respectively, drivers only implement methods from 
struct videobuf_queue_ops, e.g., a .buf_queue method, which for mx1_camera 
is implemented by mx1_videobuf_queue().

Thanks
Guennadi

> 
> 
> Regards,
> Sedji
> 
> Le 5/3/2010 4:26 PM, Guennadi Liakhovetski a écrit :
> > On Mon, 3 May 2010, Sedji Gaouaou wrote:
> > 
> > > Well I need contiguous memory, so I guess I will have a look at
> > > mx1_camera.c?
> > > Is there another example?
> > > 
> > > What do you mean by videobuf implementation? As I said I just need a
> > > contiguous memory.
> > 
> > I mean, whether you're gping to use videobuf-dma-contig.c or
> > videobuf-dma-sg.c, respectively, whether you'll be calling
> > videobuf_queue_dma_contig_init() or videobuf_queue_sg_init() in your
> > driver.
> > 
> > Regards
> > Guennadi
> > ---
> > Guennadi Liakhovetski, Ph.D.
> > Freelance Open-Source Software Developer
> > http://www.open-technology.de/
> > 
> 
> 

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

  reply	other threads:[~2010-05-03 16:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-29 15:49 ATMEL camera interface Sedji Gaouaou
2010-04-29 16:35 ` Guennadi Liakhovetski
2010-05-03 13:46   ` Sedji Gaouaou
2010-05-03 14:03     ` Guennadi Liakhovetski
2010-05-03 14:17       ` Sedji Gaouaou
2010-05-03 14:26         ` Guennadi Liakhovetski
2010-05-03 15:39           ` Sedji Gaouaou
2010-05-03 16:40             ` Guennadi Liakhovetski [this message]
2010-05-26 13:04               ` Sedji Gaouaou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.1005031836140.4231@axis700.grange \
    --to=g.liakhovetski@gmx.de \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=sedji.gaouaou@atmel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox