---
name: "write_zsreg"
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/write_zsreg"
---

# write\_zsreg(9)

Write to a Z8530 channel register

## NAME

write\_zsreg - Write to a Z8530 channel register

## SYNOPSIS

**void write\_zsreg(struct z8530\_channel \*** *c***, u8** *reg***, u8** *val***);**

## ARGUMENTS

*c*

The Z8530 channel

*reg*

Register number

*val*

Value to write

## DESCRIPTION

Write a value to an indexed register. The caller must hold the lock to honour the irritating delay rules. We know about register 0 being fast to access.

Assumes c-\>lock is held.

## AUTHOR

**Alan Cox** \<alan@lxorguk.ukuu.org.uk\>

Author.

## COPYRIGHT
