chp_info_get_status
status = chp_info_get_status(cp->chpid);
state = chp_info_get_status(chpid);
int chp_info_get_status(struct chp_id chpid);