Home
last modified time | relevance | path

Searched refs:lck (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/video/fbdev/omap/
Dlcdc.c439 unsigned long lck; in calc_ck_div() local
442 lck = clk_get_rate(lcdc.lcd_ck); in calc_ck_div()
443 *pck_div = (lck + pck - 1) / pck; in calc_ck_div()
461 unsigned long lck; in setup_regs() local
495 lck = clk_get_rate(lcdc.lcd_ck); in setup_regs()
504 lck / panel->pcd / 1000, panel->name); in setup_regs()
513 panel->pixel_clock = lck / pcd / 1000; in setup_regs()
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/
Ddpi.c149 static bool dpi_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dpi_calc_dispc_cb() argument
169 ctx->dispc_cinfo.lck = lck; in dpi_calc_dispc_cb()
245 ctx->dispc_cinfo.lck = ctx->pll_cinfo.clkout[0]; in dpi_pll_clk_calc()
246 ctx->dispc_cinfo.pck = ctx->dispc_cinfo.lck; in dpi_pll_clk_calc()
Dsdi.c45 static bool dpi_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dpi_calc_dispc_cb() argument
52 ctx->dispc_cinfo.lck = lck; in dpi_calc_dispc_cb()
Ddss.h201 unsigned long lck; member
403 typedef bool (*dispc_div_calc_func)(int lckd, int pckd, unsigned long lck,
Ddispc.c3660 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates()
3661 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3672 unsigned long pck, lck; in dispc_div_calc() local
3696 lck = dispc_freq / lckd; in dispc_div_calc()
3698 pckd_start = max(DIV_ROUND_UP(lck, pck_max), pckd_hw_min); in dispc_div_calc()
3699 pckd_stop = min(lck / pck_min, pckd_hw_max); in dispc_div_calc()
3702 pck = lck / pckd; in dispc_div_calc()
3713 fck = lck; in dispc_div_calc()
3718 if (func(lckd, pckd, lck, pck, data)) in dispc_div_calc()
3730 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_div); in dispc_mgr_set_clock_div()
[all …]
Ddsi.c4297 static bool dsi_cm_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dsi_cm_calc_dispc_cb() argument
4305 ctx->dispc_cinfo.lck = lck; in dsi_cm_calc_dispc_cb()
4585 static bool dsi_vm_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dsi_vm_calc_dispc_cb() argument
4592 ctx->dispc_cinfo.lck = lck; in dsi_vm_calc_dispc_cb()
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Dsdi.c46 static bool dpi_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dpi_calc_dispc_cb() argument
53 ctx->dispc_cinfo.lck = lck; in dpi_calc_dispc_cb()
Ddpi.c145 static bool dpi_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dpi_calc_dispc_cb() argument
165 ctx->dispc_cinfo.lck = lck; in dpi_calc_dispc_cb()
Ddss.h177 unsigned long lck; member
383 typedef bool (*dispc_div_calc_func)(int lckd, int pckd, unsigned long lck,
Ddispc.c3697 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates()
3698 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3709 unsigned long pck, lck; in dispc_div_calc() local
3733 lck = dispc / lckd; in dispc_div_calc()
3735 pckd_start = max(DIV_ROUND_UP(lck, pck_max), pckd_hw_min); in dispc_div_calc()
3736 pckd_stop = min(lck / pck_min, pckd_hw_max); in dispc_div_calc()
3739 pck = lck / pckd; in dispc_div_calc()
3750 fck = lck; in dispc_div_calc()
3755 if (func(lckd, pckd, lck, pck, data)) in dispc_div_calc()
3766 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_div); in dispc_mgr_set_clock_div()
[all …]
Ddsi.c4401 static bool dsi_cm_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dsi_cm_calc_dispc_cb() argument
4409 ctx->dispc_cinfo.lck = lck; in dsi_cm_calc_dispc_cb()
4686 static bool dsi_vm_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dsi_vm_calc_dispc_cb() argument
4693 ctx->dispc_cinfo.lck = lck; in dsi_vm_calc_dispc_cb()
/Linux-v5.4/fs/cifs/
Dfile.c1254 struct lock_to_push *lck, *tmp; in cifs_push_posix_locks() local
1276 lck = kmalloc(sizeof(struct lock_to_push), GFP_KERNEL); in cifs_push_posix_locks()
1277 if (!lck) { in cifs_push_posix_locks()
1281 list_add_tail(&lck->llist, &locks_to_send); in cifs_push_posix_locks()
1300 lck = list_entry(el, struct lock_to_push, llist); in cifs_push_posix_locks()
1301 lck->pid = hash_lockowner(flock->fl_owner); in cifs_push_posix_locks()
1302 lck->netfid = cfile->fid.netfid; in cifs_push_posix_locks()
1303 lck->length = length; in cifs_push_posix_locks()
1304 lck->type = type; in cifs_push_posix_locks()
1305 lck->offset = flock->fl_start; in cifs_push_posix_locks()
[all …]