Lines Matching refs:status
184 SlotStatus status; member
589 SlotStatus status = slot->status; in _dump_slots() local
591 i, status.on_used, status.codec_use, status.hal_use, status.queue_use, status.val); in _dump_slots()
608 SlotStatus status = slot->status; in slot_ops_with_log() local
609 SlotStatus before = status; in slot_ops_with_log()
612 status.val = 0; in slot_ops_with_log()
615 status.on_used = 1; in slot_ops_with_log()
618 status.on_used = 0; in slot_ops_with_log()
621 status.not_ready = 1; in slot_ops_with_log()
624 status.not_ready = 0; in slot_ops_with_log()
627 status.not_ready = 0; in slot_ops_with_log()
630 status.not_ready = 1; in slot_ops_with_log()
633 status.codec_use = 1; in slot_ops_with_log()
636 status.codec_use = 0; in slot_ops_with_log()
639 status.hal_use++; in slot_ops_with_log()
642 if (status.hal_use) in slot_ops_with_log()
643 status.hal_use--; in slot_ops_with_log()
650 status.hal_output++; in slot_ops_with_log()
651 status.not_ready = 1; in slot_ops_with_log()
654 if (status.hal_output) in slot_ops_with_log()
655 status.hal_output--; in slot_ops_with_log()
660 if (!status.hal_output) in slot_ops_with_log()
661 status.not_ready = 0; in slot_ops_with_log()
668 status.queue_use++; in slot_ops_with_log()
675 if (status.queue_use) in slot_ops_with_log()
676 status.queue_use--; in slot_ops_with_log()
683 status.eos = 1; in slot_ops_with_log()
686 status.eos = 0; in slot_ops_with_log()
690 status.has_frame = (arg) ? (1) : (0); in slot_ops_with_log()
693 status.has_frame = 0; in slot_ops_with_log()
696 status.has_buffer = (arg) ? (1) : (0); in slot_ops_with_log()
699 status.has_buffer = 0; in slot_ops_with_log()
706 slot->status = status; in slot_ops_with_log()
708 impl->slots_idx, index, op_string[op], arg, before.val, status.val); in slot_ops_with_log()
710 buf_slot_logs_write(impl->logs, index, op, before, status); in slot_ops_with_log()
737 SlotStatus status = entry->status; in check_entry_unused() local
739 if (status.on_used && in check_entry_unused()
740 !status.not_ready && in check_entry_unused()
741 !status.codec_use && in check_entry_unused()
742 !status.hal_output && in check_entry_unused()
743 !status.hal_use && in check_entry_unused()
744 !status.queue_use) { in check_entry_unused()
779 mpp_assert(!slot->status.on_used); in clear_slots_impl()
780 if (slot->status.on_used) { in clear_slots_impl()
1036 if (!slot->status.on_used) { in mpp_buf_slot_get_unused()
1147 if (slot->status.not_ready) { in mpp_buf_slot_dequeue()
1193 slot_assert(impl, slot->status.not_ready); in mpp_buf_slot_set_prop()
1288 mpp_assert(slot->status.has_frame); in mpp_buf_slot_get_prop()
1289 if (slot->status.has_frame) { in mpp_buf_slot_get_prop()
1300 mpp_assert(slot->status.has_frame); in mpp_buf_slot_get_prop()
1301 *frame = (slot->status.has_frame) ? (slot->frame) : (NULL); in mpp_buf_slot_get_prop()
1306 *buffer = (slot->status.has_buffer) ? (slot->buffer) : (NULL); in mpp_buf_slot_get_prop()
1357 slot_assert(impl, slot->status.not_ready); in mpp_buf_slot_default_info()