Searched refs:PS_TO_CYCLE (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | samsung-dsim.c | 224 #define PS_TO_CYCLE(ps, hz) DIV64_U64_ROUND_CLOSEST(((ps) * (hz)), 1000000000000ULL) macro 752 lpx = PS_TO_CYCLE(cfg.lpx, byte_clock); in samsung_dsim_set_phy_ctrl() 753 hs_exit = PS_TO_CYCLE(cfg.hs_exit, byte_clock); in samsung_dsim_set_phy_ctrl() 754 clk_prepare = PS_TO_CYCLE(cfg.clk_prepare, byte_clock); in samsung_dsim_set_phy_ctrl() 755 clk_zero = PS_TO_CYCLE(cfg.clk_zero, byte_clock); in samsung_dsim_set_phy_ctrl() 756 clk_post = PS_TO_CYCLE(cfg.clk_post, byte_clock); in samsung_dsim_set_phy_ctrl() 757 clk_trail = PS_TO_CYCLE(cfg.clk_trail, byte_clock); in samsung_dsim_set_phy_ctrl() 758 hs_prepare = PS_TO_CYCLE(cfg.hs_prepare, byte_clock); in samsung_dsim_set_phy_ctrl() 759 hs_zero = PS_TO_CYCLE(cfg.hs_zero, byte_clock); in samsung_dsim_set_phy_ctrl() 760 hs_trail = PS_TO_CYCLE(cfg.hs_trail, byte_clock); in samsung_dsim_set_phy_ctrl()
|