'\" t .\" Title: ccw_device_get_chp_desc .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: The ccw bus .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "CCW_DEVICE_GET_CHP_D" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "The ccw bus" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ccw_device_get_chp_desc \- return newly allocated channel\-path descriptor .SH "SYNOPSIS" .HP \w'struct\ channel_path_desc\ *\ ccw_device_get_chp_desc('u .BI "struct channel_path_desc * ccw_device_get_chp_desc(struct\ ccw_device\ *\ " "cdev" ", int\ " "chp_idx" ");" .SH "ARGUMENTS" .PP \fIcdev\fR .RS 4 device to obtain the descriptor for .RE .PP \fIchp_idx\fR .RS 4 index of the channel path .RE .SH "DESCRIPTION" .PP On success return a newly allocated copy of the channel\-path description data associated with the given channel path\&. Return \fBNULL\fR on error\&. .SH "AUTHOR" .PP \fBCornelia Huck\fR <\&cornelia.huck@de.ibm.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br