# Pastebin aJZHpZpX drivers/i2c/busses/i2c-sh_mobile.c: i2c_clk_khz = clk_get_rate(pd->clk) / 1000 / pd->clks_per_count; drivers/i2c/busses/i2c-sh_mobile.c: clks_per_cycle = clk_get_rate(pd->clk) / pd->bus_speed; drivers/i2c/busses/i2c-sh_mobile.c: pd->clk = devm_clk_get(&dev->dev, NULL); drivers/mmc/host/sh_mmcif.c: unsigned int current_clk = clk_get_rate(host->clk); drivers/mmc/host/sh_mmcif.c: freq = clk_round_rate(host->clk, clk * div); drivers/mmc/host/sh_mmcif.c: clk_set_rate(host->clk, best_freq); drivers/mmc/host/sh_mmcif.c: f_min = clk_round_rate(host->clk, f_min_old / 2); drivers/mmc/host/sh_mmcif.c: unsigned int clk = clk_get_rate(host->clk); drivers/mmc/host/sh_mmcif.c: clk_prepare_enable(host->clk); drivers/mmc/host/sh_mmcif.c: clk_disable_unprepare(host->clk); drivers/mmc/host/sh_mmcif.c: host->clk = devm_clk_get(dev, NULL); drivers/mmc/host/sh_mmcif.c: ret = clk_prepare_enable(host->clk); drivers/mmc/host/sh_mmcif.c: clk_get_rate(host->clk) / 1000000UL); drivers/mmc/host/sh_mmcif.c: clk_disable_unprepare(host->clk); drivers/mmc/host/sh_mmcif.c: clk_disable_unprepare(host->clk); drivers/mmc/host/sh_mmcif.c: clk_prepare_enable(host->clk); drivers/mmc/host/sh_mmcif.c: clk_disable_unprepare(host->clk); drivers/spi/spi-rspi.c: clksrc = clk_get_rate(rspi->clk); drivers/spi/spi-rspi.c: clksrc = clk_get_rate(rspi->clk); drivers/spi/spi-rspi.c: rspi->clk = devm_clk_get(&pdev->dev, NULL); drivers/spi/spi-rspi.c: clksrc = clk_get_rate(rspi->clk); drivers/spi/spi-sh-msiof.c: unsigned long parent_rate = clk_get_rate(p->clk); drivers/spi/spi-sh-msiof.c: p->clk = devm_clk_get(&pdev->dev, NULL); drivers/spi/spi-sh-msiof.c: clksrc = clk_get_rate(p->clk); drivers/tty/serial/sh-sci.c: clk_prepare_enable(sci_port->clks[i]); drivers/tty/serial/sh-sci.c: sci_port->clk_rates[i] = clk_get_rate(sci_port->clks[i]); drivers/tty/serial/sh-sci.c: clk_disable_unprepare(sci_port->clks[i]); drivers/tty/serial/sh-sci.c: clk = devm_clk_get_optional(dev, clk_names[i]); drivers/tty/serial/sh-sci.c: clk = devm_clk_get(dev, "peripheral_clk"); drivers/tty/serial/sh-sci.c: clk, clk_get_rate(clk)); drivers/usb/renesas_usbhs/common.c: clk_put(priv->clks[i]); drivers/usb/renesas_usbhs/common.c: ret = clk_prepare_enable(priv->clks[i]); drivers/usb/renesas_usbhs/common.c: clk_disable_unprepare(priv->clks[i]); drivers/usb/renesas_usbhs/common.c: clk_disable_unprepare(priv->clks[i]); sound/soc/sh/fsi.c: clock->own = devm_clk_get(dev, NULL); sound/soc/sh/fsi.c: clock->xck = devm_clk_get(dev, is_porta ? "xcka" : "xckb"); sound/soc/sh/fsi.c: clock->ick = devm_clk_get(dev, is_porta ? "icka" : "ickb"); sound/soc/sh/fsi.c: clock->div = devm_clk_get(dev, is_porta ? "diva" : "divb"); sound/soc/sh/fsi.c: clk_enable(clock->xck); sound/soc/sh/fsi.c: clk_enable(clock->ick); sound/soc/sh/fsi.c: clk_enable(clock->div); sound/soc/sh/fsi.c: clk_disable(clock->xck); sound/soc/sh/fsi.c: clk_disable(clock->ick); sound/soc/sh/fsi.c: clk_disable(clock->div); sound/soc/sh/fsi.c: xrate = clk_get_rate(xck); sound/soc/sh/fsi.c: clk_set_parent(ick, xck); sound/soc/sh/fsi.c: clk_set_rate(ick, xrate); sound/soc/sh/fsi.c: cout = clk_round_rate(ick, cout); sound/soc/sh/fsi.c: ret = clk_set_rate(ick, best_cout); sound/soc/sh/fsi.c: ret = clk_set_rate(div, clk_round_rate(div, best_act)); sound/soc/sh/fsi.c: clk_get_rate(ick), clk_get_rate(div));