Lines Matching refs:retbuf
116 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE] = {0}; in h_get_ppp() local
119 rc = plpar_hcall9(H_GET_PPP, retbuf); in h_get_ppp()
121 ppp_data->entitlement = retbuf[0]; in h_get_ppp()
122 ppp_data->unallocated_entitlement = retbuf[1]; in h_get_ppp()
124 ppp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_ppp()
125 ppp_data->pool_num = retbuf[2] & 0xffff; in h_get_ppp()
127 ppp_data->capped = (retbuf[3] >> 6 * 8) & 0x01; in h_get_ppp()
128 ppp_data->weight = (retbuf[3] >> 5 * 8) & 0xff; in h_get_ppp()
129 ppp_data->unallocated_weight = (retbuf[3] >> 4 * 8) & 0xff; in h_get_ppp()
130 ppp_data->active_procs_in_pool = (retbuf[3] >> 2 * 8) & 0xffff; in h_get_ppp()
131 ppp_data->active_system_procs = retbuf[3] & 0xffff; in h_get_ppp()
133 ppp_data->phys_platform_procs = retbuf[4] >> 6 * 8; in h_get_ppp()
134 ppp_data->max_proc_cap_avail = (retbuf[4] >> 3 * 8) & 0xffffff; in h_get_ppp()
135 ppp_data->entitled_proc_cap_avail = retbuf[4] & 0xffffff; in h_get_ppp()
177 unsigned long retbuf[PLPAR_HCALL_BUFSIZE] = {0}; in h_pic() local
179 rc = plpar_hcall(H_PIC, retbuf); in h_pic()
182 *pool_idle_time = retbuf[0]; in h_pic()
184 *num_procs = retbuf[1]; in h_pic()
504 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in parse_em_data() local
507 plpar_hcall(H_GET_EM_PARMS, retbuf) == H_SUCCESS) in parse_em_data()
508 seq_printf(m, "power_mode_data=%016lx\n", retbuf[0]); in parse_em_data()