Lines Matching refs:commproc
638 volatile cpm8xx_t *commproc; in cpm_load_patch() local
643 commproc = (cpm8xx_t *)&immr->im_cpm; in cpm_load_patch()
652 commproc->cp_rccr = 0; in cpm_load_patch()
656 dp = (uint *)(commproc->cp_dpmem); in cpm_load_patch()
660 dp = (uint *)&(commproc->cp_dpmem[0x0f00]); in cpm_load_patch()
666 iip = (iic_t *)&commproc->cp_dparam[PROFF_IIC]; in cpm_load_patch()
673 spp = (spi_t *)&commproc->cp_dparam[PROFF_SPI]; in cpm_load_patch()
678 commproc->cp_rccr = 0x0009; in cpm_load_patch()
685 iip = (iic_t *)&commproc->cp_dparam[PROFF_IIC]; in cpm_load_patch()
692 spp = (spi_t *)&commproc->cp_dparam[PROFF_SPI]; in cpm_load_patch()
696 dp = (uint *)&(commproc->cp_dpmem[0x0e00]); in cpm_load_patch()
702 commproc->cp_cpmcr1 = 0x8080; in cpm_load_patch()
703 commproc->cp_cpmcr2 = 0x808a; in cpm_load_patch()
704 commproc->cp_cpmcr3 = 0x8028; in cpm_load_patch()
705 commproc->cp_cpmcr4 = 0x802a; in cpm_load_patch()
709 commproc->cp_rccr = 3; in cpm_load_patch()
715 commproc->cp_cpmcr1 = 0x802a; in cpm_load_patch()
716 commproc->cp_cpmcr2 = 0x8028; in cpm_load_patch()
717 commproc->cp_cpmcr3 = 0x802e; in cpm_load_patch()
718 commproc->cp_cpmcr4 = 0x802c; in cpm_load_patch()
722 commproc->cp_rccr = 1; in cpm_load_patch()
730 iip = (iic_t *)&commproc->cp_dparam[PROFF_IIC]; in cpm_load_patch()
736 spp = (spi_t *)&commproc->cp_dparam[PROFF_SPI]; in cpm_load_patch()
748 volatile cpm8xx_t *commproc; in verify_patch() local
751 commproc = (cpm8xx_t *)&immr->im_cpm; in verify_patch()
753 printk("cp_rccr %x\n", commproc->cp_rccr); in verify_patch()
754 commproc->cp_rccr = 0; in verify_patch()
756 dp = (uint *)(commproc->cp_dpmem); in verify_patch()
765 dp = (uint *)&(commproc->cp_dpmem[0x0f00]); in verify_patch()
774 commproc->cp_rccr = 0x0009; in verify_patch()