Lines Matching refs:module
68 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_set_swap_interval()
91 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_post()
174 static int init_frame_buffer_locked(struct private_module_t *module) in init_frame_buffer_locked() argument
176 if (module->framebuffer) in init_frame_buffer_locked()
325 module->dpy_type = MALI_DPY_TYPE_CLCD; in init_frame_buffer_locked()
329 module->dpy_type = MALI_DPY_TYPE_HDLCD; in init_frame_buffer_locked()
333 module->dpy_type = MALI_DPY_TYPE_HDLCD; in init_frame_buffer_locked()
337 module->dpy_type = MALI_DPY_TYPE_UNKNOWN; in init_frame_buffer_locked()
350 module->flags = flags; in init_frame_buffer_locked()
351 module->info = info; in init_frame_buffer_locked()
352 module->finfo = finfo; in init_frame_buffer_locked()
353 module->xdpi = xdpi; in init_frame_buffer_locked()
354 module->ydpi = ydpi; in init_frame_buffer_locked()
355 module->fps = fps; in init_frame_buffer_locked()
356 module->swapInterval = 1; in init_frame_buffer_locked()
373 module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, fbSize, vaddr, in init_frame_buffer_locked()
376 module->numBuffers = info.yres_virtual / info.yres; in init_frame_buffer_locked()
377 module->bufferMask = 0; in init_frame_buffer_locked()
382 static int init_frame_buffer(struct private_module_t *module) in init_frame_buffer() argument
384 pthread_mutex_lock(&module->lock); in init_frame_buffer()
385 int err = init_frame_buffer_locked(module); in init_frame_buffer()
386 pthread_mutex_unlock(&module->lock); in init_frame_buffer()
554 int framebuffer_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in framebuffer_device_open() argument
577 status = gralloc1_open(module, &gralloc_device); in framebuffer_device_open()
579 status = gralloc_open(module, &gralloc_device); in framebuffer_device_open()
587 private_module_t *m = (private_module_t *)module; in framebuffer_device_open()
623 dev->common.module = const_cast<hw_module_t *>(module); in framebuffer_device_open()