drivers/staging/media/atomisp/pci/hive_isp_css_include/bitop_support.h

Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/hive_isp_css_include/bitop_support.h

File Facts

System
Linux kernel
Corpus path
drivers/staging/media/atomisp/pci/hive_isp_css_include/bitop_support.h
Extension
.h
Size
416 bytes
Lines
17
Domain
Driver Families
Bucket
drivers/staging
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __BITOP_SUPPORT_H_INCLUDED__
#define __BITOP_SUPPORT_H_INCLUDED__

#define bitop_setbit(a, b) ((a) |= (1UL << (b)))

#define bitop_getbit(a, b) (((a) & (1UL << (b))) != 0)

#define bitop_clearbit(a, b) ((a) &= ~(1UL << (b)))

#endif /* __BITOP_SUPPORT_H_INCLUDED__ */

Annotation

Implementation Notes