linux/include/video/sh_mobile_meram.h
<<
/opt3.1/spalue 3.1/formue 3.1a /opt3. href="../linux+v3 2/include/video/sh_mobile_meram.h">/opt3.1img src="../.static/gfx/right.png" alt=">>">/o1/spalue/o1spal class="lxr_search">/opt/opt3.1input typ vhidden" nam vnavtarget" > v">/opt3.1input typ vtext" nam vsearch" id vsearch">/opt3.1butt" typ vsubmit">Search/opt3.Prefse 3.1/a>/o1/spaluept3. .1/divuept3. .1form ac val="ajax+*" method="post" onsubmit="return false;">/o1input typ vhidden" nam vajax_lookup" id vajax_lookup" > v">/pt3. .1/formue/pt3. .1div class="headingbott"m">e 1div id vfile_contents"u
. .11/a>#ifndef.1a href="+code=__VIDEO_SH_MOBILE_MERAM_H__" class="sref">__VIDEO_SH_MOBILE_MERAM_H__1/a>/. .21/a>#define.1a href="+code=__VIDEO_SH_MOBILE_MERAM_H__" class="sref">__VIDEO_SH_MOBILE_MERAM_H__1/a>/. .31/a>/. .41/a>1spal class="comment">/* For sh_mobile_meram_info.addr_mode */1/spalue. .51/a>enum {e. .61/a>        1a href="+code=SH_MOBILE_MERAM_MODE0" class="sref">SH_MOBILE_MERAM_MODE01/a> = 0,e. .71/a>        1a href="+code=SH_MOBILE_MERAM_MODE1" class="sref">SH_MOBILE_MERAM_MODE11/a>/. .81/a>};/. .91/a>/. 101/a>enum {e. 111/a>        1a href="+code=SH_MOBILE_MERAM_PF_NV" class="sref">SH_MOBILE_MERAM_PF_NV1/a> = 0,e. 121/a>        1a href="+code=SH_MOBILE_MERAM_PF_RGB" class="sref">SH_MOBILE_MERAM_PF_RGB1/a>,e. 131/a>        1a href="+code=SH_MOBILE_MERAM_PF_NV24" class="sref">SH_MOBILE_MERAM_PF_NV241/a>/. 141/a>};/. 151/a>/. 161/a>/. 171/a>struct 1a href="+code=sh_mobile_meram_priv" class="sref">sh_mobile_meram_priv1/a>;/. 181/a>/. 191/a>1spal class="comment">/*1/spalue. 201/a>1spal class="comment"> * struct sh_mobile_meram_info - MERAM platform data1/spalue. 211/a>1spal class="comment"> * @reserved_icbs: Bitmask of reserved ICBs (for instance used through UIO)1/spalue. 221/a>1spal class="comment"> */1/spalue. 231/a>struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> {e. 241/a>        int                             1a href="+code=addr_mode" class="sref">addr_mode1/a>;/. 251/a>        1a href="+code=u32" class="sref">u321/a>                             1a href="+code=reserved_icbs" class="sref">reserved_icbs1/a>;/. 261/a>        struct 1a href="+code=sh_mobile_meram_priv" class="sref">sh_mobile_meram_priv1/a>     *1a href="+code=priv" class="sref">priv1/a>;/. 271/a>        struct 1a href="+code=platform_device" class="sref">platform_device1/a>          *1a href="+code=pdev" class="sref">pdev1/a>;/. 281/a>};/. 291/a>/. 301/a>1spal class="comment">/* icb config */1/spalue. 311/a>struct 1a href="+code=sh_mobile_meram_icb_cfg" class="sref">sh_mobile_meram_icb_cfg1/a> {e. 321/a>        unsigned int 1a href="+code=meram_size" class="sref">meram_size1/a>;        1spal class="comment">/* MERAM Buffer Size to use */1/spalue. 331/a>};/. 341/a>/. 351/a>struct 1a href="+code=sh_mobile_meram_cfg" class="sref">sh_mobile_meram_cfg1/a> {e. 361/a>        struct 1a href="+code=sh_mobile_meram_icb_cfg" class="sref">sh_mobile_meram_icb_cfg1/a> 1a href="+code=icb" class="sref">icb1/a>[2];/. 371/a>};/. 381/a>/. 391/a>#if 1a href="+code=defined" class="sref">defined1/a>(1a href="+code=CONFIG_FB_SH_MOBILE_MERAM" class="sref">CONFIG_FB_SH_MOBILE_MERAM1/a>) || \/. 401/a>    1a href="+code=defined" class="sref">defined1/a>(1a href="+code=CONFIG_FB_SH_MOBILE_MERAM_MODULE" class="sref">CONFIG_FB_SH_MOBILE_MERAM_MODULE1/a>)/. 411/a>unsigned long 1a href="+code=sh_mobile_meram_alloc" class="sref">sh_mobile_meram_alloc1/a>(struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> *1a href="+code=meram_dev" class="sref">meram_dev1/a>,e. 421/a>                                    1a href="+code=size_t" class="sref">size_t1/a> 1a href="+code=size" class="sref">size1/a>);/. 431/a>void 1a href="+code=sh_mobile_meram_free" class="sref">sh_mobile_meram_free1/a>(struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> *1a href="+code=meram_dev" class="sref">meram_dev1/a>,e. 441/a>                          unsigned long 1a href="+code=mem" class="sref">mem1/a>, 1a href="+code=size_t" class="sref">size_t1/a> 1a href="+code=size" class="sref">size1/a>);/. 451/a>void *1a href="+code=sh_mobile_meram_cache_alloc" class="sref">sh_mobile_meram_cache_alloc1/a>(struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> *1a href="+code=dev" class="sref">dev1/a>,e. 461/a>                                  const struct 1a href="+code=sh_mobile_meram_cfg" class="sref">sh_mobile_meram_cfg1/a> *1a href="+code=cfg" class="sref">cfg1/a>,e. 471/a>                                  unsigned int 1a href="+code=xres" class="sref">xres1/a>, unsigned int 1a href="+code=yres" class="sref">yres1/a>,e. 481/a>                                  unsigned int 1a href="+code=pixelformat" class="sref">pixelformat1/a>,e. 491/a>                                  unsigned int *1a href="+code=pitch" class="sref">pitch);/. 501/a>void 1a href="+code=sh_mobile_meram_cache_free" class="sref">sh_mobile_meram_cache_free1/a>(struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> *1a href="+code=dev" class="sref">dev1/a>, void *1a href="+code=data" class="sref">data1/a>);/. 511/a>void 1a href="+code=sh_mobile_meram_cache_update" class="sref">sh_mobile_meram_cache_update1/a>(struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> *1a href="+code=dev" class="sref">dev1/a>, void *1a href="+code=data" class="sref">data1/a>,e. 521/a>                                  unsigned long 1a href="+code=base_addr_y" class="sref">base_addr_y1/a>,e. 531/a>                                  unsigned long 1a href="+code=base_addr_c" class="sref">base_addr_c1/a>,e. 541/a>                                  unsigned long *1a href="+code=icb_addr_y" class="sref">icb_addr_y1/a>,e. 551/a>                                  unsigned long *1a href="+code=icb_addr_c" class="sref">icb_addr_c1/a>);/. 561/a>#else/. 571/a>static 1a href="+code=inline" class="sref">inline1/a> unsigned long/. 581/a>1a href="+code=sh_mobile_meram_alloc" class="sref">sh_mobile_meram_alloc1/a>(struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> *1a href="+code=meram_dev" class="sref">meram_dev1/a>, 1a href="+code=size_t" class="sref">size_t1/a> 1a href="+code=size" class="sref">size1/a>)/. 591/a>{e. 601/a>        return 0;/. 611/a>}/. 621/a>/. 631/a>static 1a href="+code=inline" class="sref">inline1/a> void/. 641/a>1a href="+code=sh_mobile_meram_free" class="sref">sh_mobile_meram_free1/a>(struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> *1a href="+code=meram_dev" class="sref">meram_dev1/a>,e. 651/a>                     unsigned long 1a href="+code=mem" class="sref">mem1/a>, 1a href="+code=size_t" class="sref">size_t1/a> 1a href="+code=size" class="sref">size1/a>)e. 661/a>{e. 671/a>}/. 681/a>/. 691/a>static 1a href="+code=inline" class="sref">inline1/a> void *e. 701/a>1a href="+code=sh_mobile_meram_cache_alloc" class="sref">sh_mobile_meram_cache_alloc1/a>(struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> *1a href="+code=dev" class="sref">dev1/a>,e. 711/a>                            const struct 1a href="+code=sh_mobile_meram_cfg" class="sref">sh_mobile_meram_cfg1/a> *1a href="+code=cfg" class="sref">cfg1/a>,e. 721/a>                            unsigned int 1a href="+code=xres" class="sref">xres1/a>, unsigned int 1a href="+code=yres" class="sref">yres1/a>,e. 731/a>                            unsigned int 1a href="+code=pixelformat" class="sref">pixelformat1/a>,e. 741/a>                            unsigned int *1a href="+code=pitch" class="sref">pitch)e. 751/a>{e. 761/a>        return 1a href="+code=ERR_PTR" class="sref">ERR_PTR1/a>(-1a href="+code=ENODEV" class="sref">ENODEV1/a>);/. 771/a>}/. 781/a>/. 791/a>static 1a href="+code=inline" class="sref">inline1/a> void/. 801/a>1a href="+code=sh_mobile_meram_cache_free" class="sref">sh_mobile_meram_cache_free1/a>(struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> *1a href="+code=dev" class="sref">dev1/a>, void *1a href="+code=data" class="sref">data1/a>)/. 811/a>{e. 821/a>}/. 831/a>/. 841/a>static 1a href="+code=inline" class="sref">inline1/a> void/. 851/a>1a href="+code=sh_mobile_meram_cache_update" class="sref">sh_mobile_meram_cache_update1/a>(struct 1a href="+code=sh_mobile_meram_info" class="sref">sh_mobile_meram_info1/a> *1a href="+code=dev" class="sref">dev1/a>, void *1a href="+code=data" class="sref">data1/a>,e. 861/a>                             unsigned long 1a href="+code=base_addr_y" class="sref">base_addr_y1/a>,e. 871/a>                             unsigned long 1a href="+code=base_addr_c" class="sref">base_addr_c1/a>,e. 881/a>                             unsigned long *1a href="+code=icb_addr_y" class="sref">icb_addr_y1/a>,e. 891/a>                             unsigned long *1a href="+code=icb_addr_c" class="sref">icb_addr_c1/a>)/. 901/a>{e. 911/a>}/. 921/a>#endif/. 931/a>/. 941/a>#endif 1spal class="comment">/* __VIDEO_SH_MOBILE_MERAM_H__  */1/spalue. 951/a>1/pre>
The original LXR software by the.1a href="http://sourceforge.net/projects/lxr">LXR community1/a>, this experimental vers2"
	by 1a href="mailto:lxr@linux.no">lxr@linux.no1/a>.
1/divue1div class="subfooter">
lxr.linux.no kindly hosted by 1a href="http://www.redpill-linpro.no">Redpill Linpro AS1/a>, provider of Linux consulting and opera vals services since 1995.
1/divue
1/bodyue1/htmlue