---
name: "clk_set_rate_ex"
section: "9"
platform: "linux"
package: "linux-manual-2.6.32"
version: "2.6.32-48squeeze6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/clk_set_rate_ex"
---

# clk\_set\_rate\_ex(9)

set the clock rate for a clock source, with additional parameter

## NAME

clk\_set\_rate\_ex - set the clock rate for a clock source, with additional parameter

## SYNOPSIS

**int clk\_set\_rate\_ex(struct clk \*** *clk***, unsigned long** *rate***, int** *algo\_id***);**

## ARGUMENTS

*clk*

clock source

*rate*

desired clock rate in Hz

*algo\_id*

algorithm id to be passed down to ops-\>set\_rate

## DESCRIPTION

Returns success (0) or negative errno.

## AUTHOR

**Paul Mundt** \<lethal@linux-sh.org\>

Author.

## COPYRIGHT
