Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddpi.c151 static bool dpi_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dpi_calc_dispc_cb() argument
171 ctx->dispc_cinfo.lck = lck; in dpi_calc_dispc_cb()
247 ctx->dispc_cinfo.lck = ctx->pll_cinfo.clkout[0]; in dpi_pll_clk_calc()
248 ctx->dispc_cinfo.pck = ctx->dispc_cinfo.lck; in dpi_pll_clk_calc()
Dsdi.c49 static bool dpi_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dpi_calc_dispc_cb() argument
56 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.c3641 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates()
3642 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3653 unsigned long pck, lck; in dispc_div_calc() local
3677 lck = dispc_freq / lckd; in dispc_div_calc()
3679 pckd_start = max(DIV_ROUND_UP(lck, pck_max), pckd_hw_min); in dispc_div_calc()
3680 pckd_stop = min(lck / pck_min, pckd_hw_max); in dispc_div_calc()
3683 pck = lck / pckd; in dispc_div_calc()
3694 fck = lck; in dispc_div_calc()
3699 if (func(lckd, pckd, lck, pck, data)) in dispc_div_calc()
3711 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_div); in dispc_mgr_set_clock_div()
[all …]
Ddsi.c4296 static bool dsi_cm_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dsi_cm_calc_dispc_cb() argument
4304 ctx->dispc_cinfo.lck = lck; in dsi_cm_calc_dispc_cb()
4584 static bool dsi_vm_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dsi_vm_calc_dispc_cb() argument
4591 ctx->dispc_cinfo.lck = lck; in dsi_vm_calc_dispc_cb()
/kernel/linux/linux-5.10/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.h166 unsigned long lck; member
372 typedef bool (*dispc_div_calc_func)(int lckd, int pckd, unsigned long lck,
Ddispc.c3586 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates()
3587 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3598 unsigned long pck, lck; in dispc_div_calc() local
3622 lck = dispc / lckd; in dispc_div_calc()
3624 pckd_start = max(DIV_ROUND_UP(lck, pck_max), pckd_hw_min); in dispc_div_calc()
3625 pckd_stop = min(lck / pck_min, pckd_hw_max); in dispc_div_calc()
3628 pck = lck / pckd; in dispc_div_calc()
3639 fck = lck; in dispc_div_calc()
3644 if (func(lckd, pckd, lck, pck, data)) in dispc_div_calc()
3655 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_div); in dispc_mgr_set_clock_div()
[all …]
Ddsi.c4404 static bool dsi_cm_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dsi_cm_calc_dispc_cb() argument
4412 ctx->dispc_cinfo.lck = lck; in dsi_cm_calc_dispc_cb()
4689 static bool dsi_vm_calc_dispc_cb(int lckd, int pckd, unsigned long lck, in dsi_vm_calc_dispc_cb() argument
4696 ctx->dispc_cinfo.lck = lck; in dsi_vm_calc_dispc_cb()
/kernel/linux/linux-5.10/fs/cifs/
Dfile.c1280 struct lock_to_push *lck, *tmp; in cifs_push_posix_locks() local
1302 lck = kmalloc(sizeof(struct lock_to_push), GFP_KERNEL); in cifs_push_posix_locks()
1303 if (!lck) { in cifs_push_posix_locks()
1307 list_add_tail(&lck->llist, &locks_to_send); in cifs_push_posix_locks()
1326 lck = list_entry(el, struct lock_to_push, llist); in cifs_push_posix_locks()
1327 lck->pid = hash_lockowner(flock->fl_owner); in cifs_push_posix_locks()
1328 lck->netfid = cfile->fid.netfid; in cifs_push_posix_locks()
1329 lck->length = length; in cifs_push_posix_locks()
1330 lck->type = type; in cifs_push_posix_locks()
1331 lck->offset = flock->fl_start; in cifs_push_posix_locks()
[all …]