pck 28 drivers/clk/at91/at91sam9260.c const struct pck *pck; pck 80 drivers/clk/at91/at91sam9260.c static const struct pck at91sam9260_periphck[] = { pck 116 drivers/clk/at91/at91sam9260.c .pck = at91sam9260_periphck, pck 174 drivers/clk/at91/at91sam9260.c .pck = at91sam9260_periphck, pck 225 drivers/clk/at91/at91sam9260.c static const struct pck at91sam9261_periphck[] = { pck 255 drivers/clk/at91/at91sam9260.c .pck = at91sam9261_periphck, pck 287 drivers/clk/at91/at91sam9260.c static const struct pck at91sam9263_periphck[] = { pck 322 drivers/clk/at91/at91sam9260.c .pck = at91sam9263_periphck, pck 357 drivers/clk/at91/at91sam9260.c ndck(data->pck, data->num_pck), 0); pck 451 drivers/clk/at91/at91sam9260.c data->pck[i].n, pck 453 drivers/clk/at91/at91sam9260.c data->pck[i].id); pck 457 drivers/clk/at91/at91sam9260.c at91sam9260_pmc->phws[data->pck[i].id] = hw; pck 64 drivers/clk/at91/at91sam9x5.c static const struct pck at91sam9x5_periphck[] = { pck 90 drivers/clk/at91/at91sam9x5.c static const struct pck at91sam9g15_periphck[] = { pck 95 drivers/clk/at91/at91sam9x5.c static const struct pck at91sam9g25_periphck[] = { pck 102 drivers/clk/at91/at91sam9x5.c static const struct pck at91sam9g35_periphck[] = { pck 108 drivers/clk/at91/at91sam9x5.c static const struct pck at91sam9x25_periphck[] = { pck 117 drivers/clk/at91/at91sam9x5.c static const struct pck at91sam9x35_periphck[] = { pck 126 drivers/clk/at91/at91sam9x5.c const struct pck *extra_pcks, pck 169 drivers/clk/at91/pmc.c void pmc_register_pck(u8 pck) pck 175 drivers/clk/at91/pmc.c registered_pcks[i] = pck + 1; pck 178 drivers/clk/at91/pmc.c if (registered_pcks[i] == (pck + 1)) pck 214 drivers/clk/at91/pmc.h void pmc_register_pck(u8 pck); pck 217 drivers/clk/at91/pmc.h static inline void pmc_register_pck(u8 pck) {} pck 3661 drivers/gpu/drm/omapdrm/dss/dispc.c cinfo->pck = cinfo->lck / cinfo->pck_div; pck 3672 drivers/gpu/drm/omapdrm/dss/dispc.c unsigned long pck, lck; pck 3702 drivers/gpu/drm/omapdrm/dss/dispc.c pck = lck / pckd; pck 3715 drivers/gpu/drm/omapdrm/dss/dispc.c if (fck < pck * min_fck_per_pck) pck 3718 drivers/gpu/drm/omapdrm/dss/dispc.c if (func(lckd, pckd, lck, pck, data)) pck 3731 drivers/gpu/drm/omapdrm/dss/dispc.c DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); pck 3749 drivers/gpu/drm/omapdrm/dss/dispc.c cinfo->pck = cinfo->lck / cinfo->pck_div; pck 150 drivers/gpu/drm/omapdrm/dss/dpi.c unsigned long pck, void *data) pck 170 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->dispc_cinfo.pck = pck; pck 217 drivers/gpu/drm/omapdrm/dss/dpi.c static bool dpi_pll_clk_calc(struct dpi_data *dpi, unsigned long pck, pck 231 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->pck_min = pck - 1000; pck 232 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->pck_max = pck + 1000; pck 241 drivers/gpu/drm/omapdrm/dss/dpi.c dss_pll_calc_b(dpi->pll, clkin, pck, &ctx->pll_cinfo); pck 246 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->dispc_cinfo.pck = ctx->dispc_cinfo.lck; pck 252 drivers/gpu/drm/omapdrm/dss/dpi.c static bool dpi_dss_clk_calc(struct dpi_data *dpi, unsigned long pck, pck 269 drivers/gpu/drm/omapdrm/dss/dpi.c if (pck > 1000 * i * i * i) pck 270 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->pck_min = max(pck - 1000 * i * i * i, 0lu); pck 273 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->pck_max = pck + 1000 * i * i * i; pck 275 drivers/gpu/drm/omapdrm/dss/dpi.c ok = dss_div_calc(dpi->dss, pck, ctx->pck_min, pck 469 drivers/gpu/drm/omapdrm/dss/dpi.c unsigned long pck; pck 496 drivers/gpu/drm/omapdrm/dss/dpi.c pck = fck / lck_div / pck_div; pck 498 drivers/gpu/drm/omapdrm/dss/dpi.c mode->clock = pck / 1000; pck 4247 drivers/gpu/drm/omapdrm/dss/dsi.c unsigned long pck = vm->pixelclock; pck 4254 drivers/gpu/drm/omapdrm/dss/dsi.c #define TO_DISPC_T(x) ((u32)div64_u64((u64)x * 1000000000llu, pck)) pck 4259 drivers/gpu/drm/omapdrm/dss/dsi.c pck, pck 4278 drivers/gpu/drm/omapdrm/dss/dsi.c unsigned long pck; pck 4283 drivers/gpu/drm/omapdrm/dss/dsi.c pck = (u32)div64_u64(dsi_tput, t->bitspp); pck 4287 drivers/gpu/drm/omapdrm/dss/dsi.c vm.pixelclock = pck; pck 4288 drivers/gpu/drm/omapdrm/dss/dsi.c vm.hsync_len = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); pck 4289 drivers/gpu/drm/omapdrm/dss/dsi.c vm.hback_porch = div64_u64((u64)t->hbp * pck, byteclk); pck 4290 drivers/gpu/drm/omapdrm/dss/dsi.c vm.hfront_porch = div64_u64((u64)t->hfp * pck, byteclk); pck 4298 drivers/gpu/drm/omapdrm/dss/dsi.c unsigned long pck, void *data) pck 4306 drivers/gpu/drm/omapdrm/dss/dsi.c ctx->dispc_cinfo.pck = pck; pck 4309 drivers/gpu/drm/omapdrm/dss/dsi.c vm->pixelclock = pck; pck 4354 drivers/gpu/drm/omapdrm/dss/dsi.c unsigned long pck, txbyteclk; pck 4366 drivers/gpu/drm/omapdrm/dss/dsi.c pck = cfg->vm->pixelclock; pck 4367 drivers/gpu/drm/omapdrm/dss/dsi.c pck = pck * 3 / 2; pck 4368 drivers/gpu/drm/omapdrm/dss/dsi.c txbyteclk = pck * bitspp / 8 / ndl; pck 4374 drivers/gpu/drm/omapdrm/dss/dsi.c ctx->req_pck_min = pck; pck 4375 drivers/gpu/drm/omapdrm/dss/dsi.c ctx->req_pck_nom = pck; pck 4376 drivers/gpu/drm/omapdrm/dss/dsi.c ctx->req_pck_max = pck * 3 / 2; pck 4413 drivers/gpu/drm/omapdrm/dss/dsi.c dispc_pck = ctx->dispc_cinfo.pck; pck 4586 drivers/gpu/drm/omapdrm/dss/dsi.c unsigned long pck, void *data) pck 4593 drivers/gpu/drm/omapdrm/dss/dsi.c ctx->dispc_cinfo.pck = pck; pck 598 drivers/gpu/drm/omapdrm/dss/dss.c bool dss_div_calc(struct dss_device *dss, unsigned long pck, pck 613 drivers/gpu/drm/omapdrm/dss/dss.c pckd = fck_hw_max / pck; pck 615 drivers/gpu/drm/omapdrm/dss/dss.c fck = pck * pckd; pck 202 drivers/gpu/drm/omapdrm/dss/dss.h unsigned long pck; pck 344 drivers/gpu/drm/omapdrm/dss/dss.h bool dss_div_calc(struct dss_device *dss, unsigned long pck, pck 404 drivers/gpu/drm/omapdrm/dss/dss.h unsigned long pck, void *data); pck 46 drivers/gpu/drm/omapdrm/dss/sdi.c unsigned long pck, void *data) pck 53 drivers/gpu/drm/omapdrm/dss/sdi.c ctx->dispc_cinfo.pck = pck; pck 212 drivers/gpu/drm/omapdrm/dss/sdi.c unsigned long pck; pck 222 drivers/gpu/drm/omapdrm/dss/sdi.c pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; pck 224 drivers/gpu/drm/omapdrm/dss/sdi.c if (pck != pixelclock) { pck 226 drivers/gpu/drm/omapdrm/dss/sdi.c pixelclock, pck); pck 228 drivers/gpu/drm/omapdrm/dss/sdi.c mode->clock = pck / 1000; pck 419 drivers/input/tablet/aiptek.c int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck; pck 523 drivers/input/tablet/aiptek.c pck = (data[5] & aiptek->curSetting.stylusButtonUpper) != 0 ? 1 : 0; pck 551 drivers/input/tablet/aiptek.c input_report_key(inputdev, BTN_STYLUS2, pck); pck 658 drivers/input/tablet/aiptek.c pck = (data[1] & aiptek->curSetting.stylusButtonUpper) != 0 ? 1 : 0; pck 437 drivers/video/fbdev/omap/lcdc.c static void calc_ck_div(int is_tft, int pck, int *pck_div) pck 441 drivers/video/fbdev/omap/lcdc.c pck = max(1, pck); pck 443 drivers/video/fbdev/omap/lcdc.c *pck_div = (lck + pck - 1) / pck; pck 452 drivers/video/fbdev/omap/lcdc.c pck / 1000); pck 3698 drivers/video/fbdev/omap2/omapfb/dss/dispc.c cinfo->pck = cinfo->lck / cinfo->pck_div; pck 3709 drivers/video/fbdev/omap2/omapfb/dss/dispc.c unsigned long pck, lck; pck 3739 drivers/video/fbdev/omap2/omapfb/dss/dispc.c pck = lck / pckd; pck 3752 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (fck < pck * min_fck_per_pck) pck 3755 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (func(lckd, pckd, lck, pck, data)) pck 3767 drivers/video/fbdev/omap2/omapfb/dss/dispc.c DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); pck 3783 drivers/video/fbdev/omap2/omapfb/dss/dispc.c cinfo->pck = cinfo->lck / cinfo->pck_div; pck 146 drivers/video/fbdev/omap2/omapfb/dss/dpi.c unsigned long pck, void *data) pck 166 drivers/video/fbdev/omap2/omapfb/dss/dpi.c ctx->dispc_cinfo.pck = pck; pck 219 drivers/video/fbdev/omap2/omapfb/dss/dpi.c static bool dpi_dsi_clk_calc(struct dpi_data *dpi, unsigned long pck, pck 227 drivers/video/fbdev/omap2/omapfb/dss/dpi.c ctx->pck_min = pck - 1000; pck 228 drivers/video/fbdev/omap2/omapfb/dss/dpi.c ctx->pck_max = pck + 1000; pck 240 drivers/video/fbdev/omap2/omapfb/dss/dpi.c static bool dpi_dss_clk_calc(unsigned long pck, struct dpi_clk_calc_ctx *ctx) pck 255 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (pck > 1000 * i * i * i) pck 256 drivers/video/fbdev/omap2/omapfb/dss/dpi.c ctx->pck_min = max(pck - 1000 * i * i * i, 0lu); pck 259 drivers/video/fbdev/omap2/omapfb/dss/dpi.c ctx->pck_max = pck + 1000 * i * i * i; pck 261 drivers/video/fbdev/omap2/omapfb/dss/dpi.c ok = dss_div_calc(pck, ctx->pck_min, dpi_calc_dss_cb, ctx); pck 330 drivers/video/fbdev/omap2/omapfb/dss/dpi.c unsigned long pck; pck 342 drivers/video/fbdev/omap2/omapfb/dss/dpi.c pck = fck / lck_div / pck_div; pck 344 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (pck != t->pixelclock) { pck 346 drivers/video/fbdev/omap2/omapfb/dss/dpi.c t->pixelclock, pck); pck 348 drivers/video/fbdev/omap2/omapfb/dss/dpi.c t->pixelclock = pck; pck 501 drivers/video/fbdev/omap2/omapfb/dss/dpi.c unsigned long pck; pck 528 drivers/video/fbdev/omap2/omapfb/dss/dpi.c pck = fck / lck_div / pck_div; pck 530 drivers/video/fbdev/omap2/omapfb/dss/dpi.c timings->pixelclock = pck; pck 4351 drivers/video/fbdev/omap2/omapfb/dss/dsi.c unsigned long pck = t->pixelclock; pck 4358 drivers/video/fbdev/omap2/omapfb/dss/dsi.c #define TO_DISPC_T(x) ((u32)div64_u64((u64)x * 1000000000llu, pck)) pck 4363 drivers/video/fbdev/omap2/omapfb/dss/dsi.c pck, pck 4382 drivers/video/fbdev/omap2/omapfb/dss/dsi.c unsigned long pck; pck 4387 drivers/video/fbdev/omap2/omapfb/dss/dsi.c pck = (u32)div64_u64(dsi_tput, t->bitspp); pck 4391 drivers/video/fbdev/omap2/omapfb/dss/dsi.c vm.pixelclock = pck; pck 4392 drivers/video/fbdev/omap2/omapfb/dss/dsi.c vm.hsw = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); pck 4393 drivers/video/fbdev/omap2/omapfb/dss/dsi.c vm.hbp = div64_u64((u64)t->hbp * pck, byteclk); pck 4394 drivers/video/fbdev/omap2/omapfb/dss/dsi.c vm.hfp = div64_u64((u64)t->hfp * pck, byteclk); pck 4402 drivers/video/fbdev/omap2/omapfb/dss/dsi.c unsigned long pck, void *data) pck 4410 drivers/video/fbdev/omap2/omapfb/dss/dsi.c ctx->dispc_cinfo.pck = pck; pck 4413 drivers/video/fbdev/omap2/omapfb/dss/dsi.c t->pixelclock = pck; pck 4456 drivers/video/fbdev/omap2/omapfb/dss/dsi.c unsigned long pck, txbyteclk; pck 4468 drivers/video/fbdev/omap2/omapfb/dss/dsi.c pck = cfg->timings->pixelclock; pck 4469 drivers/video/fbdev/omap2/omapfb/dss/dsi.c pck = pck * 3 / 2; pck 4470 drivers/video/fbdev/omap2/omapfb/dss/dsi.c txbyteclk = pck * bitspp / 8 / ndl; pck 4476 drivers/video/fbdev/omap2/omapfb/dss/dsi.c ctx->req_pck_min = pck; pck 4477 drivers/video/fbdev/omap2/omapfb/dss/dsi.c ctx->req_pck_nom = pck; pck 4478 drivers/video/fbdev/omap2/omapfb/dss/dsi.c ctx->req_pck_max = pck * 3 / 2; pck 4515 drivers/video/fbdev/omap2/omapfb/dss/dsi.c dispc_pck = ctx->dispc_cinfo.pck; pck 4687 drivers/video/fbdev/omap2/omapfb/dss/dsi.c unsigned long pck, void *data) pck 4694 drivers/video/fbdev/omap2/omapfb/dss/dsi.c ctx->dispc_cinfo.pck = pck; pck 510 drivers/video/fbdev/omap2/omapfb/dss/dss.c bool dss_div_calc(unsigned long pck, unsigned long fck_min, pck 525 drivers/video/fbdev/omap2/omapfb/dss/dss.c pckd = fck_hw_max / pck; pck 527 drivers/video/fbdev/omap2/omapfb/dss/dss.c fck = pck * pckd; pck 178 drivers/video/fbdev/omap2/omapfb/dss/dss.h unsigned long pck; pck 307 drivers/video/fbdev/omap2/omapfb/dss/dss.h bool dss_div_calc(unsigned long pck, unsigned long fck_min, pck 384 drivers/video/fbdev/omap2/omapfb/dss/dss.h unsigned long pck, void *data); pck 47 drivers/video/fbdev/omap2/omapfb/dss/sdi.c unsigned long pck, void *data) pck 54 drivers/video/fbdev/omap2/omapfb/dss/sdi.c ctx->dispc_cinfo.pck = pck; pck 125 drivers/video/fbdev/omap2/omapfb/dss/sdi.c unsigned long pck; pck 151 drivers/video/fbdev/omap2/omapfb/dss/sdi.c pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; pck 153 drivers/video/fbdev/omap2/omapfb/dss/sdi.c if (pck != t->pixelclock) { pck 155 drivers/video/fbdev/omap2/omapfb/dss/sdi.c t->pixelclock, pck); pck 157 drivers/video/fbdev/omap2/omapfb/dss/sdi.c t->pixelclock = pck;