├── .gitignore ├── HISTORY.md ├── README.dkms ├── README.md ├── dkms.conf ├── driver └── linux │ ├── .gitignore │ ├── 20-crystalhd.rules │ ├── FleaDefs.h │ ├── Makefile.in │ ├── bcm_70012_dev.sh │ ├── bcm_70012_run.sh │ ├── configure.ac │ ├── crystalhd_cmds.c │ ├── crystalhd_cmds.h │ ├── crystalhd_flea_ddr.c │ ├── crystalhd_flea_ddr.h │ ├── crystalhd_fleafuncs.c │ ├── crystalhd_fleafuncs.h │ ├── crystalhd_fw_if.h │ ├── crystalhd_hw.c │ ├── crystalhd_hw.h │ ├── crystalhd_linkfuncs.c │ ├── crystalhd_linkfuncs.h │ ├── crystalhd_lnx.c │ ├── crystalhd_lnx.h │ ├── crystalhd_misc.c │ └── crystalhd_misc.h ├── examples ├── .gitignore ├── Makefile ├── hellobcm.cpp └── mpeg2test.cpp ├── export-driver-for-staging.sh ├── filters └── gst │ └── gst-plugin │ ├── .gitignore │ ├── AUTHORS │ ├── COPYING │ ├── ChangeLog │ ├── INSTALL │ ├── Makefile.am │ ├── NEWS │ ├── README │ ├── autogen.sh │ ├── config.guess │ ├── config.sub │ ├── configure.ac │ ├── depcomp │ ├── gst-autogen.sh │ ├── install-sh │ ├── m4 │ ├── CVS │ │ └── Entries │ ├── Makefile.am │ ├── as-compiler-flag.m4 │ └── as-version.m4 │ ├── missing │ └── src │ ├── Makefile.am │ ├── decif.c │ ├── decif.h │ ├── gstbcmdec.c │ ├── gstbcmdec.h │ ├── parse.c │ ├── parse.h │ ├── version.h │ └── version_lnx.h ├── firmware ├── Makefile └── fwbin │ ├── 70012 │ └── bcm70012fw.bin │ └── 70015 │ └── bcm70015fw.bin ├── include ├── 7411d.h ├── bc_decoder_regs.h ├── bc_dts_defs.h ├── bc_dts_glob_lnx.h ├── bc_dts_types.h ├── flea │ ├── 70015 │ │ └── magnum │ │ │ └── basemodules │ │ │ └── chp │ │ │ └── 70015 │ │ │ └── rdb │ │ │ └── a0 │ │ │ ├── bchp.h │ │ │ ├── bchp_arm_uart.h │ │ │ ├── bchp_armcr4_bridge.h │ │ │ ├── bchp_armcr4_bridge_axi_slave.h │ │ │ ├── bchp_avd_block_avg_regs_0.h │ │ │ ├── bchp_avd_cache_0.h │ │ │ ├── bchp_avd_gr_0.h │ │ │ ├── bchp_avd_intr2_0.h │ │ │ ├── bchp_bop_aes.h │ │ │ ├── bchp_bop_gr_bridge.h │ │ │ ├── bchp_bvnt_gr_bridge.h │ │ │ ├── bchp_bvnt_intr2.h │ │ │ ├── bchp_cce_rgr_bridge.h │ │ │ ├── bchp_clk.h │ │ │ ├── bchp_clk_gr.h │ │ │ ├── bchp_common.h │ │ │ ├── bchp_csc.h │ │ │ ├── bchp_ddr23_ctl_regs_0.h │ │ │ ├── bchp_ddr23_phy_byte_lane_0.h │ │ │ ├── bchp_ddr23_phy_byte_lane_1.h │ │ │ ├── bchp_ddr23_phy_control_regs.h │ │ │ ├── bchp_decode_cpuaux2_0.h │ │ │ ├── bchp_decode_cpuaux_0.h │ │ │ ├── bchp_decode_cpucore2_0.h │ │ │ ├── bchp_decode_cpucore_0.h │ │ │ ├── bchp_decode_cpudma2_0.h │ │ │ ├── bchp_decode_cpudma_0.h │ │ │ ├── bchp_decode_cpudmem2_0.h │ │ │ ├── bchp_decode_cpudmem_0.h │ │ │ ├── bchp_decode_cpuimem2_0.h │ │ │ ├── bchp_decode_cpuimem_0.h │ │ │ ├── bchp_decode_cpuregs2_0.h │ │ │ ├── bchp_decode_cpuregs_0.h │ │ │ ├── bchp_decode_dblk_0.h │ │ │ ├── bchp_decode_dmamem2_0.h │ │ │ ├── bchp_decode_dmamem_0.h │ │ │ ├── bchp_decode_dqnt_0.h │ │ │ ├── bchp_decode_dqnt_8x8_0.h │ │ │ ├── bchp_decode_ind_sdram_regs2_0.h │ │ │ ├── bchp_decode_ind_sdram_regs_0.h │ │ │ ├── bchp_decode_ip_shim_0.h │ │ │ ├── bchp_decode_main_0.h │ │ │ ├── bchp_decode_mb_0.h │ │ │ ├── bchp_decode_mcom_0.h │ │ │ ├── bchp_decode_rvc_0.h │ │ │ ├── bchp_decode_sint_0.h │ │ │ ├── bchp_decode_sint_oloop_0.h │ │ │ ├── bchp_decode_spre_0.h │ │ │ ├── bchp_decode_wprd_0.h │ │ │ ├── bchp_decode_wptbl_0.h │ │ │ ├── bchp_decode_xfrm_0.h │ │ │ ├── bchp_dnr.h │ │ │ ├── bchp_gio.h │ │ │ ├── bchp_i2c.h │ │ │ ├── bchp_i2c_gr_bridge.h │ │ │ ├── bchp_int_id_irq0.h │ │ │ ├── bchp_int_id_timer.h │ │ │ ├── bchp_int_id_xpt_pb0.h │ │ │ ├── bchp_int_id_xpt_pb1.h │ │ │ ├── bchp_int_id_xpt_pb2.h │ │ │ ├── bchp_int_id_xpt_rave.h │ │ │ ├── bchp_intr.h │ │ │ ├── bchp_irq0.h │ │ │ ├── bchp_irq1.h │ │ │ ├── bchp_l1_intr.h │ │ │ ├── bchp_mdio.h │ │ │ ├── bchp_mem_dma.h │ │ │ ├── bchp_mem_dma_secure.h │ │ │ ├── bchp_mfd.h │ │ │ ├── bchp_misc1.h │ │ │ ├── bchp_misc2.h │ │ │ ├── bchp_misc3.h │ │ │ ├── bchp_misc_gr_bridge.h │ │ │ ├── bchp_misc_perst.h │ │ │ ├── bchp_mmscram.h │ │ │ ├── bchp_pcie_cfg.h │ │ │ ├── bchp_pcie_dll.h │ │ │ ├── bchp_pcie_phy.h │ │ │ ├── bchp_pcie_tl.h │ │ │ ├── bchp_pm_l2.h │ │ │ ├── bchp_pri_arb_arc_l1_regs.h │ │ │ ├── bchp_pri_arb_arch_regs.h │ │ │ ├── bchp_pri_arb_control_regs.h │ │ │ ├── bchp_pri_arb_mips_l2_regs.h │ │ │ ├── bchp_pri_arb_msa_regs.h │ │ │ ├── bchp_pri_arb_sarch_regs.h │ │ │ ├── bchp_pri_arb_starch_regs.h │ │ │ ├── bchp_pri_arb_trace_regs.h │ │ │ ├── bchp_pri_arb_wrch_regs.h │ │ │ ├── bchp_pri_client_regs.h │ │ │ ├── bchp_pri_crit_l2_regs_1.h │ │ │ ├── bchp_pri_crit_l2_regs_2.h │ │ │ ├── bchp_pri_crit_l2_regs_3.h │ │ │ ├── bchp_pri_rts_l2_regs_1.h │ │ │ ├── bchp_pri_rts_l2_regs_2.h │ │ │ ├── bchp_pri_rts_l2_regs_3.h │ │ │ ├── bchp_reg_cabac2bins2_0.h │ │ │ ├── bchp_reg_cabac2bins_0.h │ │ │ ├── bchp_scl_hd.h │ │ │ ├── bchp_scrub_ctrl.h │ │ │ ├── bchp_sentinel.h │ │ │ ├── bchp_sharf_mem_dma0.h │ │ │ ├── bchp_sharf_top.h │ │ │ ├── bchp_sun_gisb_arb.h │ │ │ ├── bchp_sun_gisb_arb_sec.h │ │ │ ├── bchp_sun_l2.h │ │ │ ├── bchp_sun_rg.h │ │ │ ├── bchp_sun_rgr.h │ │ │ ├── bchp_sun_top_ctrl.h │ │ │ ├── bchp_tgt_rgr_bridge.h │ │ │ ├── bchp_timer.h │ │ │ ├── bchp_tmisc.h │ │ │ ├── bchp_trb_top.h │ │ │ ├── bchp_triple_sec.h │ │ │ ├── bchp_vich_0.h │ │ │ ├── bchp_wakeup_ctrl2.h │ │ │ ├── bchp_wrap_misc_gr_bridge.h │ │ │ ├── bchp_wrap_misc_intr2.h │ │ │ ├── bchp_wrap_misc_secure_intr2.h │ │ │ ├── bchp_xpt_bus_if.h │ │ │ ├── bchp_xpt_fe.h │ │ │ ├── bchp_xpt_gr.h │ │ │ ├── bchp_xpt_pb0.h │ │ │ ├── bchp_xpt_pb1.h │ │ │ ├── bchp_xpt_pb2.h │ │ │ ├── bchp_xpt_pcroffset.h │ │ │ ├── bchp_xpt_rave.h │ │ │ ├── bchp_xpt_xmemif.h │ │ │ └── bchp_xpt_xpu.h │ ├── DriverFwShare.h │ ├── bcm_70015_regs.h │ └── crystalhd_flea_rdb.h ├── libcrystalhd_version.h ├── link │ ├── bc_defines.h │ └── bcm_70012_regs.h └── vdec_info.h ├── install_firmware_dkms.sh └── linux_lib └── libcrystalhd ├── .gitignore ├── Makefile ├── libcrystalhd_fwcmds.cpp ├── libcrystalhd_fwcmds.h ├── libcrystalhd_fwdiag_if.cpp ├── libcrystalhd_fwdiag_if.h ├── libcrystalhd_fwload_if.cpp ├── libcrystalhd_fwload_if.h ├── libcrystalhd_if.cpp ├── libcrystalhd_if.h ├── libcrystalhd_int_if.cpp ├── libcrystalhd_int_if.h ├── libcrystalhd_parser.cpp ├── libcrystalhd_parser.h ├── libcrystalhd_priv.cpp ├── libcrystalhd_priv.h └── ln-libcrystalhd.sh /.gitignore: -------------------------------------------------------------------------------- 1 | # 2 | # NOTE! Don't add files that are generated in specific 3 | # subdirectories here. Add them in the ".gitignore" file 4 | # in that subdirectory instead. 5 | # 6 | # NOTE! Please use 'git ls-files -i --exclude-standard' 7 | # command after changing this file, to see if there are 8 | # any tracked files which get ignored after the change. 9 | # 10 | # Normal rules 11 | # 12 | .* 13 | *.o 14 | *.o.* 15 | *.a 16 | *.s 17 | *.ko 18 | *.so 19 | *.so.dbg 20 | *.mod.c 21 | *.i 22 | *.lst 23 | *.symtypes 24 | *.order 25 | modules.builtin 26 | *.elf 27 | *.bin 28 | *.gz 29 | *.bz2 30 | *.lzma 31 | *.patch 32 | *.gcno 33 | 34 | # 35 | # Top-level generic files 36 | # 37 | tags 38 | TAGS 39 | vmlinux 40 | System.map 41 | Module.markers 42 | Module.symvers 43 | !.gitignore 44 | !.mailmap 45 | 46 | # 47 | # Generated include files 48 | # 49 | include/config 50 | include/linux/version.h 51 | include/generated 52 | 53 | # stgit generated dirs 54 | patches-* 55 | 56 | # quilt's files 57 | patches 58 | series 59 | 60 | # cscope files 61 | cscope.* 62 | ncscope.* 63 | 64 | # gnu global files 65 | GPATH 66 | GRTAGS 67 | GSYMS 68 | GTAGS 69 | 70 | *.orig 71 | *~ 72 | \#*# 73 | -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- 1 | ## History 2 | 3 | There are various versions of the [Broadcom 4 | CrystalHD](http://kodi.wiki/view/Broadcom_Crystal_HD) (BCM70012 and 5 | BCM70015) drivers floating around the web. 6 | 7 | Here are the ones I've found, roughly in order of most obsolete/broken to newest: 8 | 9 | 1. Staging driver from [Linux kernel v3.16 version](https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/crystalhd?h=v3.16) 10 | — this version was [removed in 2014 from v3.17](http://lkml.iu.edu/hypermail/linux/kernel/1408.0/01475.html) due to 11 | the fact that it was unmaintained and obsolete; it only supported the 12 | BCM70012 chip, for example. 13 | 14 | * See this LKML kernel thread from 2013 where Steven Newbury and Greg K-H discuss this code: https://lkml.org/lkml/2013/10/27/103 15 | 16 | 2. The [Debian version](http://anonscm.debian.org/cgit/pkg-multimedia/crystalhd.git), 17 | which appears to be based on a ~2010 version of the code from the 18 | mainline kernel, and like it only supports the BCM70012 chip. 19 | 20 | 3. Jarod Wilson's tree, last updated in 2012: http://git.linuxtv.org/cgit.cgi/jarod/crystalhd.git/ 21 | 22 | 4. [**@yeradis**](http://github.com/yeradis)'s tree, forked from Jarod's tree, and last updated in 2013: https://github.com/yeradis/crystalhd 23 | 24 | 5. [**@dbason**](http://github.com/dbason)'s tree, forked from Yeradis's tree, and last updated in 2016: https://github.com/dbason/crystalhd 25 | 26 | 6. [**@linuxgorl**](http://github.com/linuxgorl)'s tree, forked from dbason's tree, compiles on >= Linux 5.10. https://github.com/linuxgorl/crystalhd 27 | 28 | **Only the last version can be built and used without error on a modern kernel.** ([**@dlenski**](http://github.com/dlenski) is using it with kernel 4.4.0 and BCM70015.) 29 | 30 | 31 | -------------------------------------------------------------------------------- /README.dkms: -------------------------------------------------------------------------------- 1 | DKMS is a program/framework that enables generating Linux kernel modules 2 | whose sources generally reside outside the kernel source tree. The concept 3 | is to have DKMS modules automatically rebuilt when a new kernel is 4 | installed. 5 | 6 | source: https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support 7 | 8 | How to configure the crystalhd module for DKMS: 9 | 10 | - Install DKMS 11 | 12 | - Copy or link this source to the directory /usr/src/crystalhd-0.1/, e.g. as root: 13 | 14 | $ ln -s $PWD /usr/src/crystalhd-0.1 15 | 16 | - Run (as root): 17 | 18 | $ dkms add -m crystalhd -v 0.1 19 | 20 | - Test a build: 21 | 22 | $ dkms build -m crystalhd -v 0.1 23 | 24 | From now on this driver should be automatically build and installed for 25 | newly-installed kernels. 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Crystal HD Hardware Decoder Driver on Ubuntu 13.04 Linux kernel 3.8.0-25 2 | ## Broadcom BCM70012 & BCM70015 3 | 4 | After a lot a retries to get the rigth experience with the Crystal HD on Ubuntu, 5 | 6 | **1. Install required files** 7 | 8 | sudo apt-get install checkinstall git-core autoconf build-essential subversion dpkg-dev fakeroot pbuilder build-essential dh-make debhelper devscripts patchutils quilt git-buildpackage pristine-tar git yasm zlib1g-dev zlib-bin libzip-dev libx11-dev libx11-dev libxv-dev vstream-client-dev libgtk2.0-dev libpulse-dev libxxf86dga-dev x11proto-xf86dga-dev git libgstreamermm-0.10-dev libgstreamer0.10-dev automake libtool python-appindicator 9 | 10 | **2. Ge the source** 11 | 12 | Get the driver source code from the git repository. 13 | 14 | git clone https://github.com/dbason/crystalhd.git 15 | 16 | _The original repo source is available at git://git.linuxtv.org/jarod/crystalhd.git_ 17 | 18 | **3. Compile driver, install libraries, and load driver** 19 | 20 | Use make command to compile driver. If you have multiple core processor then use the “-j2″ or “-j4″ option (2 or 4 is the number of cores). This will speed up the make process. 21 | 22 | cd crystalhd/driver/linux 23 | autoconf 24 | ./configure 25 | make -j2 26 | sudo make install 27 | 28 | **4. Install the libraries.** 29 | 30 | cd ../../linux_lib/libcrystalhd/ 31 | make -j2 32 | sudo make install 33 | 34 | **5. Load the driver.** 35 | 36 | sudo modprobe crystalhd 37 | 38 | **6. Reboot your system** , then check if 'crystalhd' is listed in the output of the following commands. 39 | 40 | lsmod 41 | dmesg | grep crystalhd 42 | 43 | Then you should see something like this: 44 | 45 | [ 4.349765] Loading crystalhd v3.10.0 46 | [ 4.349823] crystalhd 0000:02:00.0: Starting Device:0x1615 47 | [ 4.351848] crystalhd 0000:02:00.0: irq 43 for MSI/MSI-X 48 | [ 108.512135] crystalhd 0000:02:00.0: Opening new user[0] handle 49 | [ 258.976583] crystalhd 0000:02:00.0: Closing user[0] handle via ioctl with mode 10200 50 | 51 | Now is time to enjoy our FullHD content. 52 | 53 | I'm using XMBC , VLC (2.1.0), Mplayer2, GStreamer because they are using (they should) the Crystal HD decoder libraries. 54 | 55 | For example , lets try VLC : 56 | 57 | vlc --codec=crystalhd ourgreatfullhdmedia.mkv 58 | 59 | Now runs smoothly rigth ? 60 | 61 | # After kernel update 62 | 63 | Reinstall the driver. 64 | 65 | cd crystalhd/driver/linux 66 | sudo make install 67 | 68 | 69 | Btw this instructions referred to http://knowledge.evot.biz/documentation/how-to-compile-and-install-the-broadcom-crystal-hd-hardware-decoder-bcm70012-70015-driver-on-ubuntu and fixed some issues appeared using a patch from M25 user at https://bbs.archlinux.org/viewtopic.php?pid=1253622#p1253622 70 | 71 | So, the sources on this repository are updated with the fixes and patches in order to make your life easier. 72 | 73 | ## History 74 | 75 | See [HISTORY.md](HISTORY.md) for a rough history of the various versions of this driver floating around the web. 76 | -------------------------------------------------------------------------------- /dkms.conf: -------------------------------------------------------------------------------- 1 | # DKMS configuration for crystalhd 2 | 3 | PACKAGE_NAME="crystalhd" 4 | PACKAGE_VERSION="#MODULE_VERSION#" 5 | BUILT_MODULE_NAME[0]="$PACKAGE_NAME" 6 | BUILT_MODULE_LOCATION[0]=driver/linux 7 | DEST_MODULE_LOCATION[0]="/updates/dkms/" 8 | AUTOINSTALL=yes 9 | 10 | MAKE[0]="cd driver/linux && autoconf && ./configure --with-kernel-path=/lib/modules/$kernelver/build && make" 11 | CLEAN="make -C driver/linux clean distclean" 12 | 13 | POST_INSTALL="install_firmware_dkms.sh" 14 | 15 | -------------------------------------------------------------------------------- /driver/linux/.gitignore: -------------------------------------------------------------------------------- 1 | # generated files: 2 | Makefile 3 | autom4te.cache 4 | config.log 5 | config.status 6 | configure 7 | crystalhd.ko.unsigned 8 | -------------------------------------------------------------------------------- /driver/linux/20-crystalhd.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="crystalhd", MODE="0666" 2 | -------------------------------------------------------------------------------- /driver/linux/Makefile.in: -------------------------------------------------------------------------------- 1 | # 2 | # Broadcom Crystal HD (BCM970012) controller Makefile. 3 | # 4 | # 5 | KDIR = @KERN_DIR@ 6 | 7 | 8 | INCLUDES = -I$(KDIR)/include 9 | INCLUDES += -I$(src)/../../include 10 | INCLUDES += -I$(src)/../../include/link 11 | INCLUDES += -I$(src)/../../include/flea 12 | 13 | FIRMWARE = ../../firmware/fwbin/70015/bcm70015fw.bin 14 | FIRMWARE += ../../firmware/fwbin/70012/bcm70012fw.bin 15 | 16 | EXTRA_CFLAGS = -D__KERNEL__ -DMODULE $(INCLUDES) $(INC) 17 | EXTRA_CFLAGS += -Wall -Wstrict-prototypes -Wno-trigraphs -Werror -O2 18 | 19 | OBJ := crystalhd_lnx.o \ 20 | crystalhd_misc.o \ 21 | crystalhd_cmds.o \ 22 | crystalhd_hw.o \ 23 | crystalhd_linkfuncs.o \ 24 | crystalhd_fleafuncs.o \ 25 | crystalhd_flea_ddr.o 26 | 27 | PWD = $(shell pwd) 28 | 29 | obj-m := crystalhd.o 30 | crystalhd-objs := $(OBJ) 31 | 32 | all: 33 | $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules 34 | 35 | install: 36 | if [ -e "/lib/udev/rules.d" ] ; then cp -f 20-crystalhd.rules /lib/udev/rules.d/ ; fi 37 | if [ -e "/etc/udev/rules.d" ] ; then cp -f 20-crystalhd.rules /etc/udev/rules.d/ ; fi 38 | if [ -d "/lib/modules/$(shell uname -r)/kernel/drivers/staging/crystalhd" ] ; \ 39 | then install -m 0644 crystalhd.ko /lib/modules/$(shell uname -r)/kernel/drivers/staging/crystalhd/ ; \ 40 | else \ 41 | install -d /lib/modules/$(shell uname -r)/kernel/drivers/video/broadcom ; \ 42 | install -m 0644 crystalhd.ko /lib/modules/$(shell uname -r)/kernel/drivers/video/broadcom ; \ 43 | fi 44 | if [ ! -d /lib/firmware ] ; \ 45 | then install -d /lib/firmware ; \ 46 | fi 47 | install -t /lib/firmware $(FIRMWARE) 48 | /sbin/depmod -a 49 | 50 | clean: 51 | rm -f *.map *.list *.o *.ko crystalhd.mod.c $(OBJ) 52 | 53 | distclean: 54 | rm -f *.map *.list *.o *.ko crystalhd.mod.c $(OBJ) 55 | rm -f configure config.status config.log *~* 56 | rm -rf autom4te.cache 57 | rm -f Makefile 58 | rm -f Module.symvers 59 | -------------------------------------------------------------------------------- /driver/linux/bcm_70012_dev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Author: Prasad Bolisetty 4 | # 5 | # Script to load broadcom 70012 module and create device node. 6 | # 7 | # 8 | 9 | bcm_dev_bin="bcm70012" 10 | bcm_dev_name="crystalhd" 11 | bcm_node="/dev/crystalhd" 12 | 13 | if ! whoami | grep root > /dev/null ; then 14 | echo " Login as root and try.." 15 | exit 1; 16 | fi 17 | 18 | bcm_pci_id=`lspci -d 14e4:1612` 19 | if [ $? -ne 0 -o -z "$bcm_pci_id" ]; then 20 | echo "BCM 70012 not installed.." 21 | exit 1; 22 | fi 23 | 24 | if lsmod | grep $bcm_dev_bin > /dev/null ; then 25 | echo "Stopping Broadcom MediaPC 70012 Module" 26 | rmmod $bcm_dev_bin >& /dev/null 27 | if [ $? -ne 0 ]; then 28 | echo "Failed to stop: Close applications and try again. " 29 | exit 1; 30 | fi 31 | fi 32 | 33 | bcm_major=`cat /proc/devices | grep "$bcm_dev_name" | cut -c1-3` 34 | 35 | if [ -z "$bcm_major" ]; then 36 | modinfo $bcm_dev_bin >& /dev/null 37 | if [ $? -ne 0 ]; then 38 | echo "Broadcom MediaPC 70012 Kernel Module not installed" 39 | exit 1; 40 | fi 41 | modprobe $bcm_dev_bin >& /dev/null 42 | bcm_major=`cat /proc/devices | grep "$bcm_dev_name" | cut -c1-3` 43 | if [ $? -ne 0 -o -z "$bcm_major" ]; then 44 | echo "Error($bcm_major): Loading Broadcom MediaPC 70012 Module" 45 | rmmod $bcm_dev_bin >& /dev/null 46 | exit 1; 47 | fi 48 | fi 49 | if [ -c $bcm_node ]; then 50 | rm -f $bcm_node >& /dev/null 51 | fi 52 | 53 | mknod -m 666 $bcm_node c $bcm_major 0 54 | 55 | echo "Broadcom MediaPC 70012 Module loaded" 56 | 57 | -------------------------------------------------------------------------------- /driver/linux/bcm_70012_run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Author: Prasad Bolisetty 4 | # 5 | # Script to load broadcom 70012 module and create device node. 6 | # 7 | # 8 | 9 | bcm_dev_bin="crystalhd" 10 | bcm_dev_bin_ko="crystalhd.ko" 11 | bcm_dev_name="crystalhd" 12 | bcm_node="/dev/crystalhd" 13 | 14 | if ! whoami | grep root > /dev/null ; then 15 | echo " Login as root and try.." 16 | exit 1; 17 | fi 18 | 19 | 20 | if /sbin/lsmod | grep $bcm_dev_bin > /dev/null ; then 21 | echo "Stopping Broadcom Crystal HD (BCM70012) Module" 22 | /sbin/rmmod $bcm_dev_bin >& /dev/null 23 | if [ $? -ne 0 ]; then 24 | echo "Failed to stop: Close applications and try again. " 25 | exit 1; 26 | fi 27 | fi 28 | 29 | bcm_major=`cat /proc/devices | grep "$bcm_dev_name" | cut -c1-3` 30 | 31 | if [ -z "$bcm_major" ]; then 32 | /sbin/insmod $bcm_dev_bin_ko >& /dev/null 33 | bcm_major=`cat /proc/devices | grep "$bcm_dev_name" | cut -c1-3` 34 | if [ $? -ne 0 -o -z "$bcm_major" ]; then 35 | echo "Error($bcm_major): Loading Broadcom Crystal HD (BCM70012) Module" 36 | rmmod $bcm_dev_bin >& /dev/null 37 | exit 1; 38 | fi 39 | fi 40 | if [ -c $bcm_node ]; then 41 | rm -f $bcm_node >& /dev/null 42 | fi 43 | 44 | mknod -m 666 $bcm_node c $bcm_major 0 45 | 46 | echo "Broadcom Crystal HD (BCM70012) Module loaded" 47 | 48 | -------------------------------------------------------------------------------- /driver/linux/configure.ac: -------------------------------------------------------------------------------- 1 | AC_INIT(configure.ac) 2 | AC_CHECK_TOOL(LD, ld, :) 3 | 4 | AC_ARG_WITH(kernel-path, [ --with-kernel-path Specify kernel path], 5 | KERN_DIR=$withval, KERN_DIR="/lib/modules/"$(uname -r)"/build") 6 | 7 | 8 | AC_SUBST(KERN_DIR) 9 | 10 | AC_OUTPUT([ 11 | ./Makefile 12 | ]) 13 | -------------------------------------------------------------------------------- /driver/linux/crystalhd_cmds.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 2005-2009, Broadcom Corporation. 3 | * 4 | * Name: crystalhd_cmds . h 5 | * 6 | * Description: 7 | * BCM70010 Linux driver user command interfaces. 8 | * 9 | * HISTORY: 10 | * 11 | ********************************************************************** 12 | * This file is part of the crystalhd device driver. 13 | * 14 | * This driver is free software; you can redistribute it and/or modify 15 | * it under the terms of the GNU General Public License as published by 16 | * the Free Software Foundation, version 2 of the License. 17 | * 18 | * This driver is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 | * GNU General Public License for more details. 22 | * 23 | * You should have received a copy of the GNU General Public License 24 | * along with this driver. If not, see . 25 | **********************************************************************/ 26 | 27 | #ifndef _CRYSTALHD_CMDS_H_ 28 | #define _CRYSTALHD_CMDS_H_ 29 | 30 | /* 31 | * NOTE:: This is the main interface file between the Linux layer 32 | * and the harware layer. This file will use the definitions 33 | * from _dts_glob and dts_defs etc.. which are defined for 34 | * windows. 35 | */ 36 | 37 | #include "crystalhd_hw.h" 38 | #include "crystalhd_misc.h" 39 | 40 | extern struct device * chddev(void); 41 | 42 | enum _crystalhd_state{ 43 | BC_LINK_INVALID = 0x00, 44 | BC_LINK_INIT = 0x01, 45 | BC_LINK_CAP_EN = 0x02, 46 | BC_LINK_FMT_CHG = 0x04, 47 | BC_LINK_SUSPEND = 0x10, 48 | BC_LINK_PAUSED = 0x20, 49 | BC_LINK_RESUME = 0x40, 50 | BC_LINK_READY = (BC_LINK_INIT | BC_LINK_CAP_EN | BC_LINK_FMT_CHG), 51 | }; 52 | 53 | struct crystalhd_user { 54 | uint32_t uid; 55 | uint32_t in_use; 56 | uint32_t mode; 57 | }; 58 | 59 | #define DTS_MODE_INV (-1) 60 | 61 | struct crystalhd_cmd { 62 | uint32_t state; 63 | struct crystalhd_adp *adp; 64 | struct crystalhd_user user[BC_LINK_MAX_OPENS]; 65 | 66 | spinlock_t ctx_lock; 67 | uint32_t tx_list_id; 68 | uint32_t cin_wait_exit; 69 | uint32_t pwr_state_change; /* 0 is running, 1 is going to suspend, 2 is going to resume */ 70 | struct crystalhd_hw *hw_ctx; 71 | }; 72 | 73 | typedef BC_STATUS (*crystalhd_cmd_proc)(struct crystalhd_cmd *, crystalhd_ioctl_data *); 74 | 75 | struct crystalhd_cmd_tbl { 76 | uint32_t cmd_id; 77 | const crystalhd_cmd_proc cmd_proc; 78 | uint32_t block_mon; 79 | }; 80 | 81 | 82 | BC_STATUS crystalhd_suspend(struct crystalhd_cmd *ctx, crystalhd_ioctl_data *idata); 83 | BC_STATUS crystalhd_resume(struct crystalhd_cmd *ctx); 84 | crystalhd_cmd_proc crystalhd_get_cmd_proc(struct crystalhd_cmd *ctx, uint32_t cmd, 85 | struct crystalhd_user *uc); 86 | BC_STATUS crystalhd_user_open(struct crystalhd_cmd *ctx, struct crystalhd_user **user_ctx); 87 | BC_STATUS crystalhd_setup_cmd_context(struct crystalhd_cmd *ctx, struct crystalhd_adp *adp); 88 | BC_STATUS crystalhd_delete_cmd_context(struct crystalhd_cmd *ctx); 89 | bool crystalhd_cmd_interrupt(struct crystalhd_cmd *ctx); 90 | 91 | #endif 92 | -------------------------------------------------------------------------------- /driver/linux/crystalhd_flea_ddr.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 2005-2010, Broadcom Corporation. 3 | * 4 | * Name: crystalhd_flea_ddr . h 5 | * 6 | * Description: 7 | * BCM70015 generic DDR routines 8 | * 9 | * HISTORY: 10 | * 11 | ********************************************************************** 12 | * This file is part of the crystalhd device driver. 13 | * 14 | * This driver is free software; you can redistribute it and/or modify 15 | * it under the terms of the GNU General Public License as published by 16 | * the Free Software Foundation, version 2 of the License. 17 | * 18 | * This driver is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 | * GNU General Public License for more details. 22 | * 23 | * You should have received a copy of the GNU General Public License 24 | * along with this driver. If not, see . 25 | **********************************************************************/ 26 | 27 | #undef BRCM_ALIGN 28 | #define BRCM_ALIGN(c,r,f) 0 29 | 30 | #define MEM_SYS_NUM_DDR_PLLS 2; 31 | 32 | /*extern uint32_t rts_prog_vals[][5]; */ 33 | 34 | enum eDDR2_SPEED_GRADE { 35 | DDR2_400MHZ = 0x0, 36 | DDR2_333MHZ = 0x1, 37 | DDR2_266MHZ = 0x2, 38 | DDR2_200MHZ = 0x3, 39 | DDR2_533MHZ = 0x4, 40 | DDR2_667MHZ = 0x5 41 | }; 42 | 43 | enum eSD_COL_SIZE { 44 | COL_BITS_9 = 0x0, 45 | COL_BITS_10 = 0x1, 46 | COL_BITS_11 = 0x2, 47 | }; 48 | 49 | enum eSD_BANK_SIZE { 50 | BANK_SIZE_4 = 0x0, 51 | BANK_SIZE_8 = 0x1, 52 | }; 53 | 54 | enum eSD_ROW_SIZE { 55 | ROW_SIZE_8K = 0x0, 56 | ROW_SIZE_16K = 0x1, 57 | }; 58 | 59 | /*DDR PHY PLL init routine */ 60 | void crystalhd_flea_ddr_pll_config(struct crystalhd_hw* hw, int32_t *speed_grade, int32_t num_plls, uint32_t tmode); 61 | 62 | /*DDR controller init routine */ 63 | void crystalhd_flea_ddr_ctrl_init(struct crystalhd_hw *hw, 64 | int32_t port, 65 | int32_t ddr3, 66 | int32_t speed_grade, 67 | int32_t col, 68 | int32_t bank, 69 | int32_t row, 70 | uint32_t tmode ); 71 | 72 | /*RTS Init routines */ 73 | void crystalhd_flea_ddr_arb_rts_init(struct crystalhd_hw *hw); 74 | -------------------------------------------------------------------------------- /driver/linux/crystalhd_fleafuncs.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 2005-2009, Broadcom Corporation. 3 | * 4 | * Name: crystalhd_fleafuncs . h 5 | * 6 | * Description: 7 | * BCM70015 Linux driver hardware layer. 8 | * 9 | * HISTORY: 10 | * 11 | ********************************************************************** 12 | * This file is part of the crystalhd device driver. 13 | * 14 | * This driver is free software; you can redistribute it and/or modify 15 | * it under the terms of the GNU General Public License as published by 16 | * the Free Software Foundation, version 2 of the License. 17 | * 18 | * This driver is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 | * GNU General Public License for more details. 22 | * 23 | * You should have received a copy of the GNU General Public License 24 | * along with this driver. If not, see . 25 | **********************************************************************/ 26 | 27 | #ifndef _CRYSTALHD_FLEAFUNCS_H_ 28 | #define _CRYSTALHD_FLEAFUNCS_H_ 29 | 30 | #include "FleaDefs.h" 31 | 32 | #define FW_CMD_BUFF_SZ 64 33 | 34 | bool crystalhd_flea_start_device(struct crystalhd_hw *hw); 35 | bool crystalhd_flea_stop_device(struct crystalhd_hw *hw); 36 | bool crystalhd_flea_hw_interrupt_handle(struct crystalhd_adp *adp, struct crystalhd_hw *hw); 37 | uint32_t crystalhd_flea_reg_rd(struct crystalhd_adp *adp, uint32_t reg_off); /* Done */ 38 | void crystalhd_flea_reg_wr(struct crystalhd_adp *adp, uint32_t reg_off, uint32_t val); /* Done */ 39 | bool crystalhd_flea_check_input_full(struct crystalhd_hw *hw, uint32_t needed_sz, uint32_t *empty_sz, bool b_188_byte_pkts, uint8_t *flags); 40 | BC_STATUS crystalhd_flea_mem_rd(struct crystalhd_hw *hw, uint32_t start_off, uint32_t dw_cnt, uint32_t *rd_buff); /* Done */ 41 | BC_STATUS crystalhd_flea_mem_wr(struct crystalhd_hw *hw, uint32_t start_off, uint32_t dw_cnt, uint32_t *wr_buff); /* Done */ 42 | BC_STATUS crystalhd_flea_do_fw_cmd(struct crystalhd_hw *hw, BC_FW_CMD *fw_cmd); 43 | BC_STATUS crystalhd_flea_download_fw(struct crystalhd_hw* hw, uint8_t* buffer, uint32_t sz); 44 | void crystalhd_flea_get_dnsz(struct crystalhd_hw *hw, uint32_t list_index, uint32_t *y_dw_dnsz, uint32_t *uv_dw_dnsz); 45 | BC_STATUS crystalhd_flea_hw_pause(struct crystalhd_hw *hw, bool state); 46 | bool crystalhd_flea_peek_next_decoded_frame(struct crystalhd_hw *hw, uint64_t *meta_payload, uint32_t *picNumFlags, uint32_t PicWidth); 47 | BC_STATUS crystalhd_flea_hw_post_cap_buff(struct crystalhd_hw *hw, struct crystalhd_rx_dma_pkt *rx_pkt); 48 | void crystalhd_flea_start_tx_dma_engine(struct crystalhd_hw *hw, uint8_t list_id, addr_64 desc_addr); 49 | void crystalhd_flea_stop_rx_dma_engine(struct crystalhd_hw *hw); 50 | BC_STATUS crystalhd_flea_stop_tx_dma_engine(struct crystalhd_hw *hw); 51 | bool crystalhd_flea_tx_list0_handler(struct crystalhd_hw *hw, uint32_t err_sts); 52 | bool crystalhd_flea_tx_list1_handler(struct crystalhd_hw *hw, uint32_t err_sts); 53 | void crystalhd_flea_tx_isr(struct crystalhd_hw *hw, union FLEA_INTR_BITS_COMMON int_sts); 54 | bool crystalhd_flea_rx_list0_handler(struct crystalhd_hw *hw,union FLEA_INTR_BITS_COMMON int_sts,uint32_t y_err_sts,uint32_t uv_err_sts); 55 | bool crystalhd_flea_rx_list1_handler(struct crystalhd_hw *hw,union FLEA_INTR_BITS_COMMON int_sts,uint32_t y_err_sts,uint32_t uv_err_sts); 56 | void crystalhd_flea_rx_isr(struct crystalhd_hw *hw, union FLEA_INTR_BITS_COMMON intr_sts); 57 | void crystalhd_flea_notify_fll_change(struct crystalhd_hw *hw, bool bCleanupContext); 58 | bool crystalhd_flea_notify_event(struct crystalhd_hw *hw, enum BRCM_EVENT EventCode); 59 | 60 | bool flea_GetPictureInfo(struct crystalhd_hw *hw, struct crystalhd_rx_dma_pkt * rx_pkt, 61 | uint32_t *PicNumber, uint64_t *PicMetaData); 62 | #endif 63 | -------------------------------------------------------------------------------- /driver/linux/crystalhd_lnx.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 2005-2009, Broadcom Corporation. 3 | * 4 | * Name: crystalhd_lnx . c 5 | * 6 | * Description: 7 | * BCM70012 Linux driver 8 | * 9 | * HISTORY: 10 | * 11 | ********************************************************************** 12 | * This file is part of the crystalhd device driver. 13 | * 14 | * This driver is free software; you can redistribute it and/or modify 15 | * it under the terms of the GNU General Public License as published by 16 | * the Free Software Foundation, version 2 of the License. 17 | * 18 | * This driver is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 | * GNU General Public License for more details. 22 | * 23 | * You should have received a copy of the GNU General Public License 24 | * along with this driver. If not, see . 25 | **********************************************************************/ 26 | 27 | #ifndef _CRYSTALHD_LNX_H_ 28 | #define _CRYSTALHD_LNX_H_ 29 | 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | #include 43 | #include 44 | 45 | #include 46 | #include 47 | #include 48 | #include 49 | 50 | #include "crystalhd_cmds.h" 51 | 52 | #define CRYSTAL_HD_NAME "Broadcom Crystal HD Decoder Driver" 53 | 54 | /* OS specific PCI information structure and adapter information. */ 55 | struct crystalhd_adp { 56 | /* Hardware board/PCI specifics */ 57 | char name[32]; 58 | struct pci_dev *pdev; 59 | 60 | unsigned long pci_mem_start; 61 | uint32_t pci_mem_len; 62 | void *mem_addr; 63 | 64 | unsigned long pci_i2o_start; 65 | uint32_t pci_i2o_len; 66 | void *i2o_addr; 67 | 68 | unsigned int drv_data; 69 | unsigned int dmabits; /* 32 | 64 */ 70 | unsigned int registered; 71 | unsigned int present; 72 | unsigned int msi; 73 | 74 | spinlock_t lock; 75 | 76 | /* API Related */ 77 | int chd_dec_major; 78 | unsigned int cfg_users; 79 | 80 | crystalhd_ioctl_data *idata_free_head; /* ioctl data pool */ 81 | struct crystalhd_elem *elem_pool_head; /* Queue element pool */ 82 | 83 | struct crystalhd_cmd cmds; 84 | 85 | struct crystalhd_dio_req *ua_map_free_head; 86 | struct pci_pool *fill_byte_pool; 87 | }; 88 | 89 | 90 | struct crystalhd_adp *chd_get_adp(void); 91 | struct device *chddev(void); 92 | 93 | #endif 94 | -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- 1 | hellobcm 2 | mpeg2test 3 | -------------------------------------------------------------------------------- /examples/Makefile: -------------------------------------------------------------------------------- 1 | CPP := g++ 2 | CPPFLAGS += -D__LINUX_USER__ 3 | LDFLAGS += -lcrystalhd -lpthread 4 | INCLUDES += -I../include/ -I../linux_lib/libcrystalhd/ 5 | 6 | % : %.cpp 7 | $(CPP) $(INCLUDES) $(CPPFLAGS) $(LDFLAGS) -o $@ $< 8 | 9 | all: hellobcm mpeg2test 10 | 11 | clean: 12 | rm hellobcm mpeg2test 13 | -------------------------------------------------------------------------------- /export-driver-for-staging.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Crude script to export kernel driver bits to a kernel git tree, 4 | # under drivers/staging/crystalhd/ 5 | # You still need to edit drivers/staging/{Kconfig,Makefile} by hand 6 | # 7 | 8 | if [ -z "$1" ]; then 9 | echo "You need to specify a path to a kernel tree" 10 | exit 1 11 | fi 12 | 13 | kernelsrc=$1 14 | dest=$kernelsrc/drivers/staging/crystalhd 15 | me=$PWD 16 | 17 | if [ ! -e $dest ]; then 18 | mkdir $dest 19 | fi 20 | 21 | # Copy files into place in kernel git tree 22 | cp -a $me/driver/linux/*.c $dest/ 23 | cp -a $me/driver/linux/*.h $dest/ 24 | 25 | # copy userspace headers 26 | cp -a $me/include/bc_dts_defs.h $dest/ 27 | cp -a $me/include/bc_dts_glob_lnx.h $dest/ 28 | 29 | # copy register defines for bcm70012 bcm70015 30 | cp -a $me/include/link/bcm_70012_regs.h $dest/ 31 | cp -a $me/include/flea/bcm_70015_regs.h $dest/ 32 | 33 | # copy random header 34 | cp -a $me/include/flea/DriverFwShare.h $dest/ 35 | 36 | # Now run unifdef over the source to strip out legacy compat 37 | pushd $dest 38 | perl -pi -e 's|KERNEL_VERSION.*|1|g' *.c *.h 39 | for f in *.c *.h 40 | do 41 | cp $f tmp-$f 42 | unifdef -DLINUX_VERSION_CODE=2 tmp-$f > $f 43 | rm -f tmp-$f 44 | done 45 | 46 | # Now show diff and diffstat 47 | git diff -p --stat 48 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | */Makefile 3 | config.log 4 | config.status 5 | config.h 6 | autom4te.cache/ 7 | configure 8 | libtool 9 | src/libgstbcmdec.la 10 | src/libgstbcmdec_la-decif.lo 11 | src/libgstbcmdec_la-gstbcmdec.lo 12 | src/libgstbcmdec_la-parse.lo 13 | stamp-h1 14 | 15 | Makefile.in 16 | aclocal.m4 17 | autoregen.sh 18 | config.h.in 19 | ltmain.sh 20 | m4/Makefile.in 21 | src/Makefile.in 22 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/AUTHORS: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * Copyright(c) 2008 Broadcom Corporation. 3 | * 4 | * This file is part of libcrystalhd. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published 8 | * by the Free Software Foundation, either version 2.1 of the License. 9 | * 10 | * This library is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * You should have received a copy of the GNU Lesser General Public License 15 | * along with this library. If not, see . 16 | * 17 | *******************************************************************/ 18 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/ChangeLog: -------------------------------------------------------------------------------- 1 | Please refer to the release notes. -------------------------------------------------------------------------------- /filters/gst/gst-plugin/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = m4 src 2 | 3 | EXTRA_DIST = autogen.sh gst-autogen.sh 4 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/NEWS: -------------------------------------------------------------------------------- 1 | Please refer to the release notes for all comments and instructions. -------------------------------------------------------------------------------- /filters/gst/gst-plugin/README: -------------------------------------------------------------------------------- 1 | Please refer to the release notes for all comments and instructions. -------------------------------------------------------------------------------- /filters/gst/gst-plugin/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # you can either set the environment variables AUTOCONF and AUTOMAKE 3 | # to the right versions, or leave them unset and get the RedHat 7.3 defaults 4 | 5 | DIE=0 6 | package=gst-plugin 7 | srcfile=src/main.c 8 | 9 | # autogen.sh helper functions (copied from GStreamer's common/ CVS module) 10 | if test ! -f ./gst-autogen.sh; 11 | then 12 | echo There is something wrong with your source tree. 13 | echo You are either missing ./gst-autogen.sh or not 14 | echo running autogen.sh from the top-level source 15 | echo directory. 16 | exit 1 17 | fi 18 | . ./gst-autogen.sh 19 | 20 | CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-debug' 21 | 22 | autogen_options $@ 23 | 24 | echo -n "+ check for build tools" 25 | if test ! -z "$NOCHECK"; then echo " skipped"; else echo; fi 26 | version_check "autoconf" "$AUTOCONF autoconf autoconf259 autoconf257 autoconf-2.54 autoconf-2.53 autoconf-2.52" \ 27 | "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 52 || DIE=1 28 | version_check "automake" "$AUTOMAKE automake automake-1.9 automake19 automake-1.7 automake-1.6 automake-1.5" \ 29 | "ftp://ftp.gnu.org/pub/gnu/automake/" 1 7 || DIE=1 30 | ###version_check "autopoint" "autopoint" \ 31 | ### "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 11 5 || DIE=1 32 | version_check "libtoolize" "$LIBTOOLIZE libtoolize glibtoolize" \ 33 | "ftp://ftp.gnu.org/pub/gnu/libtool/" 1 5 0 || DIE=1 34 | version_check "pkg-config" "" \ 35 | "http://www.freedesktop.org/software/pkgconfig" 0 8 0 || DIE=1 36 | 37 | die_check $DIE 38 | 39 | autoconf_2_52d_check || DIE=1 40 | aclocal_check || DIE=1 41 | autoheader_check || DIE=1 42 | 43 | die_check $DIE 44 | 45 | # if no arguments specified then this will be printed 46 | if test -z "$*"; then 47 | echo "+ checking for autogen.sh options" 48 | echo " This autogen script will automatically run ./configure as:" 49 | echo " ./configure $CONFIGURE_DEF_OPT" 50 | echo " To pass any additional options, please specify them on the $0" 51 | echo " command line." 52 | fi 53 | 54 | tool_run "$aclocal" "-I m4/ $ACLOCAL_FLAGS" 55 | tool_run "$libtoolize" "--copy --force" 56 | tool_run "$autoheader" 57 | tool_run "$autoconf" 58 | tool_run "$automake" "-a -c" 59 | 60 | if test ! -f /usr/include/libcrystalhd/libcrystalhd_if.h; 61 | then 62 | echo libcrystalhd is not installed 63 | echo install it from source or a binary package and re-run this script 64 | exit 1 65 | fi 66 | 67 | # if enable exists, add an -enable option for each of the lines in that file 68 | if test -f enable; then 69 | for a in `cat enable`; do 70 | CONFIGURE_FILE_OPT="--enable-$a" 71 | done 72 | fi 73 | 74 | # if disable exists, add an -disable option for each of the lines in that file 75 | if test -f disable; then 76 | for a in `cat disable`; do 77 | CONFIGURE_FILE_OPT="$CONFIGURE_FILE_OPT --disable-$a" 78 | done 79 | fi 80 | 81 | test -n "$NOCONFIGURE" && { 82 | echo "+ skipping configure stage for package $package, as requested." 83 | echo "+ autogen.sh done." 84 | exit 0 85 | } 86 | 87 | echo "+ running configure ... " 88 | test ! -z "$CONFIGURE_DEF_OPT" && echo " ./configure default flags: $CONFIGURE_DEF_OPT" 89 | test ! -z "$CONFIGURE_EXT_OPT" && echo " ./configure external flags: $CONFIGURE_EXT_OPT" 90 | test ! -z "$CONFIGURE_FILE_OPT" && echo " ./configure enable/disable flags: $CONFIGURE_FILE_OPT" 91 | echo 92 | 93 | ./configure $CONFIGURE_DEF_OPT $CONFIGURE_EXT_OPT $CONFIGURE_FILE_OPT || { 94 | echo " configure failed" 95 | exit 1 96 | } 97 | 98 | echo "Now type 'make' to compile $package." 99 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/configure.ac: -------------------------------------------------------------------------------- 1 | AC_INIT 2 | 3 | dnl versions of gstreamer and plugins-base 4 | GST_MAJORMINOR=0.10 5 | GST_REQUIRED=0.10.0 6 | GSTPB_REQUIRED=0.10.0 7 | 8 | dnl fill in your package name and version here 9 | dnl the fourth (nano) number should be 0 for a release, 1 for CVS, 10 | dnl and 2... for a prerelease 11 | 12 | dnl when going to/from release please set the nano correctly ! 13 | dnl releases only do Wall, cvs and prerelease does Werror too 14 | AS_VERSION(gst-bcmdec, GST_PLUGIN_VERSION, 0, 10, 40, 0, 15 | GST_PLUGIN_CVS="no", GST_PLUGIN_CVS="yes") 16 | 17 | dnl AM_MAINTAINER_MODE provides the option to enable maintainer mode 18 | AM_MAINTAINER_MODE 19 | 20 | AM_INIT_AUTOMAKE($PACKAGE, $VERSION) 21 | 22 | AC_PREFIX_DEFAULT(/usr) 23 | 24 | dnl make aclocal work in maintainer mode 25 | AC_SUBST(ACLOCAL_AMFLAGS, "-I m4") 26 | 27 | AM_CONFIG_HEADER(config.h) 28 | 29 | dnl check for tools 30 | AC_PROG_CC 31 | AC_PROG_LIBTOOL 32 | 33 | 34 | dnl decide on error flags 35 | AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no") 36 | 37 | if test "x$GST_WALL" = "xyes"; then 38 | GST_ERROR="$GST_ERROR -Wall" 39 | 40 | if test "x$GST_PLUGIN_CVS" = "xyes"; then 41 | AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR") 42 | fi 43 | fi 44 | 45 | dnl Check for pkgconfig first 46 | AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no) 47 | 48 | dnl Give error and exit if we don't have pkgconfig 49 | if test "x$HAVE_PKGCONFIG" = "xno"; then 50 | AC_MSG_ERROR(you need to have pkgconfig installed !) 51 | fi 52 | 53 | dnl Now we're ready to ask for gstreamer libs and cflags 54 | dnl And we can also ask for the right version of gstreamer 55 | 56 | 57 | PKG_CHECK_MODULES(GST, \ 58 | gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED 59 | gstreamer-video-0.10, 60 | HAVE_GST=yes,HAVE_GST=no) 61 | 62 | dnl Give error and exit if we don't have gstreamer 63 | if test "x$HAVE_GST" = "xno"; then 64 | AC_MSG_ERROR(you need gstreamer development packages installed !) 65 | fi 66 | 67 | dnl append GST_ERROR cflags to GST_CFLAGS 68 | GST_CFLAGS="$GST_CFLAGS $GST_ERROR" 69 | 70 | dnl make GST_CFLAGS and GST_LIBS available 71 | AC_SUBST(GST_CFLAGS) 72 | AC_SUBST(GST_LIBS) 73 | 74 | dnl make GST_MAJORMINOR available in Makefile.am 75 | AC_SUBST(GST_MAJORMINOR) 76 | 77 | dnl If we need them, we can also use the base class libraries 78 | PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED, 79 | HAVE_GST_BASE=yes, HAVE_GST_BASE=no) 80 | 81 | dnl Give a warning if we don't have gstreamer libs 82 | dnl you can turn this into an error if you need them 83 | if test "x$HAVE_GST_BASE" = "xno"; then 84 | AC_MSG_NOTICE(no GStreamer base class libraries found (gstreamer-base-$GST_MAJORMINOR)) 85 | fi 86 | 87 | dnl make _CFLAGS and _LIBS available 88 | AC_SUBST(GST_BASE_CFLAGS) 89 | AC_SUBST(GST_BASE_LIBS) 90 | 91 | dnl If we need them, we can also use the gstreamer-plugins-base libraries 92 | PKG_CHECK_MODULES(GSTPB_BASE, 93 | gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED, 94 | HAVE_GSTPB_BASE=yes, HAVE_GSTPB_BASE=no) 95 | 96 | dnl Give a warning if we don't have gstreamer libs 97 | dnl you can turn this into an error if you need them 98 | if test "x$HAVE_GSTPB_BASE" = "xno"; then 99 | AC_MSG_NOTICE(no GStreamer Plugins Base libraries found (gstreamer-plugins-base-$GST_MAJORMINOR)) 100 | fi 101 | 102 | dnl make _CFLAGS and _LIBS available 103 | AC_SUBST(GSTPB_BASE_CFLAGS) 104 | AC_SUBST(GSTPB_BASE_LIBS) 105 | 106 | dnl If we need them, we can also use the gstreamer-controller libraries 107 | PKG_CHECK_MODULES(GSTCTRL, 108 | gstreamer-controller-$GST_MAJORMINOR >= $GSTPB_REQUIRED, 109 | HAVE_GSTCTRL=yes, HAVE_GSTCTRL=no) 110 | 111 | dnl Give a warning if we don't have gstreamer-controller 112 | dnl you can turn this into an error if you need them 113 | if test "x$HAVE_GSTCTRL" = "xno"; then 114 | AC_MSG_NOTICE(no GStreamer Controller libraries found (gstreamer-controller-$GST_MAJORMINOR)) 115 | fi 116 | 117 | dnl make _CFLAGS and _LIBS available 118 | AC_SUBST(GSTCTRL_CFLAGS) 119 | AC_SUBST(GSTCTRL_LIBS) 120 | 121 | dnl set the plugindir where plugins should be installed 122 | if test "x${prefix}" = "x$HOME"; then 123 | plugindir="$HOME/.gstreamer-$GST_MAJORMINOR/plugins" 124 | else 125 | plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR" 126 | fi 127 | AC_SUBST(plugindir) 128 | 129 | dnl set proper LDFLAGS for plugins 130 | GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*' 131 | AC_SUBST(GST_PLUGIN_LDFLAGS) 132 | 133 | AC_OUTPUT(Makefile m4/Makefile src/Makefile) 134 | 135 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/m4/CVS/Entries: -------------------------------------------------------------------------------- 1 | /Makefile.am/1.1/Fri Jan 13 12:36:05 2006// 2 | /as-compiler-flag.m4/1.1/Fri Jan 13 12:36:05 2006// 3 | /as-version.m4/1.2/Fri Sep 17 22:18:03 2004// 4 | D 5 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/m4/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = as-version.m4 as-compiler-flag.m4 2 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/m4/as-compiler-flag.m4: -------------------------------------------------------------------------------- 1 | dnl as-compiler-flag.m4 0.0.1 2 | dnl autostars m4 macro for detection of compiler flags 3 | dnl 4 | dnl ds@schleef.org 5 | 6 | AC_DEFUN([AS_COMPILER_FLAG], 7 | [ 8 | AC_MSG_CHECKING([to see if compiler understands $1]) 9 | 10 | save_CFLAGS="$CFLAGS" 11 | CFLAGS="$CFLAGS $1" 12 | 13 | AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no]) 14 | CFLAGS="$save_CFLAGS" 15 | 16 | if test "X$flag_ok" = Xyes ; then 17 | $2 18 | true 19 | else 20 | $3 21 | true 22 | fi 23 | AC_MSG_RESULT([$flag_ok]) 24 | ]) 25 | 26 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/m4/as-version.m4: -------------------------------------------------------------------------------- 1 | dnl as-version.m4 0.1.0 2 | 3 | dnl autostars m4 macro for versioning 4 | 5 | dnl Thomas Vander Stichele 6 | 7 | dnl $Id: as-version.m4,v 1.2 2004-09-17 22:18:03 leroutier Exp $ 8 | 9 | dnl AS_VERSION(PACKAGE, PREFIX, MAJOR, MINOR, MICRO, NANO, 10 | dnl ACTION-IF-NO-NANO, [ACTION-IF-NANO]) 11 | 12 | dnl example 13 | dnl AS_VERSION(gstreamer, GST_VERSION, 0, 3, 2,) 14 | dnl for a 0.3.2 release version 15 | 16 | dnl this macro 17 | dnl - defines [$PREFIX]_MAJOR, MINOR and MICRO 18 | dnl - if NANO is empty, then we're in release mode, else in cvs/dev mode 19 | dnl - defines [$PREFIX], VERSION, and [$PREFIX]_RELEASE 20 | dnl - executes the relevant action 21 | dnl - AC_SUBST's PACKAGE, VERSION, [$PREFIX] and [$PREFIX]_RELEASE 22 | dnl as well as the little ones 23 | dnl - doesn't call AM_INIT_AUTOMAKE anymore because it prevents 24 | dnl maintainer mode from running ok 25 | dnl 26 | dnl don't forget to put #undef [$2] and [$2]_RELEASE in acconfig.h 27 | dnl if you use acconfig.h 28 | 29 | AC_DEFUN([AS_VERSION], 30 | [ 31 | PACKAGE=[$1] 32 | [$2]_MAJOR=[$3] 33 | [$2]_MINOR=[$4] 34 | [$2]_MICRO=[$5] 35 | NANO=[$6] 36 | [$2]_NANO=$NANO 37 | if test "x$NANO" = "x" || test "x$NANO" = "x0"; 38 | then 39 | AC_MSG_NOTICE(configuring [$1] for release) 40 | VERSION=[$3].[$4].[$5] 41 | [$2]_RELEASE=1 42 | dnl execute action 43 | ifelse([$7], , :, [$7]) 44 | else 45 | AC_MSG_NOTICE(configuring [$1] for development with nano $NANO) 46 | VERSION=[$3].[$4].[$5].$NANO 47 | [$2]_RELEASE=0.`date +%Y%m%d.%H%M%S` 48 | dnl execute action 49 | ifelse([$8], , :, [$8]) 50 | fi 51 | 52 | [$2]=$VERSION 53 | AC_DEFINE_UNQUOTED([$2], "$[$2]", [Define the version]) 54 | AC_SUBST([$2]) 55 | AC_DEFINE_UNQUOTED([$2]_RELEASE, "$[$2]_RELEASE", [Define the release version]) 56 | AC_SUBST([$2]_RELEASE) 57 | 58 | AC_SUBST([$2]_MAJOR) 59 | AC_SUBST([$2]_MINOR) 60 | AC_SUBST([$2]_MICRO) 61 | AC_SUBST([$2]_NANO) 62 | AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Define the package name]) 63 | AC_SUBST(PACKAGE) 64 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Define the version]) 65 | AC_SUBST(VERSION) 66 | ]) 67 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/src/Makefile.am: -------------------------------------------------------------------------------- 1 | # plugindir is set in configure 2 | 3 | ROOTDIR = ../../../.. 4 | CC = g++ 5 | CPP = g++ 6 | INCLUDES = -I./ -I/usr/include -I/usr/include/libcrystalhd 7 | 8 | BCMDEC_CFLAGS = $(INCLUDES) -D__LINUX_USER__ -DWMV_FILE_HANDLING 9 | BCMDEC_CFLAGS += -O2 -g -Wall 10 | 11 | BCMDEC_LDFLAGS = -lcrystalhd 12 | 13 | ############################################################################## 14 | # change libgstplugin.la to something more suitable, e.g. libmysomething.la # 15 | ############################################################################## 16 | plugin_LTLIBRARIES = libgstbcmdec.la 17 | 18 | ############################################################################## 19 | # for the next set of variables, rename the prefix if you renamed the .la, # 20 | # e.g. libgstplugin_la_SOURCES => libgstbcmdec_la_SOURCES # 21 | # libgstplugin_la_CFLAGS => libgstbcmdec_la_CFLAGS # 22 | # libgstplugin_la_LIBADD => libgstbcmdec_la_LIBADD # 23 | # libgstplugin_la_LDFLAGS => libgstbcmdec_la_LDFLAGS # 24 | ############################################################################## 25 | 26 | # sources used to compile this plug-in 27 | libgstbcmdec_la_SOURCES = gstbcmdec.c decif.c parse.c 28 | 29 | # flags used to compile this plugin 30 | # add other _CFLAGS and _LIBS as needed 31 | libgstbcmdec_la_CFLAGS = $(GST_CFLAGS) $(BCMDEC_CFLAGS) 32 | libgstbcmdec_la_LIBADD = $(GST_LIBS) $(GST_PLUGINS_BASE_LIBS) 33 | libgstbcmdec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(BCMDEC_LDFLAGS) 34 | 35 | # headers we need but don't want installed 36 | noinst_HEADERS = gstbcmdec.h decif.h parse.h 37 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/src/decif.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * Copyright(c) 2008 Broadcom Corporation. 3 | * 4 | * Name: decif.h 5 | * 6 | * Description: Devic Interface API. 7 | * 8 | * AU 9 | * 10 | * HISTORY: 11 | * 12 | ******************************************************************* 13 | * 14 | * This library is free software: you can redistribute it and/or modify 15 | * it under the terms of the GNU Lesser General Public License as published 16 | * by the Free Software Foundation, either version 2.1 of the License. 17 | * 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 | * GNU Lesser General Public License for more details. 22 | * You should have received a copy of the GNU Lesser General Public License 23 | * along with this library. If not, see . 24 | * 25 | *******************************************************************/ 26 | #ifndef __BCMDECIF_H__ 27 | #define __BCMDECIF_H__ 28 | 29 | #include "bc_dts_defs.h" 30 | #include "libcrystalhd_if.h" 31 | 32 | #define PROC_TIMEOUT 3000 33 | #define ALIGN_BUF_SIZE (512*1024) 34 | 35 | struct _DecIf 36 | { 37 | HANDLE hdev; 38 | }; 39 | typedef struct _DecIf BcmDecIF; 40 | 41 | BC_STATUS decif_getcaps(BcmDecIF *decif, BC_HW_CAPS *hwCaps); 42 | 43 | BC_STATUS 44 | decif_open(BcmDecIF * decif); 45 | 46 | BC_STATUS 47 | decif_close(BcmDecIF * decif); 48 | 49 | BC_STATUS 50 | decif_prepare_play(BcmDecIF* decif); 51 | 52 | BC_STATUS 53 | decif_start_play(BcmDecIF * decif); 54 | 55 | BC_STATUS 56 | decif_pause(BcmDecIF * decif,gboolean pause); 57 | 58 | BC_STATUS 59 | decif_stop(BcmDecIF * decif); 60 | 61 | BC_STATUS 62 | decif_flush_dec(BcmDecIF * decif,gint8 flush_type); 63 | 64 | BC_STATUS 65 | decif_flush_rxbuf(BcmDecIF * decif,gboolean discard_only); 66 | 67 | BC_STATUS 68 | decif_send_buffer(BcmDecIF * decif,guint8* buffer,guint32 size,GstClockTime time_stamp,guint8 flags); 69 | 70 | BC_STATUS 71 | decif_setcolorspace(BcmDecIF * decif, BC_OUTPUT_FORMAT mode); 72 | 73 | BC_STATUS 74 | decif_get_drv_status(BcmDecIF * decif, gboolean* suspended, guint32 *rll, guint32 *picNumFlags); 75 | 76 | BC_STATUS 77 | decif_get_eos(BcmDecIF *decif, gboolean *bEOS); 78 | 79 | BC_STATUS 80 | decif_decode_catchup(BcmDecIF * decif, gboolean catchup); 81 | 82 | BC_STATUS 83 | decif_setinputformat(BcmDecIF *decif, BC_INPUT_FORMAT bcInputFormat); 84 | 85 | #endif 86 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/src/parse.h: -------------------------------------------------------------------------------- 1 | /******************************************************************* 2 | * 3 | * This library is free software: you can redistribute it and/or modify 4 | * it under the terms of the GNU Lesser General Public License as published 5 | * by the Free Software Foundation, either version 2.1 of the License. 6 | * 7 | * This library is distributed in the hope that it will be useful, 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | * GNU Lesser General Public License for more details. 11 | * You should have received a copy of the GNU Lesser General Public License 12 | * along with this library. If not, see . 13 | * 14 | *******************************************************************/ 15 | #ifndef CPARSE 16 | #define CPARSE 17 | 18 | //VC1 prefix 000001 19 | #define VC1_FRM_SUFFIX 0x0D 20 | #define VC1_SEQ_SUFFIX 0x0F 21 | 22 | //VC1 SM Profile prefix 000001 23 | #define VC1_SM_FRM_SUFFIX 0xE0 24 | 25 | //Check WMV SP/MP PES Payload for PTS Info 26 | #define VC1_SM_MAGIC_WORD 0x5A5A5A5A 27 | #define VC1_SM_PTS_INFO_START_CODE 0xBD 28 | 29 | //MPEG2 prefix 000001 30 | #define MPEG2_FRM_SUFFIX 0x00 31 | #define MPEG2_SEQ_SUFFIX 0xB3 32 | 33 | typedef enum 34 | { 35 | P_SLICE = 0, 36 | B_SLICE, 37 | I_SLICE, 38 | SP_SLICE, 39 | SI_SLICE 40 | } SliceType; 41 | 42 | 43 | typedef enum 44 | { 45 | NALU_TYPE_SLICE = 1, 46 | NALU_TYPE_DPA, 47 | NALU_TYPE_DPB, 48 | NALU_TYPE_DPC, 49 | NALU_TYPE_IDR, 50 | NALU_TYPE_SEI, 51 | NALU_TYPE_SPS, 52 | NALU_TYPE_PPS, 53 | NALU_TYPE_AUD, 54 | NALU_TYPE_EOSEQ, 55 | NALU_TYPE_EOSTREAM, 56 | NALU_TYPE_FILL 57 | }NALuType; 58 | 59 | typedef struct 60 | { 61 | gint StartcodePrefixLen; //! 4 for parameter sets and first slice in picture, 3 for everything else (suggested) 62 | guint Len; //! Length of the NAL unit (Excluding the start code, which does not belong to the NALU) 63 | guint MaxSize; //! Nal Unit Buffer size 64 | gint NalUnitType; //! NALU_TYPE_xxxx 65 | gint ForbiddenBit; //! should be always FALSE 66 | guint8* pNalBuf; 67 | } NALU_t; 68 | 69 | typedef struct 70 | { 71 | guint8* m_pInputBuffer; 72 | guint8* m_pInputBufferEnd; 73 | guint8* m_pCurrent; 74 | guint32 m_ulMask; 75 | guint32 m_ulOffset; 76 | gint m_nSize; 77 | gint m_nUsed; 78 | guint32 m_ulZero; 79 | }SymbInt; 80 | 81 | typedef struct { 82 | gboolean bIsFirstByteStreamNALU; 83 | SymbInt symb_int; 84 | 85 | }Parse; 86 | 87 | 88 | void 89 | parse_init(Parse* parse); 90 | 91 | gint 92 | parseAVC(Parse* parse,guint8* pInputBuf,guint32 ulSize,guint32* Offset); 93 | 94 | gboolean 95 | parse_find_strt_code(Parse* parse,guint8 input_format,guint8* in_buffer,guint32 size,guint32* poffset); 96 | 97 | gint 98 | GetNaluType(Parse* parse,guint8* pInputBuf, guint32 ulSize, NALU_t* pNalu); 99 | 100 | gboolean 101 | SiBuffer(SymbInt* simb_int,guint8 * pInputBuffer, guint32 ulSize); 102 | 103 | gboolean 104 | SiUe(SymbInt* simb_int,guint32* pCode); 105 | 106 | guint32 107 | SiOffset(SymbInt*); 108 | 109 | inline gint 110 | NextBit ( SymbInt*); 111 | 112 | 113 | #endif 114 | -------------------------------------------------------------------------------- /filters/gst/gst-plugin/src/version_lnx.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * Copyright(c) 2006 Broadcom Corporation. 3 | * 4 | * Name: version_lnx.h 5 | * 6 | * Description: Version numbering for the driver use. 7 | * 8 | * AU 9 | * 10 | * HISTORY: 11 | * 12 | ******************************************************************* 13 | * 14 | * This library is free software: you can redistribute it and/or modify 15 | * it under the terms of the GNU Lesser General Public License as published 16 | * by the Free Software Foundation, either version 2.1 of the License. 17 | * 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 | * GNU Lesser General Public License for more details. 22 | * You should have received a copy of the GNU Lesser General Public License 23 | * along with this library. If not, see . 24 | * 25 | *******************************************************************/ 26 | 27 | #ifndef _BC_DTS_VERSION_LNX_ 28 | #define _BC_DTS_VERSION_LNX_ 29 | // 30 | // The version format that we are adopting is 31 | // MajorVersion.MinorVersion.Revision 32 | // This will be the same for all the components. 33 | // 34 | // 35 | #define STRINGIFY_VERSION(MAJ,MIN,REV) STRINGIFIED_VERSION(MAJ,MIN,REV) 36 | #define STRINGIFIED_VERSION(MAJ,MIN,REV) #MAJ "." #MIN "." #REV 37 | 38 | #define STRINGIFY_VERSION_W(MAJ,MIN,REV) STRINGIFIED_VERSION_W(MAJ,MIN,REV) 39 | #define STRINGIFIED_VERSION_W(MAJ,MIN,REV) #MAJ "." #MIN "." #REV 40 | 41 | // 42 | // Product Version number is: 43 | // x.y.z.a 44 | // 45 | // x = Major release. 1 = Dozer, 2 = Dozer + Link 46 | // y = Minor release. Should increase +1 per "real" release. 47 | // z = Branch release. 0 for main branch. This is +1 per branch release. 48 | // a = Build number +1 per candidate release. Reset to 0 every "real" release. 49 | // 50 | // 51 | // Enabling Check-In rules enforcement 08092007 52 | // 53 | #define INVALID_VERSION 0xFFFF 54 | 55 | /*========================== Common For All Components =================================*/ 56 | #define RC_COMPANY_NAME "Broadcom Corporation\0" 57 | #define RC_PRODUCT_VERSION "2.7.0.23" 58 | #define RC_W_PRODUCT_VERSION L"2.7.0.23" 59 | #define RC_PRODUCT_NAME "Broadcom Video Decoder\0" 60 | #define RC_COMMENTS "Broadcom BCM70010/BCM70012 Controller\0" 61 | #define RC_COPYRIGHT "Copyright(c) 2007 Broadcom Corporation" 62 | #define RC_PRIVATE_BUILD "Broadcom Corp. Private\0" 63 | #define RC_LEGAL_TRADEMARKS " \0" 64 | #define BRCM_MAJOR_VERSION 0 65 | 66 | 67 | /*========================== WDM Driver =================================*/ 68 | 69 | /* 70 | * Version number scheme for driver DVMJVer.DVMNVer.DVRev.UNMODIFIED 71 | * Where DVMJVer = DRIVER_MAJOR_VERSION 72 | * DVMNVer = DRIVER_MINOR_VERSION 73 | * DVRev = DRIVER_REVISION 74 | * UNMODIFIED = This is for Compatibility with windows INF file version scheme. 75 | */ 76 | 77 | #define RC_FILE_DESCRIPTION "Broadcom BCM70010/BCM70012 Driver\0" 78 | #define RC_INTERNAL_NAME "" 79 | #define RC_ORIGINAL_NAME RC_INTERNAL_NAME 80 | #define RC_SPECIAL_BUILD "" 81 | 82 | #define DRIVER_MAJOR_VERSION BRCM_MAJOR_VERSION 83 | #define DRIVER_MINOR_VERSION 1 84 | #define DRIVER_REVISION 0 85 | 86 | #define RC_FILE_VERSION STRINGIFY_VERSION(DRIVER_MAJOR_VERSION,DRIVER_MINOR_VERSION,DRIVER_REVISION) ".0" 87 | 88 | /*======================= Device Interface Library ========================*/ 89 | #define DIL_MAJOR_VERSION BRCM_MAJOR_VERSION 90 | #define DIL_MINOR_VERSION 1 91 | #define DIL_REVISION 0 92 | 93 | #define DIL_RC_FILE_VERSION STRINGIFY_VERSION(DIL_MAJOR_VERSION,DIL_MINOR_VERSION,DIL_REVISION) 94 | 95 | /*========================== deconf utility ==============================*/ 96 | #define DECONF_MAJOR_VERSION BRCM_MAJOR_VERSION 97 | #define DECONF_MINOR_VERSION 1 98 | #define DECONF_REVISION 0 99 | #define DECONF_RC_FILE_VERSION STRINGIFY_VERSION(DIL_MAJOR_VERSION,DIL_MINOR_VERSION,DIL_REVISION) 100 | 101 | #ifndef _PB_FIX_ME_ 102 | /*======================= deconft utility ========================*/ 103 | #define DECONFT_MAJOR_VERSION BRCM_MAJOR_VERSION 104 | #define DECONFT_MINOR_VERSION 1 105 | #define DECONFT_REVISION 0 106 | 107 | #define DECONFT_RC_FILE_VERSION STRINGIFY_VERSION(DECONFT_MAJOR_VERSION,DECONFT_MINOR_VERSION,DECONFT_REVISION) 108 | #endif 109 | 110 | 111 | #endif 112 | -------------------------------------------------------------------------------- /firmware/Makefile: -------------------------------------------------------------------------------- 1 | FIRMWARE = fwbin/70015/bcm70015fw.bin \ 2 | fwbin/70012/bcm70012fw.bin 3 | 4 | install: 5 | if [ ! -d /lib/firmware ] ; \ 6 | then install -d /lib/firmware ; \ 7 | fi 8 | install -t /lib/firmware $(FIRMWARE) 9 | -------------------------------------------------------------------------------- /firmware/fwbin/70012/bcm70012fw.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbason/crystalhd/af931d9ae5a63adfefe398defb99f225ae181c24/firmware/fwbin/70012/bcm70012fw.bin -------------------------------------------------------------------------------- /firmware/fwbin/70015/bcm70015fw.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbason/crystalhd/af931d9ae5a63adfefe398defb99f225ae181c24/firmware/fwbin/70015/bcm70015fw.bin -------------------------------------------------------------------------------- /include/bc_dts_types.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * Copyright(c) 2006-2009 Broadcom Corporation. 3 | * 4 | * Name: bc_dts_types.h 5 | * 6 | * Description: Data types 7 | * 8 | * AU 9 | * 10 | * HISTORY: 11 | * 12 | ******************************************************************** 13 | * This header is free software: you can redistribute it and/or modify 14 | * it under the terms of the GNU Lesser General Public License as published 15 | * by the Free Software Foundation, either version 2.1 of the License. 16 | * 17 | * This header is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 | * GNU Lesser General Public License for more details. 21 | * You should have received a copy of the GNU Lesser General Public License 22 | * along with this header. If not, see . 23 | *******************************************************************/ 24 | 25 | #ifndef _BC_DTS_TYPES_H_ 26 | #define _BC_DTS_TYPES_H_ 27 | 28 | //#ifdef __LINUX_USER__ /* Don't include these for KERNEL.. */ 29 | #if !defined(__KERNEL__) 30 | #include 31 | #endif 32 | 33 | #ifndef PVOID 34 | typedef void *PVOID; 35 | #endif 36 | 37 | #ifndef BOOL 38 | typedef int BOOL; 39 | #endif 40 | 41 | //#ifdef __LINUX_USER__ /* Don't include these for KERNEL */ 42 | #if !defined(__KERNEL__) 43 | typedef uint32_t ULONG; 44 | typedef int32_t LONG; 45 | typedef void *HANDLE; 46 | #ifndef VOID 47 | typedef void VOID; 48 | #endif 49 | typedef void *LPVOID; 50 | typedef uint32_t DWORD; 51 | typedef uint32_t UINT32; 52 | typedef uint32_t *LPDWORD; 53 | typedef unsigned char *PUCHAR; 54 | 55 | #ifndef TRUE 56 | #define TRUE 1 57 | #endif 58 | 59 | #ifndef FALSE 60 | #define FALSE 0 61 | #endif 62 | 63 | #else /* !__KERNEL__ */ 64 | 65 | /* For Kernel usage.. */ 66 | typedef bool bc_bool_t; 67 | #endif /* __KERNEL__ */ 68 | 69 | #endif 70 | 71 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbason/crystalhd/af931d9ae5a63adfefe398defb99f225ae181c24/include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp.h -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_armcr4_bridge_axi_slave.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_armcr4_bridge_axi_slave.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:28p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:10 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_armcr4_bridge_axi_slave.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:28p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_ARMCR4_BRIDGE_AXI_SLAVE_H__ 50 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_H__ 51 | 52 | /*************************************************************************** 53 | *ARMCR4_BRIDGE_AXI_SLAVE - AXI Slave indirect registers 54 | ***************************************************************************/ 55 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR 0x000e1000 /* AXI Slave address register */ 56 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ACCESS 0x000e1004 /* AXI Slave write/read access register */ 57 | 58 | /*************************************************************************** 59 | *REG_ADDR - AXI Slave address register 60 | ***************************************************************************/ 61 | /* ARMCR4_BRIDGE_AXI_SLAVE :: REG_ADDR :: reserved0 [31:27] */ 62 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR_reserved0_MASK 0xf8000000 63 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR_reserved0_SHIFT 27 64 | 65 | /* ARMCR4_BRIDGE_AXI_SLAVE :: REG_ADDR :: RAM_sel [26:23] */ 66 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR_RAM_sel_MASK 0x07800000 67 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR_RAM_sel_SHIFT 23 68 | 69 | /* ARMCR4_BRIDGE_AXI_SLAVE :: REG_ADDR :: Type_sel [22:19] */ 70 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR_Type_sel_MASK 0x00780000 71 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR_Type_sel_SHIFT 19 72 | 73 | /* ARMCR4_BRIDGE_AXI_SLAVE :: REG_ADDR :: Way_sel [18:15] */ 74 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR_Way_sel_MASK 0x00078000 75 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR_Way_sel_SHIFT 15 76 | 77 | /* ARMCR4_BRIDGE_AXI_SLAVE :: REG_ADDR :: Address [14:00] */ 78 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR_Address_MASK 0x00007fff 79 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ADDR_Address_SHIFT 0 80 | 81 | /*************************************************************************** 82 | *REG_ACCESS - AXI Slave write/read access register 83 | ***************************************************************************/ 84 | /* ARMCR4_BRIDGE_AXI_SLAVE :: REG_ACCESS :: Access [31:00] */ 85 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ACCESS_Access_MASK 0xffffffff 86 | #define BCHP_ARMCR4_BRIDGE_AXI_SLAVE_REG_ACCESS_Access_SHIFT 0 87 | 88 | #endif /* #ifndef BCHP_ARMCR4_BRIDGE_AXI_SLAVE_H__ */ 89 | 90 | /* End of File */ 91 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_avd_gr_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_avd_gr_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 7:56p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:03 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_avd_gr_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 7:56p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_AVD_GR_0_H__ 50 | #define BCHP_AVD_GR_0_H__ 51 | 52 | /*************************************************************************** 53 | *AVD_GR_0 54 | ***************************************************************************/ 55 | #define BCHP_AVD_GR_0_REVISION 0x00900400 /* GR Bridge Revision */ 56 | #define BCHP_AVD_GR_0_CTRL 0x00900404 /* GR Bridge Control Register */ 57 | #define BCHP_AVD_GR_0_SW_RESET_0 0x00900408 /* GR Bridge Software Reset 0 Register */ 58 | #define BCHP_AVD_GR_0_SW_RESET_1 0x0090040c /* GR Bridge Software Reset 1 Register */ 59 | 60 | /*************************************************************************** 61 | *REVISION - GR Bridge Revision 62 | ***************************************************************************/ 63 | /* AVD_GR_0 :: REVISION :: reserved0 [31:16] */ 64 | #define BCHP_AVD_GR_0_REVISION_reserved0_MASK 0xffff0000 65 | #define BCHP_AVD_GR_0_REVISION_reserved0_SHIFT 16 66 | 67 | /* AVD_GR_0 :: REVISION :: MAJOR [15:08] */ 68 | #define BCHP_AVD_GR_0_REVISION_MAJOR_MASK 0x0000ff00 69 | #define BCHP_AVD_GR_0_REVISION_MAJOR_SHIFT 8 70 | 71 | /* AVD_GR_0 :: REVISION :: MINOR [07:00] */ 72 | #define BCHP_AVD_GR_0_REVISION_MINOR_MASK 0x000000ff 73 | #define BCHP_AVD_GR_0_REVISION_MINOR_SHIFT 0 74 | 75 | /*************************************************************************** 76 | *CTRL - GR Bridge Control Register 77 | ***************************************************************************/ 78 | /* AVD_GR_0 :: CTRL :: reserved0 [31:01] */ 79 | #define BCHP_AVD_GR_0_CTRL_reserved0_MASK 0xfffffffe 80 | #define BCHP_AVD_GR_0_CTRL_reserved0_SHIFT 1 81 | 82 | /* AVD_GR_0 :: CTRL :: gisb_error_intr [00:00] */ 83 | #define BCHP_AVD_GR_0_CTRL_gisb_error_intr_MASK 0x00000001 84 | #define BCHP_AVD_GR_0_CTRL_gisb_error_intr_SHIFT 0 85 | #define BCHP_AVD_GR_0_CTRL_gisb_error_intr_INTR_DISABLE 0 86 | #define BCHP_AVD_GR_0_CTRL_gisb_error_intr_INTR_ENABLE 1 87 | 88 | /*************************************************************************** 89 | *SW_RESET_0 - GR Bridge Software Reset 0 Register 90 | ***************************************************************************/ 91 | /* AVD_GR_0 :: SW_RESET_0 :: reserved0 [31:00] */ 92 | #define BCHP_AVD_GR_0_SW_RESET_0_reserved0_MASK 0xffffffff 93 | #define BCHP_AVD_GR_0_SW_RESET_0_reserved0_SHIFT 0 94 | 95 | /*************************************************************************** 96 | *SW_RESET_1 - GR Bridge Software Reset 1 Register 97 | ***************************************************************************/ 98 | /* AVD_GR_0 :: SW_RESET_1 :: reserved0 [31:00] */ 99 | #define BCHP_AVD_GR_0_SW_RESET_1_reserved0_MASK 0xffffffff 100 | #define BCHP_AVD_GR_0_SW_RESET_1_reserved0_SHIFT 0 101 | 102 | #endif /* #ifndef BCHP_AVD_GR_0_H__ */ 103 | 104 | /* End of File */ 105 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpuaux2_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_cpuaux2_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 7:59p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:35 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpuaux2_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 7:59p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_CPUAUX2_0_H__ 50 | #define BCHP_DECODE_CPUAUX2_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_CPUAUX2_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_CPUAUX2_0_CPUAUX_REG 0x00855000 /* CPUAUX_REG */ 56 | #define BCHP_DECODE_CPUAUX2_0_CPUAUX_END 0x00855ffc /* CPUAUX_END */ 57 | 58 | #endif /* #ifndef BCHP_DECODE_CPUAUX2_0_H__ */ 59 | 60 | /* End of File */ 61 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpuaux_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_cpuaux_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:00p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:00 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpuaux_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:00p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_CPUAUX_0_H__ 50 | #define BCHP_DECODE_CPUAUX_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_CPUAUX_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_CPUAUX_0_CPUAUX_REG 0x00845000 /* CPUAUX_REG */ 56 | #define BCHP_DECODE_CPUAUX_0_CPUAUX_END 0x00845ffc /* CPUAUX_END */ 57 | 58 | /*************************************************************************** 59 | *CPUAUX_REG - CPUAUX_REG 60 | ***************************************************************************/ 61 | /* DECODE_CPUAUX_0 :: CPUAUX_REG :: Addr [31:00] */ 62 | #define BCHP_DECODE_CPUAUX_0_CPUAUX_REG_Addr_MASK 0xffffffff 63 | #define BCHP_DECODE_CPUAUX_0_CPUAUX_REG_Addr_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *CPUAUX_END - CPUAUX_END 67 | ***************************************************************************/ 68 | /* DECODE_CPUAUX_0 :: CPUAUX_END :: reserved0 [31:00] */ 69 | #define BCHP_DECODE_CPUAUX_0_CPUAUX_END_reserved0_MASK 0xffffffff 70 | #define BCHP_DECODE_CPUAUX_0_CPUAUX_END_reserved0_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_DECODE_CPUAUX_0_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpucore2_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_cpucore2_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:00p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:08 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpucore2_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:00p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_CPUCORE2_0_H__ 50 | #define BCHP_DECODE_CPUCORE2_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_CPUCORE2_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_CPUCORE2_0_CPUCORE_REG 0x00854000 /* CPUCORE_REG */ 56 | #define BCHP_DECODE_CPUCORE2_0_CPUCORE_END 0x00854ffc /* CPUCORE_END */ 57 | 58 | #endif /* #ifndef BCHP_DECODE_CPUCORE2_0_H__ */ 59 | 60 | /* End of File */ 61 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpucore_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_cpucore_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:00p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:26 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpucore_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:00p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_CPUCORE_0_H__ 50 | #define BCHP_DECODE_CPUCORE_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_CPUCORE_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_CPUCORE_0_CPUCORE_REG 0x00844000 /* CPUCORE_REG */ 56 | #define BCHP_DECODE_CPUCORE_0_CPUCORE_END 0x00844ffc /* CPUCORE_END */ 57 | 58 | /*************************************************************************** 59 | *CPUCORE_REG - CPUCORE_REG 60 | ***************************************************************************/ 61 | /* DECODE_CPUCORE_0 :: CPUCORE_REG :: Addr [31:00] */ 62 | #define BCHP_DECODE_CPUCORE_0_CPUCORE_REG_Addr_MASK 0xffffffff 63 | #define BCHP_DECODE_CPUCORE_0_CPUCORE_REG_Addr_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *CPUCORE_END - CPUCORE_END 67 | ***************************************************************************/ 68 | /* DECODE_CPUCORE_0 :: CPUCORE_END :: reserved0 [31:00] */ 69 | #define BCHP_DECODE_CPUCORE_0_CPUCORE_END_reserved0_MASK 0xffffffff 70 | #define BCHP_DECODE_CPUCORE_0_CPUCORE_END_reserved0_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_DECODE_CPUCORE_0_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpudma2_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_cpudma2_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:00p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:26 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpudma2_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:00p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_CPUDMA2_0_H__ 50 | #define BCHP_DECODE_CPUDMA2_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_CPUDMA2_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA0_SD_ADDR 0x00851800 /* SDRAM address */ 56 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA0_LCL_ADDR 0x00851804 /* Local Memory Address */ 57 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA0_LEN 0x00851808 /* Length */ 58 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA1_SD_ADDR 0x00851810 /* REG_DMA1_SD_ADDR */ 59 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA1_LCL_ADDR 0x00851814 /* REG_DMA1_LCL_ADDR */ 60 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA1_LEN 0x00851818 /* REG_DMA1_LEN */ 61 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA2_SD_ADDR 0x00851820 /* REG_DMA2_SD_ADDR */ 62 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA2_LCL_ADDR 0x00851824 /* REG_DMA2_LCL_ADDR */ 63 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA2_LEN 0x00851828 /* REG_DMA2_LEN */ 64 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA3_SD_ADDR 0x00851830 /* REG_DMA3_SD_ADDR */ 65 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA3_LCL_ADDR 0x00851834 /* REG_DMA3_LCL_ADDR */ 66 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA3_LEN 0x00851838 /* REG_DMA3_LEN */ 67 | #define BCHP_DECODE_CPUDMA2_0_REG_DMA_STATUS 0x00851840 /* REG_DMA_STATUS */ 68 | #define BCHP_DECODE_CPUDMA2_0_REG_CPUDMA_END 0x008518fc /* REG_CPUDMA_END */ 69 | 70 | #endif /* #ifndef BCHP_DECODE_CPUDMA2_0_H__ */ 71 | 72 | /* End of File */ 73 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpudmem2_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_cpudmem2_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:01p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:29 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpudmem2_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:01p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_CPUDMEM2_0_H__ 50 | #define BCHP_DECODE_CPUDMEM2_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_CPUDMEM2_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_CPUDMEM2_0_CPUDMEM_REG 0x00858000 /* CPUDMEM_REG */ 56 | #define BCHP_DECODE_CPUDMEM2_0_CPUDMEM_END 0x0085fffc /* CPUDMEM_END */ 57 | 58 | #endif /* #ifndef BCHP_DECODE_CPUDMEM2_0_H__ */ 59 | 60 | /* End of File */ 61 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpudmem_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_cpudmem_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:01p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:12 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpudmem_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:01p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_CPUDMEM_0_H__ 50 | #define BCHP_DECODE_CPUDMEM_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_CPUDMEM_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_CPUDMEM_0_CPUDMEM_REG 0x00848000 /* CPUDMEM_REG */ 56 | #define BCHP_DECODE_CPUDMEM_0_CPUDMEM_END 0x0084fffc /* CPUDMEM_END */ 57 | 58 | /*************************************************************************** 59 | *CPUDMEM_REG - CPUDMEM_REG 60 | ***************************************************************************/ 61 | /* DECODE_CPUDMEM_0 :: CPUDMEM_REG :: Addr [31:00] */ 62 | #define BCHP_DECODE_CPUDMEM_0_CPUDMEM_REG_Addr_MASK 0xffffffff 63 | #define BCHP_DECODE_CPUDMEM_0_CPUDMEM_REG_Addr_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *CPUDMEM_END - CPUDMEM_END 67 | ***************************************************************************/ 68 | /* DECODE_CPUDMEM_0 :: CPUDMEM_END :: reserved0 [31:00] */ 69 | #define BCHP_DECODE_CPUDMEM_0_CPUDMEM_END_reserved0_MASK 0xffffffff 70 | #define BCHP_DECODE_CPUDMEM_0_CPUDMEM_END_reserved0_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_DECODE_CPUDMEM_0_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpuimem2_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_cpuimem2_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:01p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:51 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpuimem2_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:01p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_CPUIMEM2_0_H__ 50 | #define BCHP_DECODE_CPUIMEM2_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_CPUIMEM2_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_CPUIMEM2_0_CPUIMEM_REG 0x00856000 /* CPUIMEM_REG */ 56 | #define BCHP_DECODE_CPUIMEM2_0_CPUIMEM_END 0x00857ffc /* CPUIMEM_END */ 57 | 58 | #endif /* #ifndef BCHP_DECODE_CPUIMEM2_0_H__ */ 59 | 60 | /* End of File */ 61 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpuimem_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_cpuimem_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:02p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:14 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpuimem_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:02p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_CPUIMEM_0_H__ 50 | #define BCHP_DECODE_CPUIMEM_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_CPUIMEM_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_CPUIMEM_0_CPUIMEM_REG 0x00846000 /* CPUIMEM_REG */ 56 | #define BCHP_DECODE_CPUIMEM_0_CPUIMEM_END 0x00847ffc /* CPUIMEM_END */ 57 | 58 | /*************************************************************************** 59 | *CPUIMEM_REG - CPUIMEM_REG 60 | ***************************************************************************/ 61 | /* DECODE_CPUIMEM_0 :: CPUIMEM_REG :: Addr [31:00] */ 62 | #define BCHP_DECODE_CPUIMEM_0_CPUIMEM_REG_Addr_MASK 0xffffffff 63 | #define BCHP_DECODE_CPUIMEM_0_CPUIMEM_REG_Addr_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *CPUIMEM_END - CPUIMEM_END 67 | ***************************************************************************/ 68 | /* DECODE_CPUIMEM_0 :: CPUIMEM_END :: reserved0 [31:00] */ 69 | #define BCHP_DECODE_CPUIMEM_0_CPUIMEM_END_reserved0_MASK 0xffffffff 70 | #define BCHP_DECODE_CPUIMEM_0_CPUIMEM_END_reserved0_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_DECODE_CPUIMEM_0_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpuregs2_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_cpuregs2_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:02p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:17 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_cpuregs2_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:02p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_CPUREGS2_0_H__ 50 | #define BCHP_DECODE_CPUREGS2_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_CPUREGS2_0 - Outer Loop CPU Registers 0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_CPUREGS2_0_REG_HST2CPU_MBX 0x00800f80 /* Host 2 CPU mailbox register */ 56 | #define BCHP_DECODE_CPUREGS2_0_REG_CPU2HST_MBX 0x00800f84 /* CPU to Host mailbox register */ 57 | #define BCHP_DECODE_CPUREGS2_0_REG_MBX_STAT 0x00800f88 /* Mailbox status flags */ 58 | #define BCHP_DECODE_CPUREGS2_0_REG_INST_BASE 0x00800f8c /* Instruction base address register */ 59 | #define BCHP_DECODE_CPUREGS2_0_REG_CPU_INT_ENA 0x00800f90 /* CPU interrupt enable */ 60 | #define BCHP_DECODE_CPUREGS2_0_REG_CPU_INT_STAT 0x00800f94 /* CPU interrupt status */ 61 | #define BCHP_DECODE_CPUREGS2_0_REG_HST2CPU_STAT 0x00800f98 /* Host to CPU status register */ 62 | #define BCHP_DECODE_CPUREGS2_0_REG_CPU2HST_STAT 0x00800f9c /* CPU to Host status register */ 63 | #define BCHP_DECODE_CPUREGS2_0_REG_CPU_INTGEN_SET 0x00800fa0 /* CPU interrupt set register */ 64 | #define BCHP_DECODE_CPUREGS2_0_REG_CPU_INTGEN_CLR 0x00800fa4 /* CPU interrupt clear register */ 65 | #define BCHP_DECODE_CPUREGS2_0_REG_CPU_ICACHE_MISS 0x00800fa8 /* Instruction cache miss counter */ 66 | #define BCHP_DECODE_CPUREGS2_0_REG_CPU_INTGEN_MASK 0x00800fac /* CPU interrupt mask register */ 67 | #define BCHP_DECODE_CPUREGS2_0_REG_END_OF_CODE 0x00800fb4 /* End of code register */ 68 | #define BCHP_DECODE_CPUREGS2_0_REG_GLOBAL_IO_BASE 0x00800fb8 /* Global IO base register */ 69 | #define BCHP_DECODE_CPUREGS2_0_REG_DEBUG_TRACE_FIFO_WR 0x00800fbc /* CPU debug trace fifo write */ 70 | #define BCHP_DECODE_CPUREGS2_0_REG_DEBUG_TRACE_FIFO_RD 0x00800fc0 /* CPU debug trace fifo read */ 71 | #define BCHP_DECODE_CPUREGS2_0_REG_DEBUG_TRACE_FIFO_CTL 0x00800fc4 /* CPU debug trace fifo control */ 72 | #define BCHP_DECODE_CPUREGS2_0_REG_WATCHDOG_TMR 0x00800fcc /* Watchdog timer register */ 73 | #define BCHP_DECODE_CPUREGS2_0_REG_SDRAM_STATUS 0x00800fd0 /* SDRAM Status register */ 74 | #define BCHP_DECODE_CPUREGS2_0_REG_CPUREGS_END 0x00800ffc /* Dummy end */ 75 | 76 | #endif /* #ifndef BCHP_DECODE_CPUREGS2_0_H__ */ 77 | 78 | /* End of File */ 79 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_dmamem2_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_dmamem2_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:03p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:40 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_dmamem2_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:03p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_DMAMEM2_0_H__ 50 | #define BCHP_DECODE_DMAMEM2_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_DMAMEM2_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_DMAMEM2_0_DMA_MEM 0x00851a00 /* DMA_MEM */ 56 | #define BCHP_DECODE_DMAMEM2_0_DMA_MEM_END 0x008521fc /* REGION_END */ 57 | 58 | #endif /* #ifndef BCHP_DECODE_DMAMEM2_0_H__ */ 59 | 60 | /* End of File */ 61 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_dmamem_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_dmamem_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:03p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:13 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_dmamem_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:03p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_DMAMEM_0_H__ 50 | #define BCHP_DECODE_DMAMEM_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_DMAMEM_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_DMAMEM_0_DMA_MEM 0x00801a00 /* DMA_MEM */ 56 | #define BCHP_DECODE_DMAMEM_0_DMA_MEM_END 0x008021fc /* REGION_END */ 57 | 58 | /*************************************************************************** 59 | *DMA_MEM - DMA_MEM 60 | ***************************************************************************/ 61 | /* DECODE_DMAMEM_0 :: DMA_MEM :: Data [31:00] */ 62 | #define BCHP_DECODE_DMAMEM_0_DMA_MEM_Data_MASK 0xffffffff 63 | #define BCHP_DECODE_DMAMEM_0_DMA_MEM_Data_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *DMA_MEM_END - REGION_END 67 | ***************************************************************************/ 68 | /* DECODE_DMAMEM_0 :: DMA_MEM_END :: reserved0 [31:00] */ 69 | #define BCHP_DECODE_DMAMEM_0_DMA_MEM_END_reserved0_MASK 0xffffffff 70 | #define BCHP_DECODE_DMAMEM_0_DMA_MEM_END_reserved0_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_DECODE_DMAMEM_0_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_dqnt_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_dqnt_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:03p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:18 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_dqnt_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:03p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_DQNT_0_H__ 50 | #define BCHP_DECODE_DQNT_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_DQNT_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_DQNT_0_REG_DQNT_END 0x0080045c /* REG_DQNT_END */ 56 | 57 | /*************************************************************************** 58 | *REG_DQNT_END - REG_DQNT_END 59 | ***************************************************************************/ 60 | /* DECODE_DQNT_0 :: REG_DQNT_END :: reserved0 [31:00] */ 61 | #define BCHP_DECODE_DQNT_0_REG_DQNT_END_reserved0_MASK 0xffffffff 62 | #define BCHP_DECODE_DQNT_0_REG_DQNT_END_reserved0_SHIFT 0 63 | 64 | #endif /* #ifndef BCHP_DECODE_DQNT_0_H__ */ 65 | 66 | /* End of File */ 67 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_dqnt_8x8_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_dqnt_8x8_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:03p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:35 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_dqnt_8x8_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:03p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_DQNT_8X8_0_H__ 50 | #define BCHP_DECODE_DQNT_8X8_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_DQNT_8X8_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_DQNT_8X8_0_REG_DQNT_8X8_END 0x0080057c /* REG_DQNT_8X8_END */ 56 | 57 | /*************************************************************************** 58 | *REG_DQNT_8X8_END - REG_DQNT_8X8_END 59 | ***************************************************************************/ 60 | /* DECODE_DQNT_8X8_0 :: REG_DQNT_8X8_END :: reserved0 [31:00] */ 61 | #define BCHP_DECODE_DQNT_8X8_0_REG_DQNT_8X8_END_reserved0_MASK 0xffffffff 62 | #define BCHP_DECODE_DQNT_8X8_0_REG_DQNT_8X8_END_reserved0_SHIFT 0 63 | 64 | #endif /* #ifndef BCHP_DECODE_DQNT_8X8_0_H__ */ 65 | 66 | /* End of File */ 67 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_ind_sdram_regs2_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_ind_sdram_regs2_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:03p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:41 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_ind_sdram_regs2_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:03p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_IND_SDRAM_REGS2_0_H__ 50 | #define BCHP_DECODE_IND_SDRAM_REGS2_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_IND_SDRAM_REGS2_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_IND_SDRAM_REGS2_0_REG_SDRAM_INC 0x00851000 /* REG_SDRAM_INC */ 56 | #define BCHP_DECODE_IND_SDRAM_REGS2_0_REG_SDRAM_ADDR 0x00851004 /* REG_SDRAM_ADDR */ 57 | #define BCHP_DECODE_IND_SDRAM_REGS2_0_REG_SDRAM_DATA 0x00851008 /* REG_SDRAM_DATA */ 58 | #define BCHP_DECODE_IND_SDRAM_REGS2_0_REG_CPU_DBG 0x00851010 /* REG_CPU_DBG */ 59 | #define BCHP_DECODE_IND_SDRAM_REGS2_0_REG_SDRAM_STAT 0x00851014 /* REG_SDRAM_STAT */ 60 | #define BCHP_DECODE_IND_SDRAM_REGS2_0_REG_SDRAM_END 0x0085107c /* REG_SDRAM_END */ 61 | 62 | #endif /* #ifndef BCHP_DECODE_IND_SDRAM_REGS2_0_H__ */ 63 | 64 | /* End of File */ 65 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_wprd_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_wprd_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:06p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:10 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_wprd_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:06p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_WPRD_0_H__ 50 | #define BCHP_DECODE_WPRD_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_WPRD_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL 0x00800340 /* Weighted Prediction Control */ 56 | #define BCHP_DECODE_WPRD_0_REG_WPRD_END 0x0080035c /* REG_WPRD_END */ 57 | 58 | /*************************************************************************** 59 | *REG_WPRD_CTL - Weighted Prediction Control 60 | ***************************************************************************/ 61 | /* DECODE_WPRD_0 :: REG_WPRD_CTL :: reserved0 [31:15] */ 62 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_reserved0_MASK 0xffff8000 63 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_reserved0_SHIFT 15 64 | 65 | /* DECODE_WPRD_0 :: REG_WPRD_CTL :: ChromaDenom [14:12] */ 66 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_ChromaDenom_MASK 0x00007000 67 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_ChromaDenom_SHIFT 12 68 | 69 | /* DECODE_WPRD_0 :: REG_WPRD_CTL :: reserved1 [11:11] */ 70 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_reserved1_MASK 0x00000800 71 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_reserved1_SHIFT 11 72 | 73 | /* DECODE_WPRD_0 :: REG_WPRD_CTL :: LumDenom [10:08] */ 74 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_LumDenom_MASK 0x00000700 75 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_LumDenom_SHIFT 8 76 | 77 | /* DECODE_WPRD_0 :: REG_WPRD_CTL :: reserved2 [07:02] */ 78 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_reserved2_MASK 0x000000fc 79 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_reserved2_SHIFT 2 80 | 81 | /* DECODE_WPRD_0 :: REG_WPRD_CTL :: PredType [01:00] */ 82 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_PredType_MASK 0x00000003 83 | #define BCHP_DECODE_WPRD_0_REG_WPRD_CTL_PredType_SHIFT 0 84 | 85 | /*************************************************************************** 86 | *REG_WPRD_END - REG_WPRD_END 87 | ***************************************************************************/ 88 | /* DECODE_WPRD_0 :: REG_WPRD_END :: reserved0 [31:00] */ 89 | #define BCHP_DECODE_WPRD_0_REG_WPRD_END_reserved0_MASK 0xffffffff 90 | #define BCHP_DECODE_WPRD_0_REG_WPRD_END_reserved0_SHIFT 0 91 | 92 | #endif /* #ifndef BCHP_DECODE_WPRD_0_H__ */ 93 | 94 | /* End of File */ 95 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_decode_wptbl_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_decode_wptbl_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:06p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:05 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_wptbl_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:06p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_DECODE_WPTBL_0_H__ 50 | #define BCHP_DECODE_WPTBL_0_H__ 51 | 52 | /*************************************************************************** 53 | *DECODE_WPTBL_0 54 | ***************************************************************************/ 55 | #define BCHP_DECODE_WPTBL_0_WPTBL_END 0x008031fc /* DECODE_WPTBL_END */ 56 | 57 | /*************************************************************************** 58 | *WPTBL_END - DECODE_WPTBL_END 59 | ***************************************************************************/ 60 | /* DECODE_WPTBL_0 :: WPTBL_END :: reserved0 [31:00] */ 61 | #define BCHP_DECODE_WPTBL_0_WPTBL_END_reserved0_MASK 0xffffffff 62 | #define BCHP_DECODE_WPTBL_0_WPTBL_END_reserved0_SHIFT 0 63 | 64 | #endif /* #ifndef BCHP_DECODE_WPTBL_0_H__ */ 65 | 66 | /* End of File */ 67 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_irq0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_int_id_irq0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:08p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:38 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility unknown 35 | * RDB Parser 3.0 36 | * generate_int_id.pl 1.0 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_irq0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:08p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #include "bchp.h" 50 | #include "bchp_irq0.h" 51 | 52 | #ifndef BCHP_INT_ID_IRQ0_H__ 53 | #define BCHP_INT_ID_IRQ0_H__ 54 | 55 | #define BCHP_INT_ID_gio_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_gio_irqen_SHIFT) 56 | #define BCHP_INT_ID_icap_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_icap_irqen_SHIFT) 57 | #define BCHP_INT_ID_iica_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_iica_irqen_SHIFT) 58 | #define BCHP_INT_ID_iicb_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_iicb_irqen_SHIFT) 59 | #define BCHP_INT_ID_iicc_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_iicc_irqen_SHIFT) 60 | #define BCHP_INT_ID_iicd_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_iicd_irqen_SHIFT) 61 | #define BCHP_INT_ID_iice_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_iice_irqen_SHIFT) 62 | #define BCHP_INT_ID_kbd1_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_kbd1_irqen_SHIFT) 63 | #define BCHP_INT_ID_ldk_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_ldk_irqen_SHIFT) 64 | #define BCHP_INT_ID_spi_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_spi_irqen_SHIFT) 65 | #define BCHP_INT_ID_ua_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_ua_irqen_SHIFT) 66 | #define BCHP_INT_ID_uarta_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_uarta_irqen_SHIFT) 67 | #define BCHP_INT_ID_uartb_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_uartb_irqen_SHIFT) 68 | #define BCHP_INT_ID_uartc_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_uartc_irqen_SHIFT) 69 | #define BCHP_INT_ID_uartd_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_uartd_irqen_SHIFT) 70 | #define BCHP_INT_ID_ub_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_ub_irqen_SHIFT) 71 | #define BCHP_INT_ID_uc_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_uc_irqen_SHIFT) 72 | #define BCHP_INT_ID_ud_irqen BCHP_INT_ID_CREATE(BCHP_IRQ0_IRQEN, BCHP_IRQ0_IRQEN_ud_irqen_SHIFT) 73 | 74 | #endif /* #ifndef BCHP_INT_ID_IRQ0_H__ */ 75 | 76 | /* End of File */ 77 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_timer.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_int_id_timer.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:08p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:39 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility unknown 35 | * RDB Parser 3.0 36 | * generate_int_id.pl 1.0 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_timer.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:08p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #include "bchp.h" 50 | #include "bchp_timer.h" 51 | 52 | #ifndef BCHP_INT_ID_TIMER_H__ 53 | #define BCHP_INT_ID_TIMER_H__ 54 | 55 | #define BCHP_INT_ID_TMR0TO BCHP_INT_ID_CREATE(BCHP_TIMER_TIMER_IS, BCHP_TIMER_TIMER_IS_TMR0TO_SHIFT) 56 | #define BCHP_INT_ID_TMR1TO BCHP_INT_ID_CREATE(BCHP_TIMER_TIMER_IS, BCHP_TIMER_TIMER_IS_TMR1TO_SHIFT) 57 | #define BCHP_INT_ID_TMR2TO BCHP_INT_ID_CREATE(BCHP_TIMER_TIMER_IS, BCHP_TIMER_TIMER_IS_TMR2TO_SHIFT) 58 | #define BCHP_INT_ID_TMR3TO BCHP_INT_ID_CREATE(BCHP_TIMER_TIMER_IS, BCHP_TIMER_TIMER_IS_TMR3TO_SHIFT) 59 | #define BCHP_INT_ID_WDINT BCHP_INT_ID_CREATE(BCHP_TIMER_TIMER_IS, BCHP_TIMER_TIMER_IS_WDINT_SHIFT) 60 | 61 | #endif /* #ifndef BCHP_INT_ID_TIMER_H__ */ 62 | 63 | /* End of File */ 64 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_xpt_pb0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_int_id_xpt_pb0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:08p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:40 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility unknown 35 | * RDB Parser 3.0 36 | * generate_int_id.pl 1.0 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_xpt_pb0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:08p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #include "bchp.h" 50 | #include "bchp_xpt_pb0.h" 51 | 52 | #ifndef BCHP_INT_ID_XPT_PB0_H__ 53 | #define BCHP_INT_ID_XPT_PB0_H__ 54 | 55 | #define BCHP_INT_ID_XPT_PB0_DONE_INT BCHP_INT_ID_CREATE(BCHP_XPT_PB0_INTR, BCHP_XPT_PB0_INTR_DONE_INT_SHIFT) 56 | #define BCHP_INT_ID_XPT_PB0_PARSER_CONTINUITY_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB0_INTR, BCHP_XPT_PB0_INTR_PARSER_CONTINUITY_ERROR_SHIFT) 57 | #define BCHP_INT_ID_XPT_PB0_PARSER_LENGTH_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB0_INTR, BCHP_XPT_PB0_INTR_PARSER_LENGTH_ERROR_SHIFT) 58 | #define BCHP_INT_ID_XPT_PB0_PARSER_SEC_CC_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB0_INTR, BCHP_XPT_PB0_INTR_PARSER_SEC_CC_ERROR_SHIFT) 59 | #define BCHP_INT_ID_XPT_PB0_PARSER_TRANSPORT_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB0_INTR, BCHP_XPT_PB0_INTR_PARSER_TRANSPORT_ERROR_SHIFT) 60 | #define BCHP_INT_ID_XPT_PB0_PB_COPYRIGHT_CHANGE BCHP_INT_ID_CREATE(BCHP_XPT_PB0_INTR, BCHP_XPT_PB0_INTR_PB_COPYRIGHT_CHANGE_SHIFT) 61 | #define BCHP_INT_ID_XPT_PB0_SE_OUT_OF_SYNC_INT BCHP_INT_ID_CREATE(BCHP_XPT_PB0_INTR, BCHP_XPT_PB0_INTR_SE_OUT_OF_SYNC_INT_SHIFT) 62 | #define BCHP_INT_ID_XPT_PB0_TS_PARITY_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB0_INTR, BCHP_XPT_PB0_INTR_TS_PARITY_ERROR_SHIFT) 63 | #define BCHP_INT_ID_XPT_PB0_TS_RANGE_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB0_INTR, BCHP_XPT_PB0_INTR_TS_RANGE_ERROR_SHIFT) 64 | 65 | #endif /* #ifndef BCHP_INT_ID_XPT_PB0_H__ */ 66 | 67 | /* End of File */ 68 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_xpt_pb1.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_int_id_xpt_pb1.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:08p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:40 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility unknown 35 | * RDB Parser 3.0 36 | * generate_int_id.pl 1.0 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_xpt_pb1.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:08p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #include "bchp.h" 50 | #include "bchp_xpt_pb0.h" 51 | #include "bchp_xpt_pb1.h" 52 | 53 | #ifndef BCHP_INT_ID_XPT_PB1_H__ 54 | #define BCHP_INT_ID_XPT_PB1_H__ 55 | 56 | #define BCHP_INT_ID_XPT_PB1_DONE_INT BCHP_INT_ID_CREATE(BCHP_XPT_PB1_INTR, BCHP_XPT_PB0_INTR_DONE_INT_SHIFT) 57 | #define BCHP_INT_ID_XPT_PB1_PARSER_CONTINUITY_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB1_INTR, BCHP_XPT_PB0_INTR_PARSER_CONTINUITY_ERROR_SHIFT) 58 | #define BCHP_INT_ID_XPT_PB1_PARSER_LENGTH_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB1_INTR, BCHP_XPT_PB0_INTR_PARSER_LENGTH_ERROR_SHIFT) 59 | #define BCHP_INT_ID_XPT_PB1_PARSER_SEC_CC_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB1_INTR, BCHP_XPT_PB0_INTR_PARSER_SEC_CC_ERROR_SHIFT) 60 | #define BCHP_INT_ID_XPT_PB1_PARSER_TRANSPORT_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB1_INTR, BCHP_XPT_PB0_INTR_PARSER_TRANSPORT_ERROR_SHIFT) 61 | #define BCHP_INT_ID_XPT_PB1_PB_COPYRIGHT_CHANGE BCHP_INT_ID_CREATE(BCHP_XPT_PB1_INTR, BCHP_XPT_PB0_INTR_PB_COPYRIGHT_CHANGE_SHIFT) 62 | #define BCHP_INT_ID_XPT_PB1_SE_OUT_OF_SYNC_INT BCHP_INT_ID_CREATE(BCHP_XPT_PB1_INTR, BCHP_XPT_PB0_INTR_SE_OUT_OF_SYNC_INT_SHIFT) 63 | #define BCHP_INT_ID_XPT_PB1_TS_PARITY_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB1_INTR, BCHP_XPT_PB0_INTR_TS_PARITY_ERROR_SHIFT) 64 | #define BCHP_INT_ID_XPT_PB1_TS_RANGE_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB1_INTR, BCHP_XPT_PB0_INTR_TS_RANGE_ERROR_SHIFT) 65 | 66 | #endif /* #ifndef BCHP_INT_ID_XPT_PB1_H__ */ 67 | 68 | /* End of File */ 69 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_xpt_pb2.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_int_id_xpt_pb2.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:09p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:41 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility unknown 35 | * RDB Parser 3.0 36 | * generate_int_id.pl 1.0 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_xpt_pb2.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:09p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #include "bchp.h" 50 | #include "bchp_xpt_pb0.h" 51 | #include "bchp_xpt_pb2.h" 52 | 53 | #ifndef BCHP_INT_ID_XPT_PB2_H__ 54 | #define BCHP_INT_ID_XPT_PB2_H__ 55 | 56 | #define BCHP_INT_ID_XPT_PB2_DONE_INT BCHP_INT_ID_CREATE(BCHP_XPT_PB2_INTR, BCHP_XPT_PB0_INTR_DONE_INT_SHIFT) 57 | #define BCHP_INT_ID_XPT_PB2_PARSER_CONTINUITY_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB2_INTR, BCHP_XPT_PB0_INTR_PARSER_CONTINUITY_ERROR_SHIFT) 58 | #define BCHP_INT_ID_XPT_PB2_PARSER_LENGTH_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB2_INTR, BCHP_XPT_PB0_INTR_PARSER_LENGTH_ERROR_SHIFT) 59 | #define BCHP_INT_ID_XPT_PB2_PARSER_SEC_CC_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB2_INTR, BCHP_XPT_PB0_INTR_PARSER_SEC_CC_ERROR_SHIFT) 60 | #define BCHP_INT_ID_XPT_PB2_PARSER_TRANSPORT_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB2_INTR, BCHP_XPT_PB0_INTR_PARSER_TRANSPORT_ERROR_SHIFT) 61 | #define BCHP_INT_ID_XPT_PB2_PB_COPYRIGHT_CHANGE BCHP_INT_ID_CREATE(BCHP_XPT_PB2_INTR, BCHP_XPT_PB0_INTR_PB_COPYRIGHT_CHANGE_SHIFT) 62 | #define BCHP_INT_ID_XPT_PB2_SE_OUT_OF_SYNC_INT BCHP_INT_ID_CREATE(BCHP_XPT_PB2_INTR, BCHP_XPT_PB0_INTR_SE_OUT_OF_SYNC_INT_SHIFT) 63 | #define BCHP_INT_ID_XPT_PB2_TS_PARITY_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB2_INTR, BCHP_XPT_PB0_INTR_TS_PARITY_ERROR_SHIFT) 64 | #define BCHP_INT_ID_XPT_PB2_TS_RANGE_ERROR BCHP_INT_ID_CREATE(BCHP_XPT_PB2_INTR, BCHP_XPT_PB0_INTR_TS_RANGE_ERROR_SHIFT) 65 | 66 | #endif /* #ifndef BCHP_INT_ID_XPT_PB2_H__ */ 67 | 68 | /* End of File */ 69 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_xpt_rave.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_int_id_xpt_rave.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:09p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:42 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility unknown 35 | * RDB Parser 3.0 36 | * generate_int_id.pl 1.0 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_int_id_xpt_rave.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:09p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #include "bchp.h" 50 | #include "bchp_xpt_rave.h" 51 | 52 | #ifndef BCHP_INT_ID_XPT_RAVE_H__ 53 | #define BCHP_INT_ID_XPT_RAVE_H__ 54 | 55 | #define BCHP_INT_ID_XPT_RAVE_CC_ERROR_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_CC_ERROR_INT_SHIFT) 56 | #define BCHP_INT_ID_XPT_RAVE_CDB_LOWER_THRESH_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_CDB_LOWER_THRESH_INT_SHIFT) 57 | #define BCHP_INT_ID_XPT_RAVE_CDB_OVERFLOW_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_CDB_OVERFLOW_INT_SHIFT) 58 | #define BCHP_INT_ID_XPT_RAVE_CDB_UPPER_THRESH_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_CDB_UPPER_THRESH_INT_SHIFT) 59 | #define BCHP_INT_ID_XPT_RAVE_EMU_ERROR_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_EMU_ERROR_INT_SHIFT) 60 | #define BCHP_INT_ID_XPT_RAVE_ITB_LOWER_THRESH_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_ITB_LOWER_THRESH_INT_SHIFT) 61 | #define BCHP_INT_ID_XPT_RAVE_ITB_OVERFLOW_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_ITB_OVERFLOW_INT_SHIFT) 62 | #define BCHP_INT_ID_XPT_RAVE_ITB_UPPER_THRESH_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_ITB_UPPER_THRESH_INT_SHIFT) 63 | #define BCHP_INT_ID_XPT_RAVE_LAST_CMD_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_LAST_CMD_INT_SHIFT) 64 | #define BCHP_INT_ID_XPT_RAVE_PUSI_ERROR_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_PUSI_ERROR_INT_SHIFT) 65 | #define BCHP_INT_ID_XPT_RAVE_SCD_INDEX BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_SCD_INDEX_SHIFT) 66 | #define BCHP_INT_ID_XPT_RAVE_SPLICE_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_SPLICE_INT_SHIFT) 67 | #define BCHP_INT_ID_XPT_RAVE_TEI_ERROR_INT BCHP_INT_ID_CREATE(BCHP_XPT_RAVE_INT_CX5, BCHP_XPT_RAVE_INT_CX5_TEI_ERROR_INT_SHIFT) 68 | 69 | #endif /* #ifndef BCHP_INT_ID_XPT_RAVE_H__ */ 70 | 71 | /* End of File */ 72 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_irq1.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_irq1.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:10p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:34 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_irq1.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:10p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_IRQ1_H__ 50 | #define BCHP_IRQ1_H__ 51 | 52 | /*************************************************************************** 53 | *IRQ1 - Level 2 PCI Interrupt Enable/Status 54 | ***************************************************************************/ 55 | #define BCHP_IRQ1_IRQEN 0x00406788 /* Interrupt Enable */ 56 | #define BCHP_IRQ1_IRQSTAT 0x0040678c /* Interrupt Status */ 57 | 58 | #endif /* #ifndef BCHP_IRQ1_H__ */ 59 | 60 | /* End of File */ 61 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_mem_dma_secure.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_mem_dma_secure.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:10p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:56 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_mem_dma_secure.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:10p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_MEM_DMA_SECURE_H__ 50 | #define BCHP_MEM_DMA_SECURE_H__ 51 | 52 | /*************************************************************************** 53 | *MEM_DMA_SECURE - MEM_DMA Secure Registers 54 | ***************************************************************************/ 55 | #define BCHP_MEM_DMA_SECURE_RSV_S 0x000fc000 /* RESERVED */ 56 | #define BCHP_MEM_DMA_SECURE_RSV_E 0x000fc00c /* RESERVED */ 57 | 58 | /*************************************************************************** 59 | *RSV_S - RESERVED 60 | ***************************************************************************/ 61 | /* MEM_DMA_SECURE :: RSV_S :: reserved0 [31:00] */ 62 | #define BCHP_MEM_DMA_SECURE_RSV_S_reserved0_MASK 0xffffffff 63 | #define BCHP_MEM_DMA_SECURE_RSV_S_reserved0_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *RSV_E - RESERVED 67 | ***************************************************************************/ 68 | /* MEM_DMA_SECURE :: RSV_E :: reserved0 [31:00] */ 69 | #define BCHP_MEM_DMA_SECURE_RSV_E_reserved0_MASK 0xffffffff 70 | #define BCHP_MEM_DMA_SECURE_RSV_E_reserved0_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_MEM_DMA_SECURE_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_mmscram.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_mmscram.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:12p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:09 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_mmscram.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:12p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_MMSCRAM_H__ 50 | #define BCHP_MMSCRAM_H__ 51 | 52 | /*************************************************************************** 53 | *MMSCRAM - MMSCRAM Registers 54 | ***************************************************************************/ 55 | #define BCHP_MMSCRAM_RSV_S 0x000fd000 /* RESERVED */ 56 | #define BCHP_MMSCRAM_RSV_E 0x000feffc /* RESERVED */ 57 | 58 | /*************************************************************************** 59 | *RSV_S - RESERVED 60 | ***************************************************************************/ 61 | /* MMSCRAM :: RSV_S :: reserved0 [31:00] */ 62 | #define BCHP_MMSCRAM_RSV_S_reserved0_MASK 0xffffffff 63 | #define BCHP_MMSCRAM_RSV_S_reserved0_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *RSV_E - RESERVED 67 | ***************************************************************************/ 68 | /* MMSCRAM :: RSV_E :: reserved0 [31:00] */ 69 | #define BCHP_MMSCRAM_RSV_E_reserved0_MASK 0xffffffff 70 | #define BCHP_MMSCRAM_RSV_E_reserved0_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_MMSCRAM_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_pri_arb_wrch_regs.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_pri_arb_wrch_regs.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:15p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:44 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_pri_arb_wrch_regs.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:15p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_PRI_ARB_WRCH_REGS_H__ 50 | #define BCHP_PRI_ARB_WRCH_REGS_H__ 51 | 52 | /*************************************************************************** 53 | *PRI_ARB_WRCH_REGS - PRIMARY_ARB secure wrch control registers 54 | ***************************************************************************/ 55 | #define BCHP_PRI_ARB_WRCH_REGS_RESERVED0 0x00461000 /* Reserved */ 56 | #define BCHP_PRI_ARB_WRCH_REGS_RESERVED1 0x004610fc /* Reserved */ 57 | 58 | /*************************************************************************** 59 | *RESERVED0 - Reserved 60 | ***************************************************************************/ 61 | /* PRI_ARB_WRCH_REGS :: RESERVED0 :: RESERVED [31:00] */ 62 | #define BCHP_PRI_ARB_WRCH_REGS_RESERVED0_RESERVED_MASK 0xffffffff 63 | #define BCHP_PRI_ARB_WRCH_REGS_RESERVED0_RESERVED_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *RESERVED1 - Reserved 67 | ***************************************************************************/ 68 | /* PRI_ARB_WRCH_REGS :: RESERVED1 :: RESERVED [31:00] */ 69 | #define BCHP_PRI_ARB_WRCH_REGS_RESERVED1_RESERVED_MASK 0xffffffff 70 | #define BCHP_PRI_ARB_WRCH_REGS_RESERVED1_RESERVED_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_PRI_ARB_WRCH_REGS_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_pri_rts_l2_regs_1.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_pri_rts_l2_regs_1.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:17p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:23 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_pri_rts_l2_regs_1.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:17p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_PRI_RTS_L2_REGS_1_H__ 50 | #define BCHP_PRI_RTS_L2_REGS_1_H__ 51 | 52 | /*************************************************************************** 53 | *PRI_RTS_L2_REGS_1 - PRIMARY_ARB_CLIENTS L2 (Mips) rts interrupt controller 1 registers 54 | ***************************************************************************/ 55 | #define BCHP_PRI_RTS_L2_REGS_1_CPU_STATUS 0x0040c4c0 /* CPU interrupt Status Register */ 56 | #define BCHP_PRI_RTS_L2_REGS_1_CPU_SET 0x0040c4c4 /* CPU interrupt Set Register */ 57 | #define BCHP_PRI_RTS_L2_REGS_1_CPU_CLEAR 0x0040c4c8 /* CPU interrupt Clear Register */ 58 | #define BCHP_PRI_RTS_L2_REGS_1_CPU_MASK_STATUS 0x0040c4cc /* CPU interrupt Mask Status Register */ 59 | #define BCHP_PRI_RTS_L2_REGS_1_CPU_MASK_SET 0x0040c4d0 /* CPU interrupt Mask Set Register */ 60 | #define BCHP_PRI_RTS_L2_REGS_1_CPU_MASK_CLEAR 0x0040c4d4 /* CPU interrupt Mask Clear Register */ 61 | #define BCHP_PRI_RTS_L2_REGS_1_PCI_STATUS 0x0040c4d8 /* PCI interrupt Status Register */ 62 | #define BCHP_PRI_RTS_L2_REGS_1_PCI_SET 0x0040c4dc /* PCI interrupt Set Register */ 63 | #define BCHP_PRI_RTS_L2_REGS_1_PCI_CLEAR 0x0040c4e0 /* PCI interrupt Clear Register */ 64 | #define BCHP_PRI_RTS_L2_REGS_1_PCI_MASK_STATUS 0x0040c4e4 /* PCI interrupt Mask Status Register */ 65 | #define BCHP_PRI_RTS_L2_REGS_1_PCI_MASK_SET 0x0040c4e8 /* PCI interrupt Mask Set Register */ 66 | #define BCHP_PRI_RTS_L2_REGS_1_PCI_MASK_CLEAR 0x0040c4ec /* PCI interrupt Mask Clear Register */ 67 | 68 | #endif /* #ifndef BCHP_PRI_RTS_L2_REGS_1_H__ */ 69 | 70 | /* End of File */ 71 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_pri_rts_l2_regs_2.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_pri_rts_l2_regs_2.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:17p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:20 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_pri_rts_l2_regs_2.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:17p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_PRI_RTS_L2_REGS_2_H__ 50 | #define BCHP_PRI_RTS_L2_REGS_2_H__ 51 | 52 | /*************************************************************************** 53 | *PRI_RTS_L2_REGS_2 - PRIMARY_ARB_CLIENTS L2 (Mips) rts interrupt controller 2 registers 54 | ***************************************************************************/ 55 | #define BCHP_PRI_RTS_L2_REGS_2_CPU_STATUS 0x0040c500 /* CPU interrupt Status Register */ 56 | #define BCHP_PRI_RTS_L2_REGS_2_CPU_SET 0x0040c504 /* CPU interrupt Set Register */ 57 | #define BCHP_PRI_RTS_L2_REGS_2_CPU_CLEAR 0x0040c508 /* CPU interrupt Clear Register */ 58 | #define BCHP_PRI_RTS_L2_REGS_2_CPU_MASK_STATUS 0x0040c50c /* CPU interrupt Mask Status Register */ 59 | #define BCHP_PRI_RTS_L2_REGS_2_CPU_MASK_SET 0x0040c510 /* CPU interrupt Mask Set Register */ 60 | #define BCHP_PRI_RTS_L2_REGS_2_CPU_MASK_CLEAR 0x0040c514 /* CPU interrupt Mask Clear Register */ 61 | #define BCHP_PRI_RTS_L2_REGS_2_PCI_STATUS 0x0040c518 /* PCI interrupt Status Register */ 62 | #define BCHP_PRI_RTS_L2_REGS_2_PCI_SET 0x0040c51c /* PCI interrupt Set Register */ 63 | #define BCHP_PRI_RTS_L2_REGS_2_PCI_CLEAR 0x0040c520 /* PCI interrupt Clear Register */ 64 | #define BCHP_PRI_RTS_L2_REGS_2_PCI_MASK_STATUS 0x0040c524 /* PCI interrupt Mask Status Register */ 65 | #define BCHP_PRI_RTS_L2_REGS_2_PCI_MASK_SET 0x0040c528 /* PCI interrupt Mask Set Register */ 66 | #define BCHP_PRI_RTS_L2_REGS_2_PCI_MASK_CLEAR 0x0040c52c /* PCI interrupt Mask Clear Register */ 67 | 68 | #endif /* #ifndef BCHP_PRI_RTS_L2_REGS_2_H__ */ 69 | 70 | /* End of File */ 71 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_pri_rts_l2_regs_3.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_pri_rts_l2_regs_3.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:17p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:26 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_pri_rts_l2_regs_3.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:17p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_PRI_RTS_L2_REGS_3_H__ 50 | #define BCHP_PRI_RTS_L2_REGS_3_H__ 51 | 52 | /*************************************************************************** 53 | *PRI_RTS_L2_REGS_3 - PRIMARY_ARB_CLIENTS L2 (Mips) rts interrupt controller 3 registers 54 | ***************************************************************************/ 55 | #define BCHP_PRI_RTS_L2_REGS_3_CPU_STATUS 0x0040c540 /* CPU interrupt Status Register */ 56 | #define BCHP_PRI_RTS_L2_REGS_3_CPU_SET 0x0040c544 /* CPU interrupt Set Register */ 57 | #define BCHP_PRI_RTS_L2_REGS_3_CPU_CLEAR 0x0040c548 /* CPU interrupt Clear Register */ 58 | #define BCHP_PRI_RTS_L2_REGS_3_CPU_MASK_STATUS 0x0040c54c /* CPU interrupt Mask Status Register */ 59 | #define BCHP_PRI_RTS_L2_REGS_3_CPU_MASK_SET 0x0040c550 /* CPU interrupt Mask Set Register */ 60 | #define BCHP_PRI_RTS_L2_REGS_3_CPU_MASK_CLEAR 0x0040c554 /* CPU interrupt Mask Clear Register */ 61 | #define BCHP_PRI_RTS_L2_REGS_3_PCI_STATUS 0x0040c558 /* PCI interrupt Status Register */ 62 | #define BCHP_PRI_RTS_L2_REGS_3_PCI_SET 0x0040c55c /* PCI interrupt Set Register */ 63 | #define BCHP_PRI_RTS_L2_REGS_3_PCI_CLEAR 0x0040c560 /* PCI interrupt Clear Register */ 64 | #define BCHP_PRI_RTS_L2_REGS_3_PCI_MASK_STATUS 0x0040c564 /* PCI interrupt Mask Status Register */ 65 | #define BCHP_PRI_RTS_L2_REGS_3_PCI_MASK_SET 0x0040c568 /* PCI interrupt Mask Set Register */ 66 | #define BCHP_PRI_RTS_L2_REGS_3_PCI_MASK_CLEAR 0x0040c56c /* PCI interrupt Mask Clear Register */ 67 | 68 | #endif /* #ifndef BCHP_PRI_RTS_L2_REGS_3_H__ */ 69 | 70 | /* End of File */ 71 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_reg_cabac2bins_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_reg_cabac2bins_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:18p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:54 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_reg_cabac2bins_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:18p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_REG_CABAC2BINS_0_H__ 50 | #define BCHP_REG_CABAC2BINS_0_H__ 51 | 52 | /*************************************************************************** 53 | *REG_CABAC2BINS_0 54 | ***************************************************************************/ 55 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_IMG__CTX_LAST 0x00800bbc /* REG_CABAC2BINS_IMG__CTX_LAST */ 56 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_CONTEXT_TABLE_BASE_ADDR 0x00800bd0 /* REG_CABAC2BINS_CONTEXT_TABLE_BASE_ADDR */ 57 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_END_END 0x00800bfc /* REG_CABAC2BINS_END_END */ 58 | 59 | /*************************************************************************** 60 | *REG_CABAC2BINS_IMG__CTX_LAST - REG_CABAC2BINS_IMG__CTX_LAST 61 | ***************************************************************************/ 62 | /* REG_CABAC2BINS_0 :: REG_CABAC2BINS_IMG__CTX_LAST :: reserved0 [31:09] */ 63 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_IMG__CTX_LAST_reserved0_MASK 0xfffffe00 64 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_IMG__CTX_LAST_reserved0_SHIFT 9 65 | 66 | /* REG_CABAC2BINS_0 :: REG_CABAC2BINS_IMG__CTX_LAST :: CtxLast [08:00] */ 67 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_IMG__CTX_LAST_CtxLast_MASK 0x000001ff 68 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_IMG__CTX_LAST_CtxLast_SHIFT 0 69 | 70 | /*************************************************************************** 71 | *REG_CABAC2BINS_CONTEXT_TABLE_BASE_ADDR - REG_CABAC2BINS_CONTEXT_TABLE_BASE_ADDR 72 | ***************************************************************************/ 73 | /* REG_CABAC2BINS_0 :: REG_CABAC2BINS_CONTEXT_TABLE_BASE_ADDR :: Addr [31:04] */ 74 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_CONTEXT_TABLE_BASE_ADDR_Addr_MASK 0xfffffff0 75 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_CONTEXT_TABLE_BASE_ADDR_Addr_SHIFT 4 76 | 77 | /* REG_CABAC2BINS_0 :: REG_CABAC2BINS_CONTEXT_TABLE_BASE_ADDR :: reserved0 [03:00] */ 78 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_CONTEXT_TABLE_BASE_ADDR_reserved0_MASK 0x0000000f 79 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_CONTEXT_TABLE_BASE_ADDR_reserved0_SHIFT 0 80 | 81 | /*************************************************************************** 82 | *REG_CABAC2BINS_END_END - REG_CABAC2BINS_END_END 83 | ***************************************************************************/ 84 | /* REG_CABAC2BINS_0 :: REG_CABAC2BINS_END_END :: reserved0 [31:00] */ 85 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_END_END_reserved0_MASK 0xffffffff 86 | #define BCHP_REG_CABAC2BINS_0_REG_CABAC2BINS_END_END_reserved0_SHIFT 0 87 | 88 | #endif /* #ifndef BCHP_REG_CABAC2BINS_0_H__ */ 89 | 90 | /* End of File */ 91 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_sentinel.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_sentinel.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:18p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:38 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_sentinel.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:18p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_SENTINEL_H__ 50 | #define BCHP_SENTINEL_H__ 51 | 52 | /*************************************************************************** 53 | *SENTINEL - Sentinal 54 | ***************************************************************************/ 55 | #define BCHP_SENTINEL_SENTINEL_ADDR_START 0x00410000 /* Sentinel Start Address */ 56 | #define BCHP_SENTINEL_SENTINEL_ADDR_END 0x00413ffc /* Sentinel Start Address */ 57 | 58 | /*************************************************************************** 59 | *SENTINEL_ADDR_START - Sentinel Start Address 60 | ***************************************************************************/ 61 | /* SENTINEL :: SENTINEL_ADDR_START :: ADDRESS [31:00] */ 62 | #define BCHP_SENTINEL_SENTINEL_ADDR_START_ADDRESS_MASK 0xffffffff 63 | #define BCHP_SENTINEL_SENTINEL_ADDR_START_ADDRESS_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *SENTINEL_ADDR_END - Sentinel Start Address 67 | ***************************************************************************/ 68 | /* SENTINEL :: SENTINEL_ADDR_END :: ADDRESS [31:00] */ 69 | #define BCHP_SENTINEL_SENTINEL_ADDR_END_ADDRESS_MASK 0xffffffff 70 | #define BCHP_SENTINEL_SENTINEL_ADDR_END_ADDRESS_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_SENTINEL_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_sun_gisb_arb_sec.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_sun_gisb_arb_sec.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:19p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:22 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_sun_gisb_arb_sec.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:19p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_SUN_GISB_ARB_SEC_H__ 50 | #define BCHP_SUN_GISB_ARB_SEC_H__ 51 | 52 | /*************************************************************************** 53 | *SUN_GISB_ARB_SEC - GISB Arbiter secure registers 54 | ***************************************************************************/ 55 | #define BCHP_SUN_GISB_ARB_SEC_RSV_S 0x00460000 /* RESERVED */ 56 | #define BCHP_SUN_GISB_ARB_SEC_RSV_E 0x00460064 /* RESERVED */ 57 | 58 | /*************************************************************************** 59 | *RSV_S - RESERVED 60 | ***************************************************************************/ 61 | /* SUN_GISB_ARB_SEC :: RSV_S :: reserved0 [31:00] */ 62 | #define BCHP_SUN_GISB_ARB_SEC_RSV_S_reserved0_MASK 0xffffffff 63 | #define BCHP_SUN_GISB_ARB_SEC_RSV_S_reserved0_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *RSV_E - RESERVED 67 | ***************************************************************************/ 68 | /* SUN_GISB_ARB_SEC :: RSV_E :: reserved0 [31:00] */ 69 | #define BCHP_SUN_GISB_ARB_SEC_RSV_E_reserved0_MASK 0xffffffff 70 | #define BCHP_SUN_GISB_ARB_SEC_RSV_E_reserved0_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_SUN_GISB_ARB_SEC_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_trb_top.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_trb_top.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:21p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:24 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_trb_top.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:21p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_TRB_TOP_H__ 50 | #define BCHP_TRB_TOP_H__ 51 | 52 | /*************************************************************************** 53 | *TRB_TOP - TRB Control Registers 54 | ***************************************************************************/ 55 | #define BCHP_TRB_TOP_CTL 0x000f0000 /* TRB Control */ 56 | #define BCHP_TRB_TOP_STATUS 0x000f0004 /* TRB Status */ 57 | #define BCHP_TRB_TOP_REVISION 0x000f0008 /* TRB REVISION */ 58 | 59 | /*************************************************************************** 60 | *CTL - TRB Control 61 | ***************************************************************************/ 62 | /* TRB_TOP :: CTL :: reserved0 [31:02] */ 63 | #define BCHP_TRB_TOP_CTL_reserved0_MASK 0xfffffffc 64 | #define BCHP_TRB_TOP_CTL_reserved0_SHIFT 2 65 | 66 | /* TRB_TOP :: CTL :: TRBOver [01:01] */ 67 | #define BCHP_TRB_TOP_CTL_TRBOver_MASK 0x00000002 68 | #define BCHP_TRB_TOP_CTL_TRBOver_SHIFT 1 69 | 70 | /* TRB_TOP :: CTL :: TRBEna [00:00] */ 71 | #define BCHP_TRB_TOP_CTL_TRBEna_MASK 0x00000001 72 | #define BCHP_TRB_TOP_CTL_TRBEna_SHIFT 0 73 | 74 | /*************************************************************************** 75 | *STATUS - TRB Status 76 | ***************************************************************************/ 77 | /* TRB_TOP :: STATUS :: reserved0 [31:01] */ 78 | #define BCHP_TRB_TOP_STATUS_reserved0_MASK 0xfffffffe 79 | #define BCHP_TRB_TOP_STATUS_reserved0_SHIFT 1 80 | 81 | /* TRB_TOP :: STATUS :: ErrSeen [00:00] */ 82 | #define BCHP_TRB_TOP_STATUS_ErrSeen_MASK 0x00000001 83 | #define BCHP_TRB_TOP_STATUS_ErrSeen_SHIFT 0 84 | 85 | /*************************************************************************** 86 | *REVISION - TRB REVISION 87 | ***************************************************************************/ 88 | /* TRB_TOP :: REVISION :: reserved0 [31:16] */ 89 | #define BCHP_TRB_TOP_REVISION_reserved0_MASK 0xffff0000 90 | #define BCHP_TRB_TOP_REVISION_reserved0_SHIFT 16 91 | 92 | /* TRB_TOP :: REVISION :: MAJOR [15:08] */ 93 | #define BCHP_TRB_TOP_REVISION_MAJOR_MASK 0x0000ff00 94 | #define BCHP_TRB_TOP_REVISION_MAJOR_SHIFT 8 95 | 96 | /* TRB_TOP :: REVISION :: MINOR [07:00] */ 97 | #define BCHP_TRB_TOP_REVISION_MINOR_MASK 0x000000ff 98 | #define BCHP_TRB_TOP_REVISION_MINOR_SHIFT 0 99 | 100 | #endif /* #ifndef BCHP_TRB_TOP_H__ */ 101 | 102 | /* End of File */ 103 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_triple_sec.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_triple_sec.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:22p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:03 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_triple_sec.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:22p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_TRIPLE_SEC_H__ 50 | #define BCHP_TRIPLE_SEC_H__ 51 | 52 | /*************************************************************************** 53 | *TRIPLE_SEC - TRIPLE_SEC Registers 54 | ***************************************************************************/ 55 | #define BCHP_TRIPLE_SEC_RSV_S 0x000ff000 /* RESERVED */ 56 | #define BCHP_TRIPLE_SEC_RSV_E 0x000ff4fc /* RESERVED */ 57 | 58 | /*************************************************************************** 59 | *RSV_S - RESERVED 60 | ***************************************************************************/ 61 | /* TRIPLE_SEC :: RSV_S :: reserved0 [31:00] */ 62 | #define BCHP_TRIPLE_SEC_RSV_S_reserved0_MASK 0xffffffff 63 | #define BCHP_TRIPLE_SEC_RSV_S_reserved0_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *RSV_E - RESERVED 67 | ***************************************************************************/ 68 | /* TRIPLE_SEC :: RSV_E :: reserved0 [31:00] */ 69 | #define BCHP_TRIPLE_SEC_RSV_E_reserved0_MASK 0xffffffff 70 | #define BCHP_TRIPLE_SEC_RSV_E_reserved0_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_TRIPLE_SEC_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_vich_0.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_vich_0.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:22p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:43:22 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_vich_0.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:22p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_VICH_0_H__ 50 | #define BCHP_VICH_0_H__ 51 | 52 | /*************************************************************************** 53 | *VICH_0 54 | ***************************************************************************/ 55 | #define BCHP_VICH_0_RESERVED 0x00b00000 /* RESERVED */ 56 | #define BCHP_VICH_0_RESERVED_END 0x00b0004c /* RESERVED_END */ 57 | 58 | /*************************************************************************** 59 | *RESERVED - RESERVED 60 | ***************************************************************************/ 61 | /* VICH_0 :: RESERVED :: reserved0 [31:00] */ 62 | #define BCHP_VICH_0_RESERVED_reserved0_MASK 0xffffffff 63 | #define BCHP_VICH_0_RESERVED_reserved0_SHIFT 0 64 | 65 | /*************************************************************************** 66 | *RESERVED_END - RESERVED_END 67 | ***************************************************************************/ 68 | /* VICH_0 :: RESERVED_END :: reserved0 [31:00] */ 69 | #define BCHP_VICH_0_RESERVED_END_reserved0_MASK 0xffffffff 70 | #define BCHP_VICH_0_RESERVED_END_reserved0_SHIFT 0 71 | 72 | #endif /* #ifndef BCHP_VICH_0_H__ */ 73 | 74 | /* End of File */ 75 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_xpt_pb1.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_xpt_pb1.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:24p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:51 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_xpt_pb1.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:24p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_XPT_PB1_H__ 50 | #define BCHP_XPT_PB1_H__ 51 | 52 | /*************************************************************************** 53 | *XPT_PB1 - Playback 1 Control Registers 54 | ***************************************************************************/ 55 | #define BCHP_XPT_PB1_CTRL1 0x0020b080 /* Playback Control 1 Register */ 56 | #define BCHP_XPT_PB1_CTRL2 0x0020b084 /* Playback Control 2 Register */ 57 | #define BCHP_XPT_PB1_CTRL3 0x0020b088 /* Playback Control 3 Register */ 58 | #define BCHP_XPT_PB1_CTRL4 0x0020b08c /* Playback Control 4 Register */ 59 | #define BCHP_XPT_PB1_FIRST_DESC_ADDR 0x0020b090 /* Playback First Descriptor Address Register */ 60 | #define BCHP_XPT_PB1_CURR_DESC_ADDR 0x0020b094 /* Playback Current Descriptor Address Register */ 61 | #define BCHP_XPT_PB1_CURR_BUFF_ADDR 0x0020b098 /* Playback Current Buffer Address Register */ 62 | #define BCHP_XPT_PB1_BLOCKOUT 0x0020b09c /* Data Transport Playback Block Out Control */ 63 | #define BCHP_XPT_PB1_PKTZ_CONTEXT0 0x0020b0a0 /* Data Transport Playback Packetize Mode Context 0 Control */ 64 | #define BCHP_XPT_PB1_PKTZ_CONTEXT1 0x0020b0a4 /* Data Transport Playback Packetize Mode Context 1 Control */ 65 | #define BCHP_XPT_PB1_PKTZ_CONTEXT2 0x0020b0a8 /* Data Transport Playback Packetize Mode Context 2 Control */ 66 | #define BCHP_XPT_PB1_PKTZ_CONTEXT3 0x0020b0ac /* Data Transport Playback Packetize Mode Context 3 Control */ 67 | #define BCHP_XPT_PB1_TS_ERR_BOUND 0x0020b0b0 /* Data Transport Playback Timestamp Error Bound Register */ 68 | #define BCHP_XPT_PB1_PARSER_CTRL1 0x0020b0b4 /* Data Transport Playback Parser Control Register */ 69 | #define BCHP_XPT_PB1_PARSER_CTRL2 0x0020b0b8 /* Data Transport Playback Parser Control Register 2 */ 70 | #define BCHP_XPT_PB1_PARSER_TIMESTAMP 0x0020b0bc /* Data Transport Playback Parser Local Timestamp */ 71 | #define BCHP_XPT_PB1_INTR 0x0020b0c0 /* Playback Processing Error and Status Interrupt Register */ 72 | #define BCHP_XPT_PB1_INTR_EN 0x0020b0c4 /* Playback Processing Error and Status Interrupt Enable Register */ 73 | #define BCHP_XPT_PB1_INTR_TAGS 0x0020b0c8 /* Playback Interrupt Tag Register */ 74 | 75 | #endif /* #ifndef BCHP_XPT_PB1_H__ */ 76 | 77 | /* End of File */ 78 | -------------------------------------------------------------------------------- /include/flea/70015/magnum/basemodules/chp/70015/rdb/a0/bchp_xpt_pb2.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (c) 1999-2009, Broadcom Corporation 3 | * 4 | ********************************************************************** 5 | * This file is part of the crystalhd device driver. 6 | * 7 | * This driver is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation, version 2 of the License. 10 | * 11 | * This driver is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this driver. If not, see . 18 | ********************************************************************** 19 | * 20 | * $brcm_Workfile: bchp_xpt_pb2.h $ 21 | * $brcm_Revision: Hydra_Software_Devel/1 $ 22 | * $brcm_Date: 7/17/09 8:24p $ 23 | * 24 | * Module Description: 25 | * DO NOT EDIT THIS FILE DIRECTLY 26 | * 27 | * This module was generated magically with RDB from a source description 28 | * file. You must edit the source file for changes to be made to this file. 29 | * 30 | * 31 | * Date: Generated on Fri Jul 17 19:42:32 2009 32 | * MD5 Checksum 2914699efc3fb3edefca5cb4f4f38b34 33 | * 34 | * Compiled with: RDB Utility combo_header.pl 35 | * RDB Parser 3.0 36 | * unknown unknown 37 | * Perl Interpreter 5.008008 38 | * Operating System linux 39 | * 40 | * Revision History: 41 | * 42 | * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_xpt_pb2.h $ 43 | * 44 | * Hydra_Software_Devel/1 7/17/09 8:24p albertl 45 | * PR56880: Initial revision. 46 | * 47 | ***************************************************************************/ 48 | 49 | #ifndef BCHP_XPT_PB2_H__ 50 | #define BCHP_XPT_PB2_H__ 51 | 52 | /*************************************************************************** 53 | *XPT_PB2 - Playback 2 Control Registers 54 | ***************************************************************************/ 55 | #define BCHP_XPT_PB2_CTRL1 0x0020b100 /* Playback Control 1 Register */ 56 | #define BCHP_XPT_PB2_CTRL2 0x0020b104 /* Playback Control 2 Register */ 57 | #define BCHP_XPT_PB2_CTRL3 0x0020b108 /* Playback Control 3 Register */ 58 | #define BCHP_XPT_PB2_CTRL4 0x0020b10c /* Playback Control 4 Register */ 59 | #define BCHP_XPT_PB2_FIRST_DESC_ADDR 0x0020b110 /* Playback First Descriptor Address Register */ 60 | #define BCHP_XPT_PB2_CURR_DESC_ADDR 0x0020b114 /* Playback Current Descriptor Address Register */ 61 | #define BCHP_XPT_PB2_CURR_BUFF_ADDR 0x0020b118 /* Playback Current Buffer Address Register */ 62 | #define BCHP_XPT_PB2_BLOCKOUT 0x0020b11c /* Data Transport Playback Block Out Control */ 63 | #define BCHP_XPT_PB2_PKTZ_CONTEXT0 0x0020b120 /* Data Transport Playback Packetize Mode Context 0 Control */ 64 | #define BCHP_XPT_PB2_PKTZ_CONTEXT1 0x0020b124 /* Data Transport Playback Packetize Mode Context 1 Control */ 65 | #define BCHP_XPT_PB2_PKTZ_CONTEXT2 0x0020b128 /* Data Transport Playback Packetize Mode Context 2 Control */ 66 | #define BCHP_XPT_PB2_PKTZ_CONTEXT3 0x0020b12c /* Data Transport Playback Packetize Mode Context 3 Control */ 67 | #define BCHP_XPT_PB2_TS_ERR_BOUND 0x0020b130 /* Data Transport Playback Timestamp Error Bound Register */ 68 | #define BCHP_XPT_PB2_PARSER_CTRL1 0x0020b134 /* Data Transport Playback Parser Control Register */ 69 | #define BCHP_XPT_PB2_PARSER_CTRL2 0x0020b138 /* Data Transport Playback Parser Control Register 2 */ 70 | #define BCHP_XPT_PB2_PARSER_TIMESTAMP 0x0020b13c /* Data Transport Playback Parser Local Timestamp */ 71 | #define BCHP_XPT_PB2_INTR 0x0020b140 /* Playback Processing Error and Status Interrupt Register */ 72 | #define BCHP_XPT_PB2_INTR_EN 0x0020b144 /* Playback Processing Error and Status Interrupt Enable Register */ 73 | #define BCHP_XPT_PB2_INTR_TAGS 0x0020b148 /* Playback Interrupt Tag Register */ 74 | 75 | #endif /* #ifndef BCHP_XPT_PB2_H__ */ 76 | 77 | /* End of File */ 78 | -------------------------------------------------------------------------------- /include/flea/DriverFwShare.h: -------------------------------------------------------------------------------- 1 | #ifndef _DRIVER_FW_SHARE_ 2 | #define _DRIVER_FW_SHARE_ 3 | 4 | #ifndef USE_MULTI_DECODE_DEFINES 5 | #define HOST_TO_FW_PIC_DEL_INFO_ADDR 0x400 /*Original single Decode Offset*/ 6 | #else 7 | #if 0 8 | #define HOST_TO_FW_PIC_DEL_INFO_ADDR 0x200 /*New offset that we plan to use eventually*/ 9 | #endif 10 | #define HOST_TO_FW_PIC_DEL_INFO_ADDR 0x400 /*This is just for testing..remove this once tested */ 11 | #endif 12 | 13 | 14 | /* 15 | * The TX address does not change between the 16 | * single decode and multiple decode. 17 | */ 18 | #define TX_BUFF_UPDATE_ADDR 0x300 /*This is relative to BORCH */ 19 | 20 | typedef 21 | struct 22 | _PIC_DELIVERY_HOST_INFO_ 23 | { 24 | /* 25 | -- The list ping-pong code is already there in the driver 26 | -- to save from re-inventing the code, the driver will indicate 27 | -- to firmware on which list the command should be posted. 28 | */ 29 | unsigned int ListIndex; 30 | unsigned int HostDescMemLowAddr_Y; 31 | unsigned int HostDescMemHighAddr_Y; 32 | unsigned int HostDescMemLowAddr_UV; 33 | unsigned int HostDescMemHighAddr_UV; 34 | unsigned int RxSeqNumber; 35 | unsigned int ChannelID; 36 | unsigned int Reserved[1]; 37 | }PIC_DELIVERY_HOST_INFO, 38 | *PPIC_DELIVERY_HOST_INFO; 39 | 40 | /* 41 | -- We write the driver's FLL to this memory location. 42 | -- This is the array for FLL of all the channels. 43 | */ 44 | #define HOST_TO_FW_FLL_ADDR (HOST_TO_FW_PIC_DEL_INFO_ADDR + sizeof(PIC_DELIVERY_HOST_INFO)) 45 | 46 | 47 | typedef enum _DRIVER_FW_FLAGS_{ 48 | DFW_FLAGS_CLEAR =0, 49 | DFW_FLAGS_TX_ABORT =BC_BIT(0), /*Firmware is stopped and will not give anymore buffers. */ 50 | DFW_FLAGS_WRAP =BC_BIT(1) /*Instruct the Firmware to WRAP the input buffer pointer */ 51 | }DRIVER_FW_FLAGS; 52 | 53 | typedef struct 54 | _TX_INPUT_BUFFER_INFO_ 55 | { 56 | unsigned int DramBuffAdd; /* Address of the DRAM buffer where the data can be pushed*/ 57 | unsigned int DramBuffSzInBytes; /* Size of the available DRAM buffer, in bytes*/ 58 | unsigned int HostXferSzInBytes; /* Actual Transfer Done By Host, In Bytes*/ 59 | unsigned int Flags; /* DRIVER_FW_FLAGS Written By Firmware to handle Stop of TX*/ 60 | unsigned int SeqNum; /* Sequence number of the tranfer that is done. Read-Modify-Write*/ 61 | unsigned int ChannelID; /* To which Channel this buffer belongs to*/ 62 | unsigned int Reserved[2]; 63 | }TX_INPUT_BUFFER_INFO, 64 | *PTX_INPUT_BUFFER_INFO; 65 | 66 | 67 | /* 68 | -- Out of band firmware handshake. 69 | ===================================== 70 | -- The driver writes the SCRATCH-8 register with a Error code. 71 | -- The driver then writes a mailbox register with 0x01. 72 | -- The driver then polls for the ACK. This ack is if the value of the SCRATCH-8 becomes zero. 73 | */ 74 | 75 | #define OOB_ERR_CODE_BASE 70015 76 | typedef enum _OUT_OF_BAND_ERR_CODE_ 77 | { 78 | OOB_INVALID = 0, 79 | OOB_CODE_ACK = OOB_ERR_CODE_BASE, 80 | OOB_CODE_STOPRX = OOB_ERR_CODE_BASE + 1, 81 | }OUT_OF_BAND_ERR_CODE; 82 | 83 | 84 | #define OOB_CMD_RESPONSE_REGISTER BCHP_ARMCR4_BRIDGE_REG_SCRATCH_8 85 | #define OOB_PCI_TO_ARM_MBOX BCHP_ARMCR4_BRIDGE_REG_MBOX_ARM3 86 | #define TX_BUFFER_AVAILABLE_INTR BCHP_ARMCR4_BRIDGE_REG_MBOX_PCI3 87 | #define HEART_BEAT_REGISTER BCHP_ARMCR4_BRIDGE_REG_SCRATCH_1 88 | #define HEART_BEAT_POLL_CNT 5 89 | 90 | 91 | #define FLEA_WORK_AROUND_SIG 0xF1EA 92 | #define RX_PIC_Q_STS_WRKARND BC_BIT(0) 93 | #define RX_DRAM_WRITE_WRKARND BC_BIT(1) 94 | #define RX_MBOX_WRITE_WRKARND BC_BIT(2) 95 | #endif 96 | -------------------------------------------------------------------------------- /include/libcrystalhd_version.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * Copyright(c) 2006-2009 Broadcom Corporation. 3 | * 4 | * Name: libcrystalhd_version.h 5 | * 6 | * Description: Version numbering for the driver use. 7 | * 8 | * AU 9 | * 10 | * HISTORY: 11 | * 12 | ******************************************************************** 13 | * This header is free software: you can redistribute it and/or modify 14 | * it under the terms of the GNU Lesser General Public License as published 15 | * by the Free Software Foundation, either version 2.1 of the License. 16 | * 17 | * This header is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 | * GNU Lesser General Public License for more details. 21 | * You should have received a copy of the GNU Lesser General Public License 22 | * along with this header. If not, see . 23 | *******************************************************************/ 24 | 25 | #ifndef _BC_DTS_VERSION_LNX_ 26 | #define _BC_DTS_VERSION_LNX_ 27 | // 28 | // The version format that we are adopting is 29 | // MajorVersion.MinorVersion.Revision 30 | // This will be the same for all the components. 31 | // 32 | // 33 | #define STRINGIFY_VERSION(MAJ,MIN,REV) STRINGIFIED_VERSION(MAJ,MIN,REV) 34 | #define STRINGIFIED_VERSION(MAJ,MIN,REV) #MAJ "." #MIN "." #REV 35 | 36 | #define STRINGIFY_VERSION_W(MAJ,MIN,REV) STRINGIFIED_VERSION_W(MAJ,MIN,REV) 37 | #define STRINGIFIED_VERSION_W(MAJ,MIN,REV) #MAJ "." #MIN "." #REV 38 | 39 | // 40 | // Product Version number is: 41 | // x.y.z.a 42 | // 43 | // x = Major release. 1 = Dozer, 2 = Dozer + Link 44 | // y = Minor release. Should increase +1 per "real" release. 45 | // z = Branch release. 0 for main branch. This is +1 per branch release. 46 | // a = Build number +1 per candidate release. Reset to 0 every "real" release. 47 | // 48 | // 49 | // Enabling Check-In rules enforcement 08092007 50 | // 51 | #define INVALID_VERSION 0xFFFF 52 | 53 | /*========================== Common For All Components =================================*/ 54 | #define BRCM_MAJOR_VERSION 3 55 | 56 | // Note: the driver doesn't currently use these defines, it has its own 57 | // version information (which should match) stored in bc_dts_glob_lnx.h 58 | #define DRIVER_MAJOR_VERSION BRCM_MAJOR_VERSION 59 | #define DRIVER_MINOR_VERSION 10 60 | #define DRIVER_REVISION 0 61 | 62 | #define RC_FILE_VERSION STRINGIFY_VERSION(DRIVER_MAJOR_VERSION,DRIVER_MINOR_VERSION,DRIVER_REVISION) ".0" 63 | 64 | /*======================= Device Interface Library ========================*/ 65 | #define DIL_MAJOR_VERSION BRCM_MAJOR_VERSION 66 | #define DIL_MINOR_VERSION 22 67 | #define DIL_REVISION 0 68 | 69 | #define DIL_RC_FILE_VERSION STRINGIFY_VERSION(DIL_MAJOR_VERSION,DIL_MINOR_VERSION,DIL_REVISION) 70 | 71 | /*========================== deconf utility ==============================*/ 72 | #define DECONF_MAJOR_VERSION BRCM_MAJOR_VERSION 73 | #define DECONF_MINOR_VERSION 9 74 | #define DECONF_REVISION 18 75 | #define DECONF_RC_FILE_VERSION STRINGIFY_VERSION(DIL_MAJOR_VERSION,DIL_MINOR_VERSION,DIL_REVISION) 76 | 77 | /*========================== Firmware ==============================*/ 78 | #define FW_MAJOR_VERSION BRCM_MAJOR_VERSION 79 | #define FW_MINOR_VERSION 60 80 | #define FW_REVISION 39 81 | 82 | #endif 83 | -------------------------------------------------------------------------------- /include/link/bc_defines.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * Copyright(c) 2006-2009 Broadcom Corporation. 3 | * 4 | * Name: bc_defines.h 5 | * 6 | * Description: Driver Interface library Internal. 7 | * 8 | * AU 9 | * 10 | * HISTORY: 11 | * 12 | ******************************************************************** 13 | * This header is free software: you can redistribute it and/or modify 14 | * it under the terms of the GNU Lesser General Public License as published 15 | * by the Free Software Foundation, either version 2.1 of the License. 16 | * 17 | * This header is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 | * GNU Lesser General Public License for more details. 21 | * You should have received a copy of the GNU Lesser General Public License 22 | * along with this header. If not, see . 23 | *******************************************************************/ 24 | 25 | #ifndef _BC_DEFINES_ 26 | #define _BC_DEFINES_ 27 | //The AES and DCI H/W engines are big endian and hence the DATA needs to be 28 | //byte swapped when loading the data registers in this block 29 | #define rotr32_1(x,n) (((x) >> n) | ((x) << (32 - n))) 30 | #define bswap_32_1(x) ((rotr32_1((x), 24) & 0x00ff00ff) | (rotr32_1((x), 8) & 0xff00ff00)) 31 | 32 | #define DCI_INITIATE_FW_DOWNLOAD (0x1) //bit 0 33 | #define DCI_DOWNLOAD_READY (0x1<<4) //bit 4 34 | #define DCI_DOWNLOAD_COMPLETE (0x1<<1) //bit 2 35 | #define DCI_FIRMWARE_VALIDATED (0x1) //bit 0 36 | #define DCI_SIGNATURE_MATCHED (0x1<<9) //bit 9 37 | #define DCI_SIGNATURE_MISMATCH (0x1<<8) //bit 8 38 | #define DCI_START_PROCESSOR (0x10) //bit 4 39 | 40 | #define OTP_KEYS_AVAIL (0x1<<1) 41 | 42 | #define AES_PREPARE_ENCRYPTION (0x1<<4) 43 | #define AES_PREPARE_DONE (0x1<<4) 44 | #define AES_WRITE_EEPROM (0x1<<12) 45 | #define AES_WRITE_DONE (0x1<<12) 46 | #define AES_RANDOM_READY (0x1<<20) 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /install_firmware_dkms.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | make -C firmware install -------------------------------------------------------------------------------- /linux_lib/libcrystalhd/.gitignore: -------------------------------------------------------------------------------- 1 | # generated/compiled files 2 | *.so.* 3 | -------------------------------------------------------------------------------- /linux_lib/libcrystalhd/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Broadcom "BCM970012/BCM970015" Crystal HD device interface library. 3 | # 4 | # 5 | BCLIB_MINOR=6 6 | BCLIB_MAJOR=3 7 | BCLIB_NAME=libcrystalhd.so 8 | BCLIB_SL=$(BCLIB_NAME).$(BCLIB_MAJOR) 9 | BCLIB=$(BCLIB_NAME).$(BCLIB_MAJOR).$(BCLIB_MINOR) 10 | LIBDIR=/usr/lib 11 | 12 | AT = @ 13 | ECHO = ${AT} echo 14 | BCGCC = g++ 15 | 16 | ROOTDIR = ../.. 17 | 18 | INCLUDES = -I./ -I/usr/include -I$(ROOTDIR)/include 19 | INCLUDES += -I$(ROOTDIR)/include/link 20 | 21 | 22 | CPPFLAGS = -D__LINUX_USER__ 23 | # -DLDIL_PRINTS_ON 24 | # -D_USE_SHMEM_ 25 | 26 | CPPFLAGS += ${INCLUDES} 27 | CPPFLAGS += -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 28 | LDFLAGS = -Wl,-soname,${BCLIB_SL} -pthread 29 | 30 | SRCFILES = libcrystalhd_if.cpp \ 31 | libcrystalhd_int_if.cpp \ 32 | libcrystalhd_fwcmds.cpp \ 33 | libcrystalhd_priv.cpp \ 34 | libcrystalhd_fwdiag_if.cpp \ 35 | libcrystalhd_fwload_if.cpp \ 36 | libcrystalhd_parser.cpp 37 | 38 | OBJFILES = ${SRCFILES:.cpp=.o} 39 | 40 | all:help $(OBJFILES) 41 | $(BCGCC) $(CPPFLAGS) $(LDFLAGS) -o $(BCLIB) ${OBJFILES} 42 | ln -sf $(BCLIB) $(BCLIB_NAME) 43 | ln -sf $(BCLIB) $(BCLIB_SL) 44 | 45 | help: 46 | ${ECHO} OBJFILES = ${OBJFILES} 47 | ${ECHO} SRCFILES = ${SRCFILES} 48 | ${ECHO} LNM = ${BCLIB} ${BCLIB_SL} 49 | 50 | clean: 51 | rm -f ${BCLIB} ${BCLIB_SL} ${BCLIB_NAME} *.o 52 | rm -f ${OBJFILES} 53 | 54 | install: 55 | mkdir -p $(DESTDIR)$(LIBDIR) 56 | mkdir -p $(DESTDIR)/lib/firmware 57 | mkdir -p $(DESTDIR)/usr/include/libcrystalhd 58 | cp libcrystalhd_if.h $(DESTDIR)/usr/include/libcrystalhd/ 59 | chmod 0644 $(DESTDIR)/usr/include/libcrystalhd/libcrystalhd_if.h 60 | cp $(ROOTDIR)/include/bc_dts_defs.h $(DESTDIR)/usr/include/libcrystalhd/ 61 | chmod 0644 $(DESTDIR)/usr/include/libcrystalhd/bc_dts_defs.h 62 | cp $(ROOTDIR)/include/bc_dts_types.h $(DESTDIR)/usr/include/libcrystalhd/ 63 | chmod 0644 $(DESTDIR)/usr/include/libcrystalhd/bc_dts_types.h 64 | cp $(ROOTDIR)/include/libcrystalhd_version.h $(DESTDIR)/usr/include/libcrystalhd/ 65 | chmod 0644 $(DESTDIR)/usr/include/libcrystalhd/libcrystalhd_version.h 66 | cp $(ROOTDIR)/firmware/fwbin/70012/bcm70012fw.bin $(DESTDIR)/lib/firmware/ 67 | chmod 0644 $(DESTDIR)/lib/firmware/bcm70012fw.bin 68 | cp $(ROOTDIR)/firmware/fwbin/70015/bcm70015fw.bin $(DESTDIR)/lib/firmware/ 69 | chmod 0644 $(DESTDIR)/lib/firmware/bcm70015fw.bin 70 | install -m 755 $(BCLIB) $(DESTDIR)$(LIBDIR) 71 | (cd $(DESTDIR)$(LIBDIR); ln -sf $(BCLIB) $(BCLIB_NAME)) 72 | (cd $(DESTDIR)$(LIBDIR); ln -sf $(BCLIB) $(BCLIB_SL)) 73 | 74 | -------------------------------------------------------------------------------- /linux_lib/libcrystalhd/libcrystalhd_fwcmds.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * Copyright(c) 2006-2009 Broadcom Corporation. 3 | * 4 | * Name: libcrystalhd_fwdcmds.h 5 | * 6 | * Description: Driver Interface library Internal. 7 | * 8 | * AU 9 | * 10 | * HISTORY: 11 | * 12 | ******************************************************************** 13 | * 14 | * This file is part of libcrystalhd. 15 | * 16 | * This library is free software: you can redistribute it and/or modify 17 | * it under the terms of the GNU Lesser General Public License as published 18 | * by the Free Software Foundation, either version 2.1 of the License. 19 | * 20 | * This library is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | * GNU Lesser General Public License for more details. 24 | * You should have received a copy of the GNU Lesser General Public License 25 | * along with this library. If not, see . 26 | * 27 | *******************************************************************/ 28 | #ifndef _BCM_FWCMDS_H_ 29 | #define _BCM_FWCMDS_H_ 30 | 31 | #include "libcrystalhd_priv.h" 32 | 33 | DRVIFLIB_INT_API BC_STATUS 34 | DtsFWInitialize( 35 | HANDLE hDevice, 36 | uint32_t resrv1 37 | ); 38 | 39 | DRVIFLIB_INT_API BC_STATUS 40 | DtsFWOpenChannel( 41 | HANDLE hDevice, 42 | uint32_t StreamType, 43 | uint32_t reserved 44 | ); 45 | 46 | DRVIFLIB_INT_API BC_STATUS 47 | DtsFWActivateDecoder( 48 | HANDLE hDevice 49 | ); 50 | 51 | DRVIFLIB_INT_API BC_STATUS 52 | DtsFWSetSingleField( 53 | HANDLE hDevice, 54 | bool bSingleField 55 | ); 56 | 57 | DRVIFLIB_INT_API BC_STATUS 58 | DtsFWHwSelfTest( 59 | HANDLE hDevice, 60 | uint32_t testID 61 | ); 62 | 63 | DRVIFLIB_INT_API BC_STATUS 64 | DtsFWVersion( 65 | HANDLE hDevice, 66 | uint32_t *Stream, 67 | uint32_t *DecCore, 68 | uint32_t *HwNumber 69 | ); 70 | 71 | DRVIFLIB_INT_API BC_STATUS 72 | DtsFWFifoStatus( 73 | HANDLE hDevice, 74 | uint32_t *CpbSize, 75 | uint32_t *CpbFullness 76 | ); 77 | 78 | DRVIFLIB_INT_API BC_STATUS 79 | DtsFWCloseChannel( 80 | HANDLE hDevice, 81 | uint32_t ChannelID 82 | ); 83 | 84 | DRVIFLIB_INT_API BC_STATUS 85 | DtsFWSetVideoInput( 86 | HANDLE hDevice 87 | ); 88 | 89 | DRVIFLIB_INT_API BC_STATUS 90 | DtsFWSetVideoPID( 91 | HANDLE hDevice, 92 | uint32_t pid 93 | ); 94 | 95 | DRVIFLIB_INT_API BC_STATUS 96 | DtsFWFlushDecoder( 97 | HANDLE hDevice, 98 | uint32_t rsrv 99 | ); 100 | 101 | DRVIFLIB_INT_API BC_STATUS 102 | DtsFWStartVideo( 103 | HANDLE hDevice, 104 | uint32_t videoAlg, 105 | uint32_t FGTEnable, 106 | uint32_t MetaDataEnable, 107 | uint32_t Progressive, 108 | uint32_t OptFlags 109 | ); 110 | 111 | DRVIFLIB_INT_API BC_STATUS 112 | DtsFWStopVideo( 113 | HANDLE hDevice, 114 | uint32_t ChannelId, 115 | bool ForceStop 116 | ); 117 | 118 | DRVIFLIB_INT_API BC_STATUS 119 | DtsFWDecFlushChannel( 120 | HANDLE hDevice, 121 | uint32_t Operation 122 | ); 123 | 124 | DRVIFLIB_INT_API BC_STATUS 125 | DtsFWPauseVideo( 126 | HANDLE hDevice, 127 | uint32_t Operation 128 | ); 129 | 130 | DRVIFLIB_INT_API BC_STATUS 131 | DtsFWSetTrickPlay( 132 | HANDLE hDevice, 133 | uint32_t trickMode, 134 | uint8_t direction 135 | ); 136 | 137 | DRVIFLIB_INT_API BC_STATUS 138 | DtsFWSetHostTrickMode( 139 | HANDLE hDevice, 140 | uint32_t enable 141 | ); 142 | DRVIFLIB_INT_API BC_STATUS 143 | DtsFWSetFFRate( 144 | HANDLE hDevice, 145 | uint32_t Rate 146 | ); 147 | 148 | DRVIFLIB_INT_API BC_STATUS 149 | DtsFWSetSlowMotionRate( 150 | HANDLE hDevice, 151 | uint32_t Rate 152 | ); 153 | 154 | DRVIFLIB_INT_API BC_STATUS 155 | DtsFWSetSkipPictureMode( 156 | HANDLE hDevice, 157 | uint32_t SkipMode 158 | ); 159 | 160 | DRVIFLIB_INT_API BC_STATUS 161 | DtsFWFrameAdvance( 162 | HANDLE hDevice 163 | ); 164 | 165 | DRVIFLIB_INT_API BC_STATUS 166 | DtsFWSetContentKeys( 167 | HANDLE hDevice, 168 | uint8_t *buffer, 169 | uint32_t dwLength, 170 | uint32_t flags 171 | ); 172 | 173 | DRVIFLIB_INT_API BC_STATUS 174 | DtsFWSetSessionKeys( 175 | HANDLE hDevice, 176 | uint8_t *buffer, 177 | uint32_t Length, 178 | uint32_t flags 179 | ); 180 | 181 | BC_STATUS 182 | DtsFormatChangeAck( 183 | HANDLE hDevice, 184 | uint32_t flags 185 | ); 186 | 187 | DRVIFLIB_INT_API BC_STATUS 188 | DtsFWDrop( 189 | HANDLE hDevice, 190 | uint32_t Pictures 191 | ); 192 | 193 | #endif //_BCM_FWCMDS_H 194 | -------------------------------------------------------------------------------- /linux_lib/libcrystalhd/libcrystalhd_fwdiag_if.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * Copyright(c) 2006-2009 Broadcom Corporation. 3 | * 4 | * Name: libcrystalhd_fwdiag_if.h 5 | * 6 | * Description: Driver Interface library Internal. 7 | * 8 | * AU 9 | * 10 | * HISTORY: 11 | * 12 | ******************************************************************** 13 | * 14 | * This file is part of libcrystalhd. 15 | * 16 | * This library is free software: you can redistribute it and/or modify 17 | * it under the terms of the GNU Lesser General Public License as published 18 | * by the Free Software Foundation, either version 2.1 of the License. 19 | * 20 | * This library is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | * GNU Lesser General Public License for more details. 24 | * You should have received a copy of the GNU Lesser General Public License 25 | * along with this library. If not, see . 26 | * 27 | *******************************************************************/ 28 | 29 | #ifndef _libcrystalhd_FWDIAG_IF_ 30 | #define _libcrystalhd_FWDIAG_IF_ 31 | 32 | #define BC_HOST_CMD_ADDR 0x00000100 33 | 34 | /* Host-Bootloader Communication Message Block */ 35 | typedef struct _BC_HOST_CMD_BLOCK_ST { 36 | uint32_t done; 37 | uint32_t cmd; 38 | uint32_t start; 39 | uint32_t size; 40 | uint32_t cmdargs[3]; 41 | uint32_t chk_sum; 42 | 43 | } BC_HOST_CMD_BLOCK_ST, *PBC_HOST_CMD_BLOCK_ST; 44 | 45 | #define BC_FWDIAG_DONE 0x00000001 46 | 47 | /* Bootloader Status */ 48 | typedef enum _BC_FWDIAG_STATUS{ 49 | BC_FWDIAG_STS_SUCCESS = 0, 50 | BC_FWDIAG_BOOTUP_DONE = 1, 51 | BC_FWDIAG_TEST_PASS = 2, 52 | BC_FWDIAG_TEST_FAIL = 3, 53 | BC_FWDIAG_TEST_NOT_IMPL = 4, 54 | BC_FWDIAG_INVALID_ARGS = 5, 55 | 56 | /* Must be the last one.*/ 57 | BC_FWDIAG_STS_ERROR = -1 58 | 59 | }BC_FWDIAG_STATUS; 60 | 61 | #define BC_FWDIAG_RES_ADDR 0x00000140 62 | 63 | /* Bootloader-Host Communication Message Block */ 64 | typedef struct _BC_FWDIAG_RES_BLOCK_ST { 65 | uint32_t done; 66 | uint32_t status; 67 | uint32_t detail[5]; 68 | uint32_t chk_sum; 69 | 70 | }BC_FWDIAG_RES_BLOCK_ST, *PBC_FWDIAG_RES_BLOCK_ST; 71 | 72 | #define BC_HOST_CMD_POSTED 0x00000001 73 | #define BC_FWDIAG_RES_POSTED 0x00000001 74 | #define BC_FWDIAG_PATTERN_ADDR 0x00000200 75 | 76 | /* Bootloader Status */ 77 | typedef enum _BC_FWDIAG_CMDS{ 78 | BC_FWDIAG_SHORT_MEM_TEST = 0x1, 79 | BC_FWDIAG_LONG_MEM_TEST = 0x2, 80 | BC_FWDIAG_MEM_READ_TEST = 0x3, 81 | BC_FWDIAG_MEM_WRITE_TEST = 0x4, 82 | BC_FWDIAG_DMA_READ_TEST = 0x8, 83 | BC_FWDIAG_DMA_WRITE_TEST = 0xC, 84 | 85 | }BC_FWDIAG_CMDS; 86 | 87 | 88 | DRVIFLIB_INT_API BC_STATUS 89 | DtsDownloadFWDIAGToLINK(HANDLE hDevice, char *FwBinFile); 90 | 91 | DRVIFLIB_INT_API BC_STATUS 92 | DtsSendFWDiagCmd(HANDLE hDevice, BC_HOST_CMD_BLOCK_ST hostMsg); 93 | 94 | DRVIFLIB_INT_API BC_STATUS 95 | DtsReceiveFWDiagRes(HANDLE hDevice, PBC_FWDIAG_RES_BLOCK_ST pBlMsg, uint32_t wait); 96 | 97 | DRVIFLIB_INT_API BC_STATUS 98 | DtsClearFWDiagCommBlock(HANDLE hDevice); 99 | 100 | 101 | #endif 102 | -------------------------------------------------------------------------------- /linux_lib/libcrystalhd/libcrystalhd_fwload_if.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * Copyright(c) 2006-2009 Broadcom Corporation. 3 | * 4 | * Name: libcrystalhd_fwload_if.h 5 | * 6 | * Description: Driver Interface library Internal. 7 | * 8 | * AU 9 | * 10 | * HISTORY: 11 | * 12 | ******************************************************************** 13 | * 14 | * This file is part of libcrystalhd. 15 | * 16 | * This library is free software: you can redistribute it and/or modify 17 | * it under the terms of the GNU Lesser General Public License as published 18 | * by the Free Software Foundation, either version 2.1 of the License. 19 | * 20 | * This library is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | * GNU Lesser General Public License for more details. 24 | * You should have received a copy of the GNU Lesser General Public License 25 | * along with this library. If not, see . 26 | * 27 | *******************************************************************/ 28 | 29 | #ifndef _libcrystalhd_FWLOAD_IF_ 30 | #define _libcrystalhd_FWLOAD_IF_ 31 | 32 | #ifndef __APPLE__ 33 | #include "bc_dts_glob_lnx.h" 34 | #else 35 | #include "bc_dts_glob_osx.h" 36 | #endif 37 | #include "libcrystalhd_if.h" 38 | 39 | #define BC_FWIMG_ST_ADDR 0x00000000 40 | #define MAX_BIN_FILE_SZ 0x300000 41 | 42 | /* BOOTLOADER IMPLEMENTATION */ 43 | DRVIFLIB_INT_API BC_STATUS 44 | fwbinPushToLINK(HANDLE hDevice, char *FwBinFile, uint32_t *bytesDnld); 45 | 46 | DRVIFLIB_INT_API BC_STATUS 47 | DtsPushAuthFwToLink(HANDLE hDevice, char *FwBinFile); 48 | 49 | DRVIFLIB_INT_API BC_STATUS 50 | fwbinPushToFLEA(HANDLE hDevice, char *FwBinFile, uint32_t *bytesDnld); 51 | 52 | DRVIFLIB_INT_API BC_STATUS 53 | DtsPushFwToFlea(HANDLE hDevice, char *FwBinFile); 54 | 55 | DRVIFLIB_INT_API BC_STATUS dec_write_fw_Sig(HANDLE hndl,uint32_t* Sig); 56 | 57 | #endif 58 | -------------------------------------------------------------------------------- /linux_lib/libcrystalhd/ln-libcrystalhd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Author: Prasad Bolisetty 4 | # 5 | # Script to create symlink for crystalhd soname. 6 | # 7 | # TBD:: Add install option. For now ==> ${PWD} 8 | # 9 | 10 | ln -sf libcrystalhd.so.1.0 libcrystalhd.so 11 | ln -sf libcrystalhd.so.1.0 libcrystalhd.so.1 12 | 13 | --------------------------------------------------------------------------------