Skip to content

Module Parameters All

Lu-Fi edited this page Nov 14, 2026 · 3 revisions

Module parameters: complete list (generated)

Generated from the module_param*() declarations and MODULE_PARM_DESC() texts of open-tx-isp next (2026-11-14, driver/<soc>/); the curated explanation of the parameters that matter is on Module Parameters. Default is the initial value of the variable in the source (the declaration just above the module_param); a few parameters are overwritten at load time by SoC code, and callback parameters (module_param_cb) show "see source". Perm is the sysfs permission (0 = not in sysfs, 0444 read-only, 0644 writable at run time under /sys/module/<module>/parameters/). Parameters marked bring-up exist only in a build with the SoC's TX_ISP_<SOC>_BRINGUP_PARAMS=y switch (not in firmware images; they are listed by name at the end of each SoC section). T10 is built from the T20 sources. Read-only counters and telemetry (*_now, *_last_*, *_hits, ...) are included. A 3.10 kernel refuses to load a module given an unknown parameter, so only pass names that this list shows for the SoC.

T10 / T20 (one driver source tree)

62 parameters in a default build, 0 more in a bring-up build.

Parameter Type Perm Default Description
isp_clk int 0 (not in sysfs) 90000000 / ISP_CLK_1080P_MODE isp core clock
isp_mmap_pool_kb uint 0444 0 V4L2 MMAP frame pool in KiB (default 0: none, USERPTR only; 8192 fits 2x1080p NV12 + sub-streams)
qbuf_guard bool 0644 1 Reject framechan QBUF buffers outside rmem (default 1)
t10_runtime_trace int 0644 0 1: log T10 IRQ/I2C/top-IRQ progress traces
t20_ae_flip_guard bool 0644 1 hold a one-step AE correction-curve change until the exposure moved 1/16 stop (beyond vendor, default on; 0 = vendor)
t20_ae_last_curve uint 0444 0
t20_ae_last_exposure_log2 int 0444 0
t20_ae_last_isp_dgain_log2 int 0444 0
t20_ae_last_mean uint 0444 0
t20_ae_last_population uint 0444 0
t20_ae_last_raw_target uint 0444 0
t20_ae_last_target uint 0444 0
t20_antifog_ignored uint 0444 see source anti-fog requests that found the Iridix block disabled
t20_antifog_level uint 0444 0 last accepted anti-fog level (0 off, 1 strong, 2 medium, 3 weak)
t20_antifog_variance uint 0644 0 1: the anti-fog presets also write the Iridix variance nibbles (0x3c8) at the frame-start commit; 0 (default): strength only
t20_awb_fallback_updates uint 0444 0
t20_awb_feedback_ready bool 0444 0
t20_awb_last_bg uint 0444 0
t20_awb_last_blue_q8 uint 0444 0x100
t20_awb_last_color_temperature uint 0444 5000
t20_awb_last_gain_00 uint 0444 0x100
t20_awb_last_gain_01 uint 0444 0x100
t20_awb_last_gain_10 uint 0444 0x100
t20_awb_last_gain_11 uint 0444 0x100
t20_awb_last_population uint 0444 0
t20_awb_last_red_q8 uint 0444 0x100
t20_awb_last_rg uint 0444 0
t20_awb_stable_ae_frames uint 0444 0
t20_ccm_frame_updates uint 0444 0
t20_ccm_last_light_source uint 0444 3
t20_cmos_irq_stage uint 0644 9 temporary T20 bring-up limit for the CMOS frame-start path
t20_frame_end_stage uint 0644 9 temporary T20 bring-up stage gate for frame-end IRQ processing
t20_fsm_event_allow_mask uint 0644 0x3fff temporary T20 bring-up mask for queued firmware event consumers
t20_fsm_irq_allow_mask uint 0644 0xff temporary T20 bring-up mask for firmware IRQ consumers
t20_iridix_asymmetry_shape uint 0444 0
t20_iridix_asymmetry_signature uint 0444 0
t20_iridix_last_exposure_factor int 0444 0
t20_iridix_last_full_strength_exposure uint 0444 0
t20_iridix_last_hist_factor int 0444 0
t20_iridix_last_maximum uint 0444 0
t20_iridix_last_minimum uint 0444 0
t20_iridix_last_no_strength_exposure uint 0444 0
t20_iridix_last_target uint 0444 0
t20_iridix_lut_init_count uint 0444 0
t20_iridix_lut_mode uint 0444 0
t20_iridix_rec709torgb_shape uint 0444 0
t20_iridix_rec709torgb_signature uint 0444 0
t20_iridix_rgb2rec709_shape uint 0444 0
t20_iridix_rgb2rec709_signature uint 0444 0
t20_irq_allow_mask uint 0644 0xffff temporary T20 bring-up mask for ISP-core interrupt dispatch
t20_mesh_scale_cur uint 0444 0xff lens-shading scale last written by SetMeshShadingScale (255 = none)
t20_park_fw_after_first_pass bool 0644 1 park the recovered T20 firmware thread after its proven-good first pass (only with t20_simple_awb=1)
t20_runtime_trace int 0644 0 1: log T20 IRQ/I2C/top-IRQ progress traces
t20_sensor_rearm_count uint 0444 0
t20_sensor_rearm_writes uint 0444 0
t20_simple_ae bool 0644 1 use bounded histogram AE instead of the recovered OEM AE state graph
t20_simple_awb bool 0644 1 use bounded metering feedback instead of the recovered OEM AWB state graph
t20_simple_awb_static_only bool 0644 0 hold the four active IQ static-WB gains for bounded AWB diagnostics
t20_simple_nr bool 0644 1 apply gain-driven ISP denoise from the active IQ calibration tables
t20_simple_sharpen bool 0644 0 always apply gain-driven ISP sharpening from the compact AE (it already runs whenever the firmware thread is parked)
t20_trace int 0644 0 1: log the T20TRACE bring-up trace lines
t20_trace_events int 0644 0 trace T20 firmware event dispatch

T21

15 parameters in a default build, 0 more in a bring-up build.

Parameter Type Perm Default Description
adr_bypass int 0644 0 T21: force TOP bypass bit 4 (ADR) off (diagnostic, default 0)
awb_ir_freeze uint 0644 1 T21: freeze AWB in night mode and restore the day gains on return to day (default 1, 0 = stock)
awb_lux_hyst uint 0644 10 T21: AWB lux/low-light threshold hysteresis band in percent (default 10, 0 = stock)
ct_event_thresh uint 0644 50 T21: skip the CT->CCM/LSC update while the AWB CT moved by at most this many Kelvin (default 50, 0 = stock: every frame)
free_watch bool 0444 0
irqoff_max_us uint 0644 0 T21 debug: max IRQs-off time of the ISP event thread in us (irqoff_stat=1; write 0 to reset)
irqoff_stat bool 0644 0 T21 debug: measure the max IRQs-off time of the ISP event thread (default 0)
isp_clk int 0 (not in sysfs) 100000000 isp clock freq
print_level int 0 (not in sysfs) 1 isp print level
qbuf_guard bool 0644 1 Reject framechan QBUF buffers outside rmem (default 1)
t21_sensor_rearm_count uint 0444 0
t21_sensor_rearm_writes uint 0444 0
t21_sensor_write_always int 0644 0 1 queues the sensor exposure/gain every frame even when unchanged (default 0: only on change, as stock)
t21_sensor_writes_skipped uint 0444 0
warn_stack bool 0644 0 1: dump_stack() after level>=2 ISP messages (vendor behaviour)

T23

94 parameters in a default build, 109 more in a bring-up build.

Parameter Type Perm Default Description
ae_oem_debug bool 0644 0 log the lifted stock AE0's exposure and gain changes
algo_get_wait bool 0644 1 custom AE/AWB get-handle ioctls wait for the next AE/AWB run (default 1); 0 = stock: answer at once
awb_lum_th_last uint 0444 0 last 0xb038 value written by the AWB interrupt
awb_lum_th_runs uint 0444 0 AWB interrupts that rewrote 0xb038 (stock tiziano_awb_set_lum_th_freq)
bypass_frames uint 0444 0 frames completed by the bypass graph (read only)
bypass_lost uint 0444 0 bypass graph frame-done interrupts without a buffer owner (read only)
chan_drain_ticks_max uint 0444 0 longest STREAMOFF drain wait in 10 ms steps (read only)
chan_drain_timeouts uint 0444 0 STREAMOFF drain waits that ended with buffers still queued (read only)
chan_drain_waits uint 0444 0 STREAMOFF drain waits that found buffers queued in the hardware (read only)
chan_stop_drain uint 0644 21 STREAMOFF: wait up to N x 10 ms for the channel's queued buffers to complete (default 21 = stock, 0 off)
chan_stop_keep_input bool 0644 1 1 (default, stock): keep the input running after the last frame channel STREAMOFF while tx-isp is streaming; 0 stop it (debug)
clk_name charp 0 (not in sysfs) 0 select the isp parent clock
clka_name charp 0 (not in sysfs) 0 select the axi bus parent clock
crumb_addr uint 0644 0 crumbs=2: physical address of the crumb page (outside kernel RAM)
crumb_phys uint 0444 0 physical address of the attached crumb page (read only, 0 = none)
crumbs int 0644 0 hang step markers: 0 off (default), 1 rmem page after the MDNS buffer, 2 page at crumb_addr
direct_mode int 0 (not in sysfs) 0 isp direct mode
fcrop_upscale_pct uint 0644 0 front crop: allowed MSCA upscale in percent (0 = none, capped at 100)
isp_bypass_graph int 0444 0 Enable the vendor ISP bypass graph (link config 1: raw RG12 frames from the VIC on frame channel 0) (default: 0)
isp_ch0_pre_dequeue_interrupt_process int 0 (not in sysfs) 0 isp pre dequeue interrupt process
isp_ch0_pre_dequeue_time int 0 (not in sysfs) 0 isp pre dequeue time, unit ms
isp_ch0_pre_dequeue_valid_lines int 0 (not in sysfs) 900 isp pre dequeue valid lines
isp_ch1_dequeue_delay_time int 0 (not in sysfs) 0 isp pre dequeue time, unit ms
isp_clk int 0 (not in sysfs) 153000000 isp clock freq
isp_clka int 0 (not in sysfs) 416000000 isp aclock freq
isp_day_night_switch_drop_frame_num int 0 (not in sysfs) 0 isp day night switch drop frame number
isp_memopt int 0 (not in sysfs) 0 isp memory optimize
isp_osd bool 0644 1 write ISP OSD pictures into the MSCA per frame (1, default) or only store them (0)
ivdc_mem_line int 0 (not in sysfs) 0 ivdc mem line
ivdc_threshold_line int 0 (not in sysfs) 0 ivdc threshold line
mask_commits uint 0444 0
mdns_ref_hold callback 0644 see source (callback) MDNS reference weight hold bitmask, default 0 = driver computed: 1 luma/chroma ref weight max (0x799c/0x7a6c), 2 fake/mv weight max, 4 r_max/r_min max
msca_fifo_rearm bool 0644 0 1: clear and refill a stopped channel's MSCA address FIFO at STREAMON (default 0 = stock, debug)
msca_flip_skip_noop bool 0644 1 1 (default): no MSCA update request for unchanged mirror/flip bits; 0 always (debug)
msca_flip_state callback 0444 see source (callback) read-only: flip done by sensor/ISP, bits 0 sensor_h, 1 sensor_v, 2 isp_h, 3 isp_v
msca_geom_rejects uint 0444 0 set-format / front crop requests refused for an MSCA geometry that stalls the output (read only)
msca_keep_enabled int 0644 2 STREAMOFF: 0 clear MSCA enable bit, 1 keep when the input stops too, 2 always keep (default, stock)
msca_rel_origin bool 0644 1 write the channel window origin relative to the global MSCA window
msca_releases uint 0444 0 MSCA outputs released at a tx-isp session start (read only)
msca_restart_skip bool 0644 1 1 (default): no MSCA reload on STREAMON of a still-enabled output with unchanged geometry; 0 reload (debug)
msca_scratch bool 0644 1 1 (default): STREAMOFF parks a kept MSCA output on a scratch area in the ISP buffer; 0 off (debug)
msca_scratch_bytes uint 0444 0 size of the MSCA scratch area (read only)
msca_scratch_deferred uint 0444 0 QBUFs of a parked channel held back until its STREAMON (read only)
msca_scratch_frames uint 0444 0 MSCA completions into the scratch area (read only)
msca_scratch_parks uint 0444 0 STREAMOFFs that parked the output on the scratch area (read only)
msca_scratch_phys uint 0444 0 physical address of the MSCA scratch area (read only, 0 = none)
msca_scratch_settle_ticks_max uint 0444 0 longest wait for parked scratch addresses before an input stop, 10 ms steps (read only)
msca_scratch_settle_timeouts uint 0444 0 input stops that found a scratch address still in an address FIFO after the wait (read only)
msca_scratch_skips uint 0444 0 STREAMOFFs that wanted to park but had no (large enough) scratch area (read only)
msca_session_release bool 0644 1 1 (default): tx-isp STREAMON with the input stopped switches off MSCA outputs left enabled and clears their FIFOs; 0 off (debug)
osd_busy_skips uint 0444 0
osd_commits uint 0444 0
print_level int 0 (not in sysfs) 1 isp print level
qbuf_cache_inv bool 0644 1 1 (default, stock): invalidate the buffer's cache lines at QBUF; 0 off (debug)
qbuf_guard bool 0644 1 Reject framechan QBUF buffers outside rmem (default 1)
snapraw_buffer_bytes uint 0444 4 * 1024 * 1024 bytes of DMA memory allocated per snapraw capture (lazily)
snapraw_phys_addr uint 0444 0 physical base of a caller-reserved snapraw DMA region
source_adr_dynamic bool 0644 0
source_adr_internal_enable bool 0644 0
source_adr_oem bool 0444 see source run the stock dynamic ADR and defog lifted from the OEM module (default 1); 0 = the static C ADR/defog
source_ae_compensation uint 0444 128
source_ae_force_packed uint 0644 0
source_ae_hlil bool 0644 1
source_ae_hlil_interval uint 0644 32
source_ae_hlil_luma uint 0444 0
source_ae_hlil_target uint 0644 60
source_ae_oem bool 0444 see source run the stock AE0 algorithm lifted from the OEM module (default 1); 0 = the HLIL AE substitute (needs reload)
source_ae_stats_init bool 0644 1
source_af bool 0444 see source T23 AF statistics chain of the stock module: AF block, interrupt and the GetAfHist/SetAfHist/GetAfWeight/SetAfWeight/GetAFMetrices/GetAfZone controls (default 1 = stock, 0 off)
source_awb_hlil bool 0644 1
source_awb_hlil_interval uint 0644 1 run the AWB on every Nth AWB statistics interrupt (default 1 = every one, like stock; 0 = every one)
source_awb_hlil_runs uint 0444 0
source_awb_hlil_status uint 0444 0
source_awb_hlil_updates uint 0444 0
source_awb_last_bgain uint 0444 0x858
source_awb_last_rgain uint 0444 0x820
source_awb_lum_th bool 0644 1 stock per-interrupt AWB luminance threshold 0xb038 from the AE mean (default 1); 0 = fixed startup value
source_bcsh_trace bool 0644 0
source_ccm_tuning_init bool 0644 1
source_core_bayer uint 0644 UINT_MAX T23 Bayer index override; 0xffffffff uses the media-bus code
source_core_tuning_path charp 0644 0 IQ file override; unset selects /etc/sensor/-t23.bin
source_defog_internal_enable bool 0644 0
source_gib_ir_value uint 0644 0
source_lsc_ct uint 0644 5000
source_lsc_initial_flip bool 0644 0
source_lsc_initial_mirror bool 0644 0
source_park_uninitialized_mdns bool 0644 0
source_sdns_internal_enable bool 0644 1
source_sdns_wdr bool 0644 0
source_sensor_fps uint 0644 0
source_sharpen_tuning_init bool 0644 1
source_total_gain_q16 uint 0644 0
t23_isr_enable callback 0644 see source (callback) ISP core interrupt enable word (0xb0); default masks the unused sources 12, 13, 16, stock is 0xffffffff
t23_runtime_trace int 0644 0 enable T23 informational driver logging (KERN_INFO and allow-listed progress notes), default 0

Bring-up build only: child_platforms, csi_rate_override, direct_csi_start, direct_enable_clks, direct_msca_cfg_load, direct_msca_qbuf, direct_msca_start, direct_sensor_stream, direct_tisp_stream_regs, direct_vic_start, enable_irqs_on_streamon, log_framechan_payloads, real_platforms, recovered_child_probes, sensor_i2c_adapter, source_adr_height, source_adr_initialized, source_adr_tuning_init, source_adr_width, source_ae_hlil_deadband, source_ae_hlil_drops, source_ae_hlil_ev, source_ae_hlil_fast_interval, source_ae_hlil_runs, source_ae_hlil_sat_permille, source_ae_hlil_state, source_ae_hlil_status, source_ae_hlil_updates, source_ae_stats_irqs, source_ae_stats_snapshots, source_awb_bootstrap_bgain, source_awb_bootstrap_rgain, source_awb_hlil_bg, source_awb_hlil_ct, source_awb_hlil_drops, source_awb_hlil_min_pixels, source_awb_hlil_rg, source_awb_last_mf_bg, source_awb_last_mf_rg, source_awb_profile_bbias, source_awb_profile_rbias, source_awb_static_init, source_awb_stats_init, source_awb_stats_irqs, source_awb_stats_processed_tap, source_awb_stats_snapshots, source_awb_stats_wide_thresholds, source_bcsh_ct_events, source_bcsh_ct_region, source_bcsh_ev_events, source_bcsh_events, source_bcsh_neutral, source_bcsh_runtime, source_bcsh_tuning_init, source_ccm_event_count, source_ccm_events, source_ccm_runtime_ct, source_clm_event_count, source_clm_events, source_clm_region, source_clm_runtime_ct, source_clm_startup_ct, source_clm_tuning_init, source_core_bypass, source_core_bypass_from_tuning, source_core_mode, source_core_start, source_csccr_init, source_csi_stream, source_defog_geometry_init, source_defog_geometry_runs, source_defog_height, source_defog_initialized, source_defog_tuning_init, source_defog_width, source_dmsc_sharpness, source_dmsc_tuning_init, source_dpc_tuning_init, source_frame_done, source_gamma_tuning_init, source_gib_tuning_init, source_lsc_event_count, source_lsc_events, source_lsc_gain_events, source_lsc_runtime_ct, source_lsc_tuning_init, source_mdns_gain_old, source_mdns_internal_enable, source_mdns_mode, source_mdns_paddr, source_mdns_restore_count, source_mdns_set_count, source_mdns_size, source_mdns_top_control, source_mdns_top_override, source_mdns_tuning_init, source_mdns_used, source_mdns_uv, source_msca_curves, source_msca_init, source_sdns_gain_old, source_sdns_tuning_init, source_sensor_stream, source_stock_stream_regs, source_vic_stream, source_wb_mode, source_ydns_tuning_init, text_watch, vic_irq_unmask_all.

T30

15 parameters in a default build, 0 more in a bring-up build.

Parameter Type Perm Default Description
isp_clk int 0 (not in sysfs) 90000000 isp core clock
isp_m1_bufs int 0 (not in sysfs) 2 isp m1 inter buffers
isp_m2_bufs int 0 (not in sysfs) 2 isp inter buffers
ispcrop int 0 (not in sysfs) 0 The function of isp's crop
ispcroptl int 0 (not in sysfs) 0 The begin point of isp's crop
ispcropwh int 0 (not in sysfs) 0 The size of isp's crop
isph int 0 (not in sysfs) 0 The height of isp's output
ispleft int 0 (not in sysfs) 0 The left of isp's output
ispscaler int 0 (not in sysfs) 0 The function of isp's crop
ispscalerwh int 0 (not in sysfs) 0 The size of isp's scaler
isptop int 0 (not in sysfs) 0 The top of isp's output
ispw int 0 (not in sysfs) 0 The width of isp's output
print_level int 0 (not in sysfs) 1 isp print level
simple_3a bool 0 (not in sysfs) 1 use the calibration-driven recovery AE/AWB path
simple_awb bool 0644 1 enable calibration-driven recovery AWB updates

T31

47 parameters in a default build, 0 more in a bring-up build.

Parameter Type Perm Default Description
ae_effect_frame_override uint 0644 0 Override sensor gain effect delay (0 = tuning, max 14 frames)
ae_fifo_depth_override uint 0644 0 Override the tuning binary's measured-luma FIFO depth (0 = tuning, max 15)
ae_freeze int 0644 0 Hold the current sensor exposure tuple (0 = auto, 1 = frozen)
ae_freeze_gain int 0644 0 Hold only the current sensor and ISP gain tuple (0 = auto, 1 = frozen)
ae_freeze_integration int 0644 0 Hold only the current sensor integration time (0 = auto, 1 = frozen)
ae_full_frame_mean int 0644 0 Use the unweighted full-frame AE mean instead of the OEM zone map
csi_dump_enable int 0444 0 Enable CSI periodic dump to /opt/csi.txt (0=off, 1=on)
csi_dump_interval_ms int 0444 1000 CSI dump interval in milliseconds
fcrop_upscale_pct uint 0644 100 front crop: allowed MSCA upscale in percent (default 100 = 2.0x like the vendor, 0 = none, capped at 100)
force_bypass_adr int 0644 0 Force ADR bypass (default: 0 — keep OEM ADR path live unless explicitly isolating it)
force_bypass_defog int 0644 0 Force Defog bypass (default: 0 — match the OEM T31 pipeline)
force_bypass_dpc int 0644 0 Force DPC (bit 2) bypass for AWB bisection
force_bypass_gib int 0644 0 Force GIB (bit 5) bypass (default: 0 — match the OEM T31 pipeline)
force_bypass_lsc int 0644 0 Force LSC bypass (bits 4 and 6) (default: 0 — use the sensor tuning mesh)
force_bypass_mdns int 0644 0 Force MDNS bypass (default: 0 — MDNS provides temporal denoise)
force_ccm_b int 0644 0x400 Forced CCM blue diagonal gain (0x400 = unity)
force_ccm_bg int 0644 0 Forced CCM blue-from-green coefficient (signed, 0x400 = unity)
force_ccm_br int 0644 0 Forced CCM blue-from-red coefficient (signed, 0x400 = unity)
force_ccm_g int 0644 0x400 Forced CCM green diagonal gain (0x400 = unity)
force_ccm_gb int 0644 0 Forced CCM green-from-blue coefficient (signed, 0x400 = unity)
force_ccm_gr int 0644 0 Forced CCM green-from-red coefficient (signed, 0x400 = unity)
force_ccm_r int 0644 0x400 Forced CCM red diagonal gain (0x400 = unity)
force_ccm_rb int 0644 0 Forced CCM red-from-blue coefficient (signed, 0x400 = unity)
force_ccm_rg int 0644 0 Forced CCM red-from-green coefficient (signed, 0x400 = unity)
force_identity_ccm int 0644 0 Force CCM output to the diagnostic matrix (defaults to identity; default: 0 keeps the OEM CCM path)
force_raw_correction_gain int 0644 -1 Override GIB/DPC gain for raw-correction diagnosis (-1: disabled)
isp_ae_log int 0644 0 Log per-frame AE diagnostics (0 = off, >= 2: AE_TRACE every N frames)
isp_bypass_all int 0644 0
isp_bypass_graph int 0444 0 Enable the vendor ISP bypass graph (link config 1: raw frames from the VIC on channel 0) (default: 0)
isp_bypass_override uint 0644 0
isp_ch0_pre_dequeue_interrupt_process int 0444 0 isp pre dequeue interrupt process
isp_ch0_pre_dequeue_time int 0444 0 isp pre dequeue time, unit ms
isp_ch0_pre_dequeue_valid_lines int 0444 0 isp pre dequeue valid lines
isp_ch1_dequeue_delay_time int 0444 0 isp pre dequeue time, unit ms
isp_clk int 0444 200000000 isp clock freq
isp_day_night_switch_drop_frame_num int 0444 0 isp day night switch drop frame number
isp_memopt int 0444 1 isp memory optimize, default 1 (0 = off)
msca_flip_state callback 0444 see source (callback) read-only: flip done by sensor/ISP, bits 0 sensor_h, 1 sensor_v, 2 isp_h, 3 isp_v
print_level int 0444 0x1 isp print level
qbuf_guard bool 0644 1 Reject framechan QBUF buffers outside rmem (default 1)
sensor_expo_catchups uint 0444 0 Exposure requests caught while an earlier sensor write was running
t31_awb_impl callback 0644 see source (callback) AWB CT detection: 0=reference C, 1=fast C, 2=MXU2 (default; after selftest, fast C otherwise), all bit-exact
t31_awb_selftest callback 0644 see source (callback) write 1: compare reference/fast/MXU2 AWB CT detection on random scenes and time them (dmesg)
t31_awb_selftest_state int 0444 see source 0 not run, 1 passed, -1 failed
t31_isr_enable callback 0644 see source (callback) ISP core interrupt enable word (0xb0); default masks the unused source 16, stock is 0xffffffff
t31_mxu2_cpm uint 0444 0 CPM 0x10000034 read by the selftest, information only; it is a clock/part register
t31_runtime_trace int 0644 0 enable T31 runtime informational logging

T32

35 parameters in a default build, 0 more in a bring-up build.

Parameter Type Perm Default Description
atlas_open int 0444 see source atlas open (accepted, unused)
bin_version charp 0444 "1.00" IQ bin format version the driver accepts
bringup_ae uint 0644 0 1: bring-up exposure controller (not the vendor AE), default 0
bringup_target uint 0644 64 bring-up controller target mean AE histogram bin (0..255)
clk_name charp 0444 see source chose parent clk
clka_name charp 0444 see source chose axi parent clk
clkl_name charp 0444 see source chose ldc parent clk
clks_name charp 0444 see source chose scaler parent clk
clkv_name charp 0444 see source chose vpu parent clk
direct_mode uint 0444 see source isp direct mode (1: channel 0 over the IVDC to the encoder)
driver_soc charp 0444 T32_SOC_NAME SoC name answered to DRIVER_VERSION
driver_version charp 0444 "20251107a" ISP driver version answered to DRIVER_VERSION (must match libimp)
isp_cache_line int 0444 see source isp cache line (accepted, unused)
isp_ch0_pre_dequeue_time int 0444 see source isp pre dequeue time, unit ms (accepted, unused)
isp_clk int 0444 see source isp clock freq
isp_clka int 0444 see source axi clock freq
isp_clkl int 0444 see source ldc clock freq
isp_clks int 0444 see source scaler clock freq
isp_clkv int 0444 see source vpu clock freq
isp_irq int 0444 8 + T32_IRQ_ISP_M0 Linux IRQ of the ISP core (INTC 29)
isp_memopt uint 0444 1500 MDNS memory ratio in 1/1000 (<=1000 uncompressed, max 2000)
ivdc_irq int 0444 8 + T32_IRQ_IVDC Linux IRQ of the IVDC (INTC 57)
ivdc_mem_line uint 0444 see source ivdc mem line
ivdc_mem_stride uint 0444 see source ivdc mem stride
ivdc_threshold_line uint 0444 see source ivdc threshold line
ldc_irq int 0444 8 + T32_IRQ_ISP_M1 Linux IRQ of the LDC (isp-m1, INTC 38)
listen_timeout_ms uint 0644 2000 LISTEN_BUF wait limit
lsc_ct uint 0644 5000 colour temperature for the LSC mesh at stream-on (vendor init: 5000)
print_level int 0644 1 isp_printf threshold: 0 info, 1 warning, 2 error
t32_isposd_trace uint 0644 0 1: log every ISP OSD request and every MSCA OSD commit
t32_ported_paths uint 0644 1 1 (default): every wired per-frame block on its ported path; 0: all on the old path; else bit mask, bit 1+n = block n (0 dmsc, 1 ysp, 2 cdns, 3 ydns, 4 sdns, 5 mdns, 6 dpc, 7 gi...
t32_trace int 0644 1 log every ioctl (S1 bring-up)
tisp_tgain uint 0644 0x10000 total gain handed to the per-frame refresh until the vendor AE runs (default 0x10000)
vic_irq int 0444 8 + T32_IRQ_VIC Linux IRQ of the VIC (INTC 30)
zeratul_open int 0444 see source zeratul open (accepted, unused)

T33

1 parameters in a default build, 0 more in a bring-up build.

Parameter Type Perm Default Description
aec_trace uint 0644 0 T33 AE: log the first N AE frames (debug), default 0

T40

269 parameters in a default build, 377 more in a bring-up build.

Parameter Type Perm Default Description
adr_main_init_stage_limit uint 0644 0
ae_isp_dgain_max uint 0644 4096
ae_max_again_from_sensor bool 0644 1
ae_sensor_apply_clear_dirty bool 0644 1
ae_sensor_apply_force_packed uint 0644 0
ae_sensor_apply_log_skips bool 0644 0
ae_sensor_apply_max_again_index uint 0644 400
ae_soft_max_it_from_sensor bool 0644 1
ae_soft_min_it_from_sensor bool 0644 1
ae_soft_target uint 0644 140
ae_soft_updates uint 0444 0
ae_target_comp uint 0444 128
ae_user_max_again_x1024 uint 0444 0
ae_user_max_isp_dgain_x1024 uint 0444 0
ae_user_max_it uint 0444 0
awb_grayworld_bbias uint 0644 1448
awb_grayworld_last_bgain uint 0444 0x666
awb_grayworld_last_rgain uint 0444 0x5a0
awb_grayworld_rbias uint 0644 1193
awb_main_init_stage_limit uint 0644 0
awb_manual_bgain uint 0644 0
awb_manual_rgain uint 0644 0
bcsh_brightness uint 0444 128
bcsh_contrast uint 0444 128
bcsh_ct uint 0644 6000
bcsh_ev uint 0644 400
bcsh_hue uint 0444 128
bcsh_mode uint 0644 2
bcsh_saturation uint 0644 128
bcsh_user_full bool 0644 1
blc_lit_gain uint 0644 212541
blc_lit_gain_now uint 0444 0
ccm_ct uint 0644 5000
ccm_ct_now uint 0444 0
ccm_ct_track bool 0644 1
ccm_ev uint 0644 400
ccm_ev_now uint 0444 0
clk_name charp 0 (not in sysfs) 0 chose parent clk
cnt_core_ops_init uint 0444 see source
cnt_main_long_tgain_update uint 0444 see source
cnt_sec_init uint 0444 see source
core_bayer_reg8_value uint 0644 0x10002
core_isr_frame_deliver_count uint 0444 0
csi_direct_stage_limit uint 0644 0
csi_settle_override uint 0644 0
dmsc_lit_gain uint 0644 212541
dmsc_lit_gain_now uint 0444 0
dmsc_stock_current_overlay bool 0644 1
dmsc_stock_high_gain_overlay bool 0644 0
dmsc_stock_overlay_mask uint 0644 0xf
dns_gain_ev uint 0644 0
enable_adr_process_work bool 0644 0
enable_adr_reg_writes bool 0644 1
enable_ae_sensor_apply bool 0644 0
enable_ae_soft bool 0644 0
enable_awb_grayworld bool 0644 0
enable_awb_reg_writes bool 0644 1
enable_awb_set_gain bool 0644 1
enable_bcsh bool 0644 0
enable_bcsh_static bool 0644 see source
enable_blc_lit bool 0644 0
enable_ccm bool 0644 0
enable_cdns bool 0644 0 CDNS chroma denoise (TOP bit 19): follows the bank flag like the OEM (set at bank apply); force on with t40_force_active bit 19 (0x80000), off with t40_force_bypass bit 19
enable_core_bayer_reg8 bool 0644 0
enable_core_ops_cb bool 0644 1
enable_core_top_sel_reg0c bool 0644 0
enable_dmsc_lit bool 0644 0
enable_dmsc_static bool 0644 1
enable_frame_3a bool 0644 0
enable_gib_blc bool 0644 0
enable_gib_lit bool 0644 0
enable_isp_3a_diag bool 0644 0
enable_isp_block_init bool 0644 0
enable_isp_block_init_ae bool 0644 0
enable_isp_block_init_awb bool 0644 0
enable_isp_stats_fanout bool 0644 0
enable_lsc_lit bool 0644 0
enable_mdns bool 0644 1
enable_msca_rearm_guard bool 0644 0
enable_msca_spare bool 0644 see source
enable_sdns bool 0644 0
enable_soft_gamma bool 0644 0
enable_t40_color_reg_snapshot bool 0644 0
enable_t40_msca_shadow_fifo_program bool 0644 0
enable_tisp_event_threads bool 0644 0
enable_tisp_main_init_csc_version bool 0644 0
enable_tisp_main_init_dma_kseg0 bool 0644 0
enable_tisp_main_init_event_init bool 0644 0
enable_tisp_main_init_scalar_regs bool 0644 0
enable_tisp_main_init_tispinfo_dma bool 0644 0
enable_tisp_main_init_tiziano bool 0644 0
enable_tisp_stream_event_cbs bool 0644 0
enable_tisp_stream_event_init bool 0644 0
enable_tisp_stream_regs_after_video bool 0644 0
enable_tisp_top_regs_final_reapply bool 0644 0
enable_tiziano_param_load bool 0644 1
enable_vic_mdma_qbuf_ring bool 0644 0
enable_ydns bool 0644 0
enable_ysp bool 0644 0
force_core_bayer_reg8_value bool 0644 0
force_local_frame_streamoff bool 0644 0
force_tisp_main_init_yuv_input_csc_version bool 0644 0
frame_3a_ch1_idle_ms uint 0644 300
frame_3a_ch1_samples uint 0444 0
frame_3a_completed_seq uint 0444 0
frame_3a_completed_uv_phys uint 0444 0
frame_3a_completed_y_phys uint 0444 0
frame_3a_interval uint 0644 3
frame_3a_samples uint 0444 0
frame_3a_slide_window bool 0644 1
frame_3a_work_runs uint 0444 see source
frame_awb_bggr_fast bool 0644 1
framechan_neutral_uv_channel_mask uint 0644 0x1U
framechan_neutral_uv_on_done bool 0644 0
framechan_neutral_uv_value uint 0644 0x80U
gib_blc_offset uint 0644 0x100
gib_lit_final_gain uint 0644 1261
gib_lit_gain uint 0644 212541
gib_lit_gain_now uint 0444 0
irq_frame_done_delay_ms uint 0644 0
irq_frame_done_require_content bool 0644 0
isp_block_init_adr_ret int 0444 0
isp_block_init_awb_ret int 0444 0
isp_block_init_count uint 0444 0
isp_block_init_ran bool 0444 0
isp_block_init_skip_no_blob uint 0444 0
isp_block_init_stage_limit uint 0644 0
isp_ch0_pre_dequeue_time int 0 (not in sysfs) 0 isp pre dequeue time, unit ms
isp_clk int 0 (not in sysfs) 200000000 isp clock freq
isp_dual_buf int 0 (not in sysfs) 65538 isp dual buff
isp_irq_frame_done_status0_mask uint 0644 0x1U
isp_memopt int 0 (not in sysfs) 0 isp memory optimize
isp_stats_fanout_adr_status0_mask uint 0644 0
isr_oem_hw_refresh int 0644 0 core IRQ frame-done: call tisp_hardware_reg_refresh() (OEM 0x7b138). default 0
lsc_lit_ct uint 0644 5000
lsc_lit_ct_cool_ct uint 0644 6500
lsc_lit_ct_cool_x uint 0644 730
lsc_lit_ct_now uint 0444 see source
lsc_lit_ct_track bool 0644 1
lsc_lit_ct_warm_ct uint 0644 3300
lsc_lit_ct_warm_x uint 0644 1074
lsc_lit_gain uint 0644 see source
mdns_buf_phys uint 0644 0
mdns_dbg_init_ret uint 0444 0xdeadbeefU
mdns_dbg_reg68 uint 0444 0
msca_rearm_guard_max_skips uint 0644 3
msca_spare_phys uint 0644 0x0c800000U
oem_event_pre_csi_delay_ms uint 0644 0
oem_event_pre_csi_stage_limit uint 0644 0
oem_event_pre_csi_stream bool 0644 0
panic_dump_phys uint 0644 0xe9f0000U
print_level int 0 (not in sysfs) 1 isp print level
proc_live_reads bool 0644 0
running_mode uint 0444 0
sensor_full_height_override uint 0644 0
sensor_full_width_override uint 0644 0
skip_tisp_deinit bool 0644 1
t40_adr_ev_shift int 0644 0
t40_adr_lowmem bool 0644 0
t40_adr_on bool 0644 1 1 (with t40_gates_oem_offset=1) runs the ADR chain and clears TOP bit 7 after a successful init (default 1)
t40_ae_af_enable bool 0644 1
t40_ae_af_night_bin bool 0644 1
t40_ae_af_step_now uint 0444 see source
t40_ae_api callback 0444 see source (callback)
t40_ae_dg_delay int 0644 -1
t40_ae_ev_push_fail uint 0444 see source
t40_ae_ev_pushes uint 0444 see source
t40_ae_ev_runs uint 0444 see source
t40_ae_every_frame uint 0644 1
t40_ae_fine_trim uint 0644 1
t40_ae_fine_trims uint 0444 0
t40_ae_ftrace callback 0644 see source (callback)
t40_ae_ftrace_dump callback 0444 see source (callback)
t40_ae_hi_thr uint 0644 0
t40_ae_irq_event uint 0644 1
t40_ae_isp_dgain_max_bin bool 0644 1
t40_ae_isp_dgain_max_now uint 0444 see source
t40_ae_max_again_index_eff uint 0444 0
t40_ae_oem_allocs uint 0444 0
t40_ae_oem_step uint 0644 1
t40_ae_oem_steps uint 0444 see source
t40_ae_only_runs uint 0444 see source
t40_ae_report_lag int 0644 -1
t40_ae_sensor_fd uint 0644 1
t40_ae_split_legacy uint 0644 0
t40_ae_split_moves uint 0444 see source
t40_ae_stats_src uint 0644 0
t40_ae_target_oem uint 0644 1
t40_ae_trade_sensor_gain bool 0644 1
t40_allow_antiflick bool 0644 1
t40_antiflick_hz uint 0644 see source
t40_awb_ctd bool 0644 see source
t40_az_live_max_w uint 0644 0
t40_bringup_profile bool 0644 1
t40_c2_flip uint 0644 0
t40_c2_state callback 0444 see source (callback)
t40_c2_stray uint 0644 0
t40_clm bool 0644 1 1 (default): CLM colour LUT (TOP bit 16) from the bank flag with the vendor CT follow-up like the OEM; 0: CLM bypassed
t40_core_fixup_shadow0 bool 0644 0
t40_csc_unsafe uint 0644 see source allow the lifted OEM CSC get/set (stack/bss overflow, debug only)
t40_defog_air_day bool 0644 1 defog: 1 (default, OEM-equal) air light curve + output range from the day bank in both modes, 0 = from the active bank
t40_defog_dn_cache_reset bool 0644 1 defog: 1 (default) drops the curve/transmission caches on a day/night refresh, 0 = OEM (old bank values stay cached)
t40_defog_dump callback 0444 see source (callback)
t40_defog_motion_var bool 0644 1 defog: 1 (default) motion weighting uses the variance over the 5x5 window, 0 = OEM (last cell only)
t40_defog_on bool 0644 1 1 (with t40_gates_oem_offset=1) runs the defog chain and clears TOP bit 11 after a successful init (default 1)
t40_defog_sum_air uint 0444 see source
t40_defog_sum_trans uint 0444 see source
t40_defog_trans_day bool 0644 1 defog: 1 (default, OEM-equal) transmission of luma >= 180 from the day bank, kept across EV/day-night changes; 0 = active bank for all luma
t40_defog_trans_reset_all bool 0644 1 defog: 1 (default) drops all 256 transmission cache entries on an EV/strength change, 0 = OEM (only 180)
t40_dmsc_day_follow bool 0644 1 1 (default): with t40_dmsc_follow the literal DMSC chain also runs in day mode (OEM behaviour); 0: static day DMSC block
t40_dmsc_day_restores uint 0444 0
t40_dmsc_follow bool 0644 1 1 (default): DMSC follows the active day/night bank and the total gain like the OEM (literal chain); 0 = old profile-1 behaviour (static DMSC)
t40_dn_keep_awb1 bool 0644 0 0 (default, #332): AWB1 (TOP bit 6) follows the bank like the vendor (TOP written before the AWB refresh at the switch); 1: keep AWB1 at the day-bank state at night (pre-#332)
t40_dn_top_first bool 0644 1
t40_dns_ev_boost uint 0644 0
t40_dpc_on bool 0644 1 1 (with t40_gates_oem_offset=1) runs the DPC chain and clears TOP bit 4 after a successful init (default 1)
t40_dqbuf_wait_ms uint 0644 0 frame channel DQBUF waits up to this many ms for a done frame (0 = return ENODATA at once)
t40_ev_follow bool 0644 1
t40_ev_now uint 0444 0
t40_exit_stats_off bool 0644 1 exit: also clear the AE/AWB statistics enables (0x19000/0x18000) before freeing their buffers
t40_force_active uint 0644 0x6020U
t40_force_bypass uint 0644 0x20000U
t40_gamma_ev bool 0644 1 T40: OEM gamma EV follow-up (bin strength nodes; 0 = fixed bin curve, the pre-#204 behaviour)
t40_gamma_ev_str uint 0444 255
t40_gamma_ev_writes uint 0444 0
t40_gamma_from_bin bool 0644 1
t40_gates_day_blc bool 0644 0
t40_gates_day_gib_blc uint 0644 0
t40_gates_oem_offset bool 0644 1 1 (default) reads the bin bypass flags at +0x00 for linear sensors like stock tisp_main_init; 0 = old profile behaviour (always +0x20, the WDR set)
t40_generic_profile bool 0644 0
t40_isr_ch1_direct bool 0644 1
t40_lce_on bool 0644 1 1 (with t40_gates_oem_offset=1) runs the LCE chain and clears TOP bit 21 after a successful init (default 1)
t40_ls_bench callback 0444 see source (callback)
t40_msca_fifo_addr_tag_mode uint 0644 0
t40_msca_vendor_fixups bool 0644 0
t40_nv12_height_align uint 0644 0
t40_profile_direct_vic_feed bool 0644 0
t40_profile_force_vic_mdma_qbuf_ring bool 0644 0
t40_profile_isp_irq_passthrough bool 0644 1
t40_profile_no_direct_addr_source uint 0644 0
t40_profile_no_direct_irq_defaults bool 0644 1
t40_quality_profile uint 0644 1
t40_quality_top40_override uint 0644 0
t40_release_reset_count uint 0444 0
t40_rmmod_skip_slake bool 0644 1
t40_runtime_trace int 0644 0 1 = log bring-up and progress notes (default 0: only warnings and errors)
t40_sensor_stream_off_on_stop bool 0644 1
t40_stock_host_init_mask uint 0644 0
t40_tisp_par int 0444 0 1 enables /dev/tisp parameter get/set (debug build only, needs CAP_SYS_RAWIO)
t40_tisp_stream_vendor bool 0644 0
t40_tuning_bin_path charp 0644 0
t40_vawb_diag callback 0444 see source (callback)
t40_vawb_faults uint 0444 0
t40_vawb_frames uint 0444 see source
t40_vawb_loop_trips uint 0444 see source
t40_vawb_tbuf callback 0444 see source (callback)
t40_ysp_on bool 0644 1 1 lets the bin gates enable YSP (sharpening) despite t40_force_bypass bit 17; active only after a successful init (default 1)
tisp_main_init_csc_version_value uint 0644 2
tisp_main_init_reg88_override uint 0644 0xffffffffU
tisp_main_init_top40_value uint 0644 0x7fffeeff
unresolved_jalr_count uint 0444 0
vic_mdma_qbuf_ring_ctrl_value uint 0644 0
vic_mdma_qbuf_ring_stride_override uint 0644 0
vic_mdma_qbuf_ring_uv_offset_override uint 0644 0
ysp_gain_ev uint 0644 0
ysp_gain_ev_now uint 0444 0
ysp_init_ret int 0444 -1
ysp_refresh_blocked uint 0444 0
ysp_refresh_count uint 0444 0

Bring-up build only: activate_core_clk_mask, activate_core_direct, activate_core_probe_clk_mask, activate_core_probe_state, activate_core_state_only, adr_forced_blocked, adr_main_init_direct_count, adr_main_init_direct_ret, adr_main_init_direct_stage, ae_isp_dgain_cur, ae_isp_dgain_updates, ae_soft_cur_again, ae_soft_cur_it, ae_soft_hyst, ae_soft_last_mean, ae_soft_max_it, ae_soft_min_it, awb_control_frozen, awb_control_mode, awb_grayworld_interval, awb_grayworld_irqs, awb_grayworld_updates, cdns_dbg_init_ret, cdns_gain_now, cdns_init_count, cdns_refresh_count, cdns_skip_count, cdns_thresh, core_dqbuf_enodata_count, core_irq_cfg0_value, core_irq_cfg1_value, core_irq_errmask0_value, core_irq_errmask1_value, core_irq_fd_enodata_count, core_irq_mask0_value, core_irq_mask1_value, core_isr_frame_deliver_last_ret, core_isr_oem_frame_event, core_leg_a_iter_count, core_leg_b_iter_count, core_msca_fifo_write_count, core_ops_cb_call_count, core_ops_cb_core_off, core_ops_cb_core_path_count, core_ops_cb_core_skip, core_ops_cb_fire_gate, core_ops_cb_fire_require_pending, core_ops_cb_first_cb, core_ops_cb_first_dev, core_ops_cb_first_sec0, core_ops_cb_first_status0, core_ops_cb_first_status1, core_ops_cb_first_walk_index, core_ops_cb_first_who, core_ops_cb_gate_bypass_count, core_ops_cb_gate_skip_count, core_ops_cb_gate_skip_nocore_count, core_ops_cb_gate_skip_nopending_count, core_ops_cb_jiffy_calls, core_ops_cb_jiffy_calls_max, core_ops_cb_last_cb, core_ops_cb_last_dev, core_ops_cb_last_irq, core_ops_cb_last_is_core, core_ops_cb_last_pending, core_ops_cb_last_ret, core_ops_cb_last_sec_status0, core_ops_cb_last_status0, core_ops_cb_last_status1, core_ops_cb_max_per_jiffy, core_ops_cb_slot_mask, core_ops_cb_slot_skip, core_ops_cb_storm_count, core_ops_cb_storm_reset, core_ops_cb_storm_tripped, core_ops_cb_walk_index, core_ops_cb_walk_mask, core_ops_cb_walk_path_count, core_ops_cb_walk_skip, core_start_mode_804_value, day_awb_bgain, day_awb_rgain, delegate_framechan_ioctl, delegate_tx_isp_ioctl, disable_dmsc_lit, dmsc_sharpness, dns_ev_applied, enable_core_event_gate_1700c, enable_core_event_oem_state_sequence, enable_core_event_state_2_before_boot, enable_core_event_state_3, enable_core_event_state_4, enable_core_event_tisp_main_init, enable_core_irq_after_video, enable_core_irq_oem_enable_path, enable_core_irq_on_stream, enable_core_start_800, enable_core_system_reg_write, enable_framechan_wait_irq_done, enable_framechan_wait_msca_poll, enable_irq_frame_done_event, enable_isp_irq_ack_only, enable_isp_irq_post_dispatch_ack, enable_msca_cfg_load_pulse, enable_proc_jz_sensor_read, enable_t40_msca_cfg_after_video, enable_t40_msca_cfg_on_set_fmt, enable_t40_msca_cfg_program, enable_t40_msca_oem_cfg_load, enable_t40_msca_scaler_level_control, enable_t40_msca_shadow_commit, enable_t40_msca_shadow_kick_834, enable_tisp_desc_oem_fill, enable_tisp_ipc_oem_gate, enable_tisp_ipc_trigger, enable_tisp_ipc_trigger_1000, enable_tisp_ipc_trigger_1004, enable_tisp_main_init_dma_regs, enable_tisp_main_init_msca_oem_order, enable_tisp_main_init_param_alloc, enable_tisp_main_init_scalar_regs_after_video, enable_tisp_main_init_sensor_init, enable_tisp_main_init_size_reg, enable_tisp_main_init_state, enable_tisp_main_init_tail_regs, enable_tisp_main_init_yuv_input_csc_version, enable_tisp_process_init, enable_tisp_stream_event_cbs_before_1008, enable_tisp_stream_on, enable_tisp_stream_preamble_regs, enable_tisp_stream_reg_1008_286, enable_tisp_stream_reg_1008_value, enable_tisp_stream_reg_1010_zero, enable_tisp_stream_reg_1014_zero, enable_tisp_stream_regs, enable_tisp_stream_setup_regs, enable_tisp_stream_start_1060, enable_vic_irq_ack_filter, enable_vic_mdma_internal_ring, enable_vic_mdma_kick_370, enable_vic_mdma_no_ring, enable_vic_mdma_qbuf_rearm_irq, flight_recorder, fr2_capture, fr2_ev_seq, fr2_open_seq, fr2_reg_seq, frame_3a_highlight_level, frame_3a_highlight_limit_permille, frame_3a_last_highlight_permille, frame_3a_last_luma, frame_3a_last_u, frame_3a_last_v, frame_3a_target, frame_3a_window_misses, frame_3a_work_busy, frame_awb_hyst, frame_awb_target, framechan_dma_sync_dqbuf, framechan_dma_sync_dqbuf_dir, framechan_dma_sync_qbuf, framechan_dma_sync_qbuf_dir, framechan_repair_dqbuf, framechan_wait_irq_timeout_ms, framechan_wait_msca_timeout_ms, gib_lit_bayer_now, gib_lit_dgain01_now, gib_lit_dgain23_now, gib_lit_dgain_shift_now, gib_lit_map_now, irq_frame_done_active_fallback, irq_frame_done_addr_source, irq_frame_done_channel_mask, irq_frame_done_count_only, irq_frame_done_defer, irq_frame_done_defer_fifo_read, irq_frame_done_delivery_mode, irq_frame_done_dry_run, irq_frame_done_event_limit, irq_frame_done_local_match_buf, irq_frame_done_local_touch_buf, irq_frame_done_min_change_words, irq_frame_done_min_nonzero_words, irq_frame_done_require_active, irq_frame_done_require_fifo, irq_frame_done_source_mask, irq_func_cb_bank2_dispatch_count, irq_func_cb_bank2_null_count, irq_func_cb_bank2_tested_count, irq_func_cb_dispatch_count, irq_func_cb_frame_calls, irq_func_cb_frame_count, irq_func_cb_last_actual_index, irq_func_cb_last_bank, irq_func_cb_last_frame_calls, irq_func_cb_last_frame_primary_mask, irq_func_cb_last_frame_secondary_mask, irq_func_cb_last_frame_slots0, irq_func_cb_last_frame_slots1, irq_func_cb_last_frame_slots2, irq_func_cb_last_slot, irq_func_cb_last_slot_valid, irq_func_cb_log_count, irq_func_cb_null_count, irq_func_cb_oob_count, irq_func_cb_stride_mismatch_count, irq_func_cb_tested_count, isp_block_init_ae_ret, isp_irq_ack_only_disable_after, isp_irq_frame_done_sec_status0_mask, isp_irq_frame_done_status1_mask, isr_drain_diag, isr_oem_hw_refresh_count, isr_oem_hw_refresh_out, isr_oem_hw_refresh_ret, isr_oem_state744, isr_oem_state764, isr_oem_state_load, isr_oem_state_load_bad, isr_oem_state_load_count, isr_spin_bail_count, isr_spin_budget, isr_tail_poll, isr_tail_poll_count, isr_wlut_trace, lsc_lit_ct_max, lsc_lit_ct_min, mdns_buf_size, msca_cfg_direct_count, msca_cfg_direct_last_ret, msca_kick834_count, msca_kick834_last_value, msca_peek, msca_peek_groups, panic_dump_enable, panic_dump_logbuf_len, panic_dump_logbuf_ptr, rmem_base_now, rmem_size_now, sensor_fps_packed, sensor_i2c_adapter_fallback, skip_core_mmio_writes, skip_csi_stream, skip_legacy_msca_attr, skip_sensor_core_init, skip_sensor_video_stream, skip_tisp_channel_start, skip_vic_irq_enable, skip_vic_mdma_writes, skip_vic_mipi_start, skip_vic_stream, t40_ae_diag, t40_ae_force_auto, t40_ae_limits, t40_ae_par_calc, t40_ae_par_calc_count, t40_ae_sensor_alloc_again, t40_awb_proc_stages, t40_awb_spec_regs, t40_awb_stats_ped, t40_awb_stats_ped_now, t40_awb_step, t40_awb_tgain_last, t40_az_deferred, t40_az_failed, t40_az_live, t40_az_live_max_h, t40_az_stored, t40_bayer_oem_mapper_check, t40_core_fixup_40, t40_core_fixup_88, t40_ct_lsc_writes, t40_ct_update, t40_dn_event_last_ret, t40_dn_event_runs, t40_ev_cur, t40_ev_cur_n, t40_exit_vic_reset, t40_fr_big, t40_fr_regs, t40_gates_awb, t40_gates_keep_blc, t40_gates_offset_now, t40_gates_reg6c, t40_gates_reg6c_value, t40_gates_reg6c_writes, t40_gib_again_calls, t40_gib_blc_delta, t40_gib_dgain_calls, t40_gib_dgain_last, t40_gib_dgain_last_in, t40_gib_dgain_ok, t40_gib_force_init, t40_gib_init_calls, t40_gib_init_ret, t40_gib_oem_active, t40_gib_real, t40_gib_status_word, t40_isr_ch1_irq, t40_isr_ch1_pop, t40_loopguard, t40_msca_cfg_1602c_value, t40_msca_cfg_direct, t40_msca_ch1_kick, t40_msca_clear_load_after_program, t40_msca_coeff_override, t40_msca_fifo_addr_tag_write, t40_msca_fifo_ch0_uv_ctrl, t40_msca_fifo_ch0_y_ctrl, t40_msca_fifo_ch1_uv_ctrl, t40_msca_fifo_ch1_y_ctrl, t40_msca_fifo_ch2_uv_ctrl, t40_msca_fifo_ch2_y_ctrl, t40_msca_fifo_ctrl_after_qbuf, t40_msca_fifo_ctrl_on_qbuf, t40_msca_fifo_ctrl_on_set_fmt, t40_msca_late_work_en, t40_msca_oem_1602c, t40_msca_oem_coeffs, t40_msca_oem_stop, t40_msca_oem_stop_count, t40_msca_rewrite_coeffs_late, t40_msca_rewrite_full_size_late, t40_msca_scale_active_only, t40_msca_scaler_level, t40_msca_shadow_cmd_mask, t40_msca_shadow_kick_reg, t40_msca_shadow_kick_value, t40_msca_shadow_write_load_mask, t40_msca_vendor_fixups_2c, t40_msca_work_cfg_override, t40_msca_work_en_dma_bits, t40_msca_work_en_dma_mask, t40_msca_work_handshake, t40_quality_raw_init, t40_release_reset, t40_release_reset_last_ack, t40_tuning_bcsh_bypass_now, t40_tuning_blc_bypass_now, t40_tuning_gib_bypass_now, t40_tuning_lsc_bypass_now, t40_tuning_top_flags_now, t40_vawb_ct, t40_vawb_debug, t40_vawb_dump_req, t40_vawb_ev, t40_vawb_loop_pc, t40_vawb_run, t40_vawb_trace, t40_vendor_expo_count, t40_vendor_expo_last_ret, t40_vendor_it_default, t40_vic_frame_output, t40_vic_frame_output_msca_ctrl, t40_vic_frame_output_msca_ctrl2, t40_vic_frame_output_msca_e0_clear, t40_vic_frame_output_msca_word74, t40_vic_frame_output_msca_word8c, t40_vic_frame_output_msca_words, t40_vic_frame_output_msca_work28, t40_worker_stat, tisp_ipc_1000_delay_ms, tisp_main_init_reg20_value, tisp_main_init_reg48_value, tisp_main_init_reg60_value, tisp_main_init_reg6c_value, tisp_stream_reg_1008_offset, tisp_stream_reg_1008_value, trace_core_top_writes, vendor_per_frame, vic_mdma_internal_channel_mask, vic_mdma_internal_count, vic_mdma_internal_fmt, vic_mdma_internal_layout, vic_mdma_internal_phys_base, vic_mdma_internal_size, ysp_ev_applied.

T41

173 parameters in a default build, 81 more in a bring-up build.

Parameter Type Perm Default Description
af_bad_index uint 0444 0
af_irqs uint 0444 0
af_live int 0444 0
af_runs uint 0444 0
awb_diag_bgain uint 0444 0
awb_diag_change uint 0444 0
awb_diag_ct_cal uint 0444 0
awb_diag_frz uint 0444 0
awb_diag_frz_th uint 0444 0
awb_diag_mode uint 0444 0
awb_diag_rgain uint 0444 0
awb_dump_req uint 0644 0
clk_name charp 0 (not in sysfs) "vpll" select the isp parent clock
clka_name charp 0 (not in sysfs) "sclka" select the axi bus parent clock
clks_name charp 0 (not in sysfs) "sclka" select the scaler parent clock
csc_latch_skipped uint 0444 0
csc_latches uint 0444 0
defog_evs uint 0444 see source
defog_frames uint 0444 see source
defog_irqs uint 0444 see source
defog_live uint 0444 0
direct_mode int 0 (not in sysfs) 0 isp direct mode
draw_commits uint 0444 0
heap_decoy_hits uint 0444 0
heap_watch_hits uint 0444 0
irq_func_cb_rejects uint 0444 0
isp_bypass_graph int 0444 0 Enable the VIC MDMA raw-capture bypass graph (default: 0)
isp_ch0_pre_dequeue_time int 0 (not in sysfs) 0 isp pre dequeue time, unit ms
isp_clk int 0 (not in sysfs) 300000000 isp clock freq
isp_clka int 0 (not in sysfs) 550000000 isp axi bus clock freq (default 550 MHz, clamped to <= 550 MHz)
isp_clks int 0 (not in sysfs) 550000000 isp scaler clock freq
isp_memopt int 0 (not in sysfs) 1 isp memory optimize
ivdc_mem_line int 0 (not in sysfs) 0 ivdc mem line
ivdc_threshold_line int 0 (not in sysfs) 0 ivdc threshold line
mdns_ref_hold uint 0644 0 bit 0: the MDNS writer keeps the reference fields at 0xff (OpenIMP test pattern mode 5; default 0)
msca_ctl_deferred uint 0444 0
msca_ctl_failed uint 0444 0
msca_ctl_live uint 0444 0
msca_fmt_refused uint 0444 0
msca_frame_enables uint 0444 0
msca_latch_timeouts uint 0444 0
msca_latch_wait_max_us uint 0444 0
msca_live_disables uint 0444 0
msca_start_latches uint 0444 0
osd_commits uint 0444 0
print_level int 0 (not in sysfs) 1 isp print level
proc_watch_hits uint 0444 0
proc_watch_rb_hits uint 0444 0
qbuf_guard bool 0644 1 Reject framechan QBUF buffers outside rmem (default 1)
t41_adr_bad_dma uint 0444 see source
t41_adr_bypass int 0444 -1 ADR bypass policy: -1 follows calibration (default), 0 enables, 1 bypasses; boot-only diagnostic
t41_adr_dropped uint 0444 see source
t41_adr_error int 0444 -ENODEV
t41_adr_frames uint 0444 ~0, t41_adr_dropped = ~0
t41_adr_interval uint 0644 1 evaluate ADR every n-th frame (1=every frame, stock)
t41_adr_irqs uint 0444 ~0, t41_adr_bad_dma = ~0
t41_adr_stage uint 0444 ~0, t41_adr_tile = ~0
t41_adr_tile uint 0444 see source
t41_ae_calibrated_target uint 0444 0x80000000U
t41_ae_diag uint 0644 0 safe AE: log every sensor write (1)
t41_ae_meter_error int 0444 -EAGAIN
t41_ae_meter_stage uint 0444 0 safe AE meter: last stage reached (1 static 2 mean 3 tables 4 target-fail 5 ok)
t41_ae_roi_stats int 0644 1 copy the ROI-window AE statistics per frame for the face AE (default 1; 0 = off)
t41_ae_zone_mean uint 0444 0x80000000U
t41_af int 0444 0 1 = arm the AF statistics block at ISP init (OEM tisp_af path: 0x1a000, IRQ bit 6, 4 x 4 KB DMA ring) and serve GetAfStatistics/GetAFMetricesInfo; 0 = AF off, both answer EPERM ...
t41_ccm_ct uint 0444 5000
t41_checkpoint_ms uint 0 (not in sysfs) 0 diagnostic delay after each TISP init checkpoint
t41_checkpoint_start uint 0 (not in sysfs) 0 first zero-based TISP init checkpoint to delay
t41_clm uint 0444 1 CLM: 0 no LUT (old), 1 OEM LUT by CT (default), 2 bypass
t41_clm_ct_last uint 0444 0
t41_clm_writes uint 0444 0
t41_defer_video_link_setup int 0644 -1 defer video-pad graph mutation while isolating enable-time corruption
t41_defog uint 0444 1 defog: 1 = OEM defog chain (default, registers equal the vendor), 0 = block kept in bypass
t41_dmsc_error int 0444 -ENODEV
t41_dmsc_gain uint 0444 ~0
t41_dn_apply_ae_irq int 0644 1 1 = additionally step the day/night transition from the per-frame AE statistics interrupt while no frame-completion interrupt has arrived for 250 ms (idle camera without a consu...
t41_dn_bank int 0644 0x3ffff night/day parameter bank switch steps (bit0 copy, 1 awb, 2 lsc, 3 adr, 4 dmsc, 5 gamma, 6 ccm, 7 bcsh, 8 clm, 9 ysp, 10 mdns, 11 ydns, 12 cdns, 13 sdns, 14 lce, 15 dpc, 16 tmo, ...
t41_dn_bank_count uint 0444 0
t41_dn_bank_ret int 0444 0
t41_dn_top int 0644 1 apply the night/day bank TOP module bypass on a running-mode switch (1 = like stock)
t41_dn_top_last uint 0444 0
t41_dpc_error int 0444 -ENODEV
t41_dpc_gain uint 0444 ~0
t41_fr_phys uint 0644 0
t41_heap_census callback 0444 see source (callback)
t41_heap_decoys int 0444 0
t41_heap_watch int 0444 0
t41_isp_wq int 0444 1 1=own ordered workqueue for AWB/tone work (stock isp_fw_process), 0=system_wq
t41_isr_bits uint &t41_isr_bits_num 0
t41_isr_calls uint &t41_isr_calls_num 0
t41_isr_counts uint NULL 0 per-index irq_func_cb call counters (hard-wired ISR list)
t41_isr_dispatch callback 0644 see source (callback) ISP IRQ dispatch: 0 hard-wired, 1 OEM-style table loop, 2 count-only probe
t41_isr_dispatch_skip uint NULL { (1u << 3) / (1u << 9), 1u << (61 - 32), 0 }
t41_isr_enable callback 0644 see source (callback) ISP IRQ enable words 0x40020,0x40060,0x400a0,0x400b0 (default: all but AF bit 6, all, LSC/BCSH frame-down bits 4+20, 0x3f; stock is all, all, all, 0x3f)
t41_isr_framedown bool 0644 1 call the OEM LSC/BCSH frame-down callbacks (irq_func_cb[36]/[52]) from the ISR (default 1)
t41_isr_max_us ullong 0444 0
t41_isr_us ullong 0444 0
t41_late_start_mask uint 0 (not in sysfs) 63 capture producers to activate after connected frame-channel stream-on
t41_lce_error int 0444 -ENODEV
t41_lce_frames uint 0444 ~0
t41_lce_gain uint 0444 ~0
t41_load_stats int 0644 1 count ISR status bits and time per-frame work (1=on)
t41_lsc_ct uint 0444 see source
t41_lsc_error int 0444 -ENODEV
t41_lsc_gain uint 0444 see source
t41_lsc_updates uint 0444 ~0, t41_lsc_applied_ct = ~0, t41_lsc_applied_gain = ~0
t41_msca_cfg_update int 0644 2 2 (default) latches MSCA output geometry with the output off (needs t41_msca_stop_disable=1); 1 latches after enable; 0 never latches
t41_msca_ch1_max_h uint 0644 1080 largest ch1 height SET_FMT accepts with t41_msca_cfg_update>=2 (0 = no limit)
t41_msca_ch1_max_w uint 0644 1920 largest ch1 width SET_FMT accepts with t41_msca_cfg_update>=2 (0 = no limit)
t41_msca_enable_at_frame int 0644 0
t41_msca_fifo_ctrl_after_live_qbuf int 0 (not in sysfs) 1 negative enables T40-style control after live MSCA QBUF (default off)
t41_msca_flip_skip_noop int 0644 1 1 (default) skips the MSCA update request when HVFLIP bits are unchanged
t41_msca_freebufs_fifo_clear int 0644 0
t41_msca_latch_timeout_ms int 0644 300
t41_msca_live_max_h uint 0644 1080 largest output height AutoZoom/Mask/ScalerLv reprogram while streaming
t41_msca_live_max_w uint 0644 1920 largest output width AutoZoom/Mask/ScalerLv reprogram while streaming (needs t41_msca_cfg_update=2)
t41_msca_regs callback 0444 see source (callback)
t41_msca_stop_disable int 0644 1
t41_native_awb_dropped uint 0444 see source
t41_native_awb_error int 0444 -ENODEV
t41_native_awb_frames uint 0444 ~0, t41_native_awb_dropped = ~0
t41_proc_watch int 0444 1 Watch (report only, no restore) the /proc/jz/isp entries every 50 ms (default 1)
t41_raw_diag uint 0644 see source
t41_raw_disable_ms uint 0644 1000 RAW ring disable: max wait for an RDMA frame done in ms (default 1000; 0 = vendor, no limit)
t41_raw_irq bool 0644 1 call the RAW WDMA/RDMA frame-done callbacks (irq_func_cb[68]/[69]) from the ISR (default 1)
t41_raw_ring bool 0644 1 serve the RAW ring controls 0x80000a7/0x80000a8 of IMP_ISP_RAW_RwControl (default 1; 0 answers -EPERM)
t41_raw_sync int 0644 1 RAW ring: write back the frame from the CPU cache before the RDMA reads it (default 1)
t41_raw_trace int 0644 0 log the first N RAW ring control/get/set calls (default 0)
t41_rawinject_mb uint 0444 10 << 20
t41_reboot_quiesce bool 0644 1 stop and soft-reset the ISP bus master before restart/halt (default 1)
t41_runtime_trace int 0644 0 enable verbose T41 frame/remote-event/IRQ recovery tracing
t41_safe_ae_effective_target_q8 uint 0444 ~0 current attenuation-adjusted safe-AE target in Q8 units
t41_safe_awb_controller callback 0644 see source (callback) negative enables and rearms the workqueue-backed T41 AWB DMA controller
t41_stock_awb_stats_profile int 0644 -1 nonpositive reapplies calibration-driven AWB setup after stream reset (legacy name)
t41_stock_dpc_profile int 0644 -1 nonpositive reapplies calibration-driven DPC after stream reset (legacy name)
t41_stock_lce_ram_profile int 0644 -1 nonpositive enables calibrated histogram-driven LCE (legacy name)
t41_stock_msca_unity_curve int 0644 -1 Commit exact-stock ratio-specific MSCA curves through shadow RAM (negative=enabled)
t41_tmo_map_impl int 0644 2 local TMO map: 0=reference C, 1=fast C, 2=MXU3 (default; fast C where the CPU has no MXU3), all bit-exact
t41_tmo_map_interval uint 0644 1 recompute the local TMO map every n-th frame (1=every frame, stock)
t41_tmo_map_selftest callback 0644 see source (callback) write 1: compare MXU3/fast/reference TMO map on random inputs (dmesg)
t41_tmo_map_trigger callback 0644 see source (callback) Diagnostic scalar TMO: positive EV processes current DMA, zero bypasses
t41_tmo_on_change int 0644 0 1=TMO gain/EV interpolation and default registers only on change (stock-like)
t41_tmo_ram_fast int 0644 0 1=write TMO RAM data words without a barrier per store (stock-like)
t41_tone_trigger int 0644 1 1 also runs the per-frame tone worker from the AE statistics interrupt (default 1; 0: TMO interrupt only)
t41_vae_events uint 0644 0 vendor AE: forward OEM AE event ids (bitmask, default 0)
t41_vendor_ae int 0444 1 run the translated vendor AE per frame (default 1; 0 = safe AE controller)
t41_video_link_dry_run int 0644 -1 resolve and inspect video-pad links without mutating pad state
t41_wdr_fusion_unsafe int 0444 0 Run the unrecovered WDR fusion body (unsafe, default 0)
t41_work_count uint &t41_work_num 0
t41_work_max_us uint &t41_work_num 0
t41_work_us uint &t41_work_num 0
tmo_again_commits uint 0444 0
tmo_irq17 uint 0444 0
tmo_live int 0444 see source
tmo_ready int 0444 see source
tone_ev uint 0444 0
tone_gated uint 0444 0
tone_kicks uint 0444 0
tx_isp_bringup_level int 0 (not in sysfs) 3 bring-up gate: -1 exports only, 0 shallow, 1 graph, 2 mem, 3 core tuning (default)
tx_isp_core_ioctl_mask int 0 (not in sysfs) 0 isp ioctl calls mask
unresolved_jalr_count uint 0444 0
v4l2_autostart bool 0644 1 start the configured sensor when V4L2 is the first ISP consumer
v4l2_channel uint 0444 0 first frame-source channel registered through V4L2 (all three exported)
v4l2_sensor_default_boot int 0644 0 sensor default boot mode
v4l2_sensor_i2c_adapter int 0644 0 sensor I2C adapter number
v4l2_sensor_i2c_addr uint 0644 0x3c 7-bit sensor I2C address
v4l2_sensor_id uint 0644 0 optional sensor instance identifier
v4l2_sensor_mclk int 0644 1 sensor master-clock selector
v4l2_sensor_name charp 0644 "os04d10" sensor driver name used by V4L2 autostart
v4l2_sensor_power_down_gpio int 0644 -1 sensor power-down GPIO (-1 disables)
v4l2_sensor_power_gpio int 0644 -1 sensor power GPIO (-1 disables)
v4l2_sensor_reset_gpio int 0644 -1 sensor reset GPIO (-1 disables)
v4l2_sensor_video_interface int 0644 0 sensor video input interface

Bring-up build only: t41_ae_calibrated_metering, t41_ae_cap_again, t41_ae_cap_integration, t41_ae_comp, t41_ae_flicker_ceiling_lines, t41_ae_flicker_floor_lines, t41_ae_flicker_frequency_hz, t41_ae_flicker_gib_gain_q10, t41_ae_flicker_profile, t41_ae_target_q8, t41_ae_update_frames, t41_awb_gain_trigger, t41_awb_min_pixels, t41_awb_min_zones, t41_awb_update_irqs, t41_awb_warmup_irqs, t41_bcsh_color_model, t41_bcsh_error, t41_ccm_error, t41_cdns_error, t41_cdns_gain, t41_color_blue_correction_q10, t41_color_green_correction_q10, t41_defer_csi_start, t41_defer_isp_fw_thread, t41_defer_isp_start, t41_defer_sensor_start, t41_defer_vic_irq, t41_defer_vic_start, t41_ev_fanout_trigger, t41_gain_fanout_trigger, t41_gamma_error, t41_gamma_ev, t41_gamma_strength_value, t41_gamma_updates, t41_mdns_error, t41_mdns_gain, t41_msca_frame_shadow_commit, t41_native_awb, t41_safe_ae_again, t41_safe_ae_controller, t41_safe_ae_gain_q16, t41_safe_ae_integration, t41_safe_ae_last_mean_q8, t41_safe_awb_bank, t41_safe_awb_bgain, t41_safe_awb_irq_count, t41_safe_awb_raw_b_q10, t41_safe_awb_raw_r_q10, t41_safe_awb_reject_count, t41_safe_awb_rgain, t41_safe_awb_update_count, t41_safe_ev_fanout_mask, t41_safe_gain_fanout_mask, t41_safe_msca_start, t41_safe_tisp_teardown, t41_safe_tmo_irq_stats, t41_safe_tuning_events, t41_sdns_error, t41_sdns_gain, t41_sensor_limits_error, t41_stat_y_out, t41_stock_adr_profile, t41_stock_awb_gain_a, t41_stock_awb_gain_b, t41_stock_cdns_profile, t41_stock_dmsc_profile, t41_stock_mdns_profile, t41_stock_spatial_profile, t41_stock_tmo_profile, t41_stock_ysp_profile, t41_stock_ysp_unbypass, t41_tmo_dropped, t41_tmo_error, t41_tmo_frames, t41_tmo_replay_trigger, t41_vic_frame_sync_work, t41_ydns_error, t41_ydns_gain, t41_ysp_error, t41_ysp_gain.

Shared code (all SoCs)

27 parameters in a default build, 0 more in a bring-up build.

Parameter Type Perm Default Description
adr_info_addr ulong 0400 0
ae_info_addr ulong 0400 0
awb_info_addr ulong 0400 0
core_only bool 0644 0
dmsc_info_addr ulong 0400 0
gamma_info_addr ulong 0400 0
gib_info_addr ulong 0400 0
interval_ms uint 0644 1000
lce_info_addr ulong 0400 0
lsc_info_addr ulong 0400 0
memory_addr ulong 0400 0
memory_symbol charp 0400 0
memory_words uint 0400 0
msca_hardpar_addr ulong 0400 0
msca_info_addr ulong 0400 0
mscaler_addr ulong 0400 0
quality_only bool 0644 0
sequence_mode bool 0644 0
snapshot_only bool 0644 0
stat_y_out_addr ulong 0400 0
system_reg_read_addr ulong 0400 0
t31_ae_only bool 0644 0
t31_front_only bool 0644 0
t31_gib_only bool 0644 0
t31_ingress_only bool 0644 0
tmo_info_addr ulong 0400 0
ysp_info_addr ulong 0400 0

Clone this wiki locally