s64
s64 last_update_us;
s64 accum_us; /* accumulated microseconds */
s64 accum_us_vis; /* for visible VRAM */
uint64_t saddr, uint64_t daddr, int n, s64 *time_ms)
s64 time_ms,
s64 throughput = (n * (size >> 10));
s64 time_ms;
static u64 us_to_bytes(struct amdgpu_device *adev, s64 us)
static s64 bytes_to_us(struct amdgpu_device *adev, u64 bytes)
s64 time_us, increment_us;
const s64 us_upper_bound = 200000;
s64 min_us;
s64 kt, kv, leakage_w, i_leakage, vddc;
s64 temperature, t_slope, t_intercept, av, bv, t_ref;
s64 tmp;
s64 kt, kv, leakage_w, i_leakage, vddc;
s64 elapsed_us;
s64 epic_unit = -1;
const char *class, s64 unit);
const char *class, s64 unit)
const char *class, s64 unit)
s64 mnits = -1;
s64 idac = -1;
s64 timestamp = -1;
handle->pos += sizeof(s64);
static int parse_int(struct dcp_parse_ctx *handle, s64 *value)
const s64 *in;
in = parse_bytes(handle, sizeof(s64));
s64 colorimetry;
s64 depth;
s64 dynamic_range;
s64 eotf;
s64 id;
s64 pixel_encoding;
s64 score;
struct dcp_display_mode *out, s64 *score, int width_mm,
s64 id = -1;
s64 best_color_mode = -1;
s64 score, best_score = -1;
s64 width_cm = 0, height_cm = 0;
const char **class, s64 *unit)
s64 rate;
s64 sample_size;
s64 nchans = 0;
const char **class, s64 *unit);
s64 score;
s64 total, front_porch, sync_width, active;
s64 precise_sync_rate;
const char *class, s64 unit)
const char *class, s64 unit)
TP_PROTO(s64 id, struct dimension *horiz, struct dimension *vert, s64 best_color_mode, bool is_virtual, s64 score),
TP_STRUCT__entry(__field(s64, id)
__field(s64, best_color_mode)
__field(s64, score)),
TP_PROTO(s64 id, struct dimension *horiz, struct dimension *vert, s64 best_color_mode, bool is_virtual, s64 score),
TP_PROTO(s64 id, struct dimension *horiz, struct dimension *vert, s64 best_color_mode, bool is_virtual, s64 score),
s64 commit_time_ms;
s64 val;
s64 c = CTM_COEFF_ABS(coeff);
c = clamp(c, -(s64)BIT(int_bits + frac_bits - 1),
(s64)(BIT(int_bits + frac_bits - 1) - 1));
s64 panel_power_off_duration;
if (panel_power_off_duration < (s64)intel_dsi->panel_pwr_cycle_delay)
s64 panel_power_off_duration, remaining;
static s64 interp(s64 x, s64 x1, s64 x2, s64 y1, s64 y2)
s64 dydx;
s64 priority = args->value;
if ((s64)offset < 0) {
if ((s64)offset < 0) {
static unsigned long to_wait_timeout(s64 timeout_ns)
s64 busy;
s64 max_busy[3] = {};
s64 busy;
(s64)ts.tv_sec, ts.tv_nsec / NSEC_PER_USEC);
(s64)ts.tv_sec, ts.tv_nsec / NSEC_PER_USEC);
(s64)ts.tv_sec, ts.tv_nsec / NSEC_PER_USEC);
static inline s64 ktime_since_raw(const ktime_t kt)
static inline unsigned drm_fixp_msbset(s64 a)
static inline s64 drm_fixp_mul(s64 a, s64 b)
s64 result;
static inline s64 drm_fixp_div(s64 a, s64 b)
s64 result;
static inline s64 drm_fixp_from_fraction(s64 a, s64 b)
s64 res;
res = (s64) res_abs;
static inline s64 drm_fixp_exp(s64 x)
s64 tolerance = div64_s64(DRM_FIXED_ONE, 1000000);
s64 sum = DRM_FIXED_ONE, term, y = x;
static inline s64 drm_int2fixp(int a)
return ((s64)a) << DRM_FIXED_POINT;
static inline int drm_fixp2int(s64 a)
return ((s64)a) >> DRM_FIXED_POINT;
static inline int drm_fixp2int_round(s64 a)
static inline int drm_fixp2int_ceil(s64 a)
s64
s64 (*process_bo)(struct ttm_lru_walk *walk, struct ttm_buffer_object *bo);
s64 ttm_lru_walk_for_evict(struct ttm_lru_walk *walk, struct ttm_device *bdev,
struct ttm_resource_manager *man, s64 target);
s64 ttm_bo_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx,
s64 target);
s64 kt, kv, leakage_w, i_leakage, vddc, temperature;
s64 kt, kv, leakage_w, i_leakage, vddc;
s64 temperature, t_slope, t_intercept, av, bv, t_ref;
s64 tmp;
s64 kt, kv, leakage_w, i_leakage, vddc;
s64
static s64
s64 ret;
s64 ttm_bo_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx,
s64 target)
static s64 ttm_bo_evict_cb(struct ttm_lru_walk *walk, struct ttm_buffer_object *bo)
s64 lret;
s64 lret;
s64 ttm_lru_walk_for_evict(struct ttm_lru_walk *walk, struct ttm_device *bdev,
struct ttm_resource_manager *man, s64 target)
s64 progress = 0;
s64 lret;
s64 lret;
s64 shandle;