/linux-3.4.99/arch/cris/arch-v10/drivers/ ! |
D | i2c.c | 73 #define i2c_clk(x) \ macro 99 #define i2c_clk(x) \ macro 101 ~IO_MASK(R_PORT_PB_I2C, i2c_clk)) | IO_FIELD(R_PORT_PB_I2C, i2c_clk, (x))); \ 134 i2c_clk(I2C_CLOCK_HIGH); in i2c_start() 144 i2c_clk(I2C_CLOCK_LOW); in i2c_start() 158 i2c_clk(I2C_CLOCK_LOW); in i2c_stop() 164 i2c_clk(I2C_CLOCK_HIGH); in i2c_stop() 192 i2c_clk(I2C_CLOCK_HIGH); in i2c_outbyte() 194 i2c_clk(I2C_CLOCK_LOW); in i2c_outbyte() 230 i2c_clk(I2C_CLOCK_HIGH); in i2c_inbyte() [all …]
|
/linux-3.4.99/arch/cris/arch-v32/drivers/ ! |
D | i2c.c | 73 #define i2c_clk(x) crisv32_io_set(&cris_i2c_clk, x) macro 103 i2c_clk(I2C_CLOCK_HIGH); in i2c_start() 113 i2c_clk(I2C_CLOCK_LOW); in i2c_start() 127 i2c_clk(I2C_CLOCK_LOW); in i2c_stop() 133 i2c_clk(I2C_CLOCK_HIGH); in i2c_stop() 161 i2c_clk(I2C_CLOCK_HIGH); in i2c_outbyte() 163 i2c_clk(I2C_CLOCK_LOW); in i2c_outbyte() 199 i2c_clk(I2C_CLOCK_HIGH); in i2c_inbyte() 201 i2c_clk(I2C_CLOCK_LOW); in i2c_inbyte() 216 i2c_clk(I2C_CLOCK_HIGH); in i2c_inbyte() [all …]
|
/linux-3.4.99/drivers/staging/nvec/ ! |
D | nvec.c | 678 clk_enable(nvec->i2c_clk); in tegra_init_i2c_slave() 680 tegra_periph_reset_assert(nvec->i2c_clk); in tegra_init_i2c_slave() 682 tegra_periph_reset_deassert(nvec->i2c_clk); in tegra_init_i2c_slave() 688 clk_set_rate(nvec->i2c_clk, 8 * 80000); in tegra_init_i2c_slave() 698 clk_disable(nvec->i2c_clk); in tegra_init_i2c_slave() 705 clk_disable(nvec->i2c_clk); in nvec_disable_i2c_slave() 717 struct clk *i2c_clk; in tegra_nvec_probe() local 776 i2c_clk = clk_get_sys("tegra-i2c.2", NULL); in tegra_nvec_probe() 777 if (IS_ERR(i2c_clk)) { in tegra_nvec_probe() 784 nvec->i2c_clk = i2c_clk; in tegra_nvec_probe() [all …]
|
D | nvec.h | 163 struct clk *i2c_clk; member
|
/linux-3.4.99/drivers/i2c/busses/ ! |
D | i2c-tegra.c | 126 struct clk *i2c_clk; member 583 struct clk *i2c_clk; in tegra_i2c_probe() local 621 i2c_clk = clk_get(&pdev->dev, "i2c"); in tegra_i2c_probe() 622 if (IS_ERR(i2c_clk)) { in tegra_i2c_probe() 624 ret = PTR_ERR(i2c_clk); in tegra_i2c_probe() 636 i2c_dev->i2c_clk = i2c_clk; in tegra_i2c_probe() 675 clk_enable(i2c_dev->i2c_clk); in tegra_i2c_probe() 701 clk_put(i2c_clk); in tegra_i2c_probe() 716 clk_put(i2c_dev->i2c_clk); in tegra_i2c_remove()
|
D | i2c-sh_mobile.c | 191 unsigned long i2c_clk; in activate_ch() local 201 i2c_clk = clk_get_rate(pd->clk); in activate_ch() 208 num = i2c_clk * 5; in activate_ch() 226 num = i2c_clk * 4; in activate_ch()
|
D | i2c-nomadik.c | 315 u32 i2c_clk, div; in setup_i2c_controller() local 334 i2c_clk = clk_get_rate(dev->clk); in setup_i2c_controller() 355 brcr2 = (i2c_clk/(dev->cfg.clk_freq * div)) & 0xffff; in setup_i2c_controller() 369 brcr2 = i2c_clk/(100000 * 2) & 0xffff; in setup_i2c_controller()
|
/linux-3.4.99/arch/arm/mach-imx/ ! |
D | clock-imx25.c | 250 DEFINE_CLOCK(i2c_clk, 0, CCM_CGCR0, 6, get_rate_i2c, NULL, NULL); 297 _REGISTER_CLOCK("imx-i2c.0", NULL, i2c_clk) 298 _REGISTER_CLOCK("imx-i2c.1", NULL, i2c_clk) 299 _REGISTER_CLOCK("imx-i2c.2", NULL, i2c_clk)
|
D | clock-imx1.c | 538 static struct clk i2c_clk = { variable 593 _REGISTER_CLOCK("imx-i2c.0", NULL, i2c_clk)
|
D | clock-imx21.c | 1003 static struct clk i2c_clk = { variable 1190 _REGISTER_CLOCK("imx-i2c.0", NULL, i2c_clk)
|
/linux-3.4.99/arch/powerpc/platforms/512x/ ! |
D | clock.c | 460 static struct clk i2c_clk = { variable 571 &i2c_clk,
|
/linux-3.4.99/arch/arm/mach-spear6xx/ ! |
D | clock.c | 519 static struct clk i2c_clk = { variable 659 { .dev_id = "d0200000.i2c", .clk = &i2c_clk},
|
/linux-3.4.99/arch/arm/mach-spear3xx/ ! |
D | clock.c | 439 static struct clk i2c_clk = { variable 683 { .dev_id = "i2c_designware.0", .clk = &i2c_clk},
|
/linux-3.4.99/arch/arm/mach-davinci/ ! |
D | dm644x.c | 196 static struct clk i2c_clk = { variable 310 CLK("i2c_davinci.1", NULL, &i2c_clk),
|
D | dm646x.c | 232 static struct clk i2c_clk = { variable 348 CLK("i2c_davinci.1", NULL, &i2c_clk),
|
D | dm355.c | 217 static struct clk i2c_clk = { variable 361 CLK("i2c_davinci.1", NULL, &i2c_clk),
|
D | dm365.c | 279 static struct clk i2c_clk = { variable 456 CLK("i2c_davinci.1", NULL, &i2c_clk),
|