Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

static int mxcfb_unmap_video_memory ( struct fb_info *  fbi  )  [static]

De-allocates the DRAM memory for the frame buffer.

Parameters:
fbi framebuffer information pointer
Returns:
Error code indicating success or failure

Definition at line 914 of file mxcfb_epson.c.

References mxcfb_info::alloc_size, mxcfb_info::alloc_start_paddr, and mxcfb_info::alloc_start_vaddr.

{
      struct mxcfb_info *mxc_fbi = (struct mxcfb_info *)fbi->par;

      dma_free_coherent(fbi->device, mxc_fbi->alloc_size,
                    mxc_fbi->alloc_start_vaddr,
                    mxc_fbi->alloc_start_paddr);
      return 0;
}


Generated by  Doxygen 1.6.0   Back to index