Home
last modified time | relevance | path

Searched refs:pck (Results 1 – 7 of 7) sorted by relevance

/drivers/video/omap2/dss/
Ddpi.c123 unsigned long pck, void *data) in dpi_calc_dispc_cb() argument
143 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb()
196 static bool dpi_dsi_clk_calc(unsigned long pck, struct dpi_clk_calc_ctx *ctx) in dpi_dsi_clk_calc() argument
205 ctx->pck_min = pck - 1000; in dpi_dsi_clk_calc()
206 ctx->pck_max = pck + 1000; in dpi_dsi_clk_calc()
217 static bool dpi_dss_clk_calc(unsigned long pck, struct dpi_clk_calc_ctx *ctx) in dpi_dss_clk_calc() argument
232 if (pck > 1000 * i * i * i) in dpi_dss_clk_calc()
233 ctx->pck_min = max(pck - 1000 * i * i * i, 0lu); in dpi_dss_clk_calc()
236 ctx->pck_max = pck + 1000 * i * i * i; in dpi_dss_clk_calc()
305 unsigned long pck; in dpi_set_mode() local
[all …]
Dsdi.c52 unsigned long pck, void *data) in dpi_calc_dispc_cb() argument
59 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb()
131 unsigned long pck; in omapdss_sdi_display_enable() local
163 pck = dss_cinfo.fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div / 1000; in omapdss_sdi_display_enable()
165 if (pck != t->pixel_clock) { in omapdss_sdi_display_enable()
168 t->pixel_clock, pck); in omapdss_sdi_display_enable()
170 t->pixel_clock = pck; in omapdss_sdi_display_enable()
Ddsi.c4692 unsigned long pck = t->pixel_clock * 1000; in print_dispc_vm() local
4699 #define TO_DISPC_T(x) ((u32)div64_u64((u64)x * 1000000000llu, pck)) in print_dispc_vm()
4704 pck, in print_dispc_vm()
4723 unsigned long pck; in print_dsi_dispc_vm() local
4728 pck = (u32)div64_u64(dsi_tput, t->bitspp); in print_dsi_dispc_vm()
4732 vm.pixel_clock = pck / 1000; in print_dsi_dispc_vm()
4733 vm.hsw = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); in print_dsi_dispc_vm()
4734 vm.hbp = div64_u64((u64)t->hbp * pck, byteclk); in print_dsi_dispc_vm()
4735 vm.hfp = div64_u64((u64)t->hfp * pck, byteclk); in print_dsi_dispc_vm()
4743 unsigned long pck, void *data) in dsi_cm_calc_dispc_cb() argument
[all …]
Ddss.h114 unsigned long pck; member
405 unsigned long pck, void *data);
Ddispc.c3351 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3362 unsigned long pck, lck; in dispc_div_calc() local
3392 pck = lck / pckd; in dispc_div_calc()
3405 if (fck < pck * min_fck_per_pck) in dispc_div_calc()
3408 if (func(lckd, pckd, lck, pck, data)) in dispc_div_calc()
3420 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div()
3436 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_mgr_get_clock_div()
/drivers/video/omap/
Dlcdc.c451 static void calc_ck_div(int is_tft, int pck, int *pck_div) in calc_ck_div() argument
455 pck = max(1, pck); in calc_ck_div()
457 *pck_div = (lck + pck - 1) / pck; in calc_ck_div()
466 pck / 1000); in calc_ck_div()
/drivers/input/tablet/
Daiptek.c441 int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck; in aiptek_irq() local
545 pck = (data[5] & aiptek->curSetting.stylusButtonUpper) != 0 ? 1 : 0; in aiptek_irq()
573 input_report_key(inputdev, BTN_STYLUS2, pck); in aiptek_irq()
680 pck = (data[1] & aiptek->curSetting.stylusButtonUpper) != 0 ? 1 : 0; in aiptek_irq()