Lines Matching refs:module

76 	private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module);  in fb_post()
186 int init_frame_buffer_locked(struct private_module_t *module) in init_frame_buffer_locked() argument
188 if (module->framebuffer) in init_frame_buffer_locked()
363 module->flags = flags; in init_frame_buffer_locked()
364 module->info = info; in init_frame_buffer_locked()
365 module->finfo = finfo; in init_frame_buffer_locked()
366 module->xdpi = xdpi; in init_frame_buffer_locked()
367 module->ydpi = ydpi; in init_frame_buffer_locked()
368 module->fps = fps; in init_frame_buffer_locked()
385module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, 0, fbSize, va… in init_frame_buffer_locked()
389 module->framebuffer->numFds--; in init_frame_buffer_locked()
390 module->framebuffer->numInts++; in init_frame_buffer_locked()
392 module->numBuffers = info.yres_virtual / info.yres; in init_frame_buffer_locked()
393 module->bufferMask = 0; in init_frame_buffer_locked()
397 ioctl(fd, IOCTL_GET_FB_UMP_SECURE_ID, &module->framebuffer->ump_id); in init_frame_buffer_locked()
400 if ((int)UMP_INVALID_SECURE_ID != module->framebuffer->ump_id) in init_frame_buffer_locked()
402 AINF("framebuffer accessed with UMP secure ID %i\n", module->framebuffer->ump_id); in init_frame_buffer_locked()
410 static int init_frame_buffer(struct private_module_t *module) in init_frame_buffer() argument
412 pthread_mutex_lock(&module->lock); in init_frame_buffer()
413 int err = init_frame_buffer_locked(module); in init_frame_buffer()
414 pthread_mutex_unlock(&module->lock); in init_frame_buffer()
453 int framebuffer_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in framebuffer_device_open() argument
458 status = gralloc_open(module, &gralloc_device); in framebuffer_device_open()
465 private_module_t *m = (private_module_t *)module; in framebuffer_device_open()
481 dev->common.module = const_cast<hw_module_t *>(module); in framebuffer_device_open()