Lines Matching refs:t
141 int t; in wait_for_bit_change() local
144 t = 100; in wait_for_bit_change()
145 while (t-- > 0) { in wait_for_bit_change()
177 ktime_t t, setup_time, trans_time; in dsi_perf_show() local
184 t = ktime_get(); in dsi_perf_show()
191 trans_time = ktime_sub(t, dsi->perf_start_time); in dsi_perf_show()
878 int t = 0; in dsi_pll_power() local
890 if (++t > 1000) { in dsi_pll_power()
1229 int t = 0; in dsi_cio_power() local
1237 if (++t > 1000) { in dsi_cio_power()
1300 unsigned int t; in dsi_set_lane_config() local
1302 for (t = 0; t < dsi->num_lanes_supported; ++t) in dsi_set_lane_config()
1303 if (dsi->lanes[t].function == functions[i]) in dsi_set_lane_config()
1306 if (t == dsi->num_lanes_supported) in dsi_set_lane_config()
1309 lane_number = t; in dsi_set_lane_config()
1310 polarity = dsi->lanes[t].polarity; in dsi_set_lane_config()
1423 int t, i; in dsi_cio_wait_tx_clk_esc_reset() local
1437 t = 100000; in dsi_cio_wait_tx_clk_esc_reset()
1453 if (--t == 0) { in dsi_cio_wait_tx_clk_esc_reset()
3577 const struct omap_dss_dsi_videomode_timings *t) in print_dsi_vm() argument
3579 unsigned long byteclk = t->hsclk / 4; in print_dsi_vm()
3582 wc = DIV_ROUND_UP(t->hact * t->bitspp, 8); in print_dsi_vm()
3583 pps = DIV_ROUND_UP(wc + 6, t->ndl); /* pixel packet size */ in print_dsi_vm()
3584 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm()
3593 t->hss, t->hsa, t->hse, t->hbp, pps, t->hfp, in print_dsi_vm()
3595 TO_DSI_T(t->hss), in print_dsi_vm()
3596 TO_DSI_T(t->hsa), in print_dsi_vm()
3597 TO_DSI_T(t->hse), in print_dsi_vm()
3598 TO_DSI_T(t->hbp), in print_dsi_vm()
3600 TO_DSI_T(t->hfp), in print_dsi_vm()
3638 const struct omap_dss_dsi_videomode_timings *t) in print_dsi_dispc_vm() argument
3641 unsigned long byteclk = t->hsclk / 4; in print_dsi_dispc_vm()
3646 dsi_tput = (u64)byteclk * t->ndl * 8; in print_dsi_dispc_vm()
3647 pck = (u32)div64_u64(dsi_tput, t->bitspp); in print_dsi_dispc_vm()
3648 dsi_hact = DIV_ROUND_UP(DIV_ROUND_UP(t->hact * t->bitspp, 8) + 6, t->ndl); in print_dsi_dispc_vm()
3649 dsi_htot = t->hss + t->hsa + t->hse + t->hbp + dsi_hact + t->hfp; in print_dsi_dispc_vm()
3652 vm.hsync_len = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); in print_dsi_dispc_vm()
3653 vm.hback_porch = div64_u64((u64)t->hbp * pck, byteclk); in print_dsi_dispc_vm()
3654 vm.hfront_porch = div64_u64((u64)t->hfp * pck, byteclk); in print_dsi_dispc_vm()
3655 vm.hactive = t->hact; in print_dsi_dispc_vm()
3864 int t; in dsi_vm_calc_blanking() local
3867 t = 1 - hfp; in dsi_vm_calc_blanking()
3868 hbp = max(hbp - t, 1); in dsi_vm_calc_blanking()
3873 t = 1 - hfp; in dsi_vm_calc_blanking()
3874 hsa = max(hsa - t, 1); in dsi_vm_calc_blanking()
3922 int t; in dsi_vm_calc_blanking() local
3925 t = 1 - hfp; in dsi_vm_calc_blanking()
3926 hbp = max(hbp - t, 1); in dsi_vm_calc_blanking()
3931 t = 1 - hfp; in dsi_vm_calc_blanking()
3932 hsa = max(hsa - t, 1); in dsi_vm_calc_blanking()