Lines Matching refs:cur_obf
463 unsigned int cur_obf, struct mvumi_rsp_frame *p_outb_frame) in mvumi_check_ob_frame() argument
468 p_outb_frame = mhba->ob_list + cur_obf * mhba->ob_max_size; in mvumi_check_ob_frame()
490 unsigned int *cur_obf, unsigned int *assign_obf_end) in mvumi_check_ob_list_9143() argument
500 *cur_obf = mhba->ob_cur_slot & mhba->regs->cl_slot_num_mask; in mvumi_check_ob_list_9143()
511 unsigned int *cur_obf, unsigned int *assign_obf_end) in mvumi_check_ob_list_9580() argument
518 *cur_obf = mhba->ob_cur_slot & mhba->regs->cl_slot_num_mask; in mvumi_check_ob_list_9580()
520 if (*assign_obf_end < *cur_obf) in mvumi_check_ob_list_9580()
522 else if (*assign_obf_end == *cur_obf) in mvumi_check_ob_list_9580()
529 unsigned int cur_obf, assign_obf_end, i; in mvumi_receive_ob_list_entry() local
534 if (mhba->instancet->check_ob_list(mhba, &cur_obf, &assign_obf_end)) in mvumi_receive_ob_list_entry()
537 for (i = (assign_obf_end - cur_obf); i != 0; i--) { in mvumi_receive_ob_list_entry()
538 cur_obf++; in mvumi_receive_ob_list_entry()
539 if (cur_obf >= mhba->list_num_io) { in mvumi_receive_ob_list_entry()
540 cur_obf -= mhba->list_num_io; in mvumi_receive_ob_list_entry()
544 p_outb_frame = mhba->ob_list + cur_obf * mhba->ob_max_size; in mvumi_receive_ob_list_entry()
553 if (mvumi_check_ob_frame(mhba, cur_obf, p_outb_frame)) in mvumi_receive_ob_list_entry()
563 if (cur_obf == 0) { in mvumi_receive_ob_list_entry()
564 cur_obf = mhba->list_num_io - 1; in mvumi_receive_ob_list_entry()
567 cur_obf -= 1; in mvumi_receive_ob_list_entry()
577 mhba->ob_cur_slot |= (cur_obf & regs->cl_slot_num_mask); in mvumi_receive_ob_list_entry()