Re: [PATCH v4 0/8] Introduce the for_each_set_clump macro

2018-09-10 Thread Andy Shevchenko
On Mon, Sep 10, 2018 at 09:54:47AM +0200, Linus Walleij wrote: > On Wed, Sep 5, 2018 at 5:04 PM William Breathitt Gray > wrote: > > On Wed, May 16, 2018 at 04:03:51PM +0200, Linus Walleij wrote: > > >On Tue, May 15, 2018 at 6:22 PM, William Breathitt Gray > > > wrote: > > > > > >> For example, sup

Re: [PATCH v4 0/8] Introduce the for_each_set_clump macro

2018-09-10 Thread Linus Walleij
On Wed, Sep 5, 2018 at 5:04 PM William Breathitt Gray wrote: > On Wed, May 16, 2018 at 04:03:51PM +0200, Linus Walleij wrote: > >On Tue, May 15, 2018 at 6:22 PM, William Breathitt Gray > > wrote: > > > >> For example, suppose you would like to iterate over a 16-bit integer 4 > >> bits at a time, s

Re: [PATCH v4 0/8] Introduce the for_each_set_clump macro

2018-09-05 Thread William Breathitt Gray
On Wed, May 16, 2018 at 04:03:51PM +0200, Linus Walleij wrote: >On Tue, May 15, 2018 at 6:22 PM, William Breathitt Gray > wrote: > >> For example, suppose you would like to iterate over a 16-bit integer 4 >> bits at a time, skipping over 4-bit groups with no set bit, where >> represents the cu

Re: [PATCH v4 0/8] Introduce the for_each_set_clump macro

2018-06-16 Thread William Breathitt Gray
On Wed, May 16, 2018 at 11:08:28PM +0300, Andy Shevchenko wrote: >On Wed, May 16, 2018 at 5:03 PM, Linus Walleij >wrote: >> On Tue, May 15, 2018 at 6:22 PM, William Breathitt Gray >> wrote: >> >>> For example, suppose you would like to iterate over a 16-bit integer 4 >>> bits at a time, skipping

Re: [PATCH v4 0/8] Introduce the for_each_set_clump macro

2018-05-16 Thread Andy Shevchenko
On Wed, May 16, 2018 at 5:03 PM, Linus Walleij wrote: > On Tue, May 15, 2018 at 6:22 PM, William Breathitt Gray > wrote: > >> For example, suppose you would like to iterate over a 16-bit integer 4 >> bits at a time, skipping over 4-bit groups with no set bit, where >> represents the current

Re: [PATCH v4 0/8] Introduce the for_each_set_clump macro

2018-05-16 Thread Linus Walleij
On Tue, May 15, 2018 at 6:22 PM, William Breathitt Gray wrote: > For example, suppose you would like to iterate over a 16-bit integer 4 > bits at a time, skipping over 4-bit groups with no set bit, where > represents the current 4-bit group: > > Example:1011 1110 >