Lines Matching refs:hpcrc
219 int hpcrc = 0; in set_attention_status() local
244 hpcrc = ibmphp_hpc_writeslot (pslot, cmd); in set_attention_status()
251 if (hpcrc) in set_attention_status()
252 rc = hpcrc; in set_attention_status()
264 int hpcrc = 0; in get_attention_status() local
274 hpcrc = ibmphp_hpc_readslot (pslot, READ_SLOTSTATUS, &(myslot.status)); in get_attention_status()
275 if (!hpcrc) in get_attention_status()
276 hpcrc = ibmphp_hpc_readslot (pslot, READ_EXTSLOTSTATUS, &(myslot.ext_status)); in get_attention_status()
277 if (!hpcrc) { in get_attention_status()
285 if (hpcrc) in get_attention_status()
286 rc = hpcrc; in get_attention_status()
289 debug ("get_attention_status - Exit rc[%d] hpcrc[%x] value[%x]\n", rc, hpcrc, *value); in get_attention_status()
297 int hpcrc = 0; in get_latch_status() local
306 hpcrc = ibmphp_hpc_readslot (pslot, READ_SLOTSTATUS, &(myslot.status)); in get_latch_status()
307 if (!hpcrc) { in get_latch_status()
315 if (hpcrc) in get_latch_status()
316 rc = hpcrc; in get_latch_status()
319 debug ("get_latch_status - Exit rc[%d] hpcrc[%x] value[%x]\n", rc, hpcrc, *value); in get_latch_status()
328 int hpcrc = 0; in get_power_status() local
337 hpcrc = ibmphp_hpc_readslot (pslot, READ_SLOTSTATUS, &(myslot.status)); in get_power_status()
338 if (!hpcrc) { in get_power_status()
346 if (hpcrc) in get_power_status()
347 rc = hpcrc; in get_power_status()
350 debug ("get_power_status - Exit rc[%d] hpcrc[%x] value[%x]\n", rc, hpcrc, *value); in get_power_status()
359 int hpcrc = 0; in get_adapter_present() local
368 hpcrc = ibmphp_hpc_readslot (pslot, READ_SLOTSTATUS, &(myslot.status)); in get_adapter_present()
369 if (!hpcrc) { in get_adapter_present()
380 if (hpcrc) in get_adapter_present()
381 rc = hpcrc; in get_adapter_present()
384 debug ("get_adapter_present - Exit rc[%d] hpcrc[%x] value[%x]\n", rc, hpcrc, *value); in get_adapter_present()