Lines Matching full:parameter
46 * For use on buffers returned from ibm,get-system-parameter before
56 * Perform some basic diligence on the system parameter buffer before
73 * papr_sysparm_get() - Retrieve the value of a PAPR system parameter.
74 * @param: PAPR system parameter token as described in
78 * Place the result of querying the specified parameter, if available,
82 * Since there is at least one parameter (60, OS Service Entitlement
85 * work area before calling ibm,get-system-parameter.
87 * A defined parameter may not be implemented on a given system, and
89 * on a system. A parameter's disposition may change at any time due
130 case -3: /* parameter not implemented */ in papr_sysparm_get()
133 case -9002: /* this partition not authorized to retrieve this parameter */ in papr_sysparm_get()
136 case -9999: /* "parameter error" e.g. the buffer is too small */ in papr_sysparm_get()
140 pr_err("unexpected ibm,get-system-parameter result %d\n", fwrc); in papr_sysparm_get()
183 case -3: /* parameter not supported */ in papr_sysparm_set()
186 case -9002: /* this partition not authorized to modify this parameter */ in papr_sysparm_set()
189 case -9999: /* "parameter error" e.g. invalid input data */ in papr_sysparm_set()
193 pr_err("unexpected ibm,set-system-parameter result %d\n", fwrc); in papr_sysparm_set()
266 if (get_user(param.token, &user_iob->parameter)) in papr_sysparm_ioctl_get()
295 if (get_user(param.token, &user_iob->parameter)) in papr_sysparm_ioctl_set()