Lines Matching refs:m
80 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setUpdateRect() local
82 m->info.reserved[0] = 0x54445055; // "UPDT"; in fb_setUpdateRect()
83 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); in fb_setUpdateRect()
84 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect()
96 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_post() local
100 const size_t offset = hnd->base - m->framebuffer->base; in fb_post()
101 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
102 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
103 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
105 m->base.unlock(&m->base, buffer); in fb_post()
108 m->currentBuffer = buffer; in fb_post()
117 m->base.lock(&m->base, m->framebuffer, in fb_post()
119 0, 0, m->info.xres, m->info.yres, in fb_post()
122 m->base.lock(&m->base, buffer, in fb_post()
124 0, 0, m->info.xres, m->info.yres, in fb_post()
129 msm_copy_buffer(m->framebuffer, m->framebuffer->fd, in fb_post()
130 m->info.xres, m->info.yres, in fb_post()
131 m->info.xoffset, m->info.yoffset, in fb_post()
132 m->info.width, m->info.height); in fb_post()
134 m->base.unlock(&m->base, buffer); in fb_post()
135 m->base.unlock(&m->base, m->framebuffer); in fb_post()
352 private_module_t* m = (private_module_t*)module; in fb_device_open() local
353 status = mapFrameBuffer(m); in fb_device_open()
355 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
357 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
358 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
361 const_cast<float&>(dev->device.xdpi) = m->xdpi; in fb_device_open()
362 const_cast<float&>(dev->device.ydpi) = m->ydpi; in fb_device_open()
363 const_cast<float&>(dev->device.fps) = m->fps; in fb_device_open()
367 if (m->finfo.reserved[0] == 0x5444 && in fb_device_open()
368 m->finfo.reserved[1] == 0x5055) { in fb_device_open()