Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddpi.c160 unsigned long pck, void *data) in dpi_calc_dispc_cb() argument
180 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb()
227 static bool dpi_pll_clk_calc(struct dpi_data *dpi, unsigned long pck, in dpi_pll_clk_calc() argument
241 ctx->pck_min = pck - 1000; in dpi_pll_clk_calc()
242 ctx->pck_max = pck + 1000; in dpi_pll_clk_calc()
251 dss_pll_calc_b(dpi->pll, clkin, pck, &ctx->pll_cinfo); in dpi_pll_clk_calc()
256 ctx->dispc_cinfo.pck = ctx->dispc_cinfo.lck; in dpi_pll_clk_calc()
262 static bool dpi_dss_clk_calc(struct dpi_data *dpi, unsigned long pck, in dpi_dss_clk_calc() argument
279 if (pck > 1000 * i * i * i) in dpi_dss_clk_calc()
280 ctx->pck_min = max(pck - 1000 * i * i * i, 0lu); in dpi_dss_clk_calc()
[all …]
Dsdi.c57 unsigned long pck, void *data) in dpi_calc_dispc_cb() argument
64 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb()
138 unsigned long pck; in sdi_display_enable() local
163 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_display_enable()
165 if (pck != vm->pixelclock) { in sdi_display_enable()
167 vm->pixelclock, pck); in sdi_display_enable()
169 vm->pixelclock = pck; in sdi_display_enable()
Ddss.h213 unsigned long pck; member
353 bool dss_div_calc(struct dss_device *dss, unsigned long pck,
415 unsigned long pck, void *data);
Ddsi.c4363 unsigned long pck = vm->pixelclock; in print_dispc_vm() local
4370 #define TO_DISPC_T(x) ((u32)div64_u64((u64)x * 1000000000llu, pck)) in print_dispc_vm()
4375 pck, in print_dispc_vm()
4394 unsigned long pck; in print_dsi_dispc_vm() local
4399 pck = (u32)div64_u64(dsi_tput, t->bitspp); in print_dsi_dispc_vm()
4403 vm.pixelclock = pck; in print_dsi_dispc_vm()
4404 vm.hsync_len = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); in print_dsi_dispc_vm()
4405 vm.hback_porch = div64_u64((u64)t->hbp * pck, byteclk); in print_dsi_dispc_vm()
4406 vm.hfront_porch = div64_u64((u64)t->hfp * pck, byteclk); in print_dsi_dispc_vm()
4414 unsigned long pck, void *data) in dsi_cm_calc_dispc_cb() argument
[all …]
Ddss.c612 bool dss_div_calc(struct dss_device *dss, unsigned long pck, in dss_div_calc() argument
627 pckd = fck_hw_max / pck; in dss_div_calc()
629 fck = pck * pckd; in dss_div_calc()
Ddispc.c3687 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3698 unsigned long pck, lck; in dispc_div_calc() local
3728 pck = lck / pckd; in dispc_div_calc()
3741 if (fck < pck * min_fck_per_pck) in dispc_div_calc()
3744 if (func(lckd, pckd, lck, pck, data)) in dispc_div_calc()
3757 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div()
3775 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_mgr_get_clock_div()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddpi.c157 unsigned long pck, void *data) in dpi_calc_dispc_cb() argument
177 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb()
230 static bool dpi_dsi_clk_calc(struct dpi_data *dpi, unsigned long pck, in dpi_dsi_clk_calc() argument
238 ctx->pck_min = pck - 1000; in dpi_dsi_clk_calc()
239 ctx->pck_max = pck + 1000; in dpi_dsi_clk_calc()
251 static bool dpi_dss_clk_calc(unsigned long pck, struct dpi_clk_calc_ctx *ctx) in dpi_dss_clk_calc() argument
266 if (pck > 1000 * i * i * i) in dpi_dss_clk_calc()
267 ctx->pck_min = max(pck - 1000 * i * i * i, 0lu); in dpi_dss_clk_calc()
270 ctx->pck_max = pck + 1000 * i * i * i; in dpi_dss_clk_calc()
272 ok = dss_div_calc(pck, ctx->pck_min, dpi_calc_dss_cb, ctx); in dpi_dss_clk_calc()
[all …]
Dsdi.c58 unsigned long pck, void *data) in dpi_calc_dispc_cb() argument
65 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb()
136 unsigned long pck; in sdi_display_enable() local
162 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_display_enable()
164 if (pck != t->pixelclock) { in sdi_display_enable()
166 t->pixelclock, pck); in sdi_display_enable()
168 t->pixelclock = pck; in sdi_display_enable()
Ddss.h189 unsigned long pck; member
318 bool dss_div_calc(unsigned long pck, unsigned long fck_min,
395 unsigned long pck, void *data);
Ddsi.c4362 unsigned long pck = t->pixelclock; in print_dispc_vm() local
4369 #define TO_DISPC_T(x) ((u32)div64_u64((u64)x * 1000000000llu, pck)) in print_dispc_vm()
4374 pck, in print_dispc_vm()
4393 unsigned long pck; in print_dsi_dispc_vm() local
4398 pck = (u32)div64_u64(dsi_tput, t->bitspp); in print_dsi_dispc_vm()
4402 vm.pixelclock = pck; in print_dsi_dispc_vm()
4403 vm.hsw = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); in print_dsi_dispc_vm()
4404 vm.hbp = div64_u64((u64)t->hbp * pck, byteclk); in print_dsi_dispc_vm()
4405 vm.hfp = div64_u64((u64)t->hfp * pck, byteclk); in print_dsi_dispc_vm()
4413 unsigned long pck, void *data) in dsi_cm_calc_dispc_cb() argument
[all …]
Ddss.c521 bool dss_div_calc(unsigned long pck, unsigned long fck_min, in dss_div_calc() argument
536 pckd = fck_hw_max / pck; in dss_div_calc()
538 fck = pck * pckd; in dss_div_calc()
Ddispc.c3709 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3720 unsigned long pck, lck; in dispc_div_calc() local
3750 pck = lck / pckd; in dispc_div_calc()
3763 if (fck < pck * min_fck_per_pck) in dispc_div_calc()
3766 if (func(lckd, pckd, lck, pck, data)) in dispc_div_calc()
3778 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div()
3794 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_mgr_get_clock_div()
/Linux-v4.19/drivers/clk/at91/
Dpmc.h34 void pmc_register_pck(u8 pck);
37 static inline void pmc_register_pck(u8 pck) {} in pmc_register_pck() argument
Dpmc.c96 void pmc_register_pck(u8 pck) in pmc_register_pck() argument
102 registered_pcks[i] = pck + 1; in pmc_register_pck()
105 if (registered_pcks[i] == (pck + 1)) in pmc_register_pck()
/Linux-v4.19/drivers/video/fbdev/omap/
Dlcdc.c450 static void calc_ck_div(int is_tft, int pck, int *pck_div) in calc_ck_div() argument
454 pck = max(1, pck); in calc_ck_div()
456 *pck_div = (lck + pck - 1) / pck; in calc_ck_div()
465 pck / 1000); in calc_ck_div()
/Linux-v4.19/drivers/input/tablet/
Daiptek.c432 int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck; in aiptek_irq() local
536 pck = (data[5] & aiptek->curSetting.stylusButtonUpper) != 0 ? 1 : 0; in aiptek_irq()
564 input_report_key(inputdev, BTN_STYLUS2, pck); in aiptek_irq()
671 pck = (data[1] & aiptek->curSetting.stylusButtonUpper) != 0 ? 1 : 0; in aiptek_irq()
/Linux-v4.19/Documentation/translations/ja_JP/
DSubmittingPatches585 git://jdelvare.pck.nerim.net/jdelvare-2.6 i2c-for-linus
/Linux-v4.19/Documentation/process/
Dsubmitting-patches.rst771 git://jdelvare.pck.nerim.net/jdelvare-2.6 i2c-for-linus