Home
last modified time | relevance | path

Searched refs:resource_bridge (Results 1 – 11 of 11) sorted by relevance

/external/crosvm/devices/src/virtio/video/
Dmod.rs94 resource_bridge: Option<Tube>, field
102 resource_bridge: Option<Tube>, in new()
107 resource_bridge, in new()
125 if let Some(resource_bridge) = &self.resource_bridge { in keep_rds()
126 keep_rds.push(resource_bridge.as_raw_descriptor()); in keep_rds()
193 let resource_bridge = match self.resource_bridge.take() { in activate() localVariable
206 resource_bridge, in activate()
Derror.rs9 use crate::virtio::resource_bridge::ResourceBridgeError;
Ddevice.rs104 resource_bridge: &Tube, in process_cmd()
Dworker.rs29 pub resource_bridge: Tube, field
204 device.process_cmd(cmd, &wait_ctx, &self.resource_bridge); in handle_command_desc()
/external/crosvm/devices/src/virtio/
Dwl.rs67 use super::resource_bridge::{
871 resource_bridge: Option<Tube>, field
891 resource_bridge: Option<Tube>, in new()
896 resource_bridge, in new()
1107 let sock = self.resource_bridge.as_ref().unwrap(); in get_info()
1119 self.resource_bridge = None; in get_info()
1180 VIRTIO_WL_CTRL_VFD_SEND_KIND_VIRTGPU if self.resource_bridge.is_some() => { in send()
1192 VIRTIO_WL_CTRL_VFD_SEND_KIND_VIRTGPU_FENCE if self.resource_bridge.is_some() => { in send()
1205 if self.resource_bridge.is_some() => in send()
1234 let _ = self.resource_bridge.as_ref(); in send()
[all …]
Dmod.rs31 pub mod resource_bridge; module
/external/crosvm/devices/src/virtio/video/decoder/
Dmod.rs14 use crate::virtio::resource_bridge::{self, BufferInfo, ResourceInfo, ResourceRequest};
273 match resource_bridge::get_resource_info( in get_resource_info()
531 resource_bridge: &Tube, in queue_input_resource()
548 .get_resource_info(QueueType::Input, resource_bridge, resource_id)? in queue_input_resource()
595 resource_bridge: &Tube, in queue_output_resource()
626 ctx.get_resource_info(QueueType::Output, resource_bridge, resource_id)?; in queue_output_resource()
816 resource_bridge: &Tube, in process_cmd()
860 resource_bridge, in process_cmd()
872 let resp = self.queue_output_resource(resource_bridge, stream_id, resource_id); in process_cmd()
/external/crosvm/devices/src/virtio/video/encoder/
Dmod.rs17 use crate::virtio::resource_bridge::{self, BufferInfo, ResourceInfo, ResourceRequest};
502 match resource_bridge::get_resource_info( in get_resource_info()
600 resource_bridge: &Tube, in resource_create()
630 let resource_info = get_resource_info(resource_bridge, uuid)?; in resource_create()
675 resource_bridge: &Tube, in resource_queue()
711 get_resource_info(resource_bridge, src_resource.resource_handle)?; in resource_queue()
774 get_resource_info(resource_bridge, dst_resource.resource_handle)?; in resource_queue()
1203 resource_bridge: &Tube, in process_cmd()
1224 resource_bridge, in process_cmd()
1238 resource_bridge, in process_cmd()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs40 copy_config, resource_bridge::*, DescriptorChain, Interrupt, Queue, Reader,
228 fn process_resource_bridge(&mut self, resource_bridge: &Tube) { in process_resource_bridge()
229 let response = match resource_bridge.recv() { in process_resource_bridge()
245 if let Err(e) = resource_bridge.send(&response) { in process_resource_bridge()
Dvirtio_gpu.rs12 use crate::virtio::resource_bridge::{BufferInfo, PlaneInfo, ResourceInfo, ResourceResponse};
/external/crosvm/src/
Dlinux.rs1016 resource_bridge: Option<Tube>, in create_wayland_device()
1030 resource_bridge, in create_wayland_device()
1070 resource_bridge: Tube, in create_video_device()
1124 Some(resource_bridge), in create_video_device()