gpio: struct gpio_chip.set_multiple\get_multiple

2019-01-10 Thread Subhashini Rao Beerisetty
Hi All, struct gpio_chip { int (*get_multiple)(struct gpio_chip *chip,unsigned long *mask, unsigned long *bits); void (*set_multiple)(struct gpio_chip *chip,unsigned long *mask, unsigned long *bits); } struct gpio_chip provides set_multiple callback to assign output values for multiple si

Re: where to find the kmalloc implementation

2019-01-10 Thread Carter Cheng
Thanks! On Thu, Jan 10, 2019 at 12:51 AM Okash Khawaja wrote: > On Wed, Jan 9, 2019 at 3:17 PM Carter Cheng wrote: > > > > Hi, > > > > I am curious where in the kernel sources would I find the kmalloc > implementation? I am curious how GFP_ATOMIC option is implemented. > > > > Thanks, > > > > C