drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ia_css_bnlm_param.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ia_css_bnlm_param.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ia_css_bnlm_param.h- Extension
.h- Size
- 1387 bytes
- Lines
- 57
- 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.
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
type_support.hvmem.h
Detected Declarations
struct bnlm_lutstruct bnlm_vmem_paramsstruct bnlm_dmem_params
Annotated Snippet
struct bnlm_lut {
VMEM_ARRAY(thr, ISP_VEC_NELEMS); /* thresholds */
VMEM_ARRAY(val, ISP_VEC_NELEMS); /* values */
};
struct bnlm_vmem_params {
VMEM_ARRAY(nl_th, ISP_VEC_NELEMS);
VMEM_ARRAY(match_quality_max_idx, ISP_VEC_NELEMS);
struct bnlm_lut mu_root_lut;
struct bnlm_lut sad_norm_lut;
struct bnlm_lut sig_detail_lut;
struct bnlm_lut sig_rad_lut;
struct bnlm_lut rad_pow_lut;
struct bnlm_lut nl_0_lut;
struct bnlm_lut nl_1_lut;
struct bnlm_lut nl_2_lut;
struct bnlm_lut nl_3_lut;
/* LUTs used for division approximiation */
struct bnlm_lut div_lut;
VMEM_ARRAY(div_lut_intercepts, ISP_VEC_NELEMS);
/* 240x does not have an ISP instruction to left shift each element of a
* vector by different shift value. Hence it will be simulated by multiplying
* the elements by required 2^shift. */
VMEM_ARRAY(power_of_2, ISP_VEC_NELEMS);
};
/* BNLM ISP parameters */
struct bnlm_dmem_params {
bool rad_enable;
s32 rad_x_origin;
s32 rad_y_origin;
s32 avg_min_th;
s32 max_min_th;
s32 exp_coeff_a;
u32 exp_coeff_b;
s32 exp_coeff_c;
u32 exp_exponent;
};
#endif /* __IA_CSS_BNLM_PARAM_H */
Annotation
- Immediate include surface: `type_support.h`, `vmem.h`.
- Detected declarations: `struct bnlm_lut`, `struct bnlm_vmem_params`, `struct bnlm_dmem_params`.
- Atlas domain: Driver Families / drivers/staging.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.