On Mon, Oct 15, 2018 at 01:59:33PM +0200, Rasmus Villemoes wrote:
> On 2018-10-14 06:19, William Breathitt Gray wrote:
>
> > a bit value of 0 in the
> > bits array does not necessarily mean the input was not requested, but
> > may instead mean that the value at the input is 0;
>
> sure enough, bu
On 2018-10-14 06:19, William Breathitt Gray wrote:
> a bit value of 0 in the
> bits array does not necessarily mean the input was not requested, but
> may instead mean that the value at the input is 0;
sure enough, but...
> therefore, the caller
> must keep track of the requested inputs rather t
On Tue, Oct 02, 2018 at 09:00:45AM +0200, Rasmus Villemoes wrote:
> On 2018-10-02 03:14, William Breathitt Gray wrote:
> > /* clear bits array to a clean slate */
> > bitmap_zero(bits, chip->ngpio);
> >
> > - /* get bits are evaluated a gpio port register at a time */
> > - for (i = 0
On 2018-10-02 03:14, William Breathitt Gray wrote:
> /* clear bits array to a clean slate */
> bitmap_zero(bits, chip->ngpio);
>
> - /* get bits are evaluated a gpio port register at a time */
> - for (i = 0; i < ARRAY_SIZE(ports); i++) {
> - /* gpio offset in bits
4 matches
Mail list logo