Lines Matching refs:module
75 hw_device_t make_hw_device(hw_module_t* module, int (*close)(hw_device_t*)) { in make_hw_device() argument
80 result.module = module; in make_hw_device()
477 goldfish_gralloc30_device_t(private_module_t* module) in goldfish_gralloc30_device_t() argument
478 : gralloc_module(module->impl()) { in goldfish_gralloc30_device_t()
480 device.common = make_hw_device(module->to_hw_module(), in goldfish_gralloc30_device_t()
965 private_module_t* module = private_module_t::from_gralloc_module(gralloc_module); in gralloc_register_buffer() local
966 if (!module) { in gralloc_register_buffer()
970 return module->impl()->register_buffer(h); in gralloc_register_buffer()
974 private_module_t* module = private_module_t::from_gralloc_module(gralloc_module); in gralloc_unregister_buffer() local
975 if (!module) { in gralloc_unregister_buffer()
979 return module->impl()->unregister_buffer(h); in gralloc_unregister_buffer()
986 private_module_t* module = private_module_t::from_gralloc_module(gralloc_module); in gralloc_lock() local
987 if (!module) { in gralloc_lock()
996 return module->impl()->lock(*handle, usage, l, t, w, h, vaddr); in gralloc_lock()
1000 private_module_t* module = private_module_t::from_gralloc_module(gralloc_module); in gralloc_unlock() local
1001 if (!module) { in gralloc_unlock()
1010 return module->impl()->unlock(*handle); in gralloc_unlock()
1017 private_module_t* module = private_module_t::from_gralloc_module(gralloc_module); in gralloc_lock_ycbcr() local
1018 if (!module) { in gralloc_lock_ycbcr()
1027 return module->impl()->lock_ycbcr(*handle, usage, l, t, w, h, ycbcr); in gralloc_lock_ycbcr()
1030 int gralloc_device_open_gpu0(private_module_t* module, hw_device_t** device) { in gralloc_device_open_gpu0() argument
1032 std::make_unique<goldfish_gralloc30_device_t>(module); in gralloc_device_open_gpu0()
1045 private_module_t* module = private_module_t::from_hw_module(hw_module); in gralloc_device_open() local
1046 if (!module) { in gralloc_device_open()
1057 return gralloc_device_open_gpu0(module, device); in gralloc_device_open()