Home
last modified time | relevance | path

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

/u-boot/drivers/i2c/
A Dnx_i2c.c168 unsigned long pclk, pres = 16, div; in nx_i2c_set_bus_speed() local
177 if ((pclk / pres / (16 + 1)) > speed) in nx_i2c_set_bus_speed()
179 pres = 256; in nx_i2c_set_bus_speed()
183 while ((pclk / pres / (div + 1)) > speed) in nx_i2c_set_bus_speed()
188 __func__, pres, div); in nx_i2c_set_bus_speed()
191 debug("%s(): pres==%ld, div==0x%lx)\n", __func__, pres, div); in nx_i2c_set_bus_speed()
195 writel((div & I2CCON_TCDMSK) | ((pres == 256) ? I2CCON_TCP256 : 0), in nx_i2c_set_bus_speed()
206 bus->speed = pclk / ((div + 1) * pres); in nx_i2c_set_bus_speed()
A Ds3c24x0_i2c.c61 ulong freq, pres = 16, div; in i2c_ch_init() local
68 if ((freq / pres / (16 + 1)) > speed) in i2c_ch_init()
70 pres = 512; in i2c_ch_init()
73 while ((freq / pres / (div + 1)) > speed) in i2c_ch_init()
77 writel((div & 0x0F) | 0xA0 | ((pres == 512) ? 0x40 : 0), &i2c->iiccon); in i2c_ch_init()
/u-boot/drivers/clk/at91/
A Dclk-master.c84 u8 pres, div; in clk_master_get_rate() local
92 pres = (mckr >> layout->pres_shift) & MASTER_PRES_MASK; in clk_master_get_rate()
95 if (characteristics->have_div3_pres && pres == MASTER_PRES_MAX) in clk_master_get_rate()
98 rate >>= pres; in clk_master_get_rate()
/u-boot/arch/arm/dts/
A Dimx6qp.dtsi64 fsl,pres = <&pre1>, <&pre2>, <&pre3>;
73 fsl,pres = <&pre4>, <&pre2>, <&pre3>;
A Darmada-xp-synology-ds414.dts234 sata1_pres_pin: sata1-pres-pin {
239 sata2_pres_pin: sata2-pres-pin {
244 sata3_pres_pin: sata3-pres-pin {
249 sata4_pres_pin: sata4-pres-pin {
A Dat91sam9n12.dtsi173 atmel,master-clk-have-div3-pres;
A Dat91sam9x5.dtsi178 atmel,master-clk-have-div3-pres;

Completed in 11 milliseconds