Searched refs:free_slots_cnt (Results 1 – 3 of 3) sorted by relevance
132 &hdev->completion_queue[q->cq_id].free_slots_cnt; in ext_queue_sanity_checks()133 int free_slots_cnt; in ext_queue_sanity_checks() local136 free_slots_cnt = queue_free_slots(q, HL_QUEUE_LENGTH); in ext_queue_sanity_checks()138 if (free_slots_cnt < num_of_entries) { in ext_queue_sanity_checks()180 int free_slots_cnt; in int_queue_sanity_checks() local190 free_slots_cnt = queue_free_slots(q, q->int_queue_len); in int_queue_sanity_checks()192 if (free_slots_cnt < num_of_entries) { in int_queue_sanity_checks()214 int free_slots_cnt; in hw_queue_sanity_checks() local217 free_slots_cnt = queue_free_slots(q, HL_QUEUE_LENGTH); in hw_queue_sanity_checks()219 if (free_slots_cnt < num_of_entries) { in hw_queue_sanity_checks()[all …]
191 atomic_inc(&cq->free_slots_cnt); in hl_irq_handler_cq()609 atomic_set(&q->free_slots_cnt, HL_CQ_LENGTH); in hl_cq_init()632 atomic_set(&q->free_slots_cnt, HL_CQ_LENGTH); in hl_cq_reset()
1121 atomic_t free_slots_cnt; member