Lines Matching refs:q_size
102 return (qinfo->q_size - msgq_occupied(msgq, qinfo) - 1); in msgq_avail_space()
495 qinfo->q_size = msgq_size; in bcm_vk_sync_msgq()
497 qinfo->q_low = qinfo->q_size >> 1; in bcm_vk_sync_msgq()
498 qinfo->q_mask = qinfo->q_size - 1; in bcm_vk_sync_msgq()
560 avail, qinfo->q_size); in bcm_vk_append_ib_sgl()
644 if (wr_idx >= qinfo->q_size) { in bcm_to_v_msg_enqueue()
646 wr_idx, qinfo->q_size); in bcm_to_v_msg_enqueue()
806 max_msg_to_process = BCM_VK_MSG_PROC_MAX_LOOP * qinfo->q_size; in bcm_to_h_msg_dequeue()
826 if ((rd_idx >= qinfo->q_size) || in bcm_to_h_msg_dequeue()
827 (src_size > (qinfo->q_size - 1))) { in bcm_to_h_msg_dequeue()
830 rd_idx, src_size, qinfo->q_size); in bcm_to_h_msg_dequeue()