summaryrefslogtreecommitdiffstats
path: root/include/linux/bitmap.h
Commit message (Collapse)AuthorAgeFilesLines
* bitmaps: import for_each_set_bit() macroVignesh Raghavendra2019-11-071-0/+61
| | | | | | | | Import for_each_set_bit() and associated macros and functions from Linux. This is useful in parsing interrupt registers and take action on each bit that is set. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* usb: composite: Move bitmap related operations to ./include/linux/bitmap.hLukasz Majewski2018-12-141-0/+23
The BITMAP related operations can now be moved to ./include/linux/bitmap.h file to mimic the Linux kernel directory tree. This change also allows to remove the lin_gadget_compat.h header file (which is a legacy code only for composite U-boot layer). It was also possible to remove #includes from several USB gadget drivers. Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Stefan Agner <stefan.agner@toradex.com>