Thread (1 message) 1 message, 1 author, 2012-07-17

Re: [PATCH v2 1/2] pinctrl: pinctrl-imx: add support for set bits for general purpose registers

From: Mark Brown <hidden>
Date: 2012-07-17 18:24:34
Also in: linux-arm-kernel

On Tue, Jul 17, 2012 at 08:15:40PM +0200, Linus Walleij wrote:
u32 db8500_prcmu_read(unsigned int reg);
void db8500_prcmu_write(unsigned int reg, u32 value);
void db8500_prcmu_write_masked(unsigned int reg, u32 mask, u32 value);
The third function is an oddity which performs read-modify-write
on the other side (firmware).
Not so odd - a very high proportion of APIs like this have a r/m/w
operation as there's usually a requirement for doing the updates
atomically.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help