---
name: "clk_get_rate"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/clk_get_rate"
---

# clk\_get\_rate(9)

obtain the current clock rate (in Hz) for a clock source. This is only valid once the clock source has been enabled.

## NAME

clk\_get\_rate - obtain the current clock rate (in Hz) for a clock source. This is only valid once the clock source has been enabled.

## SYNOPSIS

**unsigned long clk\_get\_rate(struct clk \*** *clk***);**

## ARGUMENTS

*clk*

clock source

## COPYRIGHT
