Re: [Linux-fbdev-devel] [RFC 2.6.27 1/1] gpiolib: add support for batch set of pins

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jaya Kumar
Date: Wednesday, November 26, 2008 - 3:25 am

On Wed, Nov 26, 2008 at 5:08 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:

I'm not sure I understood this. I imagine the usage will be like

int values = 0x8000_0000;
set_bus(..., start_pin, values);

write_32(register, values); // will still work to set bit 31
(values >> 31) == 1;


Yes, I agree, I will change to use u32 as it is then explicit.

Thanks,
jaya
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Linux-fbdev-devel] [RFC 2.6.27 1/1] gpiolib: add supp ..., Geert Uytterhoeven, (Wed Nov 26, 3:08 am)
Re: [Linux-fbdev-devel] [RFC 2.6.27 1/1] gpiolib: add supp ..., Jaya Kumar, (Wed Nov 26, 3:25 am)
Re: [Linux-fbdev-devel] [RFC 2.6.27 1/1] gpiolib: add supp ..., Geert Uytterhoeven, (Wed Nov 26, 5:08 am)