Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/i2c/
H A Dtc358746.c489 unsigned long hs_byte_clk, hf_clk; in tc358746_apply_dphy_config() local
494 hs_byte_clk = cfg->hs_clk_rate / 8; in tc358746_apply_dphy_config()
495 hs_byte_clk /= HZ_PER_MHZ; in tc358746_apply_dphy_config()
496 hf_clk = hs_byte_clk / 2; in tc358746_apply_dphy_config()
504 val = tc358746_ps_to_cnt(cfg->lpx, hs_byte_clk) - 1; in tc358746_apply_dphy_config()
511 val = tc358746_ps_to_cnt(cfg->clk_prepare, hs_byte_clk) - 1; in tc358746_apply_dphy_config()
512 val2 = tc358746_ps_to_cnt(cfg->clk_zero, hs_byte_clk) - 1; in tc358746_apply_dphy_config()
522 val = tc358746_ps_to_cnt(cfg->clk_trail, hs_byte_clk); in tc358746_apply_dphy_config()
528 val = tc358746_ps_to_cnt(cfg->hs_prepare, hs_byte_clk) - 1; in tc358746_apply_dphy_config()
529 val2 = tc358746_ps_to_cnt(cfg->hs_zero, hs_byte_clk) - 1; in tc358746_apply_dphy_config()
[all …]