Searched refs:PS_TO_CYCLE (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/bridge/ |
D | samsung-dsim.c | 225 #define PS_TO_CYCLE(ps, hz) DIV64_U64_ROUND_CLOSEST(((ps) * (hz)), 1000000000000ULL) macro 781 lpx = PS_TO_CYCLE(cfg.lpx, byte_clock); in samsung_dsim_set_phy_ctrl() 782 hs_exit = PS_TO_CYCLE(cfg.hs_exit, byte_clock); in samsung_dsim_set_phy_ctrl() 783 clk_prepare = PS_TO_CYCLE(cfg.clk_prepare, byte_clock); in samsung_dsim_set_phy_ctrl() 784 clk_zero = PS_TO_CYCLE(cfg.clk_zero, byte_clock); in samsung_dsim_set_phy_ctrl() 785 clk_post = PS_TO_CYCLE(cfg.clk_post, byte_clock); in samsung_dsim_set_phy_ctrl() 786 clk_trail = PS_TO_CYCLE(cfg.clk_trail, byte_clock); in samsung_dsim_set_phy_ctrl() 787 hs_prepare = PS_TO_CYCLE(cfg.hs_prepare, byte_clock); in samsung_dsim_set_phy_ctrl() 788 hs_zero = PS_TO_CYCLE(cfg.hs_zero, byte_clock); in samsung_dsim_set_phy_ctrl() 789 hs_trail = PS_TO_CYCLE(cfg.hs_trail, byte_clock); in samsung_dsim_set_phy_ctrl()
|