---
name: "drm_dp_dpcd_readb"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_dp_dpcd_readb"
---

# drm\_dp\_dpcd\_readb(9)

read a single byte from the DPCD

## NAME

drm\_dp\_dpcd\_readb - read a single byte from the DPCD

## SYNOPSIS

**ssize\_t drm\_dp\_dpcd\_readb(struct drm\_dp\_aux \*** *aux***, unsigned int** *offset***, u8 \*** *valuep***);**

## ARGUMENTS

*aux*

DisplayPort AUX channel

*offset*

address of the register to read

*valuep*

location where the value of the register will be stored

## DESCRIPTION

Returns the number of bytes transferred (1) on success, or a negative error code on failure.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
