1 #ifndef _ASM_S390_CLP_H
2 #define _ASM_S390_CLP_H
4 /* CLP common request & response block size */
5 #define CLP_BLK_SIZE PAGE_SIZE
26 /* CLP Response Codes */
27 #define CLP_RC_OK 0x0010 /* Command request successfully */
28 #define CLP_RC_CMD 0x0020 /* Command code not recognized */
29 #define CLP_RC_PERM 0x0030 /* Command not authorized */
30 #define CLP_RC_FMT 0x0040 /* Invalid command request format */
31 #define CLP_RC_LEN 0x0050 /* Invalid command request length */
32 #define CLP_RC_8K 0x0060 /* Command requires 8K LPCB */
33 #define CLP_RC_RESNOT0 0x0070 /* Reserved field not zero */
34 #define CLP_RC_NODATA 0x0080 /* No data available */
35 #define CLP_RC_FC_UNKNOWN 0x0100 /* Function code not recognized */
37 /* Store logical-processor characteristics request */
39 struct clp_req_hdr hdr
;
43 struct clp_rsp_hdr hdr
;
50 struct clp_req_rsp_slpc
{
51 struct clp_req_slpc request
;
52 struct clp_rsp_slpc response
;