Lines Matching refs:t

496 	int t;  in wait_for_bit_change()  local
499 t = 100; in wait_for_bit_change()
500 while (t-- > 0) { in wait_for_bit_change()
551 ktime_t t, setup_time, trans_time; in dsi_perf_show() local
558 t = ktime_get(); in dsi_perf_show()
565 trans_time = ktime_sub(t, dsi->perf_start_time); in dsi_perf_show()
1341 int t = 0; in dsi_pll_power() local
1353 if (++t > 1000) { in dsi_pll_power()
1753 int t = 0; in dsi_cio_power() local
1761 if (++t > 1000) { in dsi_cio_power()
1825 unsigned t; in dsi_set_lane_config() local
1827 for (t = 0; t < dsi->num_lanes_supported; ++t) in dsi_set_lane_config()
1828 if (dsi->lanes[t].function == functions[i]) in dsi_set_lane_config()
1831 if (t == dsi->num_lanes_supported) in dsi_set_lane_config()
1834 lane_number = t; in dsi_set_lane_config()
1835 polarity = dsi->lanes[t].polarity; in dsi_set_lane_config()
2001 int t, i; in dsi_cio_wait_tx_clk_esc_reset() local
2015 t = 100000; in dsi_cio_wait_tx_clk_esc_reset()
2031 if (--t == 0) { in dsi_cio_wait_tx_clk_esc_reset()
4318 const struct omap_dss_dsi_videomode_timings *t) in print_dsi_vm() argument
4320 unsigned long byteclk = t->hsclk / 4; in print_dsi_vm()
4323 wc = DIV_ROUND_UP(t->hact * t->bitspp, 8); in print_dsi_vm()
4324 pps = DIV_ROUND_UP(wc + 6, t->ndl); /* pixel packet size */ in print_dsi_vm()
4325 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm()
4334 t->hss, t->hsa, t->hse, t->hbp, pps, t->hfp, in print_dsi_vm()
4336 TO_DSI_T(t->hss), in print_dsi_vm()
4337 TO_DSI_T(t->hsa), in print_dsi_vm()
4338 TO_DSI_T(t->hse), in print_dsi_vm()
4339 TO_DSI_T(t->hbp), in print_dsi_vm()
4341 TO_DSI_T(t->hfp), in print_dsi_vm()
4350 static void print_dispc_vm(const char *str, const struct omap_video_timings *t) in print_dispc_vm() argument
4352 unsigned long pck = t->pixelclock; in print_dispc_vm()
4355 hact = t->x_res; in print_dispc_vm()
4356 bl = t->hsw + t->hbp + t->hfp; in print_dispc_vm()
4365 t->hsw, t->hbp, hact, t->hfp, in print_dispc_vm()
4367 TO_DISPC_T(t->hsw), in print_dispc_vm()
4368 TO_DISPC_T(t->hbp), in print_dispc_vm()
4370 TO_DISPC_T(t->hfp), in print_dispc_vm()
4379 const struct omap_dss_dsi_videomode_timings *t) in print_dsi_dispc_vm() argument
4382 unsigned long byteclk = t->hsclk / 4; in print_dsi_dispc_vm()
4387 dsi_tput = (u64)byteclk * t->ndl * 8; in print_dsi_dispc_vm()
4388 pck = (u32)div64_u64(dsi_tput, t->bitspp); in print_dsi_dispc_vm()
4389 dsi_hact = DIV_ROUND_UP(DIV_ROUND_UP(t->hact * t->bitspp, 8) + 6, t->ndl); in print_dsi_dispc_vm()
4390 dsi_htot = t->hss + t->hsa + t->hse + t->hbp + dsi_hact + t->hfp; in print_dsi_dispc_vm()
4393 vm.hsw = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); in print_dsi_dispc_vm()
4394 vm.hbp = div64_u64((u64)t->hbp * pck, byteclk); in print_dsi_dispc_vm()
4395 vm.hfp = div64_u64((u64)t->hfp * pck, byteclk); in print_dsi_dispc_vm()
4396 vm.x_res = t->hact; in print_dsi_dispc_vm()
4406 struct omap_video_timings *t = &ctx->dispc_vm; in dsi_cm_calc_dispc_cb() local
4413 *t = *ctx->config->timings; in dsi_cm_calc_dispc_cb()
4414 t->pixelclock = pck; in dsi_cm_calc_dispc_cb()
4415 t->x_res = ctx->config->timings->x_res; in dsi_cm_calc_dispc_cb()
4416 t->y_res = ctx->config->timings->y_res; in dsi_cm_calc_dispc_cb()
4417 t->hsw = t->hfp = t->hbp = t->vsw = 1; in dsi_cm_calc_dispc_cb()
4418 t->vfp = t->vbp = 0; in dsi_cm_calc_dispc_cb()
4602 int t; in dsi_vm_calc_blanking() local
4605 t = 1 - hfp; in dsi_vm_calc_blanking()
4606 hbp = max(hbp - t, 1); in dsi_vm_calc_blanking()
4611 t = 1 - hfp; in dsi_vm_calc_blanking()
4612 hsa = max(hsa - t, 1); in dsi_vm_calc_blanking()
4661 int t; in dsi_vm_calc_blanking() local
4664 t = 1 - hfp; in dsi_vm_calc_blanking()
4665 hbp = max(hbp - t, 1); in dsi_vm_calc_blanking()
4670 t = 1 - hfp; in dsi_vm_calc_blanking()
4671 hsa = max(hsa - t, 1); in dsi_vm_calc_blanking()
4752 const struct omap_video_timings *t = cfg->timings; in dsi_vm_calc() local
4768 ctx->req_pck_min = t->pixelclock - 1000; in dsi_vm_calc()
4769 ctx->req_pck_nom = t->pixelclock; in dsi_vm_calc()
4770 ctx->req_pck_max = t->pixelclock + 1000; in dsi_vm_calc()