Searched refs:pres (Results 1 – 7 of 7) sorted by relevance
/u-boot/drivers/i2c/ |
A D | nx_i2c.c | 168 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 D | s3c24x0_i2c.c | 61 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 D | clk-master.c | 84 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 D | imx6qp.dtsi | 64 fsl,pres = <&pre1>, <&pre2>, <&pre3>; 73 fsl,pres = <&pre4>, <&pre2>, <&pre3>;
|
A D | armada-xp-synology-ds414.dts | 234 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 D | at91sam9n12.dtsi | 173 atmel,master-clk-have-div3-pres;
|
A D | at91sam9x5.dtsi | 178 atmel,master-clk-have-div3-pres;
|
Completed in 11 milliseconds