Home
last modified time | relevance | path

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

/drivers/clk/meson/
Dclk-phase.c84 struct meson_clk_triphase_data *tph = meson_clk_triphase_data(clk); in meson_clk_triphase_sync() local
88 val = meson_parm_read(clk->map, &tph->ph0); in meson_clk_triphase_sync()
89 meson_parm_write(clk->map, &tph->ph1, val); in meson_clk_triphase_sync()
90 meson_parm_write(clk->map, &tph->ph2, val); in meson_clk_triphase_sync()
98 struct meson_clk_triphase_data *tph = meson_clk_triphase_data(clk); in meson_clk_triphase_get_phase() local
102 val = meson_parm_read(clk->map, &tph->ph0); in meson_clk_triphase_get_phase()
104 return meson_clk_degrees_from_val(val, tph->ph0.width); in meson_clk_triphase_get_phase()
110 struct meson_clk_triphase_data *tph = meson_clk_triphase_data(clk); in meson_clk_triphase_set_phase() local
113 val = meson_clk_degrees_to_val(degrees, tph->ph0.width); in meson_clk_triphase_set_phase()
114 meson_parm_write(clk->map, &tph->ph0, val); in meson_clk_triphase_set_phase()
[all …]
/drivers/i2c/busses/
Di2c-img-scb.c299 unsigned int tp2s, tpl, tph; member
314 .tph = 4000,
326 .tph = 600,
1287 data = timing.tph / clk_period; in img_i2c_init()