Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_oa.c xe_oa_stream_open_ioctl() -> oa_exponent_to_ns()

Type Parameter Key Value
PARAM_VALUE 1 exponent 0-31
USER_DATA 1 exponent 0-31

drivers/gpu/drm/i915/i915_perf.c read_properties_unlocked() -> oa_exponent_to_ns()

Type Parameter Key Value
PARAM_VALUE 0 perf 4096-ptr_max
PARAM_VALUE 0 perf->i915 1-u64max
PARAM_VALUE 1 exponent 0-31
BUF_SIZE 0 perf 584
DATA_SOURCE 0 perf $0
USER_DATA 1 exponent 0-31