summaryrefslogtreecommitdiff
path: root/include/linux/bitmap.h
AgeCommit message (Collapse)Author
2024-07-26linux/bitmap.h: add bitmap_empty helperCaleb Connolly
Import this function from Linux as of 6.10-rc6 Reviewed-by: Tom Rini <[email protected]> Acked-by: Sumit Garg <[email protected]> Signed-off-by: Caleb Connolly <[email protected]>
2022-02-08linux: bitmap.h: Add find_next_zero_area functionKeerthy
Add find_next_zero_area to fetch the next zero area in the map. Signed-off-by: Keerthy <[email protected]> Signed-off-by: Amjad Ouled-Ameur <[email protected]>
2020-01-20lib: Import few bitmap functions from LinuxVignesh Raghavendra
Import few basic bitmap functions (bitmap_{weight,fill,set,clear,or}()) and their dependencies from Linux. These are required for upcoming DMA resource allocation support for TI's K3 SoCs. Signed-off-by: Vignesh Raghavendra <[email protected]> Reviewed-by: Grygorii Strashko <[email protected]> Signed-off-by: Lokesh Vutla <[email protected]>
2019-11-07bitmaps: import for_each_set_bit() macroVignesh Raghavendra
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 <[email protected]>
2018-12-14usb: composite: Move bitmap related operations to ./include/linux/bitmap.hLukasz Majewski
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 <[email protected]> Reviewed-by: Stefan Agner <[email protected]>