---
name: "clk_set_phase"
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_set_phase"
---

# clk\_set\_phase(9)

adjust the phase shift of a clock signal

## NAME

clk\_set\_phase - adjust the phase shift of a clock signal

## SYNOPSIS

**int clk\_set\_phase(struct clk \*** *clk***, int** *degrees***);**

## ARGUMENTS

*clk*

clock signal source

*degrees*

number of degrees the signal is shifted

## DESCRIPTION

Shifts the phase of a clock signal by the specified degrees. Returns 0 on success, -EERROR otherwise.

## COPYRIGHT
