Home
last modified time | relevance | path

Searched refs:tc358768_ns_to_cnt (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
H A Dtc358768.c626 static u32 tc358768_ns_to_cnt(u32 ns, u32 period_nsk) in tc358768_ns_to_cnt() function
729 val = tc358768_ns_to_cnt(100 * 1000, dsibclk_nsk) - 1; in tc358768_bridge_pre_enable()
734 val = tc358768_ns_to_cnt(50, dsibclk_nsk) - 1; in tc358768_bridge_pre_enable()
740 val = tc358768_ns_to_cnt(65, dsibclk_nsk) - 1; in tc358768_bridge_pre_enable()
742 val2 = tc358768_ns_to_cnt(300 - tc358768_to_ns(2 * ui_nsk), in tc358768_bridge_pre_enable()
749 raw_val = tc358768_ns_to_cnt(60 + tc358768_to_ns(2 * ui_nsk), dsibclk_nsk) - 5; in tc358768_bridge_pre_enable()
756 val = tc358768_ns_to_cnt(val, dsibclk_nsk) - 1; in tc358768_bridge_pre_enable()
758 raw_val = tc358768_ns_to_cnt(145 - tc358768_to_ns(3 * ui_nsk), dsibclk_nsk) - 10; in tc358768_bridge_pre_enable()
765 val = tc358768_ns_to_cnt(1020000, dsibclk_nsk); in tc358768_bridge_pre_enable()
771 val = tc358768_ns_to_cnt(6 in tc358768_bridge_pre_enable()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
H A Dtc358768.c631 static u32 tc358768_ns_to_cnt(u32 ns, u32 period_ps) in tc358768_ns_to_cnt() function
740 val = tc358768_ns_to_cnt(100 * 1000, hsbyteclk_ps) - 1; in tc358768_bridge_pre_enable()
745 val = tc358768_ns_to_cnt(50, hsbyteclk_ps) - 1; in tc358768_bridge_pre_enable()
751 val = tc358768_ns_to_cnt(65, hsbyteclk_ps) - 1; in tc358768_bridge_pre_enable()
754 val2 = tc358768_ns_to_cnt(300 - tc358768_ps_to_ns(2 * ui_ps), in tc358768_bridge_pre_enable()
761 raw_val = tc358768_ns_to_cnt(60 + tc358768_ps_to_ns(2 * ui_ps), hsbyteclk_ps) - 5; in tc358768_bridge_pre_enable()
768 val = tc358768_ns_to_cnt(val, hsbyteclk_ps) - 1; in tc358768_bridge_pre_enable()
771 raw_val = tc358768_ns_to_cnt(145 - tc358768_ps_to_ns(3 * ui_ps), hsbyteclk_ps) - 10; in tc358768_bridge_pre_enable()
778 val = tc358768_ns_to_cnt(1020000, hsbyteclk_ps); in tc358768_bridge_pre_enable()
784 val = tc358768_ns_to_cnt(6 in tc358768_bridge_pre_enable()
[all...]

Completed in 3 milliseconds