Lines Matching refs:fbl

6 #include <fbl/algorithm.h>
7 #include <fbl/auto_lock.h>
8 #include <fbl/limits.h>
92 fbl::RefPtr<IntelHDACodec> IntelHDACodec::Create(IntelHDAController& controller,
96 fbl::AllocChecker ac;
97 auto ret = fbl::AdoptRef(new (&ac) IntelHDACodec(controller, codec_id));
123 zx_status_t res = controller_.QueueCodecCmd(fbl::move(job));
133 void IntelHDACodec::SendCORBResponse(const fbl::RefPtr<dispatcher::Channel>& channel,
152 fbl::unique_ptr<CodecCmdJob>&& job) {
185 fbl::RefPtr<dispatcher::Channel> codec_driver_channel;
187 fbl::AutoLock codec_driver_channel_lock(&codec_driver_channel_lock_);
217 fbl::AutoLock lock(&active_streams_lock_);
283 [codec = fbl::WrapRefPtr(this)](dispatcher::Channel* channel) -> zx_status_t {
290 fbl::move(phandler),
378 fbl::AutoLock lock(&codec_driver_channel_lock_);
386 fbl::AutoLock lock(&active_streams_lock_);
387 tmp = fbl::move(active_streams_);
393 controller_.ReturnStream(fbl::move(stream));
426 fbl::RefPtr<dispatcher::Channel> chan_ref = (req.hdr.cmd & IHDA_NOACK_FLAG)
428 : fbl::WrapRefPtr(channel);
430 auto job = CodecCmdJobAllocator::New(fbl::move(chan_ref),
437 zx_status_t res = controller_.QueueCodecCmd(fbl::move(job));
466 fbl::AutoLock lock(&active_streams_lock_);
467 active_streams_.insert(fbl::move(stream));
483 fbl::RefPtr<IntelHDAStream> stream;
485 fbl::AutoLock lock(&active_streams_lock_);
497 controller_.ReturnStream(fbl::move(stream));
518 fbl::RefPtr<IntelHDAStream> stream;
520 fbl::AutoLock lock(&active_streams_lock_);
548 res = channel->Write(&resp, sizeof(resp), fbl::move(client_channel));
561 [codec = fbl::WrapRefPtr(this)](dispatcher::Channel* channel) -> zx_status_t {
567 [codec = fbl::WrapRefPtr(this)](const dispatcher::Channel* channel) -> void {
575 fbl::AutoLock lock(&codec_driver_channel_lock_);
583 fbl::move(phandler),
584 fbl::move(chandler),