i2c_clk 272 drivers/clk/tegra/clk-dfll.c struct clk *i2c_clk; i2c_clk 406 drivers/clk/tegra/clk-dfll.c ret = clk_enable(td->i2c_clk); i2c_clk 431 drivers/clk/tegra/clk-dfll.c clk_disable(td->i2c_clk); i2c_clk 1437 drivers/clk/tegra/clk-dfll.c td->i2c_clk = devm_clk_get(td->dev, "i2c"); i2c_clk 1438 drivers/clk/tegra/clk-dfll.c if (IS_ERR(td->i2c_clk)) { i2c_clk 1440 drivers/clk/tegra/clk-dfll.c return PTR_ERR(td->i2c_clk); i2c_clk 1442 drivers/clk/tegra/clk-dfll.c td->i2c_clk_rate = clk_get_rate(td->i2c_clk); i2c_clk 1481 drivers/clk/tegra/clk-dfll.c ret = clk_prepare(td->i2c_clk); i2c_clk 2032 drivers/clk/tegra/clk-dfll.c clk_unprepare(td->i2c_clk); i2c_clk 83 drivers/i2c/busses/i2c-altera.c struct clk *i2c_clk; i2c_clk 146 drivers/i2c/busses/i2c-altera.c u32 divisor = clk_get_rate(idev->i2c_clk) / idev->bus_clk_rate; i2c_clk 147 drivers/i2c/busses/i2c-altera.c u32 clk_mhz = clk_get_rate(idev->i2c_clk) / 1000000; i2c_clk 410 drivers/i2c/busses/i2c-altera.c idev->i2c_clk = devm_clk_get(&pdev->dev, NULL); i2c_clk 411 drivers/i2c/busses/i2c-altera.c if (IS_ERR(idev->i2c_clk)) { i2c_clk 413 drivers/i2c/busses/i2c-altera.c return PTR_ERR(idev->i2c_clk); i2c_clk 450 drivers/i2c/busses/i2c-altera.c ret = clk_prepare_enable(idev->i2c_clk); i2c_clk 469 drivers/i2c/busses/i2c-altera.c clk_disable_unprepare(idev->i2c_clk); i2c_clk 481 drivers/i2c/busses/i2c-altera.c clk_disable_unprepare(idev->i2c_clk); i2c_clk 145 drivers/i2c/busses/i2c-axxia.c struct clk *i2c_clk; i2c_clk 178 drivers/i2c/busses/i2c-axxia.c u32 divisor = clk_get_rate(idev->i2c_clk) / idev->bus_clk_rate; i2c_clk 179 drivers/i2c/busses/i2c-axxia.c u32 clk_mhz = clk_get_rate(idev->i2c_clk) / 1000000; i2c_clk 756 drivers/i2c/busses/i2c-axxia.c idev->i2c_clk = devm_clk_get(&pdev->dev, "i2c"); i2c_clk 757 drivers/i2c/busses/i2c-axxia.c if (IS_ERR(idev->i2c_clk)) { i2c_clk 759 drivers/i2c/busses/i2c-axxia.c return PTR_ERR(idev->i2c_clk); i2c_clk 770 drivers/i2c/busses/i2c-axxia.c ret = clk_prepare_enable(idev->i2c_clk); i2c_clk 807 drivers/i2c/busses/i2c-axxia.c clk_disable_unprepare(idev->i2c_clk); i2c_clk 815 drivers/i2c/busses/i2c-axxia.c clk_disable_unprepare(idev->i2c_clk); i2c_clk 156 drivers/i2c/busses/i2c-cadence.c unsigned int i2c_clk; i2c_clk 742 drivers/i2c/busses/i2c-cadence.c unsigned long fscl = id->i2c_clk; i2c_clk 786 drivers/i2c/busses/i2c-cadence.c unsigned long fscl = id->i2c_clk; i2c_clk 942 drivers/i2c/busses/i2c-cadence.c &id->i2c_clk); i2c_clk 943 drivers/i2c/busses/i2c-cadence.c if (ret || (id->i2c_clk > CDNS_I2C_SPEED_MAX)) i2c_clk 944 drivers/i2c/busses/i2c-cadence.c id->i2c_clk = CDNS_I2C_SPEED_DEFAULT; i2c_clk 951 drivers/i2c/busses/i2c-cadence.c dev_err(&pdev->dev, "invalid SCL clock: %u Hz\n", id->i2c_clk); i2c_clk 977 drivers/i2c/busses/i2c-cadence.c id->i2c_clk / 1000, (unsigned long)r_mem->start, id->irq); i2c_clk 236 drivers/i2c/busses/i2c-jz4780.c int i2c_clk = i2c->speed; i2c_clk 246 drivers/i2c/busses/i2c-jz4780.c cnt_period = dev_clk_khz / i2c_clk; i2c_clk 248 drivers/i2c/busses/i2c-jz4780.c if (i2c_clk <= 100) i2c_clk 262 drivers/i2c/busses/i2c-jz4780.c if (i2c_clk <= 100) { i2c_clk 300 drivers/i2c/busses/i2c-jz4780.c if (i2c_clk <= 100) { /* standard mode */ i2c_clk 351 drivers/i2c/busses/i2c-nomadik.c u32 i2c_clk, div; i2c_clk 361 drivers/i2c/busses/i2c-nomadik.c i2c_clk = clk_get_rate(dev->clk); i2c_clk 375 drivers/i2c/busses/i2c-nomadik.c ns = DIV_ROUND_UP_ULL(1000000000ULL, i2c_clk); i2c_clk 409 drivers/i2c/busses/i2c-nomadik.c brcr2 = (i2c_clk/(dev->clk_freq * div)) & 0xffff; i2c_clk 423 drivers/i2c/busses/i2c-nomadik.c brcr2 = i2c_clk/(100000 * 2) & 0xffff; i2c_clk 49 drivers/mfd/intel_quark_i2c_gpio.c struct clk *i2c_clk; i2c_clk 126 drivers/mfd/intel_quark_i2c_gpio.c struct clk *i2c_clk; i2c_clk 128 drivers/mfd/intel_quark_i2c_gpio.c i2c_clk = clk_register_fixed_rate(dev, i2c_clk 131 drivers/mfd/intel_quark_i2c_gpio.c if (IS_ERR(i2c_clk)) i2c_clk 132 drivers/mfd/intel_quark_i2c_gpio.c return PTR_ERR(i2c_clk); i2c_clk 134 drivers/mfd/intel_quark_i2c_gpio.c quark_mfd->i2c_clk = i2c_clk; i2c_clk 135 drivers/mfd/intel_quark_i2c_gpio.c quark_mfd->i2c_clk_lookup = clkdev_create(i2c_clk, NULL, i2c_clk 139 drivers/mfd/intel_quark_i2c_gpio.c clk_unregister(quark_mfd->i2c_clk); i2c_clk 155 drivers/mfd/intel_quark_i2c_gpio.c clk_unregister(quark_mfd->i2c_clk); i2c_clk 725 drivers/staging/nvec/nvec.c clk_prepare_enable(nvec->i2c_clk); i2c_clk 735 drivers/staging/nvec/nvec.c clk_set_rate(nvec->i2c_clk, 8 * 80000); i2c_clk 751 drivers/staging/nvec/nvec.c clk_disable_unprepare(nvec->i2c_clk); i2c_clk 766 drivers/staging/nvec/nvec.c struct clk *i2c_clk; i2c_clk 800 drivers/staging/nvec/nvec.c i2c_clk = devm_clk_get(dev, "div-clk"); i2c_clk 801 drivers/staging/nvec/nvec.c if (IS_ERR(i2c_clk)) { i2c_clk 813 drivers/staging/nvec/nvec.c nvec->i2c_clk = i2c_clk; i2c_clk 139 drivers/staging/nvec/nvec.h struct clk *i2c_clk;