Lines Matching refs:p_rcb
72 tMCA_RCB *p_rcb = &mca_cb.rcb[0]; in mca_handle_by_cpsm() local
74 for (i=0; i<MCA_NUM_REGS; i++, p_rcb++) in mca_handle_by_cpsm()
76 if (p_rcb->p_cback && p_rcb->reg.ctrl_psm == psm) in mca_handle_by_cpsm()
99 tMCA_RCB *p_rcb = &mca_cb.rcb[0]; in mca_handle_by_dpsm() local
101 for (i=0; i<MCA_NUM_REGS; i++, p_rcb++) in mca_handle_by_dpsm()
103 if (p_rcb->p_cback && p_rcb->reg.data_psm == psm) in mca_handle_by_dpsm()
516 tMCA_RCB *p_rcb = NULL; in mca_rcb_alloc() local
522 p_rcb = &mca_cb.rcb[i]; in mca_rcb_alloc()
523 memcpy (&p_rcb->reg, p_reg, sizeof(tMCA_REG)); in mca_rcb_alloc()
527 return p_rcb; in mca_rcb_alloc()
543 tMCA_RCB *p_rcb; in mca_rcb_dealloc() local
549 p_rcb = &mca_cb.rcb[handle]; in mca_rcb_dealloc()
550 if (p_rcb->p_cback) in mca_rcb_dealloc()
556 if (p_ccb->p_rcb) in mca_rcb_dealloc()
565 memset (p_rcb, 0, sizeof(tMCA_RCB)); in mca_rcb_dealloc()
582 tMCA_HANDLE mca_rcb_to_handle(tMCA_RCB *p_rcb) in mca_rcb_to_handle() argument
584 return(UINT8) (p_rcb - mca_cb.rcb + 1); in mca_rcb_to_handle()
600 tMCA_RCB *p_rcb = NULL; in mca_rcb_by_handle() local
604 p_rcb = &mca_cb.rcb[handle-1]; in mca_rcb_by_handle()
606 return p_rcb; in mca_rcb_by_handle()
618 BOOLEAN mca_is_valid_dep_id(tMCA_RCB *p_rcb, tMCA_DEP dep) in mca_is_valid_dep_id() argument
621 if (dep < MCA_NUM_DEPS && p_rcb->dep[dep].p_data_cback) in mca_is_valid_dep_id()