• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/

Lines Matching refs:retbuf

142 	unsigned long retbuf[PLPAR_HCALL9_BUFSIZE];
144 rc = plpar_hcall9(H_GET_MPP, retbuf);
146 mpp_data->entitled_mem = retbuf[0];
147 mpp_data->mapped_mem = retbuf[1];
149 mpp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff;
150 mpp_data->pool_num = retbuf[2] & 0xffff;
152 mpp_data->mem_weight = (retbuf[3] >> 7 * 8) & 0xff;
153 mpp_data->unallocated_mem_weight = (retbuf[3] >> 6 * 8) & 0xff;
154 mpp_data->unallocated_entitlement = retbuf[3] & 0xffffffffffff;
156 mpp_data->pool_size = retbuf[4];
157 mpp_data->loan_request = retbuf[5];
158 mpp_data->backing_mem = retbuf[6];
182 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE];
184 rc = plpar_hcall9(H_GET_PPP, retbuf);
186 ppp_data->entitlement = retbuf[0];
187 ppp_data->unallocated_entitlement = retbuf[1];
189 ppp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff;
190 ppp_data->pool_num = retbuf[2] & 0xffff;
192 ppp_data->capped = (retbuf[3] >> 6 * 8) & 0x01;
193 ppp_data->weight = (retbuf[3] >> 5 * 8) & 0xff;
194 ppp_data->unallocated_weight = (retbuf[3] >> 4 * 8) & 0xff;
195 ppp_data->active_procs_in_pool = (retbuf[3] >> 2 * 8) & 0xffff;
196 ppp_data->active_system_procs = retbuf[3] & 0xffff;
198 ppp_data->phys_platform_procs = retbuf[4] >> 6 * 8;
199 ppp_data->max_proc_cap_avail = (retbuf[4] >> 3 * 8) & 0xffffff;
200 ppp_data->entitled_proc_cap_avail = retbuf[4] & 0xffffff;
209 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
211 rc = plpar_hcall(H_PIC, retbuf);
213 *pool_idle_time = retbuf[0];
214 *num_procs = retbuf[1];
467 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
469 if (plpar_hcall(H_GET_EM_PARMS, retbuf) == H_SUCCESS)
470 seq_printf(m, "power_mode_data=%016lx\n", retbuf[0]);