• Home
  • Raw
  • Download

Lines Matching refs:m

77     private_module_t* m = reinterpret_cast<private_module_t*>(  in fb_setUpdateRect()  local
79 m->info.reserved[0] = 0x54445055; // "UPDT"; in fb_setUpdateRect()
80 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); in fb_setUpdateRect()
81 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect()
93 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_post() local
97 const size_t offset = hnd->base - m->framebuffer->base; in fb_post()
98 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
99 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
100 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
102 m->base.unlock(&m->base, buffer); in fb_post()
105 m->currentBuffer = buffer; in fb_post()
114 m->base.lock(&m->base, m->framebuffer, in fb_post()
116 0, 0, m->info.xres, m->info.yres, in fb_post()
119 m->base.lock(&m->base, buffer, in fb_post()
121 0, 0, m->info.xres, m->info.yres, in fb_post()
124 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
126 m->base.unlock(&m->base, buffer); in fb_post()
127 m->base.unlock(&m->base, m->framebuffer); in fb_post()
333 private_module_t* m = (private_module_t*)module; in fb_device_open() local
334 status = mapFrameBuffer(m); in fb_device_open()
336 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
337 int format = (m->info.bits_per_pixel == 32) in fb_device_open()
341 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open()
342 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
345 const_cast<float&>(dev->device.xdpi) = m->xdpi; in fb_device_open()
346 const_cast<float&>(dev->device.ydpi) = m->ydpi; in fb_device_open()
347 const_cast<float&>(dev->device.fps) = m->fps; in fb_device_open()