Defined in 2 files as a function:
- drivers/char/hw_random/ks-sa-rng.c, line 92 (as a function)
- drivers/gpu/drm/i915/selftests/i915_request.c, line 1952 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/i915/i915_request.c measure_busy_dispatch() -> cycles_to_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk_rate | 4096-ptr_max |
| DATA_SOURCE | 1 | cycles | r trifilter |
| HOST_DATA | 0 | clk_rate->gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/i915_request.c measure_completion() -> cycles_to_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk_rate | 4096-ptr_max |
| PARAM_VALUE | 0 | clk_rate->gt | 4096-ptr_max |
| DATA_SOURCE | 1 | cycles | r trifilter |
| HOST_DATA | 0 | clk_rate->gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | clk_rate->gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | clk_rate->gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/i915_request.c measure_context_switch() -> cycles_to_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk_rate | 4096-ptr_max |
| PARAM_VALUE | 0 | clk_rate->gt | 4096-ptr_max |
| CAPPED_DATA | 0 | clk_rate->kernel_context | 1 |
| DATA_SOURCE | 1 | cycles | r trifilter |
| HOST_DATA | 0 | clk_rate->gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | clk_rate->gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | clk_rate->gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/i915_request.c measure_idle_dispatch() -> cycles_to_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk_rate | 4096-ptr_max |
| PARAM_VALUE | 0 | clk_rate->gt | 4096-ptr_max |
| DATA_SOURCE | 1 | cycles | r trifilter |
drivers/gpu/drm/i915/i915_request.c measure_inter_request() -> cycles_to_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk_rate | 4096-ptr_max |
| PARAM_VALUE | 0 | clk_rate->gt | 4096-ptr_max |
| DATA_SOURCE | 1 | cycles | r trifilter |
| HOST_DATA | 0 | clk_rate->gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | clk_rate->gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | clk_rate->gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/i915_request.c measure_preemption() -> cycles_to_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk_rate | 4096-ptr_max |
| DATA_SOURCE | 1 | cycles | r trifilter |
| HOST_DATA | 0 | clk_rate->gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | clk_rate->gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | clk_rate->gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/i915_request.c measure_preemption() -> cycles_to_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk_rate | 4096-ptr_max |
| PARAM_VALUE | 0 | clk_rate->gt | 4096-ptr_max |
| DATA_SOURCE | 1 | cycles | r trifilter |
| HOST_DATA | 0 | clk_rate->gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | clk_rate->gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | clk_rate->gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/i915_request.c measure_semaphore_response() -> cycles_to_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk_rate | 4096-ptr_max |
| DATA_SOURCE | 1 | cycles | r trifilter |
| HOST_DATA | 1 | cycles | 0-u32max |
drivers/char/hw_random/ks-sa-rng.c refill_delay_ns() -> cycles_to_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cycles | 16777216 |
| DATA_SOURCE | 0 | clk_rate | $0 |
drivers/char/hw_random/ks-sa-rng.c startup_delay_ns() -> cycles_to_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cycles | 16777216 |
| DATA_SOURCE | 0 | clk_rate | $0 |